You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Phil Zampino (JIRA)" <ji...@apache.org> on 2018/05/03 16:06:00 UTC
[jira] [Resolved] (KNOX-1287) [NN Federation] Incase of providing
invalid Nameservice as param, then service is created with invalid endpoint
url
[ https://issues.apache.org/jira/browse/KNOX-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Zampino resolved KNOX-1287.
--------------------------------
Resolution: Fixed
> [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)