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

Patch upgrade failure for oozie service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.6.0
    • 3.0.0
    • ambari-upgrade
    • ambari-server --version 2.6.0.0-178

    Description

      Patch upgrade is failing while performing the upgrade for oozie service.
      Upgrade is failing with below error :

      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 150, in <module>
          OozieServer().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 350, in execute
          method(env)
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 119, in locking_configure
          original_configure(obj, *args, **kw)
        File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 70, in configure
          oozie(is_server=True, upgrade_type=upgrade_type)
        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 193, in oozie
          oozie_server_specific(upgrade_type)
        File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 313, in oozie_server_specific
          not_if  = no_op_test,
        File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 166, in __init__
          self.env.run()
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
          self.run_action(resource, action)
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
          provider_action()
        File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 262, in action_run
          tries=self.resource.tries, try_sleep=self.resource.try_sleep)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
          result = function(command, **kwargs)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
          tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
          result = _call(command, **kwargs_copy)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
          raise ExecutionFailed(err_msg, code, out, err)
      resource_management.core.exceptions.ExecutionFailed: Execution of 'ambari-sudo.sh cp /usr/hdp/2.6.3.0-158/hadoop/lib/hadoop-lzo*.jar /usr/hdp/current/oozie-server' returned 1. cp: cannot stat `/usr/hdp/2.6.3.0-158/hadoop/lib/hadoop-lzo*.jar': No such file or directory
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ssharma@hortonworks.com Supreeth Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: