[
https://issues.apache.org/jira/browse/HDFS-7214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596419#comment-14596419
]
Haohui Mai commented on HDFS-7214:
----------------------------------
bq. 1. for suggestion of changing long to AtomicLong, I am not quite sure what
the improvement would be.
http://psy-lob-saw.blogspot.com/2012/12/atomiclazyset-is-performance-win-for.html
bq. 2. I am not sure returning the timestamp is a good idea. Since getNNStarted
method returns a Date object and the UI just displays it. I am just simply
following that pattern.
We cannot change {{getNNStarted}} due to backward compatibility issues. New
code should return timestamp.
> Display the time when NN became active on the webUI
> ---------------------------------------------------
>
> Key: HDFS-7214
> URL: https://issues.apache.org/jira/browse/HDFS-7214
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Siqi Li
> Assignee: Siqi Li
> Labels: BB2015-05-TBR
> Attachments: HDFS-7214.v1.patch, HDFS-7214.v2.patch,
> HDFS-7214.v3.patch
>
>
> The currently NN webUI displayed JVM start up. It will be useful to show when
> NN became active.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)