RHive package connection with hadoop

I am a beginner and I am trying to hook up R with hadoop using the R package RHive

. My codes are as follows:

In hadoop :

u/users/seeker $ export HADOOP_HOME=/usr/bin/hadoop
u/users/seeker $ export HIVE_HOME=/usr/bin/hive

      

In the R console :

library(rJava)
library(RHive)
rhive.init()
rhive.connect()

      

I am getting the error:

Error: java.lang.ClassNotFoundException

Please help me fix this problem. Any help would be appreciated!

+3


source to share





All Articles