ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11070) Ambari UI should not allow incorrect NN UI https configuration
Date Tue, 12 May 2015 21:38:01 GMT

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

Srimanth Gunturi commented on AMBARI-11070:
-------------------------------------------

+1 for patch with checks only for "dfs.namenode.http-address" and "dfs.namenode.https-address".

> Ambari UI should not allow incorrect NN UI https configuration
> --------------------------------------------------------------
>
>                 Key: AMBARI-11070
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11070
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Myroslav Papirkovskyy
>            Assignee: Myroslav Papirkovskyy
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11070.patch
>
>
> Ambari UI allows incorrect configuration for HTTPS for NN UI.  This actually cause NN
to shut down with:
> {code}
> java.lang.IllegalArgumentException: Does not contain a valid host:port authority: falconf1.sec.support.com:50470,test:50470
>         at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:212)
>         at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:164)
>         at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:153)
>         at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:109)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:703)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:590)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:762)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:746)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1438)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504)
> 2015-02-11 16:35:47,906 INFO  util.ExitUtil (ExitUtil.java:terminate(124)) - Exiting
with status 1
> 2015-02-11 16:35:47,909 INFO  namenode.NameNode (StringUtils.java:run(659)) - SHUTDOWN_MSG:
> /************************************************************
> SHUTDOWN_MSG: Shutting down NameNode at falconf1.sec.support.com/172.25.16.160
> ************************************************************/
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message