GitHub user paul-rogers opened a pull request: https://github.com/apache/drill/pull/564
DRILL-4836: ZK Issue during Drillbit startup, possibly due to race condition ZK Issue during Drillbit startup, possibly due to race condition. A change made in February created a race condition if two Drillbits attempt to create the same storage plugin node at the same time. Revised the code to eliminate the race condition by relying on an exception to detect that the node already exists. You can merge this pull request into a Git repository by running: $ git pull https://github.com/paul-rogers/drill DRILL-4836 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/drill/pull/564.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #564 ---- commit 14d8d0e179419e86d86250eae0b7ae0254162ea7 Author: Paul Rogers <prog...@maprtech.com> Date: 2016-08-09T03:16:59Z DRILL-4836 ZK Issue during Drillbit startup, possibly due to race condition. A change made in February created a race condition if two Drillbits attempt to create the same storage plugin node at the same time. Revised the code to eliminate the race condition by relying on an exception to detect that the node already exists. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---