delta-rho / RHIPE

R and Hadoop Integrated Programming Environment
58 stars 28 forks source link

Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, ... on simple mr job execution #45

Open cpgonzal opened 7 years ago

cpgonzal commented 7 years ago

Hi, I have installed Rhipe in Ubuntu 16 and I have problems when I execute the following:

library(testthat) test_package("Rhipe","simple")

The following error is obtained:

Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.io.FileNotFoundException: File does not exist: /tmp/rhipeTest/irisMax 12

Warnings -----------------------------------------------------------------------

  1. run simple mr job (@test-c-simple-mr.R#60) - Job failure, deleting output: /tmp/rhipeTest/irisMax:

Failed -------------------------------------------------------------------------

  1. Failure: run simple mr job (@test-c-simple-mr.R#67) ------------------------- mr job ran successfully isn't true.

Any help would be appreciated!! Thanks

hafen commented 7 years ago

Interesting. Sorry for the delay. Can you try manually running the code in that test case (https://github.com/delta-rho/RHIPE/blob/master/src/test/R/install-test/test-c-simple-mr.R). Then you should be able to see more output that might help get to the bottom of the issue. If this is a fresh installation, it most likely is some configuration issue.

cpgonzal commented 7 years ago

Ok, I deleted my virtual machine with the original installation. I have prepared again an Ubuntu 16 VM with Hadoop 2.6.0 installation, open-jdk 1.7.0, protobuf 2.5.0 and Rhipe 0.75.2. Then, I run the test-c-simple-mr.R code and I obtain this error in "run simple mr job" test:

Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.io.IOException: No such job: job_local1758148583_0001 available, wrong job? or try the History Viewer (see the Web UI)

This error is thrown in the execution of:

res <- try(rhwatch( map = rangeMap, reduce = rangeReduce, input = "irisData", output = "irisMax" ))

dufeng1010 commented 7 years ago

I have same issue, can you help me? @cpgonzal

cpgonzal commented 7 years ago

Hi, @dufeng1010 I didn't get a succesful execution in the moment that I was working with this library. I'm now working with other libraries (SparkR)...

dufeng1010 commented 7 years ago

OK, thanks @cpgonzal