我的hive-site.xml
配置是
当我使用配置单元时:
显示数据库;
我遇到的异常是:
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
最佳答案
使用以下属性更改 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>
关于java - 失败 : IllegalArgumentException java.net.URISyntaxException:绝对 URI 中的相对路径:,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40959978/