Hi, I have previously installed rhdfs with Hadoop 0.20.2-cdh3u3, now my hadoop version has changed to Hadoop 2.2.0 (the "HADOOP_CMD" was changed to Hadoop 2.2.0 ). When I run hdfs.init(), I got the error as:
Loading required package: rJava
HADOOP_CMD=/data/hadoopenv/hadoop-0.20.1-gdt/bin/hadoop
Be sure to run hdfs.init()
Error in .jnew("org/apache/hadoop/conf/Configuration") :
java.lang.ClassNotFoundException
when I change the "HADOOP_CMD" to 0.20.2-cdh3u3, it works again.
Could anyone tell me what could be done to handle this problem?
Thank you very much !!!