Skip to content

Cannot install rhdfs at my EC2 unbuntu instances #14

Description

@gz5427

Hi,

I am trying to install "rhdfs" at my EC2 unbuntu instances. I first installed the rhdfs dependent packages: such as rJava, Plyr, rmr2. But when I tryied to run the following command to install rhdfs,

sudo R CMD INSTALL /data/tarfiles/rhdfs_1.0.8.tar.gz

I got the following error message:

** 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

I tried to open R and run "Sys.getenv("HADOOP_CMD")". It does give me the right HADOOP HOME. So the error message is really weird for me.

Can anybody help?

Max

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions