hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8214) Secondary NN Web UI shows wrong date for Last Checkpoint
Date Wed, 29 Apr 2015 19:44:09 GMT

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

Haohui Mai commented on HDFS-8214:
----------------------------------

{code}
+      if (v < 0) {
+        return "unknown";
+      }
{code}

It might make more sense to move it to the template (i.e., {{status.html}}), as the function
might later be superseded by moment.js.

> Secondary NN Web UI shows wrong date for Last Checkpoint
> --------------------------------------------------------
>
>                 Key: HDFS-8214
>                 URL: https://issues.apache.org/jira/browse/HDFS-8214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: HDFS, namenode
>    Affects Versions: 2.7.0
>            Reporter: Charles Lamb
>            Assignee: Charles Lamb
>         Attachments: HDFS-8214.001.patch, HDFS-8214.002.patch, HDFS-8214.003.patch
>
>
> SecondaryNamenode is using Time.monotonicNow() to display Last Checkpoint in the web
UI. This causes weird times, generally, just after the epoch, to be displayed.



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

Mime
View raw message