を実行したいのですがhdfs.init()
、コードは次のとおりです。
Sys.setenv(HADOOP_CMD="C:\\hdp\\hadoop\\hadoop-1.2.0.1.3.0.0-0380\\bin\\hadoop")
Sys.setenv(HADOOP_CONF_DIR="C:\\hdp\\hadoop\\hadoop-1.2.0.1.3.0.0-0380\\conf")
library(rhdfs)
hdfs.init()
実行後hdfs.init()
、次のようなエラーが表示されます。
> hdfs.init()
Error in .jnew("org/apache/hadoop/conf/Configuration") :
java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.conf.Configuration