RevolutionAnalytics/RHadoop — Issue #22: Can't install rhdfs
Author: guxiaobo
Created: 2011-10-25 16:14:47+00:00
State: open

Hi,

I am running R 2.13.1 on CENTS 6.0 x64 with Oracle JDK 1.6.23 64bit and rJava0.9.2, when executing R CMD INSTALL R CMD INSTALL rhdfs_1.0.1.tar.tar

* installing to library ‘/opt/r2131/lib64/R/library’
* installing *source* package ‘rhdfs’ ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'rhdfs', details:
call: .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl,
error: java.lang.NoClassDefFoundError: com.sun.security.auth.UnixPrincipal
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/opt/r2131/lib64/R/library/rhdfs’
[gpadmin@hdp1 pkgs]$ java -version
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)