Skip to content
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

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

Open
cpgonzal opened this issue Feb 14, 2017 · 5 comments

Comments

@cpgonzal
Copy link

cpgonzal commented Feb 14, 2017

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
Copy link
Contributor

hafen commented Feb 17, 2017

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
Copy link
Author

cpgonzal commented Feb 17, 2017

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
Copy link

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

@cpgonzal
Copy link
Author

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
Copy link

OK, thanks @cpgonzal

aleskandro pushed a commit to aleskandro/r-hadoop-madreduce-examples that referenced this issue Jan 6, 2018
See the related issue from the official RHipe repo in delta-rho/RHIPE#45
aleskandro pushed a commit to aleskandro/r-hadoop-madreduce-examples that referenced this issue Jan 6, 2018
See the related issue from the official RHipe repo in delta-rho/RHIPE#45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants