Github user d2r commented on a diff in the pull request:

    https://github.com/apache/incubator-storm/pull/101#discussion_r13285186
  
    --- Diff: storm-core/src/clj/backtype/storm/ui/core.clj ---
    @@ -509,26 +231,23 @@
                        reverse
                        first)]
         (if error
    -      [:span (if (< (time-delta (.get_error_time_secs ^ErrorInfo error))
    -                    (* 60 30))
    -               {:class "red"}
    -               {})
    -       (error-subset (.get_error ^ErrorInfo error))]
    -      )))
    +      (error-subset (.get_error ^ErrorInfo error))
    +      "")))
     
    -(defn component-link [storm-id id]
    -  (link-to (url-format "/topology/%s/component/%s" storm-id id) 
(escape-html id)))
    +(defn component-task-summs [^TopologyInfo summ topology id]
    +  (let [spout-summs (filter (partial spout-summary? topology) 
(.get_executors summ))
    +        bolt-summs (filter (partial bolt-summary? topology) 
(.get_executors summ))
    +        spout-comp-summs (group-by-comp spout-summs)
    +        bolt-comp-summs (group-by-comp bolt-summs)
    +        ret (if (contains? spout-comp-summs id)
    +              (spout-comp-summs id)
    +              (bolt-comp-summs id))]
    +    (sort-by #(-> ^ExecutorSummary % .get_executor_info .get_task_start) 
ret)
    +    ))
     
     (defn worker-log-link [host port]
    -  (link-to (url-format "http://%s:%s/log?file=worker-%s.log";
    -              host (*STORM-CONF* LOGVIEWER-PORT) port) (str port)))
    -
    -(defn render-capacity [capacity]
    -  (let [capacity (nil-to-zero capacity)]
    -    [:span (if (> capacity 0.9)
    -                 {:class "red"}
    --- End diff --
    
    Capacities may no longer be highlighted read if they are above 90%.  I have 
not tested this, but I could not find where we were applying this style with 
the new templates.  I do not think this is a very big deal, but it is a 
regression of a feature that some users might want.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to