Reputation: 550
Exception in thread "main" java.lang.RuntimeException: Couldn't create directory /user/hive/tmp/54de671c-0236-49e2-b967-7c3da8973f3a_resources
I know this is set by the property hive.downloaded.resources.dir
in hive-site.xml. And I set it to be /user/hive/tmp/${hive.session_id}_resources
.
I have create /user/hive/tmp
in hdfs.
I have changed the directory access $hdfs dfs -chmod -R 777 /user/hive/tmp
Upvotes: 4
Views: 3785
Reputation: 31
I recently met this problem, too. I have solved it. The key is that "/user/hive/tmp" is not in hdfs, it's in your local folder, and you should create "/user/hive/tmp" in your local folder and change the directory access. Hope to help you solve the problem.
Upvotes: 3