Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3902

Delete tmp dir failed when Bulk Data loading(Load via MapReduce)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.8.0
    • Fix Version/s: 4.8.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      hbase 0.98.18

      Description

      *desc:Bulk csv data loading from Hadoop cluster A to HBase cluster B

      17/05/31 20:30:17 INFO mapreduce.AbstractBulkLoadTool: Removing output directory hdfs://gz-cluster/user/zhanghanzhi/tmp3
      Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://gz-cluster/user/zhanghanzhi/tmp3, expected: hdfs://mycluster-tj
      at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:646)
      at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:194)
      at org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:106)
      at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:707)
      at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:703)
      at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
      at org.apache.hadoop.hdfs.DistributedFileSystem.delete(DistributedFileSystem.java:714)
      at org.apache.phoenix.mapreduce.AbstractBulkLoadTool.submitJob(AbstractBulkLoadTool.java:331)
      at org.apache.phoenix.mapreduce.AbstractBulkLoadTool.loadData(AbstractBulkLoadTool.java:267)
      at org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(AbstractBulkLoadTool.java:180)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
      at org.apache.phoenix.mapreduce.CsvBulkLoadTool.main(CsvBulkLoadTool.java:101)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
      at org.apache.hadoop.util.RunJar.main(RunJar.java:136)*

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hanzhizhang hanzhi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: