作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用基于Rhipe
的Hadoop
进行一些数据分析,但是rhput()
函数似乎无法正常工作。
library(Rhipe)
Loading required package: codetools
Loading required package: rJava
------------------------------------------------
| Please call rhinit() else RHIPE will not run |
------------------------------------------------
rhinit()
Rhipe: Using Rhipe.jar file
Initializing Rhipe v0.75.1
2015-10-14 19:07:38,429 WARN [main][NativeCodeLoader] Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Initializing mapfile caches
rhput('/home/hadoop/downloads/user.txt','/RHIPE/input/')
system("ls /")
app bin boot dev etc home initrd.img lib lib64 lost+found
media mnt opt proc RHIPE root run sbin srv sys tmp usr var
vmlinuz
最佳答案
我得到了答案,必须将HADOOP_CONF_DIR设置为hadoop的core-site.xml和其他* -site.xml文件所在的目录。
关于r - RHIPE rhput()不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33124059/
我正在使用基于Rhipe的Hadoop进行一些数据分析,但是rhput()函数似乎无法正常工作。 library(Rhipe) Loading required package: codetools
我是一名优秀的程序员,十分优秀!