【已解决】FAILED: Illegal Argument Exception java.net.URISyntaxException: Relative path in absolute URI

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Handoking/article/details/81388379

原因:hive中配置文件没有正确配置
解决:针对这个问题,可以添加以下属性进去。你的配置文件应该是hive-site.xml。
请注意你的路径将下面的路径/var/develop/apache-hive-1.2.1-bin/iotmp替换掉。
hive+mysqlde正确的配置文件请参考我的相关博文。

<property>
<name>hive.exec.local.scratchdir</name>
<!-- <value>${system:java.io.tmpdir}/${system:user.name}</value>-->
<value>/var/develop/apache-hive-1.2.1-bin/iotmp</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>-->
<value>/var/develop/apache-hive-1.2.1-bin/iotmp/${hive.session.id}_resources
</value>
<description>Temporary local directory for added resources in the remote file system.
</description>
</property>

猜你喜欢

转载自blog.csdn.net/Handoking/article/details/81388379