ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <>
Subject [jira] [Created] (AMBARI-18549) oozie server start fails post upgrade to Ambari 2.4.1
Date Thu, 06 Oct 2016 16:16:20 GMT
Andrew Onischuk created AMBARI-18549:

             Summary: oozie server start fails post upgrade to Ambari 2.4.1
                 Key: AMBARI-18549
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.4.2
         Attachments: AMBARI-18549.patch

This cluster has gone through below upgrade.  
Ambari - Ambari 2.4.1  
Cluster Details : <>  
Please login with okta credential to these cluster machines  

On restarting Oozie web server from Ambari below error was thrown.

    Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/OOZIE/",
line 215, in <module>
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 280, in execute
      File "/var/lib/ambari-agent/cache/common-services/OOZIE/",
line 100, in stop
        oozie_service(action='stop', upgrade_type=upgrade_type)
      File "/usr/lib/python2.6/site-packages/ambari_commons/", line 89, in
        return fn(*args, **kwargs)
      File "/var/lib/ambari-agent/cache/common-services/OOZIE/",
line 164, in oozie_service
        user = params.oozie_user)
      File "/usr/lib/python2.6/site-packages/resource_management/core/", line 155,
in __init__
      File "/usr/lib/python2.6/site-packages/resource_management/core/", line
160, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/", line
124, in run_action
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/",
line 273, in action_run
        tries=self.resource.tries, try_sleep=self.resource.try_sleep)
      File "/usr/lib/python2.6/site-packages/resource_management/core/", line 71,
in inner
        result = function(command, **kwargs)
      File "/usr/lib/python2.6/site-packages/resource_management/core/", line 93,
in checked_call
        tries=tries, try_sleep=try_sleep)
      File "/usr/lib/python2.6/site-packages/resource_management/core/", line 141,
in _call_wrapper
        result = _call(command, **kwargs_copy)
      File "/usr/lib/python2.6/site-packages/resource_management/core/", line 294,
in _call
        raise Fail(err_msg)
    resource_management.core.exceptions.Fail: Execution of 'cd /var/tmp/oozie && /usr/hdp/current/oozie-server/bin/
stop 60 -force' returned 1. -bash: line 0: cd: /var/tmp/oozie: No such file or directory

We had to workaround this problem by running oozie stop manual as below

    /usr/hdp/ stop

This message was sent by Atlassian JIRA

View raw message