hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5660) When SSL is enabled , the Namenode WEBUI redirects to Infosecport, which could be 0
Date Thu, 12 Dec 2013 21:53:08 GMT

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

Haohui Mai commented on HDFS-5660:
----------------------------------

Can you be more specific about your use cases? When JS support is limited, you can use dfsadmin
-report, or use a third-party tool available at https://github.com/haohui/dfshealth-cli to
get the information.

Speaking of the patch, I'm yet to be convinced this is the right direction to go. First it
seems that the particular use case you reported is no longer valid anymore, since hadoop.ssl.enabled
has been deprecated. Second, falling back to the InfoPort is problematic -- you can't tell
whether the datanode is speaking http or https. We used to put if statements in the code to
choose whether InfoPort() or InfoSecurePort() will be used, but it becomes so error-prone
that we eventually move to the HTML5 web UI to fully address this problem.

> When SSL is enabled , the Namenode WEBUI redirects to Infosecport, which could be 0
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-5660
>                 URL: https://issues.apache.org/jira/browse/HDFS-5660
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: HDFS-5660.patch
>
>
> When SSL is enabled by setting "hadoop.ssl.enabled", SSL will be enabled on the regular
port (infoport) on Datanode. (case 1)
> When SSL on HDFS is enabled by setting "dfs.https.enable", SSL will be enabled on a separate
port (infoSecurePort)  on Datanode.  (case 2)
> if SSL is enabled , the Namenode always redirects to infoSecurePort. "infoSecurePort"
will be 0 in case 1 above.
> This breaks the file browsing via web.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message