hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Nath Pandey (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2361) hftp is broken
Date Wed, 28 Sep 2011 01:20:45 GMT

    [ 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

        

Mime
View raw message