hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9899) Remove the debug message added by HADOOP-8855
Date Fri, 23 Aug 2013 08:32:52 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-9899:
------------------------------------------------

I should have mentioned that [~yeshavora] found this problem when testing hftp://.

{code}
RUNNING: /usr/bin/hdfs dfs -ls hftp://NN:50070/user/hrt_qa/hdfsRegressionData/ls
Found 4 items
-rwx------   3 hrt_qa hrt_qa         95 2013-08-21 20:03 hftp://NN:50070/user/hrt_qa/hdfsRegressionData/ls/helloWorld755
-rwx------   3 hrt_qa hrt_qa       2255 2013-08-21 20:03 hftp://NN:50070/user/hrt_qa/hdfsRegressionData/ls/smallRDFile755
-rwx------   3 hrt_qa hrt_qa       2367 2013-08-21 20:03 hftp://NN:50070/user/hrt_qa/hdfsRegressionData/ls/smallRXFile755
-rwx------   3 hrt_qa hrt_qa       2278 2013-08-21 20:03 hftp://NN:50070/user/hrt_qa/hdfsRegressionData/ls/smallWRFile755
java.lang.Exception: sendToken
at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.sendToken(KerberosAuthenticator.java:284)
at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.access$200(KerberosAuthenticator.java:48)
at org.apache.hadoop.security.authentication.client.KerberosAuthenticator$1.run(KerberosAuthenticator.java:254)
at org.apache.hadoop.security.authentication.client.KerberosAuthenticator$1.run(KerberosAuthenticator.java:228)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.doSpnegoSequence(KerberosAuthenticator.java:228)
at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:169)
at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:232)
at org.apache.hadoop.security.SecurityUtil.openSecureHttpConnection(SecurityUtil.java:512)
at org.apache.hadoop.hdfs.tools.DelegationTokenFetcher.cancelDelegationToken(DelegationTokenFetcher.java:354)
at org.apache.hadoop.hdfs.HftpFileSystem$TokenManager.cancel(HftpFileSystem.java:724)
at org.apache.hadoop.security.token.Token.cancel(Token.java:382)
at org.apache.hadoop.fs.DelegationTokenRenewer$RenewAction.cancel(DelegationTokenRenewer.java:152)
at org.apache.hadoop.fs.DelegationTokenRenewer$RenewAction.access$200(DelegationTokenRenewer.java:58)
at org.apache.hadoop.fs.DelegationTokenRenewer.removeRenewAction(DelegationTokenRenewer.java:241)
at org.apache.hadoop.hdfs.HftpFileSystem.close(HftpFileSystem.java:413)
at org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:2520)
at org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer.run(FileSystem.java:2537)
at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)
{code}

                
> Remove the debug message added by HADOOP-8855
> ---------------------------------------------
>
>                 Key: HADOOP-9899
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9899
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: c9899_20130823.patch
>
>
> HADOOP-8855 added a debug message which was printed to System.out.
> {code}
> //KerberosAuthenticator.java
>   private void sendToken(byte[] outToken) throws IOException, AuthenticationException
{
>     new Exception("sendToken").printStackTrace(System.out);
>     ...
> }
> {code}

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

Mime
View raw message