启动 HIVE 时出现 java.net.URISyntaxException [英] java.net.URISyntaxException when starting HIVE

查看:24
本文介绍了启动 HIVE 时出现 java.net.URISyntaxException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 HIVE 的新手.我已经设置了 hadoop 并且运行良好,我想设置 Hive.当我启动 hive 时,它​​显示错误为

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

有什么解决办法吗?

推荐答案

我自己想出来的.在 hive-site.xml 中,按照 https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration.

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.

这篇关于启动 HIVE 时出现 java.net.URISyntaxException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆