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