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

Review request for sentry, Alexander Kolbasov, Na Li, and Sergio Pena.


Repository: sentry


Description
-------

Currently as part of SENTRY-1929, we reset the CounterWait on the server that 
does the HMS full snapshot. Ideally this has to be done across all servers 
otherwise i see this error in the log of other servers.

```bash
2017-09-08 19:05:44,697 INFO org.apache.sentry.hdfs.DBUpdateForwarder: A newer 
full update is found with image number: 2
2017-09-08 19:05:44,894 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:45,115 INFO org.apache.sentry.hdfs.DBUpdateForwarder: A newer 
full update is found with image number: 2
2017-09-08 19:05:45,390 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:45,963 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:46,391 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:46,890 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:47,390 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:47,929 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:48,390 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:48,898 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:49,391 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:49,897 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:50,452 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
2017-09-08 19:05:50,506 INFO org.apache.sentry.hdfs.HMSPathsDumper: Paths Dump 
created. 101104 total path strings, 579426 duplicate strings found, compacted 
to 1077 unique strings.
2017-09-08 19:05:50,535 INFO org.apache.sentry.hdfs.HMSPathsDumper: Paths Dump 
created. 101104 total path strings, 579426 duplicate strings found, compacted 
to 1077 unique strings.
2017-09-08 19:05:50,947 ERROR org.apache.sentry.service.thrift.CounterWait: new 
counter value 0 is smaller then the previous one 2190
```


Diffs
-----

  
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/HMSFollower.java
 b600487dcf60b34f95d3eec7bf834b9a884db834 


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


Testing
-------

In progress.


Thanks,

Vamsee Yarlagadda

Reply via email to