New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install rhdfs #22
Comments
What version/distribution of Hadoop are you running? What is JAVA_HOME set to? |
I am using Apache hadoop-0.20.203.0rc1.tar.gz, and my JAVA environment is [gpadmin@hdp1 pkgs]$ echo $JAVA_HOME |
Are you able to run all of the hadoop sample programs without problems? |
It seems like RJava is not finding the correct path. Can you execute the following from a terminal window, and report the results R CMD javareconf |
[gpadmin@hdp1 ~]$ R CMD javareconf Updating Java configuration in /opt/r2131/lib64/R [gpadmin@hdp1 ~]$ |
After executing this command the rhdfs package can be installed now
|
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
** 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
[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)
The text was updated successfully, but these errors were encountered: