hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10912) Ozone:SCM: Add safe mode support to NodeManager.
Date Wed, 28 Sep 2016 21:45:20 GMT

    [ https://issues.apache.org/jira/browse/HDFS-10912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15530970#comment-15530970
] 

Anu Engineer commented on HDFS-10912:
-------------------------------------

[~jingzhao] Thanks for your comments.

bq. the first one is to make sure the SCM receives enough DN registration. If we persist the
container-node mapping in SCM, we do not need to wait for full container reports. Also SCM
does not take the responsibility for maintaining the container states/durability, thus this
type of safemode is very lightweight compared with the current NN safemode. (maybe we can
rename it ...)

Completely agree, Arpit also made the same comment, and suggested that I use something like
a "chill mode" -- to indicate we are just waiting for a minimal set of info instead of classical
safe mode. Shall I rename it as "Chill Mode" to indicate this is something other than the
safe mode. I am open to any naming suggestions you might have.

bq. Therefore, to me forceExitSafeMode/forceEnterSafeMode/isInManualSafeMode can be moved
to SCM level. forceExitSafeMode will reset both the manual safemode and the safemode in nodemanager.

Absolutely, in fact when we have to the full SCM you will see that this call is used only
by SCM and SCM in turn will expose this as a single call. We are just layering these calls
for time being.  When SCM code is in, you will see that a forceEnterSafeMode will put both
container manager and node manager into safe mode via a single call.



> Ozone:SCM: Add safe mode support to NodeManager.
> ------------------------------------------------
>
>                 Key: HDFS-10912
>                 URL: https://issues.apache.org/jira/browse/HDFS-10912
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Anu Engineer
>         Attachments: HDFS-10912-HDFS-7240.001.patch
>
>
> Add Safe mode support : That is add the ability to force exit or enter safe mode. As
well as get the current safe mode status from node manager.



--
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


Mime
View raw message