Exception in thread "main" java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D

问题原因是Hive里面配置的相对路径没有找到,我们可以直接在文件里面修改为绝对路径。

1.在hive下面窗口temp文件夹

cd /opt/hive

mkdir temp

cd temp

2.查看temp所在路径

pwd temp

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)就可以了。

posted @ 2019-11-08 23:15  数据驱动  阅读(2102)  评论(0编辑  收藏  举报