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

Ravi Prakash commented on HDFS-4888:
------------------------------------

The change in behavior is:
1. Prints a "It was turned on manually" when the safemode was initially entered 
into manually. 
2. Prints the "The number of live datanodes %d has reached...." message when in 
extension mode. Previously only the "The reported blocks %d has reached the 
threshold" message was printed.
                
> Refactor and fix FSNamesystem.getTurnOffTip to sanity
> -----------------------------------------------------
>
>                 Key: HDFS-4888
>                 URL: https://issues.apache.org/jira/browse/HDFS-4888
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.0.4-alpha, 0.23.8
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>         Attachments: HDFS-4888.patch
>
>
> e.g. When resources are low, the command to leave safe mode is not printed.
> This method is unnecessarily complex

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to