-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50195/
-----------------------------------------------------------

Review request for Ambari, Dmytro Sen and Myroslav Papirkovskyy.


Bugs: AMBARI-17794
    https://issues.apache.org/jira/browse/AMBARI-17794


Repository: ambari


Description
-------

STR:
1) Install old version
2) Enable distributed mode for AMS
3) Make ambari only upgrade

Actual result:
Oozie Server Start is failed after upgrade from 2.2.2.0 to 2.4.0.0
{code}
stderr:   /var/lib/ambari-agent/data/errors-2079.txt

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 215, in <module>
OozieServer().execute()
File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 280, in execute
method(env)
File 
"/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py",
 line 95, in start
oozie_service(action='start', 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_service.py",
 line 96, in oozie_service
os.chmod(params.check_db_connection_jar, 0o755)
OSError: [Errno 1] Operation not permitted: 
'/usr/lib/ambari-agent/DBConnectionVerification.jar'
{code}


Diffs
-----

  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py
 0713c97 

Diff: https://reviews.apache.org/r/50195/diff/


Testing
-------

mvn clean test

checking on live cluster


Thanks,

Dmitro Lisnichenko

Reply via email to