I am new in HIVE. I have already set up hadoop and it works well, and I want to set up Hive. When I start hive , it shows an error as
Caused by: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D
Are there any solutions?
Put the following at the beginning of hive-site.xml
See also question
I figure it out myself. In the hive-site.xml, replace ${system:java.io.tmpdir}/${system:user.name} by /tmp/mydir as what has been told in https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration.
Exception in thread "main" java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D system:java.io.tmpdir - path
system:user.name - username
Above properties are system level properties which need to set by user, So hive site template didn't provide these, required manual configuration.
Set the above properties like using property tag with name value key pair in hive-site.xml, Its upto user level to choose the location of temp
add property in hive-site.xml
add java and hadoop path in hive-env.sh according to your system.
and also set hive and hadoop path in .bashrc
Note-- this all files path are set according to my system , you should give path according to your system. let me know if not work
Not the answer you're looking for? Browse other questions tagged hadoop hive or ask your own question.
asked
viewed
24,424 times
active
1 month ago
Linked
Related
Hot Network Questions