You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/09/10 18:28:34 UTC
[jira] [Resolved] (AMBARI-7244) Could not start Oozie after upgrade
from 1.5.1 due to oozie_pid_dir not found
[ https://issues.apache.org/jira/browse/AMBARI-7244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk resolved AMBARI-7244.
-------------------------------------
Resolution: Fixed
Committed to trunk
> Could not start Oozie after upgrade from 1.5.1 due to oozie_pid_dir not found
> -----------------------------------------------------------------------------
>
> Key: AMBARI-7244
> URL: https://issues.apache.org/jira/browse/AMBARI-7244
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 1.7.0
>
>
> STR: cluster: <http://172.18.145.146:8080>
> 1) Install cluster with default settings and all components at all nodes
> 2) Do upgrade to 1.7.0
> Expected result:
> Upgrade end correctly, all components present and are started
> A.ctual result:
> Could not add Oozie clients when upgrade to 1.7.0
> Error message:
>
>
> 2014-09-10 15:10:19,579 - Error while executing command 'stop':
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/OOZIE/package/scripts/oozie_server.py", line 46, in stop
> import params
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/OOZIE/package/scripts/params.py", line 22, in <module>
> import status_params
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/OOZIE/package/scripts/status_params.py", line 26, in <module>
> pid_file = format("{oozie_pid_dir}/oozie.pid")
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", line 83, in format
> return ConfigurationFormatter().format(format_string, args, **result)
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", line 47, in format
> result_protected = self.vformat(format_string, args, all_params)
> File "/usr/lib64/python2.6/string.py", line 549, in vformat
> result = self._vformat(format_string, args, kwargs, used_args, 2)
> File "/usr/lib64/python2.6/string.py", line 582, in _vformat
> result.append(self.format_field(obj, format_spec))
> File "/usr/lib64/python2.6/string.py", line 599, in format_field
> return format(value, format_spec)
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 75, in __getattr__
> raise Fail("Configuration parameter '"+self.name+"' was not found in configurations dictionary!")
> Fail: Configuration parameter 'oozie_pid_dir' was not found in configurations dictionary!
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)