eevanwong opened a new pull request #2156:
URL: https://github.com/apache/drill/pull/2156


   # [DRILL-7712](https://issues.apache.org/jira/browse/DRILL-7712): Fix Issues 
after ZK upgrade
   
   ## Description
   
   Updated unit test so that it utilizes MappingListenerManager instead of 
ListenerContainer from Apache Curator which was deprecated in version 5.1.0. 
Curator v5.1.0 fixes NPE errors in testing phase (also described in 
DRILL-7843(https://issues.apache.org/jira/browse/DRILL-7843).
   
   ## Documentation
   N/A
   
   ## Testing
   Checked mvn test and the errors that were described are no longer there. 
   
   `[INFO] Running org.apache.drill.exec.coord.zk.TestZookeeperClient
   [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
2.224 s - in org.apache.drill.exec.coord.zk.TestZookeeperClient
   
   [INFO] Running org.apache.drill.exec.coord.zk.TestEphemeralStore
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.658 
s - in org.apache.drill.exec.coord.zk.TestEphemeralStore
   
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.555 
s - in org.apache.drill.yarn.zk.TestAmRegistration
   
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 
s - in org.apache.drill.yarn.client.TestCommandLineOptions`
   
   Errors in jdbc-all build are not found either.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to