如果我像我一样运行配置单元,我可以查询表。HDFS用户的Hive查询失败
,但如果我运行使用sudo -u hdfs hive
然后我所有的查询失败,出现错误消息
Application application_1447966350718_10654 failed 2 times due to AM Container for appattempt_1447966350718_10654_000002 exited with exitCode: -1000
For more detailed output, check application tracking page:http://vtdevana-cloudera11.dealer.ddc:8088/proxy/application_1447966350718_10654/Then, click on links to logs of each attempt.
Diagnostics: Application application_1447966350718_10654 initialization failed (exitCode=255) with output: main : command provided 0
main : user is nobody
main : requested yarn user is hdfs
Can't create directory /yarn/nm/usercache/hdfs/appcache/application_1447966350718_10654 - Permission denied
Did not create any app directories
Failing this attempt. Failing the application.
我该怎么办,这样我可以使用HDFS用户查询蜂巢蜂巢的壳呢?