Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2530

Support qualifying service params for CM discovery control

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • cm-discovery
    • None

    Description

      Add support for discovery-only service params in descriptor service declarations, such that the ClouderaManager discovery process can be controlled for HA and other deployments where there are multiple sources of endpoint information that should not be combined for a given topology.

      One example is HDFS HA, where a nameservice can be specified. (Similar support for this exists for Ambari discovery)

      {
        "discovery-type":"ClouderaManager",
        "discovery-address":"https://cm-host:7183",
        "discovery-user":"admin",
        "discovery-pwd-alias":"cm.discovery.pwd",
        "provider-config-ref":"pam",
        "cluster":"Cluster 1",
        "services":[
          {
            "name":"WEBHDFS",
            "params": {
              "discovery-nameservice":"ns2"
            }
          }
        ]
      }

      Another example is a cluster with multiple SOLR instances.

      {
        "discovery-type":"ClouderaManager",
        "discovery-address":"https://cm-host:7183",
        "discovery-user":"admin",
        "discovery-pwd-alias":"cm.discovery.pwd",
        "provider-config-ref":"pam",
        "cluster":"Cluster 1",
        "services":[
          {
            "name":"SOLR",
            "params": {
              "discovery-service-display-name":"SOLR-1"
            }
          }
        ]
      }

      These discovery-only service parameters are prefixed with discovery-, and must not manifest in the generated topologies.

       

      Attachments

        Issue Links

          Activity

            People

              pzampino Philip Zampino
              pzampino Philip Zampino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m