Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F47410013 for ; Tue, 14 Jan 2014 08:49:55 +0000 (UTC) Received: (qmail 4224 invoked by uid 500); 14 Jan 2014 08:49:38 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 3989 invoked by uid 500); 14 Jan 2014 08:49:26 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 3621 invoked by uid 99); 14 Jan 2014 08:49:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 08:49:03 +0000 Date: Tue, 14 Jan 2014 08:49:03 +0000 (UTC) From: "Liu Shaohui (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-10335) AuthFailedException in zookeeper may block replication forever MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Liu Shaohui created HBASE-10335: ----------------------------------- Summary: AuthFailedException in zookeeper may block replication forever Key: HBASE-10335 URL: https://issues.apache.org/jira/browse/HBASE-10335 Project: HBase Issue Type: Bug Components: Replication, security Reporter: Liu Shaohui ReplicationSource will rechoose sinks when encounted exceptions during skipping edits to the current sink. But if the zookeeper client for peer cluster go to AUTH_FAILED state, the ReplicationSource will always get AuthFailedException. The ReplicationSource does not reconnect the peer, because reconnectPeer only handle ConnectionLossException and SessionExpiredException. As a result, the replication will print log: {quote} 2014-01-14,12:07:06,892 INFO org.apache.hadoop.hbase.replication.regionserver.ReplicationSource: Getting 0 rs from peer cluster # 20 2014-01-14,12:07:06,892 INFO org.apache.hadoop.hbase.replication.regionserver.ReplicationSource: Slave cluster looks down: 20 has 0 region servers {quote} and be blocked forever. I think other places may have same problems for not handling AuthFailedException in zookeeper. eg: HBASE-8675. [~apurtell] -- This message was sent by Atlassian JIRA (v6.1.5#6160)