You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2016/09/29 14:20:48 UTC
[5/8] storm git commit: STORM-2124: slight changes to tooltips and to
the table column spec
STORM-2124: slight changes to tooltips and to the table column spec
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/c8de2fe1
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/c8de2fe1
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/c8de2fe1
Branch: refs/heads/1.x-branch
Commit: c8de2fe1ae3d7201dc082dd6e576d8fcf404c185
Parents: 6839b6b
Author: Alessandro Bellina <ab...@yahoo-inc.com>
Authored: Fri Sep 23 21:45:31 2016 -0500
Committer: Alessandro Bellina <ab...@yahoo-inc.com>
Committed: Tue Sep 27 22:53:19 2016 -0500
----------------------------------------------------------------------
.../templates/topology-page-template.html | 78 +++++++++-----------
storm-core/src/ui/public/topology.html | 6 +-
2 files changed, 37 insertions(+), 47 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/c8de2fe1/storm-core/src/ui/public/templates/topology-page-template.html
----------------------------------------------------------------------
diff --git a/storm-core/src/ui/public/templates/topology-page-template.html b/storm-core/src/ui/public/templates/topology-page-template.html
index a7907b6..4dd2ae9 100644
--- a/storm-core/src/ui/public/templates/topology-page-template.html
+++ b/storm-core/src/ui/public/templates/topology-page-template.html
@@ -357,66 +357,62 @@
Id
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-original-title="Executors are threads in a Worker process." data-toggle="tooltip" data-placement="right">
Executors
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="A Task is an instance of a Bolt or Spout. The number of Tasks is almost always equal to the number of Executors.">
Tasks
</span>
</th>
{{#schedulerDisplayResource}}
- <th class="header">
- <span data-toggle="tooltip" data-placement="top" title="The amount on heap memory in megabytes requested to run a single executor of this component.">
+ <th class="header table-num">
+ <span data-toggle="tooltip" data-placement="top" title="The amount of on-heap memory in megabytes requested to run a single executor of this component.">
Req On-heap Mem (MB)
</span>
</th>
- <th class="header">
- <span data-toggle="tooltip" data-placement="top" title="The amount off heap memory in megabytes requested to run a single executor of this component.">
+ <th class="header table-num">
+ <span data-toggle="tooltip" data-placement="top" title="The amount of off-heap memory in megabytes requested to run a single executor of this component.">
Req Off-heap Mem (MB)
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The amount of CPU resources requested to run a single executor of this component. Every 100 means 1 core.">
Req CPU
</span>
</th>
{{/schedulerDisplayResource}}
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The number of Tuples emitted.">
Emitted
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The number of Tuples emitted that sent to one or more bolts.">
Transferred
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The average time a Tuple "tree" takes to be completely processed by the Topology. A value of 0 is expected if no acking is done.">
Complete latency (ms)
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The number of Tuple "trees" successfully processed. A value of 0 is expected if no acking is done.">
Acked
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The number of Tuple "trees" that were explicitly failed or timed out before acking was completed. A value of 0 is expected if no acking is done.">
Failed
</span>
</th>
- <th class="header">Error Host
- </th>
- <th class="header">Error Port
- </th>
- <th class="header">Last error
- </th>
- <th class="header">Error Time
- </th>
+ <th class="header">Error Host</th>
+ <th class="header">Error Port</th>
+ <th class="header">Last error</th>
+ <th class="header">Error Time</th>
</tr>
</thead>
<tbody>
@@ -458,81 +454,77 @@
Id
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-original-title="Executors are threads in a Worker process." data-toggle="tooltip" data-placement="right">
Executors
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="A Task is an instance of a Bolt or Spout. The number of Tasks is almost always equal to the number of Executors.">
Tasks
</span>
</th>
{{#schedulerDisplayResource}}
- <th class="header">
- <span data-toggle="tooltip" data-placement="top" title="The amount memory in megabytes requested to run a single executor of this component.">
+ <th class="header table-num">
+ <span data-toggle="tooltip" data-placement="top" title="The amount of on-heap memory in megabytes requested to run a single executor of this component.">
Req On-heap Mem (MB)
</span>
</th>
- <th class="header">
- <span data-toggle="tooltip" data-placement="top" title="The amount memory in megabytes requested to run a single executor of this component.">
+ <th class="header table-num">
+ <span data-toggle="tooltip" data-placement="top" title="The amount of off-heap memory in megabytes requested to run a single executor of this component.">
Req Off-heap Mem (MB)
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The amount of CPU resources requested to run a single executor of this component. Every 100 means 1 core.">
Req CPU
</span>
</th>
{{/schedulerDisplayResource}}
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The number of Tuples emitted.">
Emitted
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The number of Tuples emitted that sent to one or more bolts.">
Transferred
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-original-title="If this is around 1.0, the corresponding Bolt is running as fast as it can, so you may want to increase the Bolt's parallelism. This is (number executed * average execute latency) / measurement time." data-toggle="tooltip" data-placement="top">
Capacity (last 10m)
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The average time a Tuple spends in the execute method. The execute method may complete without sending an Ack for the tuple.">
Execute latency (ms)
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The number of incoming Tuples processed.">
Executed
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The average time it takes to Ack a Tuple after it is first received. Bolts that join, aggregate or batch may not Ack a tuple until a number of other Tuples have been received.">
Process latency (ms)
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="top" title="The number of Tuples acknowledged by this Bolt.">
Acked
</span>
</th>
- <th class="header">
+ <th class="header table-num">
<span data-toggle="tooltip" data-placement="left" title="The number of tuples Failed by this Bolt.">
Failed
</span>
</th>
- <th class="header">Error Host
- </th>
- <th class="header">Error Port
- </th>
- <th class="header">Last error
- </th>
- <th class="header">Error Time
- </th>
+ <th class="header">Error Host</th>
+ <th class="header">Error Port</th>
+ <th class="header">Last error</th>
+ <th class="header">Error Time</th>
</tr></thead>
<tbody>
{{#bolts}}
http://git-wip-us.apache.org/repos/asf/storm/blob/c8de2fe1/storm-core/src/ui/public/topology.html
----------------------------------------------------------------------
diff --git a/storm-core/src/ui/public/topology.html b/storm-core/src/ui/public/topology.html
index 304ec2c..b1879e6 100644
--- a/storm-core/src/ui/public/topology.html
+++ b/storm-core/src/ui/public/topology.html
@@ -321,18 +321,16 @@ $(document).ready(function() {
});
spoutStats.append(Mustache.render($(template).filter("#spout-stats-template").html(),response));
- //Id,Executors,Tasks,Memory on heap requested (MB),Memory off heap requested (MB), CPU Requirement,Emitted,Transferred,Complete latency (ms),Acked,Failed,Error Host,Error Port
dtAutoPage("#spout-stats-table", {
columnDefs: [
- {type: "num", targets: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]}
+ {type: "num", targets: 'table-num'}
]
});
boltStats.append(Mustache.render($(template).filter("#bolt-stats-template").html(),response));
- //Id,Executors,Tasks,Memory On heap requested (MB),Memory Off heap requested (MB),CPU Requirement,Emitted,Transferred,Capacity (last 10m),Execute latency (ms),Executed,Process latency (ms),Acked,Failed,Error Host,Error Port,Last error
dtAutoPage("#bolt-stats-table", {
columnDefs: [
- {type: "num", targets: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]}
+ {type: "num", targets: 'table-num'}
]
});