[ 
https://issues.apache.org/jira/browse/HDFS-15594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ye Ni updated HDFS-15594:
-------------------------
    Description: 
Safe mode tip is printed every 20 seconds.

This change is to calculate live datanodes until reported block threshold is 
meet.
 Old 
{code:java}
STATE* Safe mode ON. The reported blocks 111054015 needs additional 27902753 
blocks to reach the threshold 0.9990 of total blocks 139095856. The number of 
live datanodes 2531 has reached the minimum number 1. Safe mode will be turned 
off automatically once the thresholds have been reached.{code}
New 
{code:java}
STATE* Safe mode ON. 
The reported blocks 134851250 needs additional 3218494 blocks to reach the 
threshold 0.9990 of total blocks 138207947.
The minimum number of live datanodes is not calculated since reported blocks 
hasn't reached the threshold. Safe mode will be turned off automatically once 
the thresholds have been reached.{code}
 

  was:
Safe mode tip is printed every 20 seconds.

This change is to calculate live datanodes until reported block threshold is 
meet.
 Old 
{code:java}
STATE* Safe mode ON. The reported blocks 111054015 needs additional 27902753 
blocks to reach the threshold 0.9990 of total blocks 139095856. The number of 
live datanodes 2531 has reached the minimum number 1. Safe mode will be turned 
off automatically once the thresholds have been reached.{code}
New 
{code:java}
STATE* Safe mode ON. 
The reported blocks 134851250 needs additional 3218494 blocks to reach the 
threshold 0.9990 of total blocks 138207947.
The minimum number of live datanodes is not calculated since reported blocks 
hasn't reached the threshold. Safe mode will be turned off automatically once 
the thresholds have been reached.{code}
{{}}


> Lazy calculate live datanodes in safe mode tip
> ----------------------------------------------
>
>                 Key: HDFS-15594
>                 URL: https://issues.apache.org/jira/browse/HDFS-15594
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Ye Ni
>            Priority: Minor
>
> Safe mode tip is printed every 20 seconds.
> This change is to calculate live datanodes until reported block threshold is 
> meet.
>  Old 
> {code:java}
> STATE* Safe mode ON. The reported blocks 111054015 needs additional 27902753 
> blocks to reach the threshold 0.9990 of total blocks 139095856. The number of 
> live datanodes 2531 has reached the minimum number 1. Safe mode will be 
> turned off automatically once the thresholds have been reached.{code}
> New 
> {code:java}
> STATE* Safe mode ON. 
> The reported blocks 134851250 needs additional 3218494 blocks to reach the 
> threshold 0.9990 of total blocks 138207947.
> The minimum number of live datanodes is not calculated since reported blocks 
> hasn't reached the threshold. Safe mode will be turned off automatically once 
> the thresholds have been reached.{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to