[
https://issues.apache.org/jira/browse/STORM-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15097493#comment-15097493
]
Zhuo Liu commented on STORM-1472:
---------------------------------
Checking the code, find a bug in storm-core/src/clj/backtype/storm/ui/core.clj
"time" changed to "errorTime", however the REST info is still "time".
Line 649:
[errors-list topology-id secure?]
(let [errors (->> errors-list
(sort-by #(.get_error_time_secs ^ErrorInfo %))
reverse)]
{"componentErrors"
(for [^ErrorInfo e errors]
{"time" (* 1000 (long (.get_error_time_secs e)))
"errorHost" (.get_host e)
"errorPort" (.get_port e)
"componentErrors.errorTime| Long | Timestamp when the exception occurred (Prior
to 0.11.0, this field was named 'time'.)"
> Change long to readble date/time format for error log link
> ----------------------------------------------------------
>
> Key: STORM-1472
> URL: https://issues.apache.org/jira/browse/STORM-1472
> Project: Apache Storm
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Zhuo Liu
> Assignee: Zhuo Liu
> Priority: Minor
> Fix For: 1.0.0
>
>
> In the error log link of UI, long of millisecond dates makes little sense to
> user. It would be nice to change it to be readable date.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)