ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Review Request 29894: Unable to Upgrade Oozie Server Due to Missing JAR
Date Wed, 14 Jan 2015 19:56:00 GMT

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

Review request for Ambari, Alejandro Fernandez and Nate Cole.


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


Repository: ambari


Description
-------

During an upgrade, Oozie fails to restart:

{noformat}
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 175, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 325, in restart
    self.pre_rolling_restart(env)
  File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py",
line 167, in pre_rolling_restart
    oozie_server_upgrade.prepare_libext_directory()
  File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py",
line 136, in prepare_libext_directory
    params.hadoop_lib_home, hadoop_lzo_pattern))
Fail: There are no files at /usr/hdp/current/hadoop-client/lib matching hadoop-lzo*.jar
{noformat}

The problem is that the hadoop-lzo*.jar is being copied from hadoop-client where it doesn't
exist yet since hadoop-client has not yet been upgraded.


Diffs
-----

  ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py
5c430df 
  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py
b2d9703 
  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
1274a61 
  ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py 739780c 

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


Testing
-------

Manual upgrade run, tests updated with expected values

----------------------------------------------------------------------
Total run:583
Total errors:0
Total failures:0
OK


Thanks,

Jonathan Hurley


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message