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] [Created] (HADOOP-14422) FTPFileSystem and distcp does not work when ecnountered a complex ftp password with char ':' or '@'
Date Mon, 15 May 2017 07:51:04 GMT
Hongyuan Li created HADOOP-14422:
------------------------------------

             Summary: 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


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