0
- 我在远程模式下将hive 2.3与另一台机器上的mysql数据库一起部署为Metastore。
- 我即将完成整个过程,我检查部署是否是通过运行斌/蜂巢
- 然后工作,我得到这个错误:
Exception in thread "main" java.lang.RuntimeException: Couldn't create directory /user/hive/tmp/54de671c-0236-49e2-b967-7c3da8973f3a_resourcesHive无法在hdfs中创建目录并无法启动?
我知道这是由hive-site.xml中的属性
hive.downloaded.resources.dir
设置的。我把它设置为/user/hive/tmp/${hive.session_id}_resources
。我在hdfs中创建了
/user/hive/tmp
。我已经改变了目录访问
$hdfs dfs -chmod -R 777 /user/hive/tmp
你的问题是什么? – Shubhangi
我运行配置单元,并得到第3点中提到的错误 –
即使在更改目录权限后,模块配置单元仍然失败? – Shubhangi