J.Andreina created KNOX-1287:
--------------------------------

             Summary: [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
             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