Exceptions when trying to run rhinit

108 views
Skip to first unread message

Ravi Kiran

unread,
Jan 28, 2014, 2:14:33 PM1/28/14
to rh...@googlegroups.com
Hi ,
   I currently have installed RHIPE on a single node Cloudera VM 4.1. When running the rhinit() command from the R shell, I get the following error. 

> library(Rhipe)
> rhinit()
Rhipe: Using Rhipe.jar file
Initializing Rhipe v0.73
java.io.IOException: failure to login
   at java.lang.Throwable.<init>(libgcj.so.10)
   at java.lang.Throwable.<init>(libgcj.so.10)
   at java.lang.Exception.<init>(libgcj.so.10)
   at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:694)
   at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:573)
   at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2463)
   at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2455)
   at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2323)
   at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:351)
   at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:163)
   at org.godhuli.rhipe.PersonalServer.run(PersonalServer.java:321)
   at java.lang.reflect.Method.invoke(libgcj.so.10)
   at RJavaTools.invokeMethod(RJavaTools.java:386)
Caused by: javax.security.auth.login.LoginException: could not load module com.sun.security.auth.module.UnixLoginModule
   at javax.security.auth.login.LoginContext.lookupModule(libgcj.so.10)
   at javax.security.auth.login.LoginContext.<init>(libgcj.so.10)
   at org.apache.hadoop.security.UserGroupInformation.newLoginContext(UserGroupInformation.java:527)
   at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:672)
   ...9 more
Caused by: java.lang.ClassNotFoundException
   at RJavaClassLoader.findClass(RJavaClassLoader.java:383)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at java.lang.Class.forName(libgcj.so.10)
   at javax.security.auth.login.LoginContext.lookupModule(libgcj.so.10)
   ...12 more
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl,  :
  java.lang.NullPointerException

Am I missing anything?

Regards
Ravi

Saptarshi Guha

unread,
Jan 28, 2014, 7:11:52 PM1/28/14
to rh...@googlegroups.com
On Tue, Jan 28, 2014 at 11:14 AM, Ravi Kiran <ravikir...@gmail.com> wrote:
> java.io.IOException: failure to login
> at java.lang.Throwable.<init>(libgcj.so.10)
> at java.lang.Throwable.<init>(libgcj.so.10)
> at java.lang.Exception.<init>(libgcj.so.10)
> at
> org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:694)


Something going on here. Can you do regular hadoop commands?
Reply all
Reply to author
Forward
0 new messages