hdfs.init() has problem

43 views
Skip to first unread message

ユメのオワリ

unread,
Jul 2, 2014, 9:34:40 AM7/2/14
to rha...@googlegroups.com
$ sudo R

> Sys.setenv(HADOOP_CMD="/usr/bin/hadoop")
> Sys.setenv(HADOOP_STREAMING="/usr/lib/hadoop-0.20-mapreduce/contrib/streaming/hadoop-streaming-2.0.0-mr1-cdh4.6.0.jar")
> library(rmr2)
Loading required package: Rcpp
Loading required package: RJSONIO
Loading required package: bitops
Loading required package: digest
Loading required package: functional
Loading required package: reshape2
Loading required package: stringr
Loading required package: plyr
Loading required package: caTools
> library(rhdfs)
Loading required package: rJava

HADOOP_CMD=/usr/bin/hadoop

Be sure to run hdfs.init()
> hdfs.init()
14/07/02 06:11:22 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

how to fix it please help

Antonio Piccolboni

unread,
Jul 2, 2014, 2:43:24 PM7/2/14
to RHadoop Google Group
Hi, it is a warning, so by definition you can't fix it because there's nothing broken. There is only a performance penalty to pay for this warning. Second it's a hadoop issue so you are more likely to find the answer on hadoop-related support forums. I would search for <your OS here> hadoop native libraries. I develop on a mac and I always see this warning and I just ignore it.


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.

Reply all
Reply to author
Forward
0 new messages