congfu
congfu

Reputation: 11

FAILED: IllegalArgumentException java.net.URISyntaxException: Relative path in absolute URI:

My hive-site.xml configuration is

When I use hive:

show databases;

The exception that I'm getting is:

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

Upvotes: 0

Views: 3801

Answers (1)

Gangadhar Kadam
Gangadhar Kadam

Reputation: 546

Change the hive-site.xml with below properties

<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>

Upvotes: 3

Related Questions