Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14850 C++ client implementation
  3. HBASE-18386

When the zookeeper host cannot be resolved, provide better error message

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • None

    Description

      Currently, when the zookeeper host cannot be resolved, we would see:

      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()
      

      There should be more intuitive error message so that user knows what to do next.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: