java.net.URISyntaxException启动HIVE时 [英] java.net.URISyntaxException when starting HIVE
本文介绍了java.net.URISyntaxException启动HIVE时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经建立了hadoop,它运行良好,我想设置Hive。
当我启动配置单元时,它显示一个错误:
原因:java.net.URISyntaxException:相对路径在绝对URI:$ {system:java.io.tmpdir%7D / $%7Bsystem:user.name%7D
有没有解决办法?
解决方案
我自己弄明白了。
在hive-site.xml中,用/ tmp / mydir替换$ {system:java.io.tmpdir} / $ {system:user.name},如https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration 。
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?
解决方案
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.
这篇关于java.net.URISyntaxException启动HIVE时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文