失败:IllegalArgumentException java.net.URISyntaxException:绝对URI中的相对路径:

失败:IllegalArgumentException java.net.URISyntaxException:绝对URI中的相对路径:,java,hadoop,hive,bigdata,Java,Hadoop,Hive,Bigdata,我的hive site.xml配置为 当我使用hive时: 显示数据库 我得到的例外是: 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

我的
hive site.xml
配置为

当我使用hive时:

显示数据库

我得到的例外是:

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>
hive.exec.scratchdir
/tmp/蜂箱
hive.exec.local.scratchdir
/tmp/蜂箱
hive.download.resources.dir
/tmp/hive/${hive.session.id}\u资源
hive.scratch.dir.permission
733

使用以下属性更改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>
hive.exec.scratchdir
/tmp/蜂箱
hive.exec.local.scratchdir
/tmp/蜂箱
hive.download.resources.dir
/tmp/hive/${hive.session.id}\u资源
hive.scratch.dir.permission
733

hive.exec.scratchdir/tmp/hive-${user.name}HDFS root scratchdir,用于使用“全部写入”(733)权限创建的配置单元作业。对于每个连接的用户,将创建一个HDFS scratch dir:${hive.exec.scratchdir}/username,其权限为${hive.scratch.dir.permission}。配置单元作业的hive.exec.local.scratchdir tmp/hive-${user.name}/根本地暂存空间请为使用“全部写入”(733)权限创建的配置单元作业指定问题hive.exec.scratchdir/tmp/hive-${user.name}HDFS根暂存目录。对于每个连接的用户,将创建一个HDFS scratch dir:${hive.exec.scratchdir}/username,其权限为${hive.scratch.dir.permission}。配置单元作业的hive.exec.local.scratchdir tmp/hive-${user.name}/root本地暂存空间请指定您的问题