Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4175C19C70 for ; Sat, 9 Apr 2016 09:37:27 +0000 (UTC) Received: (qmail 36713 invoked by uid 500); 9 Apr 2016 09:37:26 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 36662 invoked by uid 500); 9 Apr 2016 09:37:25 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 36626 invoked by uid 99); 9 Apr 2016 09:37:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2016 09:37:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A0DC52C1F61 for ; Sat, 9 Apr 2016 09:37:25 +0000 (UTC) Date: Sat, 9 Apr 2016 09:37:25 +0000 (UTC) From: "Vinayakumar B (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-10274) Move NameSystem#isInStartupSafeMode() to BlockManagerSafeMode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Vinayakumar B created HDFS-10274: ------------------------------------ Summary: Move NameSystem#isInStartupSafeMode() to BlockManagerSafeMode Key: HDFS-10274 URL: https://issues.apache.org/jira/browse/HDFS-10274 Project: Hadoop HDFS Issue Type: Bug Reporter: Vinayakumar B Assignee: Vinayakumar B To reduce the number of methods in Namesystem interface and for clean looking refactor, its better to move {{isInStartupSafeMode()}} to BlockManager and BlockManagerSafeMode, as most of the callers are in BlockManager. So one more interface overhead can be reduced. -- This message was sent by Atlassian JIRA (v6.3.4#6332)