hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoy Antony (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5660) When SSL is enabled , the Namenode WEBUI redirects to Infosecport, which could be 0
Date Sat, 14 Dec 2013 19:11:07 GMT

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

Benoy Antony commented on HDFS-5660:
------------------------------------

The bug exists in 2.2 .
The bug was introduced by HDFS-5307  which changed the redirectPort  to infosecurePort  when
HTTPS is enabled.
But infoSecurePort is valid  only when dfs.https.enable  is true . if you set  only hadoop.ssl.enabled
to true, infoSecurePort  is 0.
If you are in 2,.2, you need this patch to make things work as it used to work. 
I believe , the bug doesn't exist in trunk by looking at the code.

> 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
>
>
> (case 1) When SSL is enabled by setting "hadoop.ssl.enabled", SSL will be enabled on
the regular port (infoport) on Datanode. 
>  (case 2) When SSL on HDFS is enabled by setting "dfs.https.enable", SSL will be enabled
on a separate port (infoSecurePort)  on Datanode. 
> 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