[
https://issues.apache.org/jira/browse/HDFS-9013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902524#comment-14902524
]
Vinayakumar B commented on HDFS-9013:
-------------------------------------
{{@link
org.apache.hadoop.hdfs.server.namenode.NameNodeMXBean#getNNStartedTimeInMillis()
instead.}}
I think this is the checkstyle comment you got, this link can be updated with
just {{#getNNStartedTimeInMillis()}}.
Test failures seems unrelated.
+1 once addressed.
> Deprecate NameNodeMXBean#getNNStarted in branch2 and remove from trunk
> ----------------------------------------------------------------------
>
> Key: HDFS-9013
> URL: https://issues.apache.org/jira/browse/HDFS-9013
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 2.7.1
> Reporter: Surendra Singh Lilhore
> Assignee: Surendra Singh Lilhore
> Attachments: HDFS-9013-branch-2.003.patch,
> HDFS-9013.001-branch-2.patch, HDFS-9013.001.patch,
> HDFS-9013.002-branch-2.patch
>
>
> HDFS-8388 added one new metric {{NNStartedTimeInMillis}} to get NN start time
> in milliseconds.
> Now based on [~wheat9] and [~ajisakaa] suggestions now we should deprecate
> {{NameNodeMXBean#getNNStarted}} in branch2 and remove from trunk.
> https://issues.apache.org/jira/browse/HDFS-8388?focusedCommentId=14709614&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14709614
> https://issues.apache.org/jira/browse/HDFS-8388?focusedCommentId=14726746&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14726746
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)