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

(Updated May 26, 2014, 1:34 p.m.)


Review request for Ambari, Dmitro Lisnichenko, Dmytro Sen, and Mahadev Konar.


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


Repository: ambari


Description
-------

Hive/Oozie (and possibly other components in the future) make use of a 
relational database to store its metadata.
When the user wants to use an existing, external database, it's easy to mistype 
the credentials/JDBC string. Currently, such mistakes are not caught until 
service install or start, at which point it's a pain to reconfigure and fix the 
issue.
API should expose the ability to check database connectivity given the JDBC 
connection string, username, and password, so that the UI can expose this to 
the end user in the Customize Services page.


Diffs (updated)
-----

  ambari-server/src/main/python/ambari-server.py 81dadbd 
  ambari-server/src/main/resources/custom_actions/check_host.py 6ed0b31 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py
 43f375d 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py
 ff3e818 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/params.py
 39eef3b 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
 861ed55 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py
 2c0d1b1 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py
 a65473d 
  ambari-server/src/test/python/TestAmbariServer.py 3817e91 

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


Testing
-------

Listening for transport dt_socket at address: 5007
Running 
org.apache.ambari.server.view.RemoteDBConnectionVerificator.RemoteDBConnectionVerificatorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.247 sec

Results :

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0


Thanks,

Vitalyi Brodetskyi

Reply via email to