Exception in thread "main" java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative

問題緣由是Hive裏面配置的相對路徑沒有找到,咱們能夠直接在文件裏面修改成絕對路徑。java

1.在hive下面窗口temp文件夾apache

cd /opt/hivevim

mkdir tempxml

cd tempblog

2.查看temp所在路徑it

pwd tempio

3.進入hive-site.xml裏面配置

vim /opt/hive/conf/hive-site.xml搜索

4.搜索system:java.io.tmpdir字樣的東西,修改成絕對路徑(/opt/hive/apache-hive-2.3.6-bin/temp)就能夠了。im

相關文章
相關標籤/搜索