Monday, April 17, 2017

Hive - URISyntaxException: Relative path in absolute URI

Problem


I encountered the following exception when I tried to start up Hive

Exception in thread "main" java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D


Solution


This is configuration in hive-site.xml. Open up hive-site.xml and look for ${system:java.io.tmpdir}/${system:user.name}. If found, replace them with a proper value, e.g. /tmp/somedir. After that, run Hive again.

No comments:

Post a Comment

Hadoop - How to setup a Hadoop Cluster

Below is a step-by-step guide which I had used to setup a Hadoop Cluster Scenario 3 VMs involved: 1) NameNode, ResourceManager - Host...