Files
impala/www/thread-group.tmpl
Henry Robinson 9caea9bfad IMPALA-5350: Tidy up thread groups for finst exec threads
Put all per-finst threads (profile report, exec thread, async build
thread, scanner threads) together in one group "fragment-execution", and
add finst ID to all their names.

Remove -<tid> suffix from thread names and add a separate column with it
to /threadz web page.

Testing: eyeballed with a join query.

Change-Id: I6fabfcc923863e5f9db4bb8b016c08ff226c079f
Reviewed-on: http://gerrit.cloudera.org:8080/6951
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: Impala Public Jenkins
2017-06-01 22:45:53 +00:00

57 lines
1.6 KiB
Cheetah

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
{{> www/common-header.tmpl }}
<h2>Thread Group: {{thread-group.category}}</h2>
<table id="threads-tbl" class='table table-hover table-bordered'
style='table-layout:fixed; word-wrap: break-word'>
<thead>
<tr>
<th>Thread name</th>
<th>Id</th>
<th>Cumulative User CPU(s)</th>
<th>Cumulative Kernel CPU(s)</th>
<th>Cumulative IO-wait(s)</th>
</tr>
</thead>
<tbody>
{{#threads}}
<tr>
<td>{{name}}</td>
<td>{{id}}</td>
<td>{{user_ns}}</td>
<td>{{kernel_ns}}</td>
<td>{{iowait_ns}}</td>
</tr>
{{/threads}}
</tbody>
</table>
<script>
$(document).ready(function() {
$('#threads-tbl').DataTable({
"order": [[ 2, "desc" ]],
"pageLength": 100
});
});
</script>
{{> www/common-footer.tmpl}}