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

ASF subversion and git services commented on KNOX-1287:
-------------------------------------------------------

Commit 8a1f03b1c63d8b445302dc1ed46b033086fcb9be in knox's branch 
refs/heads/master from [~pzampino]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=8a1f03b ]

KNOX-1287 - Invalid federated namenode namespace declaration should not produce 
invalid URLs in topologies.


> [NN Federation] Incase of providing invalid Nameservice as param, then 
> service is created with invalid endpoint url
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: KNOX-1287
>                 URL: https://issues.apache.org/jira/browse/KNOX-1287
>             Project: Apache Knox
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: J.Andreina
>            Assignee: Phil Zampino
>            Priority: Critical
>             Fix For: 1.0.0
>
>
>  Incase of providing invalid Nameservice as param, then HDFSUI,Namenode and  
> webhdfs service is created with invalid endpoint url
> Given nameservice as "ns3" which is not available, then:
> 1. The "NAMENODE" service is created with endpoint url as "hdfs://ns3" which 
> doesnt exist.
> 2. services like "HDFSUI" and "WEBHDFS" are created without any endpoint urls
> *Descriptor file*
> {noformat}
>     {
>       "name": "WEBHDFS",
>       "params": {
>         "discovery-nameservice": "ns3"
>       }
>     },
>     {
>       "name": "NAMENODE",
>       "params": {
>         "discovery-nameservice": "ns3"
>       }
>     },
>     {
>       "name": "HDFSUI",
>       "params": {
>         "discovery-nameservice": "ns3"
>       }
>     },
> {noformat}
> *Generated Topology:*
> {noformat}
>     <service>
>         <role>NAMENODE</role>
>         <url>hdfs://ns3</url>
>     </service>
>     <service>
>         <role>WEBHDFS</role>
>     </service>
>     <service>
>         <role>NAMENODE</role>
>         <url>hdfs://ns3</url>
>     </service>
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to