Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22824

Yarn/MR2 should handle a customized Zookeeper service principal name

    XMLWordPrintableJSON

Details

    Description

      Yarn and MapReduce2 should handle a customized Zookeeper service principal name.

      Currently this is not supported due to hardcoded and implicit values expecting the Zookeeper service principal name to be zookeeper/_HOST as opposed to something like zookeeper-mycluster/_HOST.

      The following changes need to be made:

      • common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py must be changed to not hardcode the Zookeeper principal name in
        m_security_opts = format('-Dzookeeper.sasl.client=true -Dzookeeper.sasl.client.username=zookeeper -Djava.security.auth.login.config={yarn_jaas_file} -Dzookeeper.sasl.clientconfig=Client')
        
      • -Dzookeeper.sasl.client.username=<ZOOKEEPER_PRINCPAL_NAME> should be added to YARN_OPTS

      Attachments

        Issue Links

          Activity

            People

              smolnar Sandor Molnar
              smolnar Sandor Molnar
              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