rger 发表于 2017-11-13 13:20:38

hive启动时报错: Relative path in absolute URI: ${system:java.io.t

                      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-site.xml配置文件中需要配置system:java.io.tmpdir属性。

在配置文件中加入:
<property>
    <name>system:java.io.tmpdir</name>
    <value>/usr/local/hive/tmp</value>
</property>


/usr/local/hive/tmp,是你自己建立的目录
                  

页: [1]
查看完整版本: hive启动时报错: Relative path in absolute URI: ${system:java.io.t