I am trying to validate my Rhipe setup, and am having a hard time finding constant documentation that gives a good example that I can use to verify my Rhipe/Hadoop configuration.
I originally tried to follow through a sample posted here (
http://ml.stat.purdue.edu/rhafen/rhipe/), but found that the rhmr() function had been replaced by rhwatch() somewhere around v0.72. I tried to convert the rhmr command unsuccessfully, which led me to trying to simplify the example. I found the following example on this discussion board:
> m <- rhwatch(map=map, reduce=0, input=c(1000,3),read=FALSE)
Loading required package: codetools
Saving 2 paramaters to /tmp/rhipe-temp-params-342a041a6eec973f79df11f851cc54d1 (use rhclean to delete all temp files)
java.lang.NoSuchMethodError: org.apache.hadoop.mapreduce.Job.setUserClassesTakesPrecedence(Z)V
at org.godhuli.rhipe.RHMR.setJob(RHMR.java:222)
at org.godhuli.rhipe.RHMR.init(RHMR.java:135)
at org.godhuli.rhipe.RHMR.run(RHMR.java:149)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.godhuli.rhipe.RHMR.fmain(RHMR.java:101)
at org.godhuli.rhipe.PersonalServer.rhex(PersonalServer.java:166)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at RJavaTools.invokeMethod(RJavaTools.java:386)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.NoSuchMethodError: org.apache.hadoop.mapreduce.Job.setUserClassesTakesPrecedence(Z)V
Can someone either give me a simple example or suggest change(s) I should make to my environment to get this to work?
Luke.