[
https://issues.apache.org/jira/browse/HDFS-17402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zilong Zhu updated HDFS-17402:
--
Description:
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
was:
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
So, I think StartupSafeMode should not exit when resources are from low to
available
> 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
>Priority: Major
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org