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

Cloudera Manager discovery - check configs by their related names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • cm-discovery
    • None

    Description

      Cloudera Manager provided configurations (service and role configs) have two unique identifiers:

      • name
      • related name

      As of now, during service discovery, Knox only checks for the first one. However, it's perfectly fine if a particular service model identifies a configuration with the corresponding related name.

      For instance, at the time of this Jira being filed, Hive Server 2 tries to identify the schema using hive.server2.use.SSL from 

      class ApiConfig {
              name: hiveserver2_enable_ssl
              value: true
              required: false
              _default: false
              displayName: Enable TLS/SSL for HiveServer2
              description: Encrypt communication between clients and HiveServer2 using Transport Layer Security (TLS) (formerly known as Secure Socket Layer (SSL)).
              relatedName: hive.server2.use.SSL
              sensitive: false
              validationState: OK
              validationMessage: null
              validationWarningsSuppressed: null
          } 

      As this sample shows, this particular configuration's name is hiveserver2_enable_ssl so that the discovery process will always default to http as the scheme.

       

      Cc.: pzampino@apache.org

      Attachments

        Issue Links

          Activity

            People

              smolnar Sandor Molnar
              andreina J.Andreina
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m