[
https://issues.apache.org/jira/browse/HDFS-2373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115348#comment-13115348
]
Tsz Wo (Nicholas), SZE commented on HDFS-2373:
----------------------------------------------
- There are quite a few System.out.println(..) in DelegationTokenFetcher. I
think all of them should change to LOG.debug(..).
- Should check LOG.isDebugEnabled() before calling LOG.debug(..).
- Need a patch for trunk.
> webhdfs and hftp print extra info to the console
> ------------------------------------------------
>
> Key: HDFS-2373
> URL: https://issues.apache.org/jira/browse/HDFS-2373
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.20.205.0
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Fix For: 0.20.205.0
>
> Attachments: HDFS-2373.20s.patch
>
>
> run an hdfs command using either hftp or webhdfs and it prints the following
> line to the console (system out)
> Retrieving token from: https://NN_HOST:50470/getDelegationToken
> Probably in the code where we get the delegation token. This should be
> removed as people using the dfs commands to get a handle to the content such
> as dfs -cat will now get an extra line that is not part of the actual
> content. This should either be only in the log or not logged at all.
--
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