[
https://issues.apache.org/jira/browse/HDFS-10838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15467580#comment-15467580
]
Arpit Agarwal commented on HDFS-10838:
--------------------------------------
Nice, thank you for the quick patch [~surendrasingh]!
# {{DatanodeInfoProto convert(DatanodeInfo info)}} should handle missing
lastBlockReportTime for wire compatibility. Something like this should work.
{code}
di.hasLastBlockReportTime() ? di.getLastBlockReportTime() : 0
{code}
# Also when the value is displayed in the web UI/command line output it should
be checked whether it is equal to zero and if so something like 'never' should
be displayed instead of the timestamp.
# Should the NN web UI to show relative time, just like last heartbeat time?
I'm fine with either though.
> Last full block report received time for each DN should be easily discoverable
> ------------------------------------------------------------------------------
>
> Key: HDFS-10838
> URL: https://issues.apache.org/jira/browse/HDFS-10838
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: ui
> Reporter: Arpit Agarwal
> Assignee: Surendra Singh Lilhore
> Attachments: DFSAdmin-Report.png, HDFS-10838-001.patch, NN_UI.png
>
>
> It should be easy for administrators to discover the time of last full block
> report from each DataNode.
> We can show it in the NameNode web UI or in the output of {{hdfs dfsadmin
> -report}}, or both.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]