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

'Oozie' and 'Metrics Collector' restart/start failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      Oozie and Metrics Collector restart failed in Service check for HDP 2.3
      installation from latest Trunk build.

      This is after effect of commit : 92c054b1d6fcc0dc436ae4ff6b1cd9b8da68b459.
      (AMBARI-14396. Add support for recursive chown in resource management
      library).

      Trace Oozie:
      =========
      Traceback (most recent call last):

      File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 195, in <module>
      OozieServer().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 224, in execute
      method(env)
      File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 73, in start
      self.configure(env)
      File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 67, in configure
      oozie(is_server=True)
      File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
      return fn(*args, **kwargs)
      File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 156, in oozie
      oozie_server_specific()
      File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 228, in oozie_server_specific
      recursion_follow_links = True,
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 147, in _init_
      raise Fail("%s received unsupported argument %s" % (self, key))
      resource_management.core.exceptions.Fail: Directory['/usr/hdp/current/oozie-server/oozie-server/conf'] received unsupported argument user

      Trace Metrics Collector:
      =================

      Traceback (most recent call last):

      File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py", line 133, in <module>
      AmsCollector().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 224, in execute
      method(env)
      File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py", line 44, in start
      self.configure(env, action = 'start') # for security
      File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py", line 39, in configure
      hbase('master', action)
      File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
      return fn(*args, **kwargs)
      File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/hbase.py", line 105, in hbase
      recursive_ownership = True,
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in _init_
      self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run
      self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action
      provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 198, in action_create
      recursion_follow_links=self.resource.recursion_follow_links, safemode_folders=self.resource.safemode_folders)
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 72, in _ensure_metadata
      sudo.chown_recursive(path, _user_entity, _group_entity, recursion_follow_links)
      UnboundLocalError: local variable '_group_entity' referenced before assignment

      Attachments

        1. AMBARI-14414.patch
          1 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: