You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/10/01 00:26:00 UTC

[jira] [Commented] (HDFS-17402) StartupSafeMode should not exit when resources are from low to available

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

ASF GitHub Bot commented on HDFS-17402:
---------------------------------------

github-actions[bot] closed pull request #6618: HDFS-17402. StartupSafeMode should not exit when resources are from l…
URL: https://github.com/apache/hadoop/pull/6618




> StartupSafeMode should not exit when resources are from low to available
> ------------------------------------------------------------------------
>
>                 Key: HDFS-17402
>                 URL: https://issues.apache.org/jira/browse/HDFS-17402
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Zilong Zhu
>            Assignee: Zilong Zhu
>            Priority: Major
>              Labels: pull-request-available
>
> After HDFS-17231, NameNode can exit safemode automatically when resources are from low to available. It used org.apache.hadoop.hdfs.server.namenode.FSNamesystem#leaveSafeMode, this function will change BMSafeModeStatus. However, NameNode entering resource low safe mode doesn't change BMSafeModeStatus in org.apache.hadoop.hdfs.server.namenode.FSNamesystem#enterSafeMode. This is not equal
> Now:
> a. NN enter StartupSafeMode
> b. NN enter ResourceLowSafeMode
> c. NN resources from low to available
> d. NN safemode off
>  
> Expectations:
> a. NN enter StartupSafeMode
> b. NN enter ResourceLowSafeMode
> c. NN resources from low to available
> d. NN exit ResourceLowSafeMode but in StartupSafeMode



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org