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 installing rhdfs_1.0.8.tar.gz #12

Open
siddesh2104 opened this issue Jan 1, 2015 · 0 comments
Open

Error installing rhdfs_1.0.8.tar.gz #12

siddesh2104 opened this issue Jan 1, 2015 · 0 comments

Comments

@siddesh2104
Copy link

[186946@01HW524744 hadd]$ sudo R CMD INSTALL rhdfs_1.0.8.tar.gz

  • installing to library ‘/usr/lib64/R/library’
  • installing source package ‘rhdfs’ ...
    ** R
    ** inst
    ** preparing package for lazy loading
    ** help
    *** installing help indices
    converting help for package ‘rhdfs’
    finding HTML links ... done
    hdfs-file-access html
    hdfs-file-manip html
    hdfs.defaults html
    hdfs.file-level html
    initialization html
    rhdfs html
    text.files html
    ** building package indices
    ** testing if installed package can be loaded
    Error : .onLoad failed in loadNamespace() for 'rhdfs', details:
    call: fun(libname, pkgname)
    error: Environment variable HADOOP_CMD must be set before loading package rhdfs
    Error: loading failed
    Execution halted
    ERROR: loading failed

* removing ‘/usr/lib64/R/library/rhdfs’

when I try[186946@01HW524744 hadd]$ sudo -E R CMD INSTALL rhdfs_1.0.8.tar.gz

  • installing to library ‘/usr/lib64/R/library’
  • installing source package ‘rhdfs’ ...
    ** R
    ** inst
    ** preparing package for lazy loading
    Error : .onLoad failed in loadNamespace() for 'rJava', details:
    call: dyn.load(file, DLLpath = DLLpath, ...)
    error: unable to load shared object '/usr/lib64/R/library/rJava/libs/rJava.so':
    libjvm.so: cannot open shared object file: No such file or directory
    Error : package ‘rJava’ could not be loaded
    ERROR: lazy loading failed for package ‘rhdfs’
  • removing ‘/usr/lib64/R/library/rhdfs’

HADOOP_CMD is set in .bashrc
[186946@01HW524744 hadd]$ echo $HADOOP_CMD

/usr/bin/hadoop

Please help

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

1 participant