Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solved
Go to solution
Environment variable HADOOP_CMD must be set before loading package rhdfs Error: loading failed
Expert Contributor
Created ‎05-31-2016 10:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 get this error when trying to install package rhdfs in R studio.
I am on centos 6.5.
1 ACCEPTED SOLUTION
Super Guru
Created ‎05-31-2016 10:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please set HADOOP_CMD variable inside R before hdfs call.
Sys.setenv("HADOOP_CMD"="/usr/hdp/current/hadoop-client/bin/hadoop")
1 REPLY 1
Super Guru
Created ‎05-31-2016 10:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please set HADOOP_CMD variable inside R before hdfs call.
Sys.setenv("HADOOP_CMD"="/usr/hdp/current/hadoop-client/bin/hadoop")
