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 "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2018/12/22 18:43:00 UTC
[jira] [Comment Edited] (HDFS-14164) Namenode should not be started
if safemode threshold is out of boundary
[ https://issues.apache.org/jira/browse/HDFS-14164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16727530#comment-16727530 ]
Bharat Viswanadham edited comment on HDFS-14164 at 12/22/18 6:42 PM:
---------------------------------------------------------------------
Hi [~kpalanisamy]
Thanks for updating the condition in the latest patch, sorry it was a mistake in my earlier comment.
I see some test failures are related to this change. I think we need to fix them.
was (Author: bharatviswa):
Hi [~kpalanisamy]
Thanks for updating the condition, sorry it was a mistake in my earlier comment.
I see some test failures are related to this change. I think we need to fix them.
> Namenode should not be started if safemode threshold is out of boundary
> -----------------------------------------------------------------------
>
> Key: HDFS-14164
> URL: https://issues.apache.org/jira/browse/HDFS-14164
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 2.7.3, 3.1.1
> Environment: #apache hadoop-3.1.1
> Reporter: Karthik Palanisamy
> Assignee: Karthik Palanisamy
> Priority: Minor
> Labels: patch
> Attachments: HDFS-14164-001.patch, HDFS-14164-002.patch, HDFS-14164-003.patch
>
>
> Mistakenly, User has configured safemode threshold(dfs.namenode.safemode.threshold-pct) to 090 instead of 0.90. Due to this change, UI has the incorrect summary and it never turns to be out of safemode until manual intervention. Because total block count will never match with an additional block count, which is to be reported.
> I.e
> {code:java}
> Wrong setting: dfs.namenode.safemode.threshold-pct=090
> Summary:
> Safe mode is ON. The reported blocks 0 needs additional 360 blocks to reach the threshold 90.0000 of total blocks 4. The number of live datanodes 3 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reached.
> 10 files and directories, 4 blocks (4 replicated blocks, 0 erasure coded block groups) = 14 total filesystem object(s).
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org