You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Rajit (JIRA)" <ji...@apache.org> on 2011/09/23 23:57:26 UTC

[jira] [Created] (HDFS-2361) distcp with hftp is failing

distcp with hftp is failing
---------------------------

                 Key: HDFS-2361
                 URL: https://issues.apache.org/jira/browse/HDFS-2361
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
    Affects Versions: 0.20.205.0
            Reporter: Rajit


Distcp with hftp is failing.


$hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
Retrieving token from: https://<NN IP>:50470/getDelegationToken
Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115178#comment-13115178 ] 

Hadoop QA commented on HDFS-2361:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12496624/HDFS-2361.trunk.1.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    -1 javac.  The patch appears to cause tar ant target to fail.

    -1 findbugs.  The patch appears to cause Findbugs (version 1.3.9) to fail.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1295//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1295//console

This message is automatically generated.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-2361:
-----------------------------------------

    Fix Version/s: 0.23.0

Merged to 0.23.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115156#comment-13115156 ] 

Jitendra Nath Pandey commented on HDFS-2361:
--------------------------------------------

Committed to 205,206.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116450#comment-13116450 ] 

Hudson commented on HDFS-2361:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #844 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/844/])
    HDFS-2361. hftp is broken, fixed username checks in JspHelper.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176729
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-2361:
-----------------------------------------

    Description: 
Distcp with hftp is failing.

{noformat}
$hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
Retrieving token from: https://<NN IP>:50470/getDelegationToken
Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
	...
{noformat}

  was:
Distcp with hftp is failing.


$hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
Retrieving token from: https://<NN IP>:50470/getDelegationToken
Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

    
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116172#comment-13116172 ] 

Jitendra Nath Pandey commented on HDFS-2361:
--------------------------------------------

The patch was manually tested on a secure cluster in branch-0.20-security.
This issue showed up only in a secure cluster, and the code change in the patch takes effect only if security is enabled. Therefore, tests require a secure setup.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-2361:
---------------------------------------

    Status: Open  (was: Patch Available)
    
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-2361:
---------------------------------------

    Attachment: HDFS-2361-20s.3.patch

Uploaded a new patch, because short names should be compared. 

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-2361:
---------------------------------------

    Status: Patch Available  (was: Open)
    
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136360#comment-13136360 ] 

Hudson commented on HDFS-2361:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #63 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/63/])
    svn merge -c 1176729 from trunk for HDFS-2361.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189440
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-2361:
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.24.0
                   0.20.206.0
                   0.20.205.0
           Status: Resolved  (was: Patch Available)

This is committed.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116217#comment-13116217 ] 

Hudson commented on HDFS-2361:
------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #995 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/995/])
    HDFS-2361. hftp is broken, fixed username checks in JspHelper.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176729
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115064#comment-13115064 ] 

Jitendra Nath Pandey commented on HDFS-2361:
--------------------------------------------

Uploaded a patch.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115243#comment-13115243 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2361:
----------------------------------------------

In trunk, KerberosName is in org.apache.hadoop.security.authentication.util.  So the import incorrect.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116200#comment-13116200 ] 

Hudson commented on HDFS-2361:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #974 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/974/])
    HDFS-2361. hftp is broken, fixed username checks in JspHelper.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176729
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115363#comment-13115363 ] 

Hadoop QA commented on HDFS-2361:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12496649/HDFS-2361.trunk.2.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests:
                  org.apache.hadoop.hdfs.TestDfsOverAvroRpc
                  org.apache.hadoop.hdfs.server.blockmanagement.TestHost2NodesMap
                  org.apache.hadoop.hdfs.server.datanode.TestReplicasMap

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1297//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1297//console

This message is automatically generated.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116390#comment-13116390 ] 

Hudson commented on HDFS-2361:
------------------------------

Integrated in Hadoop-Hdfs-trunk #814 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/814/])
    HDFS-2361. hftp is broken, fixed username checks in JspHelper.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176729
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116052#comment-13116052 ] 

Jitendra Nath Pandey commented on HDFS-2361:
--------------------------------------------

> It is not a spnego implementation.
Correction: It is not a spnego limitation.

That said, it can be debated (and has been debated before) whether we want to switch to long names consistently in hadoop. But that requires revisiting, all the contexts where we assumed shortnames were sufficient.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) distcp with hftp is failing

Posted by "Rajit (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajit updated HDFS-2361:
------------------------

    Release Note:   (was: It seems hftp itself is broken


$hadoop dfs -lsr hftp://<NN hostname>:50070/tmp
Retrieving token from: https://<NN IP>:50470/getDelegationToken
lsr: name=hadoopqa != expected=null
)

It seems hftp itself is broken


$hadoop dfs -lsr hftp://<NN hostname>:50070/tmp
Retrieving token from: https://<NN IP>:50470/getDelegationToken
lsr: name=hadoopqa != expected=null

> distcp with hftp is failing
> ---------------------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Priority: Critical
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-2361:
---------------------------------------

    Attachment: HDFS-2361-20s.1.patch
    
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116195#comment-13116195 ] 

Hudson commented on HDFS-2361:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1052 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1052/])
    HDFS-2361. hftp is broken, fixed username checks in JspHelper.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176729
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115076#comment-13115076 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2361:
----------------------------------------------

+1 the 0.20s patch looks good.  Thanks for fixing it.

Please also post a patch for trunk.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137079#comment-13137079 ] 

Hudson commented on HDFS-2361:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #64 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/64/])
    svn merge -c 1176729 from trunk for HDFS-2361.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189440
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Daryn Sharp (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115939#comment-13115939 ] 

Daryn Sharp commented on HDFS-2361:
-----------------------------------

Would it be better to change this to not use {{getShortName()}}?

{code:title=KerberosAuthenticationHandler}
KerberosName kerberosName = new KerberosName(clientPrincipal);
String userName = kerberosName.getShortName();
token = new AuthenticationToken(userName, clientPrincipal, TYPE);
{code}

There is a comment in the code: "The realm can be omitted from the principal as the JDK GSS libraries will use the realm name of the configured default realm".  It would appear that this jira may be due to an arbitrary, and maybe unnecessary, implementation decision?
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-2361:
---------------------------------------

    Attachment: HDFS-2361-20s.2.patch

Updated patch. If token string is present, the username from query and the 'remote user' should be matched to the user in token.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116046#comment-13116046 ] 

Jitendra Nath Pandey commented on HDFS-2361:
--------------------------------------------

  It is not a spnego implementation. KerberosAuthenticationHandler is one example where we use shortnames. There are other places as well in hadoop, where it was assumed that it is sufficient to use shortnames, for example proxy user configuration, in checking file permissions etc.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) distcp with hftp is failing

Posted by "Rajit (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajit updated HDFS-2361:
------------------------

        Priority: Critical  (was: Major)
    Release Note: 
It seems hftp itself is broken


$hadoop dfs -lsr hftp://<NN hostname>:50070/tmp
Retrieving token from: https://<NN IP>:50470/getDelegationToken
lsr: name=hadoopqa != expected=null


> distcp with hftp is failing
> ---------------------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Priority: Critical
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116144#comment-13116144 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2361:
----------------------------------------------

+1 on HDFS-2361.trunk.2.patch
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Daryn Sharp (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115557#comment-13115557 ] 

Daryn Sharp commented on HDFS-2361:
-----------------------------------

Just a question: since only the short names are being compared, does this mean that same user in two different realms are considered to be equivalent?
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey reassigned HDFS-2361:
------------------------------------------

    Assignee: Jitendra Nath Pandey
    
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-2361:
-----------------------------------------

    Hadoop Flags: Reviewed
          Status: Patch Available  (was: Open)

+1 the patch for trunk looks good.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136358#comment-13136358 ] 

Hudson commented on HDFS-2361:
------------------------------

Integrated in Hadoop-Common-0.23-Commit #62 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/62/])
    svn merge -c 1176729 from trunk for HDFS-2361.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189440
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-2361:
---------------------------------------

    Attachment: HDFS-2361.trunk.2.patch

Uploaded wrong patch earlier. This one fixes the import.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137016#comment-13137016 ] 

Hudson commented on HDFS-2361:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #52 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/52/])
    svn merge -c 1176729 from trunk for HDFS-2361.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189440
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115580#comment-13115580 ] 

Jitendra Nath Pandey commented on HDFS-2361:
--------------------------------------------

That's correct. It is assumed that short-names will be unique across users. 
KerberosAuthenticationHandler sets only the short name in the request, therefore only short name is available in JspHelper#getUGI in case of kerberos spnego authentication.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115149#comment-13115149 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2361:
----------------------------------------------

+1 the new patch looks good.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136399#comment-13136399 ] 

Hudson commented on HDFS-2361:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #58 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/58/])
    svn merge -c 1176729 from trunk for HDFS-2361.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189440
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HDFS-2361:
----------------------------------

    Fix Version/s:     (was: 1.1.0)
    
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> {noformat}
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HDFS-2361) hftp is broken

Posted by "Daryn Sharp (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115889#comment-13115889 ] 

Daryn Sharp commented on HDFS-2361:
-----------------------------------

Does this weaken the security of hadoop?  Are there other safeguards to prevent a user in one realm from accessing the files of an identically named user in a different realm?  If not, is it correct that multiple-realm installations now have a vulnerability due to what I believe you are saying is a spnego limitation?
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit Saha
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch, HDFS-2361.trunk.2.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-2361:
---------------------------------------

    Attachment: HDFS-2361.trunk.1.patch

The patch for trunk is attached.
                
> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Assignee: Jitendra Nath Pandey
>            Priority: Critical
>         Attachments: HDFS-2361-20s.1.patch, HDFS-2361-20s.2.patch, HDFS-2361-20s.3.patch, HDFS-2361.trunk.1.patch
>
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2361) hftp is broken

Posted by "Rajit (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajit updated HDFS-2361:
------------------------

    Summary: hftp is broken  (was: distcp with hftp is failing)

> hftp is broken
> --------------
>
>                 Key: HDFS-2361
>                 URL: https://issues.apache.org/jira/browse/HDFS-2361
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.205.0
>            Reporter: Rajit
>            Priority: Critical
>
> Distcp with hftp is failing.
> $hadoop   distcp hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp 1316814737/as
> 11/09/23 21:52:33 INFO tools.DistCp: srcPaths=[hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp]
> 11/09/23 21:52:33 INFO tools.DistCp: destPath=1316814737/as
> Retrieving token from: https://<NN IP>:50470/getDelegationToken
> Retrieving token from: https://<NN IP>:50470/getDelegationToken?renewer=mapred
> 11/09/23 21:52:34 INFO security.TokenCache: Got dt for hftp://<NNhostname>:50070/user/hadoopqa/1316814737/newtemp;uri=<NN IP>:50470;t.service=<NN IP>:50470
> org.apache.hadoop.ipc.RemoteException: name=hadoopqa != expected=null
> 	at org.apache.hadoop.ipc.RemoteException.valueOf(RemoteException.java:102)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.startElement(HftpFileSystem.java:385)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.fetchList(HftpFileSystem.java:426)
> 	at org.apache.hadoop.hdfs.HftpFileSystem$LsParser.getFileStatus(HftpFileSystem.java:437)
> 	at org.apache.hadoop.hdfs.HftpFileSystem.getFileStatus(HftpFileSystem.java:466)
> 	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:708)
> 	at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:636)
> 	at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira