Closed sfines closed 7 years ago
I am having the same issue. Do we have a solution for it? It will be very appreciated if someone can provide help.
Sorry for the delay. This is most likely due to a configuration issue. Unfortunately these things can be difficult to debug since there is so much variability across systems.
In your R session, what do you get when you run Sys.getenv("HADOOP_LIBS")
?
If there's nothing in that environment variable, if you are using bash, I'd try creating this environment variable with something like this:
export HADOOP_LIBS=`hadoop classpath | tr -d '*'`
And see if that gets you somewhere.
Thank you hafen, that is the solution !!! 😄
Great!
This saved me from my error as well! Thanks hafen!
In my situation I am trying to use Rhipe with Rstudio in a container and had to add the paths that hadoop classpath | tr -d '*'
returns to my Renviron file.
I'm still having same errors.
rhinit() Rhipe: Using Rhipe.jar file Initializing Rhipe v0.75.2 Error in .jnew("org/godhuli/rhipe/PersonalServer") : java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory Sys.getenv("HADOOP_LIBS") [1] "hadoop classpath | tr -d '*'"
I have tried this with the main branch and when I run Rhinit() I get the following error: