You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sentry.apache.org by Arjun Mishra via Review Board <no...@reviews.apache.org> on 2017/12/12 16:04:42 UTC

Review Request 64545: SENTRY-2078: Have sentry server print an obvious INFO level log message when it becomes the writer

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

Review request for sentry.


Repository: sentry


Description
-------

Currently sentry's log messaging when it becomes a 'writer' (the sentry server that reads from HMS) is not obvious, and is really mostly discernable at the debug level. Add a log message at the INFO level, such as 'This sentry server has just become the HMS reader/writer' that is printed once when the sentry server first becomes the HMS reader/writer.


Diffs
-----

  sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/HMSFollower.java aa1b6a31c 
  sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/LeaderStatusMonitor.java 360c5a530 


Diff: https://reviews.apache.org/r/64545/diff/1/


Testing
-------

mvn -f sentry-provider/sentry-provider-db/pom.xml test


Thanks,

Arjun Mishra