[ 
https://issues.apache.org/jira/browse/AMBARI-22140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284285#comment-16284285
 ] 

Swapan Shridhar commented on AMBARI-22140:
------------------------------------------

Moved it to 3.0 as I am started the 2.6.1 release process.

> Patch upgrade failure for oozie service 
> ----------------------------------------
>
>                 Key: AMBARI-22140
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22140
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-upgrade
>    Affects Versions: 2.6.0
>         Environment: ambari-server --version 2.6.0.0-178
>            Reporter: Supreeth Sharma
>            Priority: Blocker
>              Labels: patch-upgrade
>             Fix For: 3.0.0
>
>
> Patch upgrade is failing while performing the upgrade for oozie service.
> Upgrade is failing with below error :
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to