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 5AA64200BB0 for ; Sun, 16 Oct 2016 05:26:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4ED62160AF4; Sun, 16 Oct 2016 03:26:24 +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 94BC4160AF1 for ; Sun, 16 Oct 2016 05:26:23 +0200 (CEST) Received: (qmail 83077 invoked by uid 500); 16 Oct 2016 03:26:22 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 83064 invoked by uid 99); 16 Oct 2016 03:26:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Oct 2016 03:26:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 312662C4C73 for ; Sun, 16 Oct 2016 03:26:22 +0000 (UTC) Date: Sun, 16 Oct 2016 03:26:22 +0000 (UTC) From: "Ming Ma (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-9390) Block management for maintenance states MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 16 Oct 2016 03:26:24 -0000 [ https://issues.apache.org/jira/browse/HDFS-9390?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Ming Ma updated HDFS-9390: -------------------------- Attachment: (was: HDFS-9390-5.patch) > Block management for maintenance states > --------------------------------------- > > Key: HDFS-9390 > URL: https://issues.apache.org/jira/browse/HDFS-9390 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Ming Ma > Assignee: Ming Ma > Attachments: HDFS-9390-2.patch, HDFS-9390-3.patch, HDFS-9390-4.pa= tch, HDFS-9390.patch > > > When a node is transitioned to/stay in/transitioned out of maintenance st= ate, we need to make sure blocks w.r.t. that nodes are properly handled. > * When nodes are put into maintenance, it will first go to ENTERING_MAINT= ENANCE, and make sure blocks are minimally replicated before the nodes are = transitioned to IN_MAINTENANCE. > * Do not replica blocks when nodes are in maintenance states. Maintenance= replica will remain in BlockMaps and thus is still considered valid from b= lock replication point of view. In other words, putting a node to =E2=80=9C= maintenance=E2=80=9D mode won=E2=80=99t trigger BlockManager to replicate i= ts blocks. > * Do not invalidate replicas on node under maintenance. After any file's = replication factor is reduced, NN needs to invalidate some replicas. It sho= uld exclude nodes under maintenance in the handling. > * Do not put IN_MAINTENANCE replicas in LocatedBlock for read operation. > * Do not allocate any new block on nodes under maintenance. > * Have Balancer exclude nodes under maintenance. > * Exclude nodes under maintenance for DN cache. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org