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

Kuhu Shukla commented on HDFS-9258:
-----------------------------------

Since DM is the one aware of staleInterval through 
getStaleIntervalFromConf(),an isStale method in DM would allow getting the 
status without exposing the private method of getStaleIntervalFromConf or 
re-computing the staleinterval in FSNameSystem. Please let me know any 
concerns, comments on the same. Thanks a lot [~vinayrpet]!

> NN should indicate which nodes are stale
> ----------------------------------------
>
>                 Key: HDFS-9258
>                 URL: https://issues.apache.org/jira/browse/HDFS-9258
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.0.0-alpha
>            Reporter: Daryn Sharp
>            Assignee: Kuhu Shukla
>         Attachments: HDFS-9258-v1.patch, HDFS-9258-v2.patch
>
>
> Determining why the NN is not coming out of safemode is difficult - is it a 
> bug or pending block reports?  If the number of nodes appears sufficient, but 
> there are missing blocks, it would be nice to know which nodes haven't block 
> reported (stale).  Instead of forcing the NN to leave safemode prematurely, 
> the SE can first force block reports from stale nodes.
> The datanode report and the web ui's node list should contain this 
> information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to