hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuanbo Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13593) `hadoop distcp -atomic` invokes improper host check while copying data from HDFS to Swift
Date Mon, 12 Sep 2016 08:06:20 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15483433#comment-15483433

Yuanbo Liu commented on HADOOP-13593:

I find that in {{FileUtil#compareFs}}, it uses "InetAddress.getByName(srcHost).getCanonicalHostName()"
to get the host name of Swift file system. In fact "testhadoop.softlayer" is an alias name
of Swift, it's impossible to use "getCanonicalHostName" to get the real host name. I propose
to delete it and upload v1 patch for this issue.

> `hadoop distcp -atomic` invokes improper host check while copying data from HDFS to Swift
> -----------------------------------------------------------------------------------------
>                 Key: HADOOP-13593
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13593
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Yuanbo Liu
> While copying data from HDFS to Swift by using `hadoop distcp -atomic`, for example:
> {code}
> hadoop distcp -atomic /tmp/100M  swift://testhadoop.softlayer//tmp
> {code}
> it throws
> {code}
> 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)
> .....
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message