Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bhive.session.id%7D_resources


 

原因:環境變量設置問題

 

 <property>
    <name>Hive.exec.local.scratchdir</name>
    <value>${system:Java.io.tmpdir}/${system:user.name}</value>
    <description>Local scratch space for hive jobs</description>
  </property>
  <property>
    <name>hive.downloaded.resources.dir</name>
    <value>${system:java.io.tmpdir}/${hive.session.id}_resources</value>
    <description>Temporary local directory for added resources in the remote file system.</description>
  </property>
  <property>

 

解決方案如下:
1.查看hive-site.xml配置,會看到配置值含有"system:java.io.tmpdir"的配置項
2.新建文件夾/home/grid/hive-0.14.0-bin/iotmp
3.將含有"system:java.io.tmpdir"的配置項的值修改為如上地址
啟動hive,成功!


啟動情況如下:
$ ./hive
Logging initialized using configuration in jar:file:/home/grid/hive-0.14.0-bin/lib/hive-common-0.14.0.jar!/hive-log4j.properties
hive> 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM