Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13593

`hadoop distcp -atomic` invokes improper host check while copying data from HDFS to Swift

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      While copying data from HDFS to Swift by using `hadoop distcp -atomic`, for example:

      hadoop distcp -atomic /tmp/100M  swift://testhadoop.softlayer//tmp
      

      it throws

      java.lang.IllegalArgumentException: Work path swift://testhadoop.softlayer/._WIP_tmp546958075 and target path swift://testhadoop.softlayer/tmp are in different file system
      	at org.apache.hadoop.tools.DistCp.configureOutputFormat(DistCp.java:351)
      .....
      

      Attachments

        1. HADOOP-13593.001.patch
          1.0 kB
          Yuanbo Liu
        2. HADOOP-13593.002.patch
          1 kB
          Yuanbo Liu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yuanbo Yuanbo Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: