Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E95A1200CC7 for ; Sun, 16 Jul 2017 16:54:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E7B66164271; Sun, 16 Jul 2017 14:54:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 398C816426F for ; Sun, 16 Jul 2017 16:54:11 +0200 (CEST) Received: (qmail 61098 invoked by uid 500); 16 Jul 2017 14:54:10 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 61087 invoked by uid 99); 16 Jul 2017 14:54:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Jul 2017 14:54:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 84628C030E for ; Sun, 16 Jul 2017 14:54:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[NORMAL_HTTP_TO_IP=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 3mGoDxQol9fD for ; Sun, 16 Jul 2017 14:54:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 954085F2A9 for ; Sun, 16 Jul 2017 14:54:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3410FE00A3 for ; Sun, 16 Jul 2017 14:54:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4C94224736 for ; Sun, 16 Jul 2017 14:54:02 +0000 (UTC) Date: Sun, 16 Jul 2017 14:54:00 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-18386) When the zookeeper host cannot be resolved, provide better error message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 16 Jul 2017 14:54:12 -0000 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)