Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. [root@sandbox ~]# su - hive -c " /usr/hdp/current/hive-client/bin/beeline -u jdbc:hive2://127.0.0.1:10000 -n hive -p hive -d org.apache.hive.jdbc.HiveDriver -e \" load data inpath '/tmp/sample_08.csv' overwrite into table sample_08;\" "
  2. Connecting to jdbc:hive2://127.0.0.1:10000
  3. Connected to: Apache Hive (version 1.2.1000.2.6.0.2-57)
  4. Driver: Hive JDBC (version 1.2.1000.2.6.0.2-57)
  5. Transaction isolation: TRANSACTION_REPEATABLE_READ
  6. Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: Principal [name=hive, type=USER] does not have following privileges for operation LOAD [[INSERT, DELETE, OBJECT OWNERSHIP] on Object [type=DFS_URI, name=hdfs://sandbox.hortonworks.com:8020/tmp/sample_08.csv]] (state=42000,code=40000)
  7. Closing: 0: jdbc:hive2://127.0.0.1:10000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement