ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Review Request 34151: RU Oozie should attempt to copy mysql-connector-java.jar from previous version if possible, instead of downloading from server resource
Date Wed, 13 May 2015 02:33:11 GMT

-----------------------------------------------------------
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


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