hive 报错:Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D
ava.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D
解决办法:
To ALL Having Installed Latest Hadoop 2.x.y and Hive 1.x.y :
If You having Hive Start Problem:
Edit:
$HIVE_HOME/conf/hive-site.xml
<property> <name>hive.exec.local.scratchdir</name> <value>$HIVE_HOME/iotmp</value> <description>Local scratch space for Hive jobs</description> </property> <property> <name>hive.querylog.location</name> <value>$HIVE_HOME/iotmp</value> <description>Location of Hive run time structured log file</description> </property> <property> <name>hive.downloaded.resources.dir</name> <value>$HIVE_HOME/iotmp</value> <description>Temporary local directory for added resources in the remote file system.</description> </property>
之后运行:
[qjk@qxy1 ~]$ hive --service metastore &
[qjk@qxy1 ~]$ hive --service hiveserver2 &