mirror of
https://github.com/apache/impala.git
synced 2026-01-07 09:02:19 -05:00
Read the start date and time of the impalad, catalogd and statestored processes for the Debug Web UI. Uses the stat command on the /proc/<pid> directory and format the date with the date command to local time format. Change-Id: I05ae2f80835b1b0e4bc3b38731778ba0871338a4 Reviewed-on: http://gerrit.cloudera.org:8080/7363 Reviewed-by: Matthew Jacobs <mj@cloudera.com> Tested-by: Impala Public Jenkins
41 lines
1.3 KiB
Cheetah
41 lines
1.3 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.
|
|
-->
|
|
{{! Template for / }}
|
|
{{>www/common-header.tmpl}}
|
|
{{?impala_server_mode}}
|
|
<h2>Impala Server Mode: {{?is_coordinator}}Coordinator{{/is_coordinator}}
|
|
{{?is_executor}}Executor{{/is_executor}}</h2>
|
|
{{/impala_server_mode}}
|
|
|
|
<h2>Vers<span id="v">i</span>on</h2>
|
|
<pre id="version_pre">{{version}}</pre>
|
|
|
|
<h2>Process Start Time</h2>
|
|
<pre>{{process_start_time}}</pre>
|
|
|
|
<h2>Hardware Info</h2>
|
|
<pre>{{cpu_info}} {{mem_info}} {{disk_info}}</pre>
|
|
|
|
<h2>OS Info</h2>
|
|
<pre>{{os_info}}</pre>
|
|
|
|
<h2>Process Info</h2>
|
|
<pre>{{process_state_info}}</pre>
|
|
{{>www/common-footer.tmpl}}
|