HUE-6160 [sentry] Support Sentry HA with failover

Review Request #10044 - Created April 5, 2017 and submitted

Information
Jenny Kim
hue
master
HUE-6160
81e6db4...
Reviewers
hue
enricoberti, johan, krish, ranade, romain, weixia
commit a5113379355a22d1ec706ef8a11e8fe71cdb9dd1
Author: Jenny Kim <jennykim@cloudera.com>
Date:   Wed Apr 5 18:44:10 2017 -0700

    HUE-6160 [sentry] Support Sentry HA with failover
    
    Attempts to use new sentry.service.client.server.rpc_address property to obtain list of hosts, but will fallback to Zookeeper properties if needed.

:100644 100644 6b11138349... 6500146b52... M	desktop/libs/libsentry/src/libsentry/api.py
:100644 100644 7512365a7a... ad9a011057... M	desktop/libs/libsentry/src/libsentry/api2.py
:100644 100644 23405544ea... 212bd8740f... M	desktop/libs/libsentry/src/libsentry/sentry_site.py

Manual (unit & integration tests forthcoming)

Issues

  • 2
  • 13
  • 0
  • 15
Description From Last Updated
Might need to be moved to its own function, cf comment in test below Romain Rigaux Romain Rigaux
I am not sure here, why don't we use 'hostname' from [libsentry] and actually test without HA? Is _CONF_SENTRY_SERVER_RPC_ADDRESSES only ... Romain Rigaux Romain Rigaux
Romain Rigaux
Jenny Kim
Romain Rigaux
Romain Rigaux
Jenny Kim
Jenny Kim
Romain Rigaux
Jenny Kim
Romain Rigaux
Jenny Kim
Jenny Kim
Romain Rigaux
Jenny Kim
Review request changed

Status: Closed (submitted)

Loading...