Skip to content

Error installing rhdfs_1.0.8.tar.gz #12

@siddesh2104

Description

@siddesh2104

[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions