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 9D922200AC0 for ; Mon, 9 May 2016 14:12:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9C2211601D4; Mon, 9 May 2016 12:12:14 +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 E2A6016098A for ; Mon, 9 May 2016 14:12:13 +0200 (CEST) Received: (qmail 54182 invoked by uid 500); 9 May 2016 12:12:13 -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 54166 invoked by uid 99); 9 May 2016 12:12:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2016 12:12:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CD5622C1F5C for ; Mon, 9 May 2016 12:12:12 +0000 (UTC) Date: Mon, 9 May 2016 12:12:12 +0000 (UTC) From: "Vishal Khandelwal (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15805) Canary test timesout if there is failed\shutdown zookeeper node in a quoram MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 09 May 2016 12:12:14 -0000 [ https://issues.apache.org/jira/browse/HBASE-15805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal Khandelwal updated HBASE-15805: -------------------------------------- Status: Patch Available (was: Open) > Canary test timesout if there is failed\shutdown zookeeper node in a quoram > --------------------------------------------------------------------------- > > Key: HBASE-15805 > URL: https://issues.apache.org/jira/browse/HBASE-15805 > Project: HBase > Issue Type: Bug > Components: canary > Affects Versions: 0.98.20 > Reporter: Vishal Khandelwal > Fix For: 0.98.20 > > > Canary tools creates HBaseadmin object which which starts a thread to keep pinging zookeeper on a regular interval. This cause delay when one of the node in zookeeper is down and test timeouts. > Canary tool is creating HBaseadmin whose isEnabled and tableExists calls starts a catalog tacker --> retries for zookeeper connection. This zookeeper (6s) retry happens for multiple times for scanning 390+ region it is causing lot of sleeps. By removing the failed zookeeper from the test it actually took not more than 9 sec where it was taking almost 8 mins. Since "sniff" calls each table one by one thus causes the delay in the test. > {code} > 2016-04-29 09:52:13 [Thread-6-SendThread()] DEBUG zookeeper.ClientCnxnSocketNIO(203): Ignoring exception during shutdown input > java.net.SocketException: Socket is not connected > at sun.nio.ch.Net.translateToSocketException(Net.java:123) > at sun.nio.ch.Net.translateException(Net.java:157) > at sun.nio.ch.Net.translateException(Net.java:163) > at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:401) > at org.apache.zookeeper.ClientCnxnSocketNIO.cleanup(ClientCnxnSocketNIO.java:200) > at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1246) > at org.apache.zookeeper.ClientCnxn$SendThread.cleanAndNotifyState(ClientCnxn.java:1236) > at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1169) > Caused by: java.nio.channels.NotYetConnectedException > at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:782) > at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:399) > ... 4 more > 2016-04-29 09:52:13 [Thread-6-SendThread()] DEBUG zookeeper.ClientCnxnSocketNIO(210): Ignoring exception during shutdown output > java.net.SocketException: Socket is not connected > at sun.nio.ch.Net.translateToSocketException(Net.java:123) > at sun.nio.ch.Net.translateException(Net.java:157) > at sun.nio.ch.Net.translateException(Net.java:163) > at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:409) > at org.apache.zookeeper.ClientCnxnSocketNIO.cleanup(ClientCnxnSocketNIO.java:207) > at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1246) > at org.apache.zookeeper.ClientCnxn$SendThread.cleanAndNotifyState(ClientCnxn.java:1236) > at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1169) > Caused by: java.nio.channels.NotYetConnectedException > at sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:799) > at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:407) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)