ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Re: Review Request 21160: Usability: performing connectivity checks against an external database
Date Fri, 23 May 2014 14:32:28 GMT

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

(Updated May 23, 2014, 2:32 p.m.)


Review request for Ambari, Dmitro Lisnichenko and Tom Beerbower.


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 e5aa920 

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


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