Ted Yu created HBASE-18386: ------------------------------ Summary: When the zookeeper host cannot be resolved, provide better error message Key: HBASE-18386 URL: https://issues.apache.org/jira/browse/HBASE-18386 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Priority: Minor
Currently, when the zookeeper host cannot be resolved, we would see: {code} 2017-07-15 19:42:09,367:3811(0x7f9ee2ffd700):ZOO_ERROR@getaddrs@613: getaddrinfo: No such file or directory *** Aborted at 1500147729 (unix time) try "date -d @1500147729" if you are using GNU date *** PC: @ 0x6f4c28 zoo_get *** SIGSEGV (@0x260) received by PID 3811 (TID 0x7f9ee2ffd700) from PID 608; stack trace: *** @ 0x7f9eee0923d0 (unknown) @ 0x6f4c28 zoo_get @ 0x4444b4 hbase::LocationCache::ReadMetaLocation() @ 0x449ec4 std::_Function_handler<>::_M_invoke() @ 0x55ec12 wangle::ThreadPoolExecutor::runTask() @ 0x54dfca wangle::CPUThreadPoolExecutor::threadRun() @ 0x55f892 std::_Function_handler<>::_M_invoke() {code} There should be more intuitive error message so that user knows what to do next. -- This message was sent by Atlassian JIRA (v6.4.14#64029)