RHive not working with CDH4

落爺英雄遲暮 提交于 2019-12-11 06:46:05

问题


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


回答1:


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.




回答2:


RHive is compatible with any Hadoop version before YARN.

I tested it with Hadoop 0.20.205.0, it worked fine



来源:https://stackoverflow.com/questions/16783549/rhive-not-working-with-cdh4

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!