Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFD619B85 for ; Mon, 31 Oct 2011 15:47:55 +0000 (UTC) Received: (qmail 85449 invoked by uid 500); 31 Oct 2011 15:47:55 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 85417 invoked by uid 500); 31 Oct 2011 15:47:55 -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 85409 invoked by uid 99); 31 Oct 2011 15:47:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 15:47:55 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 15:47:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4AAC932A8DD for ; Mon, 31 Oct 2011 15:47:32 +0000 (UTC) Date: Mon, 31 Oct 2011 15:47:32 +0000 (UTC) From: "Ming Ma (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <191619338.41124.1320076052307.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1142256491.7161.1314705577829.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4298) Support to drain RS nodes through ZK MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140233#comment-13140233 ] Ming Ma commented on HBASE-4298: -------------------------------- Just in case, there was another code review at https://reviews.apache.org/r/2064. It seems some of the questions have been answered by Aravind. > Support to drain RS nodes through ZK > ------------------------------------ > > Key: HBASE-4298 > URL: https://issues.apache.org/jira/browse/HBASE-4298 > Project: HBase > Issue Type: Improvement > Components: master > Affects Versions: 0.90.4 > Environment: all > Reporter: Aravind Gottipati > Priority: Critical > Labels: patch > Fix For: 0.92.0, 0.90.5 > > Attachments: 4298-trunk-v2.txt, 90_hbase.patch, trunk_hbase.patch > > > HDFS currently has a way to exclude certain datanodes and prevent them from getting new blocks. HDFS goes one step further and even drains these nodes for you. This enhancement is a step in that direction. > The idea is that we mark nodes in zookeeper as draining nodes. This means that they don't get any more new regions. These draining nodes look exactly the same as the corresponding nodes in /rs, except they live under /draining. > Eventually, support for draining them can be added. I am submitting two patches for review - one for the 0.90 branch and one for trunk (in git). > Here are the two patches > 0.90 - https://github.com/aravind/hbase/commit/181041e72e7ffe6a4da6d82b431ef7f8c99e62d2 > trunk - https://github.com/aravind/hbase/commit/e127b25ae3b4034103b185d8380f3b7267bc67d5 > I have tested both these patches and they work as advertised. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira