mapr distcp:filenotfoundexception

snz8szmq  于 2021-06-01  发布在  Hadoop
关注(0)|答案(0)|浏览(308)

我正在尝试在两个mapr集群之间复制文件 hadoop distcp maprfs:///path/to/source/hive/table maprfs:///path/to/destination/hive/table 源表有一些数据,但目标表为空。我刚刚在目标中使用了createtable命令。
但是对于上面的distcp命令,我得到

java.io.FileNotFoundException: Requested file maprfs:/var/mapr/cluster/yarn/rm/staging/some_user/.staging/job_1528383939830_608130 does not exist.
    at com.mapr.fs.MapRFileSystem.getMapRFileStatus(MapRFileSystem.java:1262)
    at com.mapr.fs.MapRFileSystem.getFileStatus(MapRFileSystem.java:927)
    at com.mapr.fs.MFS.getFileStatus(MFS.java:151)
    at org.apache.hadoop.fs.AbstractFileSystem.resolvePath(AbstractFileSystem.java:467)
    at org.apache.hadoop.mapred.YARNRunner.createApplicationSubmissionContext(YARNRunner.java:370)
    at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:306)
    at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:243)
    at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)
    at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:422)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1595)
    at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)
    at org.apache.hadoop.tools.DistCp.createAndSubmitJob(DistCp.java:183)
    at org.apache.hadoop.tools.DistCp.execute(DistCp.java:153)
    at org.apache.hadoop.tools.DistCp.run(DistCp.java:126)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    at org.apache.hadoop.tools.DistCp.main(DistCp.java:430)

这个暂存文件是什么?如何获取它?我的语法正确吗?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题