You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Alejandro Fernandez <af...@hortonworks.com> on 2015/05/13 04:33:11 UTC
Review Request 34151: RU Oozie should attempt to copy
mysql-connector-java.jar from previous version if possible,
instead of downloading from server resource
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34151/
-----------------------------------------------------------
Review request for Ambari.
Bugs: AMBARI-11092
https://issues.apache.org/jira/browse/AMBARI-11092
Repository: ambari
Description
-------
During RU, Ambari tries to download mysql-connector-java.jar from http://server/resources/mysql-connector-java.jar
However, this file will only be available if the user ran this command,
```
ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar
```
To make RU more robust, Oozie should try to copy the jar file from the previous version first. If the file is not found, then attempt to download it.
Diffs
-----
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py ae66eb0
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py 47361c4
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py 34ac6e5
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py bc168c6
ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py 4a6c5ab
Diff: https://reviews.apache.org/r/34151/diff/
Testing
-------
Total run:739
Total errors:0
Total failures:0
OK
Still need to test on live cluster.
Thanks,
Alejandro Fernandez