Uploaded image for project: 'Ambari (Retired)'
  1. Ambari (Retired)
  2. AMBARI-24021

Atlas fails to start in an unsecure cluster after Ambari Upgrade . Error - Unable to run the custom hook script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.7.0
    • None

    Description

      1) Deployed cluster with Ambari version: 2.6.2.0-155 and HDP version: 2.6.5.0-292 in an unsecure cluster.
      2) Upgrade Ambari to 2.7.0.0-630

      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py", line 35, in <module>
          BeforeAnyHook().execute()
        File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py", line 29, in hook
          setup_users()
        File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/shared_initialization.py", line 50, in setup_users
          groups = params.user_to_groups_dict[user],
      KeyError: u'livy'
      Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-232.json', '/var/lib/ambari-agent/cache/stack-hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-232.json', 'INFO', '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1_2', '']
      

      Attachments

        Issue Links

          Activity

            People

              amagyar Attila Magyar
              jkaur@hortonworks.com Jasmeen Kaur
              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 - 0.5h
                  0.5h