Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E668C194F7 for ; Sat, 16 Apr 2016 00:08:03 +0000 (UTC) Received: (qmail 13032 invoked by uid 500); 16 Apr 2016 00:07:43 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 12484 invoked by uid 500); 16 Apr 2016 00:07:43 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 11499 invoked by uid 99); 16 Apr 2016 00:07:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2016 00:07:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E99C0E032D; Sat, 16 Apr 2016 00:07:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wangda@apache.org To: common-commits@hadoop.apache.org Date: Sat, 16 Apr 2016 00:08:28 -0000 Message-Id: In-Reply-To: <76120e36f37945e6862773579cc3e424@git.apache.org> References: <76120e36f37945e6862773579cc3e424@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [48/50] [abbrv] hadoop git commit: YARN-4849. [YARN-3368] cleanup code base, integrate web UI related build to mvn, and fix licenses. (wangda) http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-app.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-app.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-app.js deleted file mode 100644 index a038fff..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-app.js +++ /dev/null @@ -1,66 +0,0 @@ -import DS from 'ember-data'; -import Converter from 'yarn-ui/utils/converter'; - -export default DS.JSONAPISerializer.extend({ - internalNormalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - if (payload.app) { - payload = payload.app; - } - - var fixedPayload = { - id: id, - type: primaryModelClass.modelName, // yarn-app - attributes: { - appName: payload.name, - user: payload.user, - queue: payload.queue, - state: payload.state, - startTime: Converter.timeStampToDate(payload.startedTime), - elapsedTime: Converter.msToElapsedTime(payload.elapsedTime), - finishedTime: Converter.timeStampToDate(payload.finishedTime), - finalStatus: payload.finalStatus, - progress: payload.progress, - diagnostics: payload.diagnostics, - amContainerLogs: payload.amContainerLogs, - amHostHttpAddress: payload.amHostHttpAddress, - logAggregationStatus: payload.logAggregationStatus, - unmanagedApplication: payload.unmanagedApplication, - amNodeLabelExpression: payload.amNodeLabelExpression, - priority: payload.priority, - allocatedMB: payload.allocatedMB, - allocatedVCores: payload.allocatedVCores, - runningContainers: payload.runningContainers, - memorySeconds: payload.memorySeconds, - vcoreSeconds: payload.vcoreSeconds, - preemptedResourceMB: payload.preemptedResourceMB, - preemptedResourceVCores: payload.preemptedResourceVCores, - numNonAMContainerPreempted: payload.numNonAMContainerPreempted, - numAMContainerPreempted: payload.numAMContainerPreempted - } - }; - - return fixedPayload; - }, - - normalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - var p = this.internalNormalizeSingleResponse(store, - primaryModelClass, payload, id, requestType); - return { data: p }; - }, - - normalizeArrayResponse(store, primaryModelClass, payload, id, - requestType) { - // return expected is { data: [ {}, {} ] } - var normalizedArrayResponse = {}; - - // payload has apps : { app: [ {},{},{} ] } - // need some error handling for ex apps or app may not be defined. - normalizedArrayResponse.data = payload.apps.app.map(singleApp => { - return this.internalNormalizeSingleResponse(store, primaryModelClass, - singleApp, singleApp.id, requestType); - }, this); - return normalizedArrayResponse; - } -}); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-container-log.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-container-log.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-container-log.js deleted file mode 100644 index 9e10615..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-container-log.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 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. - */ - -import DS from 'ember-data'; -import Converter from 'yarn-ui/utils/converter'; - -export default DS.JSONAPISerializer.extend({ - normalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - // Convert plain text response into JSON. - // ID is of the form nodeAddress!containerId!fileName - var splits = Converter.splitForContainerLogs(id); - var convertedPayload = { - id: id, - type: primaryModelClass.modelName, - attributes: { - logs: payload, - containerID: splits[1], - logFileName: splits[2] - } - }; - return { data: convertedPayload }; - }, -}); http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-container.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-container.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-container.js deleted file mode 100644 index 665b9df..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-container.js +++ /dev/null @@ -1,54 +0,0 @@ -import DS from 'ember-data'; -import Converter from 'yarn-ui/utils/converter'; - -export default DS.JSONAPISerializer.extend({ - internalNormalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - - var fixedPayload = { - id: payload.containerId, - type: primaryModelClass.modelName, // yarn-app - attributes: { - allocatedMB: payload.allocatedMB, - allocatedVCores: payload.allocatedVCores, - assignedNodeId: payload.assignedNodeId, - priority: payload.priority, - startedTime: Converter.timeStampToDate(payload.startedTime), - finishedTime: Converter.timeStampToDate(payload.finishedTime), - elapsedTime: payload.elapsedTime, - logUrl: payload.logUrl, - containerExitStatus: payload.containerExitStatus, - containerState: payload.containerState, - nodeHttpAddress: payload.nodeHttpAddress - } - }; - - return fixedPayload; - }, - - normalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - var p = this.internalNormalizeSingleResponse(store, - primaryModelClass, payload, id, requestType); - return { data: p }; - }, - - normalizeArrayResponse(store, primaryModelClass, payload, id, - requestType) { - // return expected is { data: [ {}, {} ] } - var normalizedArrayResponse = {}; - - if (payload && payload.container) { - // payload has apps : { app: [ {},{},{} ] } - // need some error handling for ex apps or app may not be defined. - normalizedArrayResponse.data = payload.container.map(singleContainer => { - return this.internalNormalizeSingleResponse(store, primaryModelClass, - singleContainer, singleContainer.id, requestType); - }, this); - return normalizedArrayResponse; - } - - normalizedArrayResponse.data = []; - return normalizedArrayResponse; - } -}); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node-app.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node-app.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node-app.js deleted file mode 100644 index 8b1f152..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node-app.js +++ /dev/null @@ -1,86 +0,0 @@ -/** - * 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. - */ -/** - * 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. - */ - -import DS from 'ember-data'; -import Ember from 'ember'; - -export default DS.JSONAPISerializer.extend({ - internalNormalizeSingleResponse(store, primaryModelClass, payload) { - if (payload.app) { - payload = payload.app; - } - - var fixedPayload = { - id: payload.id, - type: primaryModelClass.modelName, - attributes: { - appId: payload.id, - state: payload.state, - user: payload.user, - containers: payload.containerids - } - }; - return fixedPayload; - }, - - normalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - // payload is of the form {"app":{}} - var p = this.internalNormalizeSingleResponse(store, - primaryModelClass, payload); - return { data: p }; - }, - - normalizeArrayResponse(store, primaryModelClass, payload, id, - requestType) { - // expected return response is of the form { data: [ {}, {} ] } - var normalizedArrayResponse = {}; - // payload is of the form { "apps" : { "app": [ {},{},{} ] } } - if (payload.apps) { - normalizedArrayResponse.data = payload.apps.app.map(singleApp => { - return this.internalNormalizeSingleResponse(store, primaryModelClass, - singleApp); - }, this); - } else { - // No container reported inside containers. - // Response of the form { "apps": null } - normalizedArrayResponse.data = Ember.makeArray({ - id: "dummy", - type: primaryModelClass.modelName, - attributes: {}}); - } - return normalizedArrayResponse; - } -}); http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node-container.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node-container.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node-container.js deleted file mode 100644 index 528f2fe..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node-container.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * 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. - */ - -import DS from 'ember-data'; -import Ember from 'ember'; - -export default DS.JSONAPISerializer.extend({ - internalNormalizeSingleResponse(store, primaryModelClass, payload) { - if (payload.container) { - payload = payload.container; - } - var fixedPayload = { - id: payload.id, - type: primaryModelClass.modelName, - attributes: { - containerId: payload.id, - state: payload.state, - user: payload.user, - diagnostics: payload.diagnostics, - exitCode: payload.exitCode, - totalMemoryNeeded: payload.totalMemoryNeededMB, - totalVCoresNeeded: payload.totalVCoresNeeded, - containerLogFiles: payload.containerLogFiles - } - }; - - return fixedPayload; - }, - - normalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - // payload is of the form {"container":{}} - var p = this.internalNormalizeSingleResponse(store, - primaryModelClass, payload); - return { data: p }; - }, - - normalizeArrayResponse(store, primaryModelClass, payload, id, - requestType) { - // expected return response is of the form { data: [ {}, {} ] } - var normalizedArrayResponse = {}; - if (payload.containers) { - // payload is of the form { "containers" : { "container": [ {},{},{} ] } } - normalizedArrayResponse.data = - payload.containers.container.map(singleContainer => { - return this.internalNormalizeSingleResponse(store, primaryModelClass, - singleContainer); - }, this); - } else { - // No container reported inside containers. - // Response of the form { "containers": null } - normalizedArrayResponse.data = Ember.makeArray({ - id: "dummy", - type: primaryModelClass.modelName, - attributes: {}}); - } - return normalizedArrayResponse; - } -}); http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node.js deleted file mode 100644 index 19308e2..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-node.js +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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. - */ - -import DS from 'ember-data'; -import Converter from 'yarn-ui/utils/converter'; - -export default DS.JSONAPISerializer.extend({ - internalNormalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - if (payload.nodeInfo) { - payload = payload.nodeInfo; - } - - var fixedPayload = { - id: id, - type: primaryModelClass.modelName, - attributes: { - totalVmemAllocatedContainersMB: payload.totalVmemAllocatedContainersMB, - totalPmemAllocatedContainersMB: payload.totalPmemAllocatedContainersMB, - totalVCoresAllocatedContainers: payload.totalVCoresAllocatedContainers, - vmemCheckEnabled: payload.vmemCheckEnabled, - pmemCheckEnabled: payload.pmemCheckEnabled, - nodeHealthy: payload.nodeHealthy, - lastNodeUpdateTime: Converter.timeStampToDate(payload.lastNodeUpdateTime), - healthReport: payload.healthReport, - nmStartupTime: Converter.timeStampToDate(payload.nmStartupTime), - nodeManagerBuildVersion: payload.nodeManagerBuildVersion, - hadoopBuildVersion: payload.hadoopBuildVersion - } - }; - return fixedPayload; - }, - - normalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - // payload is of the form {"nodeInfo":{}} - var p = this.internalNormalizeSingleResponse(store, - primaryModelClass, payload, id, requestType); - return { data: p }; - }, -}); http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-queue.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-queue.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-queue.js deleted file mode 100644 index ce4d775..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-queue.js +++ /dev/null @@ -1,127 +0,0 @@ -import DS from 'ember-data'; - -export default DS.JSONAPISerializer.extend({ - - normalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - var children = []; - if (payload.queues) { - payload.queues.queue.forEach(function(queue) { - children.push(queue.queueName); - }); - } - - var includedData = []; - var relationshipUserData = []; - - // update user models - if (payload.users && payload.users.user) { - payload.users.user.forEach(function(u) { - includedData.push({ - type: "YarnUser", - id: u.username + "_" + payload.queueName, - attributes: { - name: u.username, - queueName: payload.queueName, - usedMemoryMB: u.resourcesUsed.memory || 0, - usedVCore: u.resourcesUsed.vCores || 0, - } - }); - - relationshipUserData.push({ - type: "YarnUser", - id: u.username + "_" + payload.queueName, - }) - }); - } - - - var fixedPayload = { - id: id, - type: primaryModelClass.modelName, // yarn-queue - attributes: { - name: payload.queueName, - parent: payload.myParent, - children: children, - capacity: payload.capacity, - usedCapacity: payload.usedCapacity, - maxCapacity: payload.maxCapacity, - absCapacity: payload.absoluteCapacity, - absMaxCapacity: payload.absoluteMaxCapacity, - absUsedCapacity: payload.absoluteUsedCapacity, - state: payload.state, - userLimit: payload.userLimit, - userLimitFactor: payload.userLimitFactor, - preemptionDisabled: payload.preemptionDisabled, - numPendingApplications: payload.numPendingApplications, - numActiveApplications: payload.numActiveApplications, - }, - // Relationships - relationships: { - users: { - data: relationshipUserData - } - } - }; - - return { - queue: this._super(store, primaryModelClass, fixedPayload, id, requestType), - includedData: includedData - } - }, - - handleQueue(store, primaryModelClass, payload, id, requestType) { - var data = []; - var includedData = [] - var result = this.normalizeSingleResponse(store, primaryModelClass, - payload, id, requestType); - - data.push(result.queue); - includedData = includedData.concat(result.includedData); - - if (payload.queues) { - for (var i = 0; i < payload.queues.queue.length; i++) { - var queue = payload.queues.queue[i]; - queue.myParent = payload.queueName; - var childResult = this.handleQueue(store, primaryModelClass, queue, - queue.queueName, - requestType); - - data = data.concat(childResult.data); - includedData = includedData.concat(childResult.includedData); - } - } - - return { - data: data, - includedData, includedData - } - }, - - normalizeArrayResponse(store, primaryModelClass, payload, id, - requestType) { - var normalizedArrayResponse = {}; - var result = this.handleQueue(store, - primaryModelClass, - payload.scheduler.schedulerInfo, "root", requestType); - - normalizedArrayResponse.data = result.data; - normalizedArrayResponse.included = result.includedData; - - console.log(normalizedArrayResponse); - - return normalizedArrayResponse; - - /* - // return expected is { data: [ {}, {} ] } - var normalizedArrayResponse = {}; - - // payload has apps : { app: [ {},{},{} ] } - // need some error handling for ex apps or app may not be defined. - normalizedArrayResponse.data = payload.apps.app.map(singleApp => { - return this.normalizeSingleResponse(store, primaryModelClass, singleApp, singleApp.id, requestType); - }, this); - return normalizedArrayResponse; - */ - } -}); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-rm-node.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-rm-node.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-rm-node.js deleted file mode 100644 index 6cb9320..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/serializers/yarn-rm-node.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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. - */ - -import Ember from 'ember'; -import DS from 'ember-data'; -import Converter from 'yarn-ui/utils/converter'; - -export default DS.JSONAPISerializer.extend({ - internalNormalizeSingleResponse(store, primaryModelClass, payload, id) { - if (payload.node) { - payload = payload.node; - } - - var fixedPayload = { - id: id, - type: primaryModelClass.modelName, - attributes: { - rack: payload.rack, - state: payload.state, - nodeHostName: payload.nodeHostName, - nodeHTTPAddress: payload.nodeHTTPAddress, - lastHealthUpdate: Converter.timeStampToDate(payload.lastHealthUpdate), - healthReport: payload.healthReport, - numContainers: payload.numContainers, - usedMemoryMB: payload.usedMemoryMB, - availMemoryMB: payload.availMemoryMB, - usedVirtualCores: payload.usedVirtualCores, - availableVirtualCores: payload.availableVirtualCores, - version: payload.version, - nodeLabels: payload.nodeLabels - } - }; - return fixedPayload; - }, - - normalizeSingleResponse(store, primaryModelClass, payload, id, - requestType) { - // payload is of the form {"nodeInfo":{}} - var p = this.internalNormalizeSingleResponse(store, - primaryModelClass, payload, id); - return { data: p }; - }, - - normalizeArrayResponse(store, primaryModelClass, payload, id, - requestType) { - // expected response is of the form { data: [ {}, {} ] } - var normalizedArrayResponse = {}; - if (payload.nodes) { - // payload is of the form { "nodes": { "node": [ {},{},{} ] } } - normalizedArrayResponse.data = payload.nodes.node.map(singleNode => { - return this.internalNormalizeSingleResponse(store, primaryModelClass, - singleNode, singleNode.id); - }, this); - } else { - normalizedArrayResponse.data = Ember.makeArray({ - id: "dummy", - type: primaryModelClass.modelName, - attributes: {}}); - } - return normalizedArrayResponse; - } -}); http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/styles/app.css ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/styles/app.css b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/styles/app.css deleted file mode 100644 index e1ff994..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/styles/app.css +++ /dev/null @@ -1,141 +0,0 @@ -/* - Over all style - */ -text { - font: 12px sans-serif; -} - -text.small { - font: 8px sans-serif; -} - -html, body -{ - margin: 0px; - padding: 0px; - height: 100%; - width: 100%; -} - -/* - queue's style (left banner of queues) - */ - -text.queue { - font-family : sans-serif; - font-size : 15px; - fill : gray; -} - -path.queue { - stroke: gray; - fill: none; -} - -circle.queue { - r: 10; - fill: Steelblue; -} - -/* - background style - */ -line.grid { - stroke: WhiteSmoke; -} - -line.chart { - stroke: Gray; -} - -/* - charts styles - */ -text.chart-title { - font-size: 30px; - font-family: sans-serif; - text-anchor: middle; - fill: Gray; -} - -text.donut-highlight-text { - font-size: 20px; - font-family: sans-serif; - text-anchor: middle; - fill: Gray; - vertical-align: middle; -} - -rect.chart-frame { - fill: none; - stroke: gray; - stroke-dasharray: 10,10; -} - -line.chart-leftbanner { - stroke-width: 2; - stroke: gray; - stroke-dasharray: 10,10; -} - -text.bar-chart-text { - font-size: 8px; - font-family: sans-serif; - vertical-align: middle; - fill: Gray;; -} - -div.tooltip { - position: absolute; - text-align: center; - /*height: 28px;*/ - padding: 2px; - font: 12px sans-serif; - background: lightsteelblue; - border: 0px; - border-radius: 8px; - pointer-events: none; -} - -/* - * Data table - */ - -table.dataTable thead .sorting { - background-image: url("/assets/images/datatables/sort_both.png"); -} -table.dataTable thead .sorting_asc { - background-image: url("/assets/images/datatables/sort_asc.png"); -} -table.dataTable thead .sorting_desc { - background-image: url("/assets/images/datatables/sort_desc.png"); -} -table.dataTable thead .sorting_asc_disabled { - background-image: url("/assets/images/datatables/sort_asc_disabled.png"); -} -table.dataTable thead .sorting_desc_disabled { - background-image: url("/assets/images/datatables/sort_desc_disabled.png"); -} - -/* - * Queue selector - */ -.node { - cursor: pointer; -} - -.node circle { - fill: #fff; - stroke: steelblue; - stroke-width: 3px; -} - -.node text { - font: 12px sans-serif; -} - -.link { - fill: none; - stroke: #ccc; - stroke-width: 2px; -} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/application.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/application.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/application.hbs deleted file mode 100644 index a9de203..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/application.hbs +++ /dev/null @@ -1,23 +0,0 @@ - - -{{outlet}} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/cluster-overview.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/cluster-overview.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/cluster-overview.hbs deleted file mode 100644 index 81c11e9..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/cluster-overview.hbs +++ /dev/null @@ -1,56 +0,0 @@ -
-
- {{donut-chart data=model.firstObject.getFinishedAppsDataForDonutChart - title="Finished Apps" - showLabels=true - parentId="finishedapps-donut-chart" - ratio=0.55 - maxHeight=350}} -
- -
- {{donut-chart data=model.firstObject.getRunningAppsDataForDonutChart - title="Running Apps" - showLabels=true - parentId="runningapps-donut-chart" - ratio=0.55 - maxHeight=350}} -
-
- -
- -
-
- {{donut-chart data=model.firstObject.getNodesDataForDonutChart - title="Node Managers" - showLabels=true - parentId="nodes-donut-chart" - ratio=0.55 - maxHeight=350}} -
-
- -
- -
-
- {{donut-chart data=model.firstObject.getMemoryDataForDonutChart - title="Resource - Memory" - showLabels=true - parentId="mem-donut-chart" - ratio=0.55 - maxHeight=350}} -
- -
- {{donut-chart data=model.firstObject.getVCoreDataForDonutChart - title="Resource - VCores" - showLabels=true - parentId="vcore-donut-chart" - ratio=0.6 - maxHeight=350}} -
-
- -{{outlet}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/.gitkeep ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/.gitkeep b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/.gitkeep deleted file mode 100644 index e69de29..0000000 http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/app-attempt-table.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/app-attempt-table.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/app-attempt-table.hbs deleted file mode 100644 index 633d363..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/app-attempt-table.hbs +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Application Attempt Id{{attempt.id}}
Start Time{{attempt.startTime}}
AM Container Id{{attempt.containerId}}
AM Node Web UI{{attempt.nodeHttpAddress}}
AM Node Id{{attempt.nodeId}}
Loglink
\ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/app-table.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/app-table.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/app-table.hbs deleted file mode 100644 index 92e9d05..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/app-table.hbs +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - {{#if arr}} - {{#each arr as |app|}} - - - - - - - - - - - - - - {{/each}} - {{else}} - - - - - - - - - - - - - - {{/if}} - -
Application IDNameUserQueueStateFinal StatusStart TimeElapsed Time Finished TimePriorityProgress
{{app.id}}{{app.appName}}{{app.user}}{{app.queue}}{{app.state}}{{app.finalStatus}}{{app.startTime}}{{app.elapsedTime}}{{app.finishedTime}}{{app.priority}} -
-
- {{app.progress}}% -
-
-
{{app.id}}{{app.appName}}{{app.user}}{{app.queue}}{{app.state}}{{app.finalStatus}}{{app.startTime}}{{app.elapsedTime}}{{app.finishedTime}}{{app.priority}} -
-
- {{app.progress}}% -
-
-
\ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/container-table.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/container-table.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/container-table.hbs deleted file mode 100644 index 70d3fc4..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/container-table.hbs +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Start Time{{container.startedTime}}
Finished Time{{container.finishedTime}}
Elapsed Time{{container.elapsedTime}}
Priority{{container.priority}}
Loglink
Exit Status{{container.containerExitStatus}}
State{{container.containerState}}
NodeManager UI{{container.nodeHttpAddress}}
\ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/queue-configuration-table.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/queue-configuration-table.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/queue-configuration-table.hbs deleted file mode 100644 index fb9f1a0..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/queue-configuration-table.hbs +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - {{#if queue.isLeafQueue}} - - - - - - - - - - - - - {{/if}} - -
ConfigurationsValue
Queue Name{{queue.id}}
Configured Capacity{{queue.capacity}}
Configured Max Capacity{{queue.maxCapacity}}
State{{queue.state}}
User Limit Percent{{queue.userLimit}}
User Limit Factor{{queue.userLimitFactor}}
Preemption Disabled{{queue.preemptionDisabled}}
\ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/queue-navigator.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/queue-navigator.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/queue-navigator.hbs deleted file mode 100644 index 4ef22902..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/queue-navigator.hbs +++ /dev/null @@ -1,18 +0,0 @@ -
-
- -
-
- - -
-
- {{tree-selector model=model parentId="tree-selector-container" selected=selected}} -
-
- -
- -{{outlet}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/timeline-view.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/timeline-view.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/timeline-view.hbs deleted file mode 100644 index 657f6e8..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/components/timeline-view.hbs +++ /dev/null @@ -1,35 +0,0 @@ -
-
-
- {{#if attemptModel}} - Application Attempts - {{else}} - Containers - {{/if}} -
-
-
-
- - -
-
-
- {{#if selected.link}} - {{selected.id}} - {{else}} - {{selected.id}} - {{/if}} -
- {{#if attemptModel}} - {{app-attempt-table attempt=selected}} - {{else}} - {{container-table container=selected}} - {{/if}} -
-
-
-
-
- -{{outlet}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/error.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/error.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/error.hbs deleted file mode 100644 index c546bf7..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/error.hbs +++ /dev/null @@ -1,19 +0,0 @@ -{{!-- - 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. ---}} - -

Sorry, Error Occured.

http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/notfound.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/notfound.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/notfound.hbs deleted file mode 100644 index 588ea44..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/notfound.hbs +++ /dev/null @@ -1,20 +0,0 @@ -{{!-- - 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. ---}} - -

404, Not Found

-

Please Check your URL

http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-app-attempt.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-app-attempt.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-app-attempt.hbs deleted file mode 100644 index afcfa4f..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-app-attempt.hbs +++ /dev/null @@ -1,12 +0,0 @@ -
-
- {{app-attempt-table attempt=model.attempt}} -
- - -
- {{timeline-view parent-id="containers-timeline-div" my-id="timeline-view" height="400" rmModel=model.rmContainers tsModel=model.tsContainers label="shortAppAttemptId" attemptModel=false}} -
-
- -{{outlet}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-app.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-app.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-app.hbs deleted file mode 100644 index 0ba6749..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-app.hbs +++ /dev/null @@ -1,145 +0,0 @@ -
- -
-
-
-
- Application Basic Information -
- {{app-table table-id="app-table" app=model.app}} -
-
-
- - -
- -
- {{#if model.app.isFailed}} -
-
- Diagnostics -
-
{{model.app.diagnostics}}
-
- {{else}} -
-
- Diagnostics -
- -
- {{/if}} -
- -
-
-
Scheduling Info
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Allocated Resource{{model.app.allocatedResource}}
Running Containers{{model.app.runningContainers}}
Preempted Resource{{model.app.preemptedResource}}
Num Non-AM container preempted{{model.app.numAMContainerPreempted}}
Num AM container preempted{{model.app.numAMContainerPreempted}}
Aggregated Resource Usage{{model.app.aggregatedResourceUsage}}
-
-
- - -
-
-
Other Info
- - - - - - - - - - - - - - - - - - - - - - - -
AM Container LogLink
AM Host Http AddrLink
Log Aggregation Status{{model.app.logAggregationStatus}}
Is Unmanaged AM{{model.app.unmanagedApplication}}
AM Node Label Expression{{model.app.amNodeLabelExpression}}
-
-
-
- - - -
- {{timeline-view parent-id="attempt-timeline-div" my-id="timeline-view" height="100%" rmModel=model.attempts label="shortAppAttemptId" attemptModel=true}} -
-
- - - - -{{outlet}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-apps.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-apps.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-apps.hbs deleted file mode 100644 index 3a79080..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-apps.hbs +++ /dev/null @@ -1,3 +0,0 @@ -{{app-table table-id="apps-table" arr=model}} -{{simple-table table-id="apps-table" bFilter=true colsOrder="0,desc" colTypes="natural elapsed-time" colTargets="0 7"}} -{{outlet}} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-container-log.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-container-log.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-container-log.hbs deleted file mode 100644 index 9cc3b0f..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-container-log.hbs +++ /dev/null @@ -1,36 +0,0 @@ -{{!-- - 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. ---}} - -
- {{node-menu path="yarnContainerLog" nodeAddr=model.nodeInfo.addr nodeId=model.nodeInfo.id}} -
-
-
-
{{model.containerLog.logFileName}} for {{model.containerLog.containerID}}
-
-
- {{#if model.containerLog.logs}} -
{{model.containerLog.logs}}
- {{else}} -

No logs were written in {{model.containerLog.logFileName}}.

- {{/if}} -
-
-
-
-{{outlet}} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-app.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-app.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-app.hbs deleted file mode 100644 index 4da64b8..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-app.hbs +++ /dev/null @@ -1,60 +0,0 @@ -{{!-- - 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. ---}} - -
-
- {{node-menu path="yarnNodeApp" nodeAddr=model.nodeInfo.addr nodeId=model.nodeInfo.id}} -
-
-
Application Information
- - - - - - - - - - - - - - - -
Application ID{{model.nodeApp.appId}}
Application State{{model.nodeApp.state}}
User{{model.nodeApp.user}}
-
- - - - - - - - {{#each model.nodeApp.containers as |container|}} - - - - {{/each}} - -
Containers for {{model.nodeApp.appId}}
{{container}}
- {{simple-table table-id="node-app-table" bFilter=true colsOrder="0,desc" colTypes="natural" colTargets="0"}} -
-
-
-{{outlet}} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-apps.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-apps.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-apps.hbs deleted file mode 100644 index c195397..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-apps.hbs +++ /dev/null @@ -1,51 +0,0 @@ -{{!-- - 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. ---}} - -
-
- {{node-menu path="yarnNodeApps" nodeAddr=model.nodeInfo.addr nodeId=model.nodeInfo.id}} -
- - - - - - - - - - {{#if model.apps}} - {{#each model.apps as |app|}} - {{#if app.isDummyApp}} - - {{else}} - - - - - - {{/if}} - {{/each}} - {{/if}} - -
Application IDStateUser
No apps found on this node
{{app.appId}}{{app.state}}{{app.user}}
- {{simple-table table-id="node-apps-table" bFilter=true colsOrder="0,desc" colTypes="natural" colTargets="0"}} -
-
-
-{{outlet}} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-container.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-container.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-container.hbs deleted file mode 100644 index fbbb2fc..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-container.hbs +++ /dev/null @@ -1,70 +0,0 @@ -{{!-- - 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. ---}} - -
-
- {{node-menu path="yarnNodeContainer" nodeAddr=model.nodeInfo.addr nodeId=model.nodeInfo.id}} -
-
-
Container Information
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Container ID{{model.nodeContainer.containerId}}
Container State{{model.nodeContainer.state}}
Exit Code{{model.nodeContainer.exitCode}}
Diagnostics{{model.nodeContainer.diagnostics}}
User{{model.nodeContainer.user}}
Total Memory Needed{{model.nodeContainer.totalMemoryNeeded}} MB
Total VCores Needed{{model.nodeContainer.totalVCoresNeeded}}
Link to Logs - {{log-files-comma nodeId=model.nodeInfo.id - nodeAddr=model.nodeInfo.addr - containerId=model.nodeContainer.containerId - logFiles=model.nodeContainer.containerLogFiles}} -
-
-
-
-
-{{outlet}} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-containers.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-containers.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-containers.hbs deleted file mode 100644 index ca80ccd..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node-containers.hbs +++ /dev/null @@ -1,58 +0,0 @@ -{{!-- - 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. ---}} - -
-
- {{node-menu path="yarnNodeContainers" nodeAddr=model.nodeInfo.addr nodeId=model.nodeInfo.id}} -
- - - - - - - - - - - {{#if model.containers}} - {{#each model.containers as |container|}} - {{#if container.isDummyContainer}} - - {{else}} - - - - - - - {{/if}} - {{/each}} - {{/if}} - -
Container IDContainer StateUserLogs
No containers found on this node
{{container.containerId}}{{container.state}}{{container.user}} - {{log-files-comma nodeId=model.nodeInfo.id - nodeAddr=model.nodeInfo.addr - containerId=container.containerId - logFiles=container.containerLogFiles}} -
- {{simple-table table-id="node-containers-table" bFilter=true colsOrder="0,desc" colTypes="natural" colTargets="0"}} -
-
-
-{{outlet}} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node.hbs deleted file mode 100644 index a036076..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-node.hbs +++ /dev/null @@ -1,94 +0,0 @@ -{{!-- - 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. ---}} - -
-
- {{node-menu path="yarnNode" nodeId=model.rmNode.id nodeAddr=model.node.id}} -
-
-
Node Information
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Total Vmem allocated for Containers{{divide num=model.node.totalVmemAllocatedContainersMB den=1024}} GB
Vmem enforcement enabled{{model.node.vmemCheckEnabled}}
Total Pmem allocated for Containers{{divide num=model.node.totalPmemAllocatedContainersMB den=1024}} GB
Pmem enforcement enabled{{model.node.pmemCheckEnabled}}
Total VCores allocated for Containers{{model.node.totalVCoresAllocatedContainers}}
Node Healthy Status{{model.node.nodeHealthy}}
Last Node Health Report Time{{model.node.lastNodeUpdateTime}}
Node Health Report{{model.node.healthReport}}
Node Manager Start Time{{model.node.nmStartupTime}}
Node Manager Version{{model.node.nodeManagerBuildVersion}}
Hadoop Version{{model.node.hadoopBuildVersion}}
-
-
- {{donut-chart data=model.rmNode.getMemoryDataForDonutChart - title="Resource - Memory (in MB)" - showLabels=true - parentId="mem-donut-chart" - ratio=0.55 - maxHeight=350}} -
- -
- {{donut-chart data=model.rmNode.getVCoreDataForDonutChart - title="Resource - VCores" - showLabels=true - parentId="vcore-donut-chart" - ratio=0.55 - maxHeight=350}} -
-
-
-
-{{outlet}} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-nodes.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-nodes.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-nodes.hbs deleted file mode 100644 index bf2a098..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-nodes.hbs +++ /dev/null @@ -1,65 +0,0 @@ -{{!-- - 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 model}} - {{#each model as |node|}} - {{#if node.isDummyNode}} - - {{else}} - - - - - - {{node-link nodeId=node.id nodeHTTPAddress=node.nodeHTTPAddress nodeState=node.state}} - - - - - - - - - - {{/if}} - {{/each}} - {{/if}} - -
Node LabelsRackNode StateNode AddressNode HTTP AddressLast Health UpdateHealth-ReportContainersMem UsedMem AvailVCores UsedVCores AvailVersion
No nodes found on this cluster
{{node.nodeLabelsAsString}}{{node.rack}}{{node.state}}{{node.id}}{{node.lastHealthUpdate}}{{node.healthReport}}{{node.numContainers}}{{divide num=node.usedMemoryMB den=1024}} GB{{divide num=node.availMemoryMB den=1024}} GB{{node.usedVirtualCores}}{{node.availableVirtualCores}}{{node.version}}
- -{{simple-table table-id="nodes-table" bFilter=true}} -{{outlet}} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-queue.hbs ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-queue.hbs b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-queue.hbs deleted file mode 100644 index 11bb6f4..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/templates/yarn-queue.hbs +++ /dev/null @@ -1,48 +0,0 @@ -
- {{queue-navigator model=model.queues selected=model.selected}} -
- -
-
- {{queue-configuration-table queue=model.selectedQueue}} -
- -
- {{bar-chart data=model.selectedQueue.capacitiesBarChartData - title="Queue Capacities" - parentId="capacity-bar-chart" - textWidth=150 - ratio=0.5 - maxHeight=350}} -
- -{{#if model.selectedQueue.hasUserUsages}} -
- {{donut-chart data=model.selectedQueue.userUsagesDonutChartData - title="User Usages" - showLabels=true - parentId="userusage-donut-chart" - maxHeight=350}} -
-{{/if}} - -
- {{donut-chart data=model.selectedQueue.numOfApplicationsDonutChartData - title="Running Apps" - showLabels=true - parentId="numapplications-donut-chart" - ratio=0.5 - maxHeight=350}} -
-
- -
- -
-
- {{app-table table-id="apps-table" arr=model.apps}} - {{simple-table table-id="apps-table" bFilter=true colTypes="elapsed-time" colTargets="7"}} -
-
- -{{outlet}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/utils/converter.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/utils/converter.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/utils/converter.js deleted file mode 100644 index 0f49a58..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/utils/converter.js +++ /dev/null @@ -1,91 +0,0 @@ -import Constants from 'yarn-ui/constants'; - -export default { - containerIdToAttemptId: function(containerId) { - if (containerId) { - var arr = containerId.split('_'); - var attemptId = ["appattempt", arr[1], - arr[2], this.padding(arr[3], 6)]; - return attemptId.join('_'); - } - }, - attemptIdToAppId: function(attemptId) { - if (attemptId) { - var arr = attemptId.split('_'); - var appId = ["application", arr[1], - arr[2]].join('_'); - return appId; - } - }, - padding: function(str, toLen=2) { - str = str.toString(); - if (str.length >= toLen) { - return str; - } - return '0'.repeat(toLen - str.length) + str; - }, - resourceToString: function(mem, cpu) { - mem = Math.max(0, mem); - cpu = Math.max(0, cpu); - return mem + " MBs, " + cpu + " VCores"; - }, - msToElapsedTime: function(timeInMs) { - var sec_num = timeInMs / 1000; // don't forget the second param - var hours = Math.floor(sec_num / 3600); - var minutes = Math.floor((sec_num - (hours * 3600)) / 60); - var seconds = sec_num - (hours * 3600) - (minutes * 60); - - var timeStrArr = []; - - if (hours > 0) { - timeStrArr.push(hours + ' Hrs'); - } - if (minutes > 0) { - timeStrArr.push(minutes + ' Mins'); - } - if (seconds > 0) { - timeStrArr.push(Math.round(seconds) + " Secs"); - } - return timeStrArr.join(' : '); - }, - elapsedTimeToMs: function(elapsedTime) { - elapsedTime = elapsedTime.toLowerCase(); - var arr = elapsedTime.split(' : '); - var total = 0; - for (var i = 0; i < arr.length; i++) { - if (arr[i].indexOf('hr') > 0) { - total += parseInt(arr[i].substring(0, arr[i].indexOf(' '))) * 3600; - } else if (arr[i].indexOf('min') > 0) { - total += parseInt(arr[i].substring(0, arr[i].indexOf(' '))) * 60; - } else if (arr[i].indexOf('sec') > 0) { - total += parseInt(arr[i].substring(0, arr[i].indexOf(' '))); - } - } - return total * 1000; - }, - timeStampToDate: function(timeStamp) { - var dateTimeString = moment(parseInt(timeStamp)).format("YYYY/MM/DD HH:mm:ss"); - return dateTimeString; - }, - dateToTimeStamp: function(date) { - if (date) { - var ts = moment(date, "YYYY/MM/DD HH:mm:ss").valueOf(); - return ts; - } - }, - splitForContainerLogs: function(id) { - if (id) { - var splits = id.split(Constants.PARAM_SEPARATOR); - var splitLen = splits.length; - if (splitLen < 3) { - return null; - } - var fileName = splits[2]; - var index; - for (index = 3; index < splitLen; index++) { - fileName = fileName + Constants.PARAM_SEPARATOR + splits[index]; - } - return [splits[0], splits[1], fileName]; - } - }, -}; http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/utils/sorter.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/utils/sorter.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/utils/sorter.js deleted file mode 100644 index a9a5f7f..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/app/utils/sorter.js +++ /dev/null @@ -1,55 +0,0 @@ -import Converter from 'yarn-ui/utils/converter'; -import Ember from 'ember'; - -export default { - _initElapsedTimeSorter: function() { - Ember.$.extend(Ember.$.fn.dataTableExt.oSort, { - "elapsed-time-pre": function (a) { - return Converter.padding(Converter.elapsedTimeToMs(a), 20); - }, - }); - }, - - _initNaturalSorter: function() { - Ember.$.extend(Ember.$.fn.dataTableExt.oSort, { - "natural-asc": function (a, b) { - return naturalSort(a,b); - }, - "natural-desc": function (a, b) { - return naturalSort(a,b) * -1; - }, - }); - }, - - initDataTableSorter: function() { - this._initElapsedTimeSorter(); - this._initNaturalSorter(); - }, -}; - -/** - * Natural sort implementation. - * Typically used to sort application Ids'. - */ -function naturalSort(a, b) { - var diff = a.length - b.length; - if (diff != 0) { - var splitA = a.split("_"); - var splitB = b.split("_"); - if (splitA.length != splitB.length) { - return a.localeCompare(b); - } - for (var i = 1; i < splitA.length; i++) { - var splitdiff = splitA[i].length - splitB[i].length; - if (splitdiff != 0) { - return splitdiff; - } - var splitCompare = splitA[i].localeCompare(splitB[i]); - if (splitCompare != 0) { - return splitCompare; - } - } - return diff; - } - return a.localeCompare(b); -} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/bower.json ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/bower.json b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/bower.json deleted file mode 100644 index de66650..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/bower.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "yarn-ui", - "dependencies": { - "ember": "2.0.1", - "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.4", - "ember-cli-test-loader": "ember-cli-test-loader#0.1.3", - "ember-data": "2.0.0", - "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.6", - "ember-qunit": "0.4.9", - "ember-qunit-notifications": "0.0.7", - "ember-resolver": "~0.1.18", - "jquery": "1.11.3", - "loader.js": "ember-cli/loader.js#3.2.1", - "qunit": "~1.18.0", - "bootstrap": "~3.3.2", - "d3": "~3.5.6", - "datatables": "~1.10.8", - "spin.js": "~2.3.2", - "momentjs": "~2.10.6", - "select2": "4.0.0" - } -} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/config/environment.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/config/environment.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/config/environment.js deleted file mode 100644 index bb4f8d2..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/config/environment.js +++ /dev/null @@ -1,46 +0,0 @@ -/* jshint node: true */ - -module.exports = function(environment) { - var ENV = { - modulePrefix: 'yarn-ui', - environment: environment, - baseURL: '/', - locationType: 'auto', - EmberENV: { - FEATURES: { - // Here you can enable experimental features on an ember canary build - // e.g. 'with-controller': true - } - }, - APP: { - // Here you can pass flags/options to your application instance - // when it is created - } - }; - - if (environment === 'development') { - // ENV.APP.LOG_RESOLVER = true; - // ENV.APP.LOG_ACTIVE_GENERATION = true; - // ENV.APP.LOG_TRANSITIONS = true; - // ENV.APP.LOG_TRANSITIONS_INTERNAL = true; - // ENV.APP.LOG_VIEW_LOOKUPS = true; - } - - if (environment === 'test') { - // Testem prefers this... - ENV.baseURL = '/'; - ENV.locationType = 'none'; - - // keep test console output quieter - ENV.APP.LOG_ACTIVE_GENERATION = false; - ENV.APP.LOG_VIEW_LOOKUPS = false; - - ENV.APP.rootElement = '#ember-testing'; - } - - if (environment === 'production') { - - } - - return ENV; -}; http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/ember-cli-build.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/ember-cli-build.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/ember-cli-build.js deleted file mode 100644 index 2fa2032..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/ember-cli-build.js +++ /dev/null @@ -1,29 +0,0 @@ -/* global require, module */ -var EmberApp = require('ember-cli/lib/broccoli/ember-app'); - -module.exports = function(defaults) { - var app = new EmberApp(defaults, { - // Add options here - }); - - app.import("bower_components/datatables/media/css/jquery.dataTables.min.css"); - app.import("bower_components/datatables/media/js/jquery.dataTables.min.js"); - app.import("bower_components/momentjs/min/moment.min.js"); - app.import("bower_components/select2/dist/css/select2.min.css"); - app.import("bower_components/select2/dist/js/select2.min.js"); - - // Use `app.import` to add additional libraries to the generated - // output files. - // - // If you need to use different assets in different - // environments, specify an object as the first parameter. That - // object's keys should be the environment name and the values - // should be the asset to use in that environment. - // - // If the library that you are including contains AMD or ES6 - // modules that you would like to import into your application - // please specify an object with the list of modules as keys - // along with the exports of each module as its value. - - return app.toTree(); -}; http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/jsconfig.json ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/jsconfig.json b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/jsconfig.json deleted file mode 100644 index 875bb90..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/jsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compilerOptions": { - "target": "ES6", - "module": "commonjs" - } -} http://git-wip-us.apache.org/repos/asf/hadoop/blob/4bf84af8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/package.json ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/package.json b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/package.json deleted file mode 100644 index 5500dcf..0000000 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "yarn-ui", - "version": "0.0.0", - "description": "Small description for yarn-ui goes here", - "private": true, - "directories": { - "doc": "doc", - "test": "tests" - }, - "scripts": { - "build": "ember build", - "start": "ember server", - "test": "ember test" - }, - "repository": "", - "engines": { - "node": ">= 0.10.0" - }, - "author": "", - "license": "MIT", - "devDependencies": { - "broccoli-asset-rev": "^2.1.2", - "ember-bootstrap": "0.2.0", - "ember-cli": "1.13.8", - "ember-cli-app-version": "0.5.0", - "ember-cli-babel": "^5.1.3", - "ember-cli-content-security-policy": "0.4.0", - "ember-cli-dependency-checker": "^1.0.1", - "ember-cli-htmlbars": "0.7.9", - "ember-cli-htmlbars-inline-precompile": "^0.2.0", - "ember-cli-ic-ajax": "0.2.1", - "ember-cli-inject-live-reload": "^1.3.1", - "ember-cli-qunit": "^1.0.0", - "ember-cli-release": "0.2.3", - "ember-cli-sri": "^1.0.3", - "ember-cli-uglify": "^1.2.0", - "ember-d3": "0.1.0", - "ember-data": "1.13.8", - "ember-disable-proxy-controllers": "^1.0.0", - "ember-export-application-global": "^1.0.3", - "ember-spin-spinner": "0.2.3", - "select2": "4.0.0" - } -}