hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10274) Move NameSystem#isInStartupSafeMode() to BlockManagerSafeMode
Date Sat, 09 Apr 2016 09:49:25 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Vinayakumar B updated HDFS-10274:
    Attachment: HDFS-10274-01.patch

Attaching the patch for the change.
Removed {{SafeMode#isInStartupSafeMode()}}, and moved to {{BlockManager}} and {{BlockManagerSafeMode}}.

Please review.

> Move NameSystem#isInStartupSafeMode() to BlockManagerSafeMode
> -------------------------------------------------------------
>                 Key: HDFS-10274
>                 URL: https://issues.apache.org/jira/browse/HDFS-10274
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>         Attachments: HDFS-10274-01.patch
> 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

View raw message