[
https://issues.apache.org/jira/browse/HADOOP-12847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259046#comment-15259046
]
Yongjun Zhang commented on HADOOP-12847:
----------------------------------------
Hi [~jojochuang],
Thanks for reporting and working this issue!
A few quick comments:
1. Make sure the default behavior is the same as without passing the new
switches.
2. I think it's better to move the param parsing part in doGetLevel to the
dedicated param parsing method
3. Make "http" "https" contant, such as {{PROTOCOL_HTTP}}, {{PROTOCOL_HTTPS}},
and use them at the currently hardcoded places
4. I expect to see the following test result, would you please test it out?
||SSL-enabled||Kerberized||Test Output With -http||Test Output With -https||
|No|No|Pass|Fail|
|No|Yes|Pass|Fail|
|Yes|No|Fail|Pass|
|Yes|Yes|Fail|Pass|
Thanks.
> hadoop daemonlog should support https and SPNEGO for Kerberized cluster
> -----------------------------------------------------------------------
>
> Key: HADOOP-12847
> URL: https://issues.apache.org/jira/browse/HADOOP-12847
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Wei-Chiu Chuang
> Assignee: Wei-Chiu Chuang
> Attachments: HADOOP-12847.001.patch, HADOOP-12847.002.patch
>
>
> {{hadoop daemonlog}} is a simple, yet useful tool for debugging.
> However, it does not support https, nor does it support a Kerberized Hadoop
> cluster.
> Using {{AuthenticatedURL}}, it will be able to support SPNEGO negotiation
> with a Kerberized name node web ui. It will also fall back to simple
> authentication if the cluster is not Kerberized.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)