RHive没有使用CDH4 [英] RHive not working with CDH4

查看:151
本文介绍了RHive没有使用CDH4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人试图让cdive使用RHive?它与cdh4兼容吗?



我试过在他们的Google小组上询问这个问题,但没有答案!我已经在cdh4上安装了R,RHadoop和所有相关的软件包,但我被困在了RHive中。

对所有环境变量使用cdh4,rhive.connect()给我以下错误 -

pre > WARN conf.Configuration:fs.default.name已弃用。相反,使用fs.defaultFS
.jfindClass(as.character(class))中的错误:class not found

任何想法/建议?



谢谢,
Vaibhav

解决方案

看起来RHive最初与CDH4不兼容,但是这已被修复在此拉请求。唯一的区别似乎是您需要将名为hdfs的HADOOP_HOME / client jar添加到classpath中。



我的建议是确保您的版本包含此修补程序如果不升级到更新版本的RHive。


Has anyone tried to make RHive work with cdh4? Is it compatible with cdh4?

I have tried asking this question on their google group but no answers yet! I have installed R, RHadoop and all related packages on cdh4 but I am stuck at RHive.

Using cdh4 for all environment variables, rhive.connect() gives me the following error -

WARN conf.Configuration: fs.default.name is deprecated. Instead, use fs.defaultFS
Error in .jfindClass(as.character(class)) : class not found

Any ideas/suggestions?

Thanks, Vaibhav

解决方案

It looks like RHive was initially incompatible with CDH4, but this was fixed in this pull request. The only difference seems to be that you need to add HADOOP_HOME/client jars with name "hdfs" into classpath.

My suggestion would be to make sure your version includes this fix and if not upgrade to a more recent version of RHive.

这篇关于RHive没有使用CDH4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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