rhdfs hdfs.init() error

60 views
Skip to first unread message

chen longzhen

unread,
Mar 11, 2015, 12:04:36 PM3/11/15
to rha...@googlegroups.com
Hi, I have previously installed rhdfs with Hadoop 0.20.2-cdh3u3, but  When I run hdfs.init(), I got the error as:

> library(rhdfs)
Loading required package: rJava

HADOOP_CMD=/home/hadoop1/hadoop-cdh3/bin/hadoop

Be sure to run hdfs.init()
> hdfs.init()
/usr/bin/env: bash: No such file or directory
Error in system(command, intern = TRUE) : error in running command

Antonio Piccolboni

unread,
Mar 11, 2015, 12:14:19 PM3/11/15
to RHadoop Google Group
Are you running on unix? What does 

which bash 

return?

Antonio

--
post: rha...@googlegroups.com ||
unsubscribe: rhadoop+u...@googlegroups.com ||
web: https://groups.google.com/d/forum/rhadoop?hl=en-US
---
You received this message because you are subscribed to the Google Groups "RHadoop" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rhadoop+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

chen longzhen

unread,
Mar 11, 2015, 8:31:22 PM3/11/15
to rha...@googlegroups.com, ant...@piccolboni.info
I run on centos6.5 , 
bash version is :
[hadoop1@master Desktop]$ bash --version
GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reply all
Reply to author
Forward
0 new messages