Error while running check on RHDFS

69 views
Skip to first unread message

Vedant Jain

unread,
Dec 11, 2013, 3:56:27 PM12/11/13
to rha...@googlegroups.com
Hello,

I installed R on CentOS 6.3 running Hortonworks HDP 2.0.6. After installing RHDFS and RMR2, when I run the command R CMD check rhdfs_1.0.8.tar.gz, I get the following error essage:
## delete multiple files
>   hdfs.delete(c(file.path("/tmp", basename(foo1)), file.path("/tmp", basename(foo2))))
13/12/11 20:51:03 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 21600000 minutes, Emptier interval = 0 minutes.
13/12/11 20:51:03 WARN fs.TrashPolicyDefault: Can't create trash directory: hdfs://ip-10-0-0-218.ec2.internal:8020/user/root/.Trash/Current/tmp
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl,  :
  java.io.IOException: Failed to move to trash: hdfs://ip-10-0-0-218.ec2.internal:8020/tmp/file70d8490d5008
Calls: hdfs.delete ... <Anonymous> -> .jrcall -> .jcall -> .jcheck -> .Call
Execution halted

Please help!

Thanks,
Vedant 

David Champagne

unread,
Dec 12, 2013, 11:21:40 AM12/12/13
to rha...@googlegroups.com
Sounds like a permissions error.  does the "/user/root" directory in HDFS have read/write permissons?
Reply all
Reply to author
Forward
0 new messages