Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ACAD2200C85 for ; Mon, 15 May 2017 10:00:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A9C12160BC2; Mon, 15 May 2017 08:00:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D2F6E160BC1 for ; Mon, 15 May 2017 10:00:21 +0200 (CEST) Received: (qmail 28071 invoked by uid 500); 15 May 2017 08:00:20 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 28057 invoked by uid 99); 15 May 2017 08:00:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2017 08:00:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5A116C0362 for ; Mon, 15 May 2017 08:00:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Dxw_37_NmQfC for ; Mon, 15 May 2017 08:00:18 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 28691612C1 for ; Mon, 15 May 2017 08:00:17 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 48F04E0D50 for ; Mon, 15 May 2017 08:00:16 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A880A24309 for ; Mon, 15 May 2017 08:00:15 +0000 (UTC) Date: Mon, 15 May 2017 08:00:15 +0000 (UTC) From: "Hongyuan Li (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-14422) FTPFileSystem and distcp does not work when ecnountered a complex ftp password with char ':' or '@' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 15 May 2017 08:00:22 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hongyuan Li updated HADOOP-14422: --------------------------------- Description: 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) was: 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) > 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 > > 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