Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [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;\" "
- Connecting to jdbc:hive2://127.0.0.1:10000
- Connected to: Apache Hive (version 1.2.1000.2.6.0.2-57)
- Driver: Hive JDBC (version 1.2.1000.2.6.0.2-57)
- Transaction isolation: TRANSACTION_REPEATABLE_READ
- 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)
- Closing: 0: jdbc:hive2://127.0.0.1:10000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement