[
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
(v6.3.4#6332)