2018-10-18
閱讀量:
1132
hive報錯如下,怎么解決?
Exception in thread "main"java.lang.RuntimeException: java.lang.IllegalArgumentException:java.net.URISyntaxException: Relative path in absolute URI:${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D
解決方案:
在hive 安裝目錄下,創(chuàng)建一個臨時的IO文件iotmp。比如hive的安裝目錄是/home/hadoop/app/hive
然后將路徑配置到hive-site.xml文件的以下參數(shù)中:
< property>
< name>hive.querylog.location< /name>
< value>/home/hadoop/app/hive/iotmp< /value>
< description>Location of Hive run time structured log file< /description>
< /property>
< property>
< name>hive.exec.local.scratchdir< /name>
< value>/home/hadoop/app/hive/iotmp< /value>
< description>Local scratch space for Hive jobs< /description>
< /property>
< property>
< name>hive.downloaded.resources.dir< /name>
< value>/home/hadoop/app/hive/iotmp< /value>
< description>Temporary local directory for added resources in the remote file system.< /description>
< /property>






評論(0)


暫無數(shù)據(jù)
推薦帖子
0條評論
0條評論