hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hongyuan Li (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-14422) FTPFileSystem and distcp does not work when ecnountered a complex ftp password with char ':' or '@'
Date Tue, 30 May 2017 09:11:04 GMT

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

Hongyuan Li edited comment on HADOOP-14422 at 5/30/17 9:10 AM:
---------------------------------------------------------------

Anybody available for review? [~arpiagariu], [~chuanliu], [~sureshms], [~cnauroth] [~stevel@apache.org]
[~brahmareddy] [~yzhangal]  ?


was (Author: hongyuan li):
Anybody available for review? [~arpiagariu], [~chuanliu], [~sureshms], [~cnauroth] [~stevel@apache.org]
[~brahmareddy] ?

> FTPFileSystem and distcp does not work when ecnountered a complex ftp password with char
':' or '@'
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-14422
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14422
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, tools/distcp
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Hongyuan Li
>            Assignee: Hongyuan Li
>         Attachments: HADOOP-14422-002.patch, HADOOP-14422-003.patch, HADOOP-14422-004.patch,
HADOOP-14422-005.patch, HADOOP-14422.patch
>
>
> ftp username: test passwd:1@123
> hadoop distcp ftp://test:1@123@node2/home/test/  hdfs://piaopiao/test
> 17/05/15 15:24:56 INFO tools.DistCp: Input Options: DistCpOptions{atomicCommit=false,
syncFolder=false, deleteMissing=false, ignoreFailures=false, maxMaps=20, sslConfigurationFile='null',
copyStrategy='uniformsize', sourceFileListing=null, sourcePaths=[ftp://test:1@123@node2/home/test],
targetPath=/test, targetPathExists=true, preserveRawXattrs=false, filtersFile='null'}
> 17/05/15 15:24:57 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm2
> 17/05/15 15:24:59 ERROR tools.DistCp: Exception encountered 
> java.io.IOException: Login failed on server - 0.0.0.0, port - 21 as user 'null'
> 	at org.apache.hadoop.fs.ftp.FTPFileSystem.connect(FTPFileSystem.java:154)
> 	at org.apache.hadoop.fs.ftp.FTPFileSystem.getFileStatus(FTPFileSystem.java:415)
> 	at org.apache.hadoop.fs.Globber.getFileStatus(Globber.java:68)
> 	at org.apache.hadoop.fs.Globber.glob(Globber.java:263)
> 	at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:1630)
> 	at org.apache.hadoop.tools.GlobbedCopyListing.doBuildListing(GlobbedCopyListing.java:77)
> 	at org.apache.hadoop.tools.CopyListing.buildListing(CopyListing.java:86)
> 	at org.apache.hadoop.tools.DistCp.createInputFileListing(DistCp.java:389)
> 	at org.apache.hadoop.tools.DistCp.createAndSubmitJob(DistCp.java:187)
> 	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:453)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message