Github user superbstreak commented on a diff in the pull request: https://github.com/apache/drill/pull/772#discussion_r104627768 --- Diff: contrib/native/client/src/clientlib/drillClientImpl.cpp --- @@ -86,6 +86,9 @@ connectionStatus_t DrillClientImpl::connect(const char* connStr, DrillUserProper std::vector<std::string> drillbits; int err = zook.getAllDrillbits(hostPortStr, drillbits); if(!err){ + if (drillbits.empty()){ + return handleConnError(CONN_INVALID_INPUT, getMessage(ERR_CONN_ZKNODBIT)); --- End diff -- double check CONN_INVALID_INPUT usage.
--- 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. ---