我的hive-site.xml
配置
当我使用hive时:
show databases;
我得到的例外是:
FAILED: IllegalArgumentException java.net.URISyntaxException:
Relative path in absolute URI: file:./tmp/hive-root/root/74dc7e51-1d24-4397-9321-9b8c651ee212/hive_2016-12-04_22-55-36_784_2074916962149947374-1
答案 0 :(得分:2)
使用以下属性更改hive-site.xml
<name>hive.exec.scratchdir</name>
<value>/tmp/hive</value>
<name>hive.exec.local.scratchdir</name>
<value>/tmp/hive</value>
<name>hive.downloaded.resources.dir</name>
<value>/tmp/hive/${hive.session.id}_resources</value>
<name>hive.scratch.dir.permission</name>
<value>733</value>