| Stats | +Stats | ||
|---|---|---|---|
| Total Vertices | -{{stats-link value=stats.totalVertices routeName="dag.vertices"}} | +||
| Succeeded Vertices | -{{stats-link value=stats.succeededVertices routeName="dag.vertices" statsType="SUCCEEDED"}} | +||
| Total Tasks | -{{stats-link value=stats.totalTasks routeName="dag.tasks"}} | +||
| Succeeded Tasks | -{{stats-link value=stats.succeededTasks routeName="dag.tasks" statsType="SUCCEEDED"}} | +||
| Failed Tasks | -{{stats-link value=stats.failedTasks routeName="dag.tasks" statsType="FAILED"}} | +||
| Killed Tasks | -{{stats-link value=stats.killedTasks routeName="dag.tasks" statsType="KILLED"}} | +||
| Failed Task Attempts | -{{stats-link value=stats.failedTaskAttempts routeName="dag.attempts" statsType="FAILED"}} | +||
| Killed Task Attempts | -{{stats-link value=stats.killedTaskAttempts routeName="dag.attempts" statsType="KILLED"}} | +||
| Details | +Details | ||
|---|---|---|---|
| Query ID | -{{txt model.entityID}} | +{{txt this.model.entityID}} | |
| User | -{{txt model.requestUser}} | +{{txt this.model.requestUser}} | |
| Status | -{{em-table-status-cell content=model.status}} | +||
| Start Time | -{{date-formatter content=model.startTime}} | +||
| End Time | -{{date-formatter content=model.endTime}} | +||
| Duration | -{{txt model.duration type="duration"}} | +{{txt this.model.duration type="duration"}} | |
| Application ID |
- {{#link-to 'app' model.dag.firstObject.appID class='ember-table-content'}}
- {{model.dag.firstObject.appID}}
- {{/link-to}}
+ |
||
| DAG ID |
- {{#link-to 'dag' model.dag.firstObject.entityID class='ember-table-content'}}
- {{model.dag.firstObject.entityID}}
- {{/link-to}}
+ |
||
| Session ID | -{{txt model.sessionID}} | +{{txt this.model.sessionID}} | |
| LLAP App ID | -{{txt model.llapAppID}} | +{{txt this.model.llapAppID}} | |
| Thread Name | -{{txt model.threadName}} | +{{txt this.model.threadName}} | |
| Queue | -{{txt model.queue}} | +{{txt this.model.queue}} | |
| Hive Details | +Hive Details | ||
|---|---|---|---|
| Tables Read | -{{txt model.tablesRead}} | +{{txt this.model.tablesRead}} | |
| Tables Written | -{{txt model.tablesWritten}} | +{{txt this.model.tablesWritten}} | |
| Client Address | -{{txt model.clientAddress}} | +{{txt this.model.clientAddress}} | |
| Execution Mode | -{{txt model.executionMode}} | +{{txt this.model.executionMode}} | |
| Hive Address | -{{txt model.hiveAddress}} | +{{txt this.model.hiveAddress}} | |
| Client Type | -{{txt model.instanceType}} | +{{txt this.model.instanceType}} | |
| Details | +Details | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Task ID | -{{model.entityID}} | +{{this.model.entityID}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Vertex ID | -{{model.vertexID}} | +{{this.model.vertexID}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Status | -{{em-table-status-cell content=model.status}} | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Progress | -{{em-table-progress-cell content=model.progress}} | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Start Time | -{{date-formatter content=model.startTime}} | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| End Time | -{{date-formatter content=model.endTime}} | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Duration | -{{txt model.duration type="duration"}} | +{{txt this.model.duration type="duration"}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Logs |
- {{#if attempts}}
- {{#each attempts as |attempt|}}
+ {{#if this.attempts}}
+ {{#each this.attempts as |attempt|}}
| Container Logs |
- {{#if attempts}}
- {{#each attempts as |attempt|}}
+ {{#if this.attempts}}
+ {{#each this.attempts as |attempt|}}
|
Diagnostics
- {{{model.diagnostics}}}
+ {{this.model.diagnostics}}
- {{#if configsHash.sources.length}}
+ {{#if this.configsHash.sources.length}}
Sources
- {{#each configsHash.sources as |source|}}
-
{{source.name}}
{{#if source.desc}}
@@ -45,12 +45,12 @@
{{/if}}
- {{#if configsHash.inputs.length}}
+ {{#if this.configsHash.inputs.length}}
Inputs
- {{#each configsHash.inputs as |input|}}
-
{{input.desc}}
@@ -70,12 +70,12 @@
Processor
-
- {{configsHash.processor.desc}}
+
+ {{this.configsHash.processor.desc}}
- {{#if configsHash.processor.configs.length}}
- Configurations: {{configsHash.processor.configs.length}}
+ {{#if this.configsHash.processor.configs.length}}
+ Configurations: {{this.configsHash.processor.configs.length}}
{{else}}
Configuration not available!
{{/if}}
@@ -84,13 +84,13 @@
- {{#if configsHash.sinks.length}}
+ {{#if this.configsHash.sinks.length}}
Sinks
- {{#each configsHash.sinks as |sink|}}
-
{{sink.name}}
{{#if sink.desc}}
@@ -108,13 +108,13 @@
Outputs
- {{#each configsHash.outputs as |output|}}
-
{{output.desc}}
@@ -132,58 +132,47 @@
- {{#if configType}}
-
+ {{#if this.configType}}
+ {{!-- Configuration details display --}}
{{else}}
- {{partial "loading"}}
+
Description
- {{{model.description}}}
+ {{this.model.description}}
Diagnostics
- {{{model.diagnostics}}}
+ {{this.model.diagnostics}}
+
+
+
+
+
+
+
{{content-for 'body-footer'}}
{{content-for 'test-body-footer'}}
diff --git a/tez-ui/src/main/webapp/tests/integration/components/caller-info-test.js b/tez-ui/src/main/webapp/tests/integration/components/caller-info-test.js
index 20f787ccc2..ed741b2e76 100644
--- a/tez-ui/src/main/webapp/tests/integration/components/caller-info-test.js
+++ b/tez-ui/src/main/webapp/tests/integration/components/caller-info-test.js
@@ -16,27 +16,29 @@
* limitations under the License.
*/
-import { moduleForComponent, test } from 'ember-qunit';
-import hbs from 'htmlbars-inline-precompile';
+import { setupRenderingTest } from 'ember-qunit';
+import { module, test } from 'qunit';
+import { render, find } from '@ember/test-helpers';
+import { hbs } from 'ember-cli-htmlbars';
-moduleForComponent('caller-info', 'Integration | Component | caller info', {
- integration: true
-});
+module('Integration | Component | caller info', function(hooks) {
+ setupRenderingTest(hooks);
-test('Basic creation test', function(assert) {
- var testType = "Typ",
- heading = "Additional Info from " + testType;
+ test('Basic creation test', async function(assert) {
+ var testType = "Typ",
+ heading = "Additional Info from " + testType;
- this.set("type", testType);
+ this.set("type", testType);
- this.render(hbs`{{caller-info type=type}}`);
- assert.equal(this.$(".panel-heading").text().trim(), heading);
+ await render(hbs`{{caller-info type=type}}`);
+ assert.equal(find(".panel-heading").textContent.trim(), heading);
- // Template block usage:" + EOL +
- this.render(hbs`
- {{#caller-info type=type}}
- template block text
- {{/caller-info}}
- `);
- assert.equal(this.$(".panel-heading").text().trim(), heading);
+ // Template block usage:" + EOL +
+ await render(hbs`
+ {{#caller-info type=type}}
+ template block text
+ {{/caller-info}}
+ `);
+ assert.equal(find(".panel-heading").textContent.trim(), heading);
+ });
});
diff --git a/tez-ui/src/main/webapp/tests/integration/components/column-selector-test.js b/tez-ui/src/main/webapp/tests/integration/components/column-selector-test.js
index 9fe7d8a2d8..30c4331c6a 100644
--- a/tez-ui/src/main/webapp/tests/integration/components/column-selector-test.js
+++ b/tez-ui/src/main/webapp/tests/integration/components/column-selector-test.js
@@ -16,92 +16,93 @@
* limitations under the License.
*/
-import Ember from 'ember';
+import EmberObject from '@ember/object';
+import { setupRenderingTest } from 'ember-qunit';
+import { module, test } from 'qunit';
+import { render, find } from '@ember/test-helpers';
+import { hbs } from 'ember-cli-htmlbars';
-import { moduleForComponent, test } from 'ember-qunit';
-import hbs from 'htmlbars-inline-precompile';
+module('Integration | Component | column selector', function(hooks) {
+ setupRenderingTest(hooks);
-moduleForComponent('column-selector', 'Integration | Component | column selector', {
- integration: true
-});
+ test('Basic creation test', async function(assert) {
-test('Basic creation test', function(assert) {
+ this.set("content", {
+ columns: [EmberObject.create({
+ headerTitle: "Test Column"
+ })]
+ });
+ await render(hbs`
+
+
+ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||