[37/50] [abbrv] hadoop git commit: YARN-5705. Show timeline data from ATS v2 in new web UI. Contributed by Akhil PB.
http://git-wip-us.apache.org/repos/asf/hadoop/blob/dd40f6f0/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/info.hbs -- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/info.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/info.hbs new file mode 100644 index 000..b700464 --- /dev/null +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/info.hbs @@ -0,0 +1,53 @@ +{{!-- + 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. +--}} + +Flow Information + + + + + + Flow Name + {{flowInfo.flowName}} + + + User + {{flowInfo.user}} + + + Flow ID + {{flowInfo.flowUid}} + + + First Run Started + {{flowInfo.firstRunStarted}} + + + Last Run Finished + {{flowInfo.lastRunFinished}} + +{{#if flowInfo.lastExecutionDate}} + +Last Execution Date +{{flowInfo.lastExecutionDate}} + +{{/if}} + + + + http://git-wip-us.apache.org/repos/asf/hadoop/blob/dd40f6f0/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/runs.hbs -- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/runs.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/runs.hbs new file mode 100644 index 000..96d9e63 --- /dev/null +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/runs.hbs @@ -0,0 +1,131 @@ +{{!-- + 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. +--}} + + + + {{#if (or (or elapsedTimeVizData.length cpuVCoresVizData.length) memoryVizData.length)}} + + + Add Metrics Widget + + + {{#if elapsedTimeVizData.length}} + + + + {{#if vizWidgets.runDuration}} + + {{/if}} + +Flow Run Vs Run Duration + + + {{/if}} + {{#if cpuVCoresVizData.length}} + + + + {{#if vizWidgets.cpuVcores}} + + {{/if}} + +Flow Run Vs Cpu Vcores + + + {{/if}} + {{#if memoryVizData.length}} + + + + {{#if vizWidgets.memoryUsed}} + + {{/if}} + +Flow Run Vs Memory Used + + + {{/if}} + + + {{/if}} + + Flow Runs + {{em-table columns=columns rows=model.flowRuns definition=tableDefinition}} + + +{{#if (and elapsedTimeVizData.length vizWidgets.runDuration)}} + + + + +Flow Run Vs Run Duration +{{simple-bar-chart + class="chart-panel" + data=elapsedTimeVizData + xAxisTickFormatter=flowrunIdFormatter + yAxisTickFormatter=elapsedTimeFormatter + xAxisText="Flow Run" + yAxisText="Run Duration" + onBarChartClickCallback=onBarChartClick +}} +
[37/50] [abbrv] hadoop git commit: YARN-5705. Show timeline data from ATS v2 in new web UI. Contributed by Akhil PB.
http://git-wip-us.apache.org/repos/asf/hadoop/blob/ba3c2cd2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/info.hbs -- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/info.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/info.hbs new file mode 100644 index 000..b700464 --- /dev/null +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/info.hbs @@ -0,0 +1,53 @@ +{{!-- + 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. +--}} + +Flow Information + + + + + + Flow Name + {{flowInfo.flowName}} + + + User + {{flowInfo.user}} + + + Flow ID + {{flowInfo.flowUid}} + + + First Run Started + {{flowInfo.firstRunStarted}} + + + Last Run Finished + {{flowInfo.lastRunFinished}} + +{{#if flowInfo.lastExecutionDate}} + +Last Execution Date +{{flowInfo.lastExecutionDate}} + +{{/if}} + + + + http://git-wip-us.apache.org/repos/asf/hadoop/blob/ba3c2cd2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/runs.hbs -- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/runs.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/runs.hbs new file mode 100644 index 000..96d9e63 --- /dev/null +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-flow/runs.hbs @@ -0,0 +1,131 @@ +{{!-- + 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. +--}} + + + + {{#if (or (or elapsedTimeVizData.length cpuVCoresVizData.length) memoryVizData.length)}} + + + Add Metrics Widget + + + {{#if elapsedTimeVizData.length}} + + + + {{#if vizWidgets.runDuration}} + + {{/if}} + +Flow Run Vs Run Duration + + + {{/if}} + {{#if cpuVCoresVizData.length}} + + + + {{#if vizWidgets.cpuVcores}} + + {{/if}} + +Flow Run Vs Cpu Vcores + + + {{/if}} + {{#if memoryVizData.length}} + + + + {{#if vizWidgets.memoryUsed}} + + {{/if}} + +Flow Run Vs Memory Used + + + {{/if}} + + + {{/if}} + + Flow Runs + {{em-table columns=columns rows=model.flowRuns definition=tableDefinition}} + + +{{#if (and elapsedTimeVizData.length vizWidgets.runDuration)}} + + + + +Flow Run Vs Run Duration +{{simple-bar-chart + class="chart-panel" + data=elapsedTimeVizData + xAxisTickFormatter=flowrunIdFormatter + yAxisTickFormatter=elapsedTimeFormatter + xAxisText="Flow Run" + yAxisText="Run Duration" + onBarChartClickCallback=onBarChartClick +}} +