You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2014/12/26 14:24:24 UTC
[1/7] ambari git commit: AMBARI-8921 Remove support for MapReduce as
part of 1.3 stack. (ababiichuk)
Repository: ambari
Updated Branches:
refs/heads/trunk 942ad74ea -> bd3a0bb72
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/views/main/dashboard/widgets/jobtracker_uptime_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/views/main/dashboard/widgets/jobtracker_uptime_test.js b/ambari-web/test/views/main/dashboard/widgets/jobtracker_uptime_test.js
deleted file mode 100644
index 820c653..0000000
--- a/ambari-web/test/views/main/dashboard/widgets/jobtracker_uptime_test.js
+++ /dev/null
@@ -1,95 +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.
- */
-
-var App = require('app');
-
-require('messages');
-require('views/main/dashboard/widgets/jobtracker_uptime');
-require('views/main/dashboard/widgets/text_widget');
-require('views/main/dashboard/widget');
-
-describe('App.JobTrackerUptimeView', function() {
-
- var tests = [
- {
- model: Em.Object.create({
- jobTrackerStartTime: ((new Date()).getTime() - 192.1*24*3600*1000)
- }),
- e: {
- isRed: false,
- isOrange: false,
- isGreen: true,
- isNA: false,
- content: '192.1 d',
- data: 192.1
- }
- },
- {
- model: Em.Object.create({
- jobTrackerStartTime: 0
- }),
- e: {
- isRed: false,
- isOrange: false,
- isGreen: false,
- isNA: true,
- content: Em.I18n.t('services.service.summary.notAvailable'),
- data: null
- }
- },
- {
- model: Em.Object.create({
- jobTrackerStartTime: null
- }),
- e: {
- isRed: false,
- isOrange: false,
- isGreen: false,
- isNA: true,
- content: Em.I18n.t('services.service.summary.notAvailable'),
- data: null
- }
- }
- ];
-
- tests.forEach(function(test) {
- describe('jobTrackerStartTime - ' + test.model.jobTrackerStartTime, function() {
- var jobTrackerUptimeView = App.JobTrackerUptimeView.create({model_type:null, model: test.model});
- jobTrackerUptimeView.calc();
- it('content', function() {
- expect(jobTrackerUptimeView.get('content')).to.equal(test.e.content);
- });
- it('data', function() {
- expect(jobTrackerUptimeView.get('data')).to.equal(test.e.data);
- });
- it('isRed', function() {
- expect(jobTrackerUptimeView.get('isRed')).to.equal(test.e.isRed);
- });
- it('isOrange', function() {
- expect(jobTrackerUptimeView.get('isOrange')).to.equal(test.e.isOrange);
- });
- it('isGreen', function() {
- expect(jobTrackerUptimeView.get('isGreen')).to.equal(test.e.isGreen);
- });
- it('isNA', function() {
- expect(jobTrackerUptimeView.get('isNA')).to.equal(test.e.isNA);
- });
- });
- });
-
-});
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/views/main/dashboard/widgets/tasktracker_live_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/views/main/dashboard/widgets/tasktracker_live_test.js b/ambari-web/test/views/main/dashboard/widgets/tasktracker_live_test.js
deleted file mode 100644
index 50d0123..0000000
--- a/ambari-web/test/views/main/dashboard/widgets/tasktracker_live_test.js
+++ /dev/null
@@ -1,69 +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.
- */
-
-var App = require('app');
-
-require('views/main/dashboard/widget');
-require('views/main/dashboard/widgets/text_widget');
-require('views/main/dashboard/widgets/tasktracker_live');
-
-describe('App.TaskTrackerUpView', function() {
-
- var tests = [
- {
- data: 100,
- e: {
- isRed: false,
- isOrange: false,
- isGreen: true
- }
- },
- {
- data: 0,
- e: {
- isRed: true,
- isOrange: false,
- isGreen: false
- }
- },
- {
- data: 50,
- e: {
- isRed: false,
- isOrange: true,
- isGreen: false
- }
- }
- ];
-
- tests.forEach(function(test) {
- describe('', function() {
- var taskTrackerUpView = App.TaskTrackerUpView.create({model_type:null, data: test.data, content: test.data.toString()});
- it('isRed', function() {
- expect(taskTrackerUpView.get('isRed')).to.equal(test.e.isRed);
- });
- it('isOrange', function() {
- expect(taskTrackerUpView.get('isOrange')).to.equal(test.e.isOrange);
- });
- it('isGreen', function() {
- expect(taskTrackerUpView.get('isGreen')).to.equal(test.e.isGreen);
- });
- });
- });
-
-});
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/views/main/dashboard/widgets_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/views/main/dashboard/widgets_test.js b/ambari-web/test/views/main/dashboard/widgets_test.js
index 8a2023c..19050c6 100644
--- a/ambari-web/test/views/main/dashboard/widgets_test.js
+++ b/ambari-web/test/views/main/dashboard/widgets_test.js
@@ -31,21 +31,19 @@ describe('App.MainDashboardWidgetsView', function () {
describe('#setInitPrefObject', function () {
var host_metrics_widgets_count = 4;
var hdfs_widgets_count = 7;
- var mapreduce_widgets_count = 7;
var hbase_widgets_count = 4;
var yarn_widgets_count = 4;
- var total_widgets_count = 27;
+ var total_widgets_count = 20;
var tests = Em.A([
{
models: {
host_metrics_model: null,
hdfs_model: null,
- mapreduce_model: null,
hbase_model: null,
yarn_model: null
},
e: {
- visibleL: total_widgets_count - host_metrics_widgets_count - hdfs_widgets_count - mapreduce_widgets_count - hbase_widgets_count - yarn_widgets_count - 1,
+ visibleL: total_widgets_count - host_metrics_widgets_count - hdfs_widgets_count - hbase_widgets_count - yarn_widgets_count - 1,
hiddenL: 0
},
m: 'All models are null'
@@ -54,35 +52,32 @@ describe('App.MainDashboardWidgetsView', function () {
models: {
host_metrics_model: {},
hdfs_model: null,
- mapreduce_model: null,
hbase_model: null,
yarn_model: null
},
e: {
- visibleL: total_widgets_count - hdfs_widgets_count - mapreduce_widgets_count - hbase_widgets_count - yarn_widgets_count - 1,
+ visibleL: total_widgets_count - hdfs_widgets_count - hbase_widgets_count - yarn_widgets_count - 1,
hiddenL: 0
},
- m: 'hdfs_model, mapreduce_model, hbase_model, yarn_model are null'
+ m: 'hdfs_model, hbase_model, yarn_model are null'
},
{
models: {
host_metrics_model: {},
hdfs_model: {},
- mapreduce_model: null,
hbase_model: null,
yarn_model: null
},
e: {
- visibleL: total_widgets_count - mapreduce_widgets_count - hbase_widgets_count - yarn_widgets_count - 1,
+ visibleL: total_widgets_count - hbase_widgets_count - yarn_widgets_count - 1,
hiddenL: 0
},
- m: 'mapreduce_model, hbase_model, yarn_model are null'
+ m: 'hbase_model, yarn_model are null'
},
{
models: {
host_metrics_model: {},
hdfs_model: {},
- mapreduce_model: {},
hbase_model: null,
yarn_model: null
},
@@ -96,7 +91,6 @@ describe('App.MainDashboardWidgetsView', function () {
models: {
host_metrics_model: {},
hdfs_model: {},
- mapreduce_model: {},
hbase_model: {},
yarn_model: null
},
@@ -110,7 +104,6 @@ describe('App.MainDashboardWidgetsView', function () {
models: {
host_metrics_model: {},
hdfs_model: {},
- mapreduce_model: {},
hbase_model: {},
yarn_model: {}
},
@@ -125,7 +118,6 @@ describe('App.MainDashboardWidgetsView', function () {
it(test.m, function () {
view.set('host_metrics_model', test.models.host_metrics_model);
view.set('hdfs_model', test.models.hdfs_model);
- view.set('mapreduce_model', test.models.mapreduce_model);
view.set('hbase_model', test.models.hbase_model);
view.set('yarn_model', test.models.yarn_model);
view.setInitPrefObject();
[5/7] ambari git commit: AMBARI-8921 Remove support for MapReduce as
part of 1.3 stack. (ababiichuk)
Posted by ab...@apache.org.
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/jobs/hive-query-2.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/jobs/hive-query-2.json b/ambari-web/app/assets/data/jobs/hive-query-2.json
deleted file mode 100644
index e513818..0000000
--- a/ambari-web/app/assets/data/jobs/hive-query-2.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "starttime": 1394569191001,
- "otherinfo": {
- "query": "{\"queryText\":\"select c_last_name, c_first_name, ca_city, bought_city,\\n ss_ticket_number, amt, profit\\n from (select ss_ticket_number,\\n ss_customer_sk,\\n ca_city as bought_city,\\n sum(ss_coupon_amt) as amt,\\n sum(ss_net_profit) as profit\\n from store_sales, date_dim, store, household_demographics, customer_address\\n where store_sales.ss_sold_date_sk = date_dim.d_date_sk\\n and store_sales.ss_store_sk = store.s_store_sk\\n and store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk\\n and store_sales.ss_addr_sk = customer_address.ca_address_sk\\n and (househo
ld_demographics.hd_dep_count = 4\\n or household_demographics.hd_vehicle_count= 3)\\n and date_dim.d_dow in (6,0)\\n and date_dim.d_year in (1999, 1999+1, 1999+2)\\n and store.s_city in ('Fairview', 'Fairview', 'Fairview', 'Midway', 'Fairview')\\n group by ss_ticket_number, ss_customer_sk, ss_addr_sk, ca_city) dn,\\n customer, customer_address current_addr\\n where dn.ss_customer_sk = customer.c_customer_sk\\n and customer.c_current_addr_sk = current_addr.ca_address_sk\\n and current_addr.ca_city <> dn.bought_city\\n order by c_last_name, c_first_name, ca_city, bought_city, ss_ticket_number\\n limit 100\",\"queryPlan\":{\"STAGE PLANS\":{\"Stage-1\":{\"Tez\":{\"
DagName:\":\"hrt_qa_20140311131919_1d932567-71c2-4341-9b50-6df1f58a9114:1\",\"Vertices:\":{\"Reducer 3\":{\"Reduce Operator Tree:\":{\"Group By Operator\":{\"mode:\":\"mergepartial\",\"aggregations:\":[\"sum(VALUE._col0)\",\"sum(VALUE._col1)\"],\"keys:\":\"KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int), KEY._col3 (type: string)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\"],\"children\":{\"Select Operator\":{\"expressions:\":\"_col0 (type: int), _col1 (type: int), _col3 (type: string), _col4 (type: decimal(17,2)), _col5 (type: decimal(17,2))\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col1 (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"_col0 (type: int), _col1 (type: int), _col2 (type: string), _col3 (type: decimal(17,2)), _col4 (type: decimal(17,2))\",\"Statistics:\":\"Num rows: 16473 Data size: 21
775806 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col1 (type: int)\"}},\"Statistics:\":\"Num rows: 16473 Data size: 21775806 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 16473 Data size: 21775806 Basic stats: COMPLETE Column stats: NONE\"}}},\"Map 1\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"filterExpr:\":\"((hd_dep_count = 4) or (hd_vehicle_count = 3)) (type: boolean)\",\"alias:\":\"household_demographics\",\"children\":{\"Filter Operator\":{\"predicate:\":\"((hd_dep_count = 4) or (hd_vehicle_count = 3)) (type: boolean)\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"hd_demo_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"hd_demo_sk (type: int), hd_dep_count (type: int), hd_vehicle_count (type: int)\",\"Statistics:\":\"Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"hd_demo_sk (type: int)\"}},\"St
atistics:\":\"Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 2\":{\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"store_sales\",\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"d_date_sk (type: int)\",\"0\":\"ss_sold_date_sk (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col3\",\"_col5\",\"_col6\",\"_col8\",\"_col18\",\"_col21\",\"_col22\",\"_col25\",\"_col31\",\"_col32\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"UDFToDouble(s_store_sk) (type: double)\",\"0\":\"UDFToDouble(_col22) (type: double)\"},\"outputColumnNames:\":[\"_col0\",\"_col3\",\"_col5\",\"_col6\",\"_col8\",\"_col18\",\"_col21\",\"_col22\",\"_col25\",\"_col31\",\"_col32\",\"_col55\",\"_col77\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"hd_demo_sk (type: int)\",\"0\":\"_col5 (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col22\",\"_col31
\",\"_col34\",\"_col36\",\"_col37\",\"_col39\",\"_col49\",\"_col52\",\"_col53\",\"_col56\",\"_col62\",\"_col63\",\"_col86\",\"_col89\",\"_col90\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ca_address_sk (type: int)\",\"0\":\"_col37 (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col3\",\"_col4\",\"_col7\",\"_col29\",\"_col38\",\"_col41\",\"_col43\",\"_col44\",\"_col46\",\"_col56\",\"_col59\",\"_col60\",\"_col63\",\"_col69\",\"_col70\",\"_col93\",\"_col99\"],\"children\":{\"Filter Operator\":{\"predicate:\":\"((((((((_col38 = _col63) and (_col60 = _col7)) and (_col43 = _col0)) and (_col44 = _col93)) and ((_col3 = 4) or (_col4 = 3))) and (_col70) IN (6, 0)) and (_col69) IN (1999, (1999 + 1), (1999 + 2))) and (_col29) IN ('Fairview', 'Fairview', 'Fairview', 'Midway', 'Fairview')) (type: boolean)\",\"children\":{\"Select Operator\":{\"expressions:\":\"_col46 (type: int), _col41 (type: int), _col44 (type: int), _col99 (type: string), _col56 (type: decimal(7,2)), _col59
(type: decimal(7,2))\",\"outputColumnNames:\":[\"_col46\",\"_col41\",\"_col44\",\"_col99\",\"_col56\",\"_col59\"],\"children\":{\"Group By Operator\":{\"mode:\":\"hash\",\"aggregations:\":[\"sum(_col56)\",\"sum(_col59)\"],\"keys:\":\"_col46 (type: int), _col41 (type: int), _col44 (type: int), _col99 (type: string)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: string)\",\"sort order:\":\"++++\",\"value expressions:\":\"_col4 (type: decimal(17,2)), _col5 (type: decimal(17,2))\",\"Statistics:\":\"Num rows: 32946 Data size: 43551613 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: string)\"}},\"Statistics:\":\"Num rows: 32946 Data size: 43551613 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows
: 32946 Data size: 43551613 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 32946 Data size: 43551613 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 4217199 Data size: 5574753280 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{ca_address_sk} {ca_city}\",\"0\":\"{_col86} {_col89} {_col90} {_col0} {_col22} {_col31} {_col34} {_col36} {_col37} {_col39} {_col49} {_col52} {_col53} {_col56} {_col62} {_col63}\"}}},\"Statistics:\":\"Num rows: 3833817 Data size: 5067957248 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{hd_demo_sk} {hd_dep_count} {hd_vehicle_count}\",\"0\":\"{_col55} {_col77} {_col0} {_col3} {_col5} {_col6} {_col8} {_col18} {_col21} {_col22} {_col25} {_col31} {_col32}\"}}},\"Statistics:\":\"Num rows: 3485288 Data size: 4607233536 Basic stats: COMPLETE Column stats:
NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{s_store_sk} {s_city}\",\"0\":\"{_col0} {_col3} {_col5} {_col6} {_col8} {_col18} {_col21} {_col22} {_col25} {_col31} {_col32}\"}}},\"Statistics:\":\"Num rows: 3168444 Data size: 4188394240 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{d_date_sk} {d_year} {d_dow}\",\"0\":\"{ss_sold_date_sk} {ss_customer_sk} {ss_hdemo_sk} {ss_addr_sk} {ss_ticket_number} {ss_coupon_amt} {ss_net_profit} {ss_store_sk}\"}}},\"Statistics:\":\"Num rows: 2880404 Data size: 3807631184 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 5\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"customer\",\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"c_customer_sk (type: int)\",\"0\":\"_col1 (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"
_col9\",\"_col13\",\"_col14\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ca_address_sk (type: int)\",\"0\":\"_col9 (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col9\",\"_col13\",\"_col14\",\"_col25\",\"_col31\"],\"children\":{\"Filter Operator\":{\"predicate:\":\"(((_col1 = _col5) and (_col9 = _col25)) and (_col31 <> _col2)) (type: boolean)\",\"children\":{\"Select Operator\":{\"expressions:\":\"_col14 (type: string), _col13 (type: string), _col31 (type: string), _col2 (type: string), _col0 (type: int), _col3 (type: decimal(17,2)), _col4 (type: decimal(17,2))\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col6\"],\"children\":{\"Reduce Output Operator\":{\"TopN Hash Memory Usage:\":\"0.04\",\"sort order:\":\"+++++\",\"value expressions:\":\"_col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int), _col5 (type: decimal(17,2)
), _col6 (type: decimal(17,2))\",\"Statistics:\":\"Num rows: 30250 Data size: 25902518 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int)\"}},\"Statistics:\":\"Num rows: 30250 Data size: 25902518 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 30250 Data size: 25902518 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 121000 Data size: 103610072 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{ca_address_sk} {ca_city}\",\"0\":\"{_col0} {_col1} {_col2} {_col3} {_col4} {_col5} {_col9} {_col13} {_col14}\"}}},\"Statistics:\":\"Num rows: 110000 Data size: 94190976 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{c_customer_sk} {c_current_addr_sk} {c_first_name} {
c_last_name}\",\"0\":\"{_col0} {_col1} {_col2} {_col3} {_col4}\"}}},\"Statistics:\":\"Num rows: 100000 Data size: 85628164 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 4\":{\"Map Operator Tree:\":[{\"TableScan\":{\"filterExpr:\":\"((d_dow) IN (6, 0) and (d_year) IN (1999, (1999 + 1), (1999 + 2))) (type: boolean)\",\"alias:\":\"date_dim\",\"children\":{\"Filter Operator\":{\"predicate:\":\"((d_dow) IN (6, 0) and (d_year) IN (1999, (1999 + 1), (1999 + 2))) (type: boolean)\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"d_date_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"d_date_sk (type: int), d_year (type: int), d_dow (type: int)\",\"Statistics:\":\"Num rows: 18262 Data size: 20435178 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"d_date_sk (type: int)\"}},\"Statistics:\":\"Num rows: 18262 Data size: 20435178 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 73049 Data size: 81741831 B
asic stats: COMPLETE Column stats: NONE\"}}]},\"Map 7\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"current_addr\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ca_address_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"ca_address_sk (type: int), ca_city (type: string)\",\"Statistics:\":\"Num rows: 50000 Data size: 55975728 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"ca_address_sk (type: int)\"}},\"Statistics:\":\"Num rows: 50000 Data size: 55975728 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Reducer 6\":{\"Reduce Operator Tree:\":{\"Extract\":{\"children\":{\"Limit\":{\"children\":{\"File Output Operator\":{\"Statistics:\":\"Num rows: 100 Data size: 85600 Basic stats: COMPLETE Column stats: NONE\",\"compressed:\":\"false\",\"table:\":{\"serde:\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"input format:\":\"org.apache.hadoop.mapred.TextInputFormat\",\"
output format:\":\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\"}}},\"Statistics:\":\"Num rows: 100 Data size: 85600 Basic stats: COMPLETE Column stats: NONE\",\"Number of rows:\":\"100\"}},\"Statistics:\":\"Num rows: 30250 Data size: 25902518 Basic stats: COMPLETE Column stats: NONE\"}}},\"Map 9\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"filterExpr:\":\"(s_city) IN ('Fairview', 'Fairview', 'Fairview', 'Midway', 'Fairview') (type: boolean)\",\"alias:\":\"store\",\"children\":{\"Filter Operator\":{\"predicate:\":\"(s_city) IN ('Fairview', 'Fairview', 'Fairview', 'Midway', 'Fairview') (type: boolean)\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"UDFToDouble(s_store_sk) (type: double)\",\"sort order:\":\"+\",\"value expressions:\":\"s_store_sk (type: int), s_city (type: string)\",\"Statistics:\":\"Num rows: 6 Data size: 12816 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"UDFToDoubl
e(s_store_sk) (type: double)\"}},\"Statistics:\":\"Num rows: 6 Data size: 12816 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 12 Data size: 25632 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 8\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"customer_address\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ca_address_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"ca_address_sk (type: int), ca_city (type: string)\",\"Statistics:\":\"Num rows: 50000 Data size: 55975728 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"ca_address_sk (type: int)\"}},\"Statistics:\":\"Num rows: 50000 Data size: 55975728 Basic stats: COMPLETE Column stats: NONE\"}}]}},\"Edges:\":{\"Reducer 3\":{\"parent\":\"Map 2\",\"type\":\"SIMPLE_EDGE\"},\"Map 2\":[{\"parent\":\"Map 1\",\"type\":\"BROADCAST_EDGE\"},{\"parent\":\"Map 4\",\"type\":\"BROADCAST_EDGE\"},{\"parent\":\"M
ap 8\",\"type\":\"BROADCAST_EDGE\"},{\"parent\":\"Map 9\",\"type\":\"BROADCAST_EDGE\"}],\"Map 5\":[{\"parent\":\"Reducer 3\",\"type\":\"BROADCAST_EDGE\"},{\"parent\":\"Map 7\",\"type\":\"BROADCAST_EDGE\"}],\"Reducer 6\":{\"parent\":\"Map 5\",\"type\":\"SIMPLE_EDGE\"}}}},\"Stage-0\":{\"Fetch Operator\":{\"limit:\":\"100\",\"Processor Tree:\":{\"ListSink\":{}}}}},\"STAGE DEPENDENCIES\":{\"Stage-1\":{\"ROOT STAGE\":\"TRUE\"},\"Stage-0\":{\"ROOT STAGE\":\"TRUE\"}}}}"
- },
- "entity": "hrt_qa_20140311131919_1d932567-71c2-4341-9b50-6df1f58a9114",
- "entitytype": "HIVE_QUERY_ID"
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/jobs/tezDag-name-to-id.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/jobs/tezDag-name-to-id.json b/ambari-web/app/assets/data/jobs/tezDag-name-to-id.json
deleted file mode 100644
index bc8980b..0000000
--- a/ambari-web/app/assets/data/jobs/tezDag-name-to-id.json
+++ /dev/null
@@ -1,552 +0,0 @@
-{
- "entities": [
- {
- "starttime": 1394569228227,
- "events": [
- {
- "timestamp": 1394569303577,
- "eventtype": "DAG_FINISHED",
- "eventinfo": {}
- },
- {
- "timestamp": 1394569229560,
- "eventtype": "DAG_STARTED",
- "eventinfo": {}
- },
- {
- "timestamp": 1394569229460,
- "eventtype": "DAG_INITIALIZED",
- "eventinfo": {}
- },
- {
- "timestamp": 1394569228227,
- "eventtype": "DAG_SUBMITTED",
- "eventinfo": {}
- }
- ],
- "otherinfo": {
- "startTime": 1394569229560,
- "status": "FAILED",
- "initTime": 1394569229460,
- "timeTaken": 74017,
- "dagPlan": {
- "dagName": "hrt_qa_20140311131919_1d932567-71c2-4341-9b50-6df1f58a9114:1",
- "version": 1,
- "vertices": [
- {
- "vertexName": "Reducer 6",
- "processorClass": "org.apache.hadoop.hive.ql.exec.tez.ReduceTezProcessor",
- "inEdgeIds": [
- "910557679"
- ],
- "additionalOutputs": [
- {
- "name": "out_Reducer 6",
- "class": "org.apache.tez.mapreduce.output.MROutput"
- }
- ]
- },
- {
- "vertexName": "Map 5",
- "processorClass": "org.apache.hadoop.hive.ql.exec.tez.MapTezProcessor",
- "inEdgeIds": [
- "500242152",
- "1208124175"
- ],
- "outEdgeIds": [
- "910557679"
- ],
- "additionalInputs": [
- {
- "name": "customer",
- "class": "org.apache.tez.mapreduce.input.MRInputLegacy",
- "initializer": "org.apache.tez.mapreduce.common.MRInputAMSplitGenerator"
- }
- ]
- },
- {
- "vertexName": "Map 7",
- "processorClass": "org.apache.hadoop.hive.ql.exec.tez.MapTezProcessor",
- "outEdgeIds": [
- "500242152"
- ],
- "additionalInputs": [
- {
- "name": "current_addr",
- "class": "org.apache.tez.mapreduce.input.MRInputLegacy",
- "initializer": "org.apache.tez.mapreduce.common.MRInputAMSplitGenerator"
- }
- ]
- },
- {
- "vertexName": "Reducer 3",
- "processorClass": "org.apache.hadoop.hive.ql.exec.tez.ReduceTezProcessor",
- "inEdgeIds": [
- "654658809"
- ],
- "outEdgeIds": [
- "1208124175"
- ]
- },
- {
- "vertexName": "Map 2",
- "processorClass": "org.apache.hadoop.hive.ql.exec.tez.MapTezProcessor",
- "inEdgeIds": [
- "760294521",
- "1982385791",
- "813939446",
- "1182578556"
- ],
- "outEdgeIds": [
- "654658809"
- ],
- "additionalInputs": [
- {
- "name": "store_sales",
- "class": "org.apache.tez.mapreduce.input.MRInputLegacy",
- "initializer": "org.apache.tez.mapreduce.common.MRInputAMSplitGenerator"
- }
- ]
- },
- {
- "vertexName": "Map 9",
- "processorClass": "org.apache.hadoop.hive.ql.exec.tez.MapTezProcessor",
- "outEdgeIds": [
- "760294521"
- ],
- "additionalInputs": [
- {
- "name": "store",
- "class": "org.apache.tez.mapreduce.input.MRInputLegacy",
- "initializer": "org.apache.tez.mapreduce.common.MRInputAMSplitGenerator"
- }
- ]
- },
- {
- "vertexName": "Map 8",
- "processorClass": "org.apache.hadoop.hive.ql.exec.tez.MapTezProcessor",
- "outEdgeIds": [
- "1982385791"
- ],
- "additionalInputs": [
- {
- "name": "customer_address",
- "class": "org.apache.tez.mapreduce.input.MRInputLegacy",
- "initializer": "org.apache.tez.mapreduce.common.MRInputAMSplitGenerator"
- }
- ]
- },
- {
- "vertexName": "Map 4",
- "processorClass": "org.apache.hadoop.hive.ql.exec.tez.MapTezProcessor",
- "outEdgeIds": [
- "813939446"
- ],
- "additionalInputs": [
- {
- "name": "date_dim",
- "class": "org.apache.tez.mapreduce.input.MRInputLegacy",
- "initializer": "org.apache.tez.mapreduce.common.MRInputAMSplitGenerator"
- }
- ]
- },
- {
- "vertexName": "Map 1",
- "processorClass": "org.apache.hadoop.hive.ql.exec.tez.MapTezProcessor",
- "outEdgeIds": [
- "1182578556"
- ],
- "additionalInputs": [
- {
- "name": "household_demographics",
- "class": "org.apache.tez.mapreduce.input.MRInputLegacy",
- "initializer": "org.apache.tez.mapreduce.common.MRInputAMSplitGenerator"
- }
- ]
- }
- ],
- "edges": [
- {
- "edgeId": "760294521",
- "inputVertexName": "Map 9",
- "outputVertexName": "Map 2",
- "dataMovementType": "BROADCAST",
- "dataSourceType": "PERSISTED",
- "schedulingType": "SEQUENTIAL",
- "edgeSourceClass": "org.apache.tez.runtime.library.output.OnFileUnorderedKVOutput",
- "edgeDestinationClass": "org.apache.tez.runtime.library.input.ShuffledUnorderedKVInput"
- },
- {
- "edgeId": "1208124175",
- "inputVertexName": "Reducer 3",
- "outputVertexName": "Map 5",
- "dataMovementType": "BROADCAST",
- "dataSourceType": "PERSISTED",
- "schedulingType": "SEQUENTIAL",
- "edgeSourceClass": "org.apache.tez.runtime.library.output.OnFileUnorderedKVOutput",
- "edgeDestinationClass": "org.apache.tez.runtime.library.input.ShuffledUnorderedKVInput"
- },
- {
- "edgeId": "500242152",
- "inputVertexName": "Map 7",
- "outputVertexName": "Map 5",
- "dataMovementType": "BROADCAST",
- "dataSourceType": "PERSISTED",
- "schedulingType": "SEQUENTIAL",
- "edgeSourceClass": "org.apache.tez.runtime.library.output.OnFileUnorderedKVOutput",
- "edgeDestinationClass": "org.apache.tez.runtime.library.input.ShuffledUnorderedKVInput"
- },
- {
- "edgeId": "1182578556",
- "inputVertexName": "Map 1",
- "outputVertexName": "Map 2",
- "dataMovementType": "BROADCAST",
- "dataSourceType": "PERSISTED",
- "schedulingType": "SEQUENTIAL",
- "edgeSourceClass": "org.apache.tez.runtime.library.output.OnFileUnorderedKVOutput",
- "edgeDestinationClass": "org.apache.tez.runtime.library.input.ShuffledUnorderedKVInput"
- },
- {
- "edgeId": "910557679",
- "inputVertexName": "Map 5",
- "outputVertexName": "Reducer 6",
- "dataMovementType": "SCATTER_GATHER",
- "dataSourceType": "PERSISTED",
- "schedulingType": "SEQUENTIAL",
- "edgeSourceClass": "org.apache.tez.runtime.library.output.OnFileSortedOutput",
- "edgeDestinationClass": "org.apache.tez.runtime.library.input.ShuffledMergedInputLegacy"
- },
- {
- "edgeId": "813939446",
- "inputVertexName": "Map 4",
- "outputVertexName": "Map 2",
- "dataMovementType": "BROADCAST",
- "dataSourceType": "PERSISTED",
- "schedulingType": "SEQUENTIAL",
- "edgeSourceClass": "org.apache.tez.runtime.library.output.OnFileUnorderedKVOutput",
- "edgeDestinationClass": "org.apache.tez.runtime.library.input.ShuffledUnorderedKVInput"
- },
- {
- "edgeId": "654658809",
- "inputVertexName": "Map 2",
- "outputVertexName": "Reducer 3",
- "dataMovementType": "SCATTER_GATHER",
- "dataSourceType": "PERSISTED",
- "schedulingType": "SEQUENTIAL",
- "edgeSourceClass": "org.apache.tez.runtime.library.output.OnFileSortedOutput",
- "edgeDestinationClass": "org.apache.tez.runtime.library.input.ShuffledMergedInputLegacy"
- },
- {
- "edgeId": "1982385791",
- "inputVertexName": "Map 8",
- "outputVertexName": "Map 2",
- "dataMovementType": "BROADCAST",
- "dataSourceType": "PERSISTED",
- "schedulingType": "SEQUENTIAL",
- "edgeSourceClass": "org.apache.tez.runtime.library.output.OnFileUnorderedKVOutput",
- "edgeDestinationClass": "org.apache.tez.runtime.library.input.ShuffledUnorderedKVInput"
- }
- ]
- },
- "endTime": 1394569303577,
- "diagnostics": "Vertex re-running, vertexName=Map 7, vertexId=vertex_1394502141829_0425_1_02\nVertex re-running, vertexName=Map 2, vertexId=vertex_1394502141829_0425_1_04\nVertex re-running, vertexName=Map 9, vertexId=vertex_1394502141829_0425_1_05\nVertex re-running, vertexName=Map 1, vertexId=vertex_1394502141829_0425_1_08\nVertex re-running, vertexName=Map 4, vertexId=vertex_1394502141829_0425_1_07\nVertex re-running, vertexName=Map 8, vertexId=vertex_1394502141829_0425_1_06\nVertex re-running, vertexName=Reducer 3, vertexId=vertex_1394502141829_0425_1_03\nVertex failed, vertexName=Map 5, vertexId=vertex_1394502141829_0425_1_01, diagnostics=[Task failed, taskId=task_1394502141829_0425_1_01_000000, diagnostics=[AttemptID:attempt_1394502141829_0425_1_01_000000_0 Info:Error: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row \n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.processRow(MapRecordProc
essor.java:205)\n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.run(MapRecordProcessor.java:171)\n\tat org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:152)\n\tat org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:306)\n\tat org.apache.hadoop.mapred.YarnTezDagChild$4.run(YarnTezDagChild.java:526)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat javax.security.auth.Subject.doAs(Subject.java:415)\n\tat org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)\n\tat org.apache.hadoop.mapred.YarnTezDagChild.main(YarnTezDagChild.java:515)\nCaused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row \n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:45)\n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.processRow(MapRecordProcessor.java:193)\n\t... 8 more\nCaused by: java.lan
g.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.LongColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector\n\tat org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpressionWriterFactory$VectorExpressionWriterBytes.writeValue(VectorExpressionWriterFactory.java:268)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.populatedCachedDistributionKeys(VectorReduceSinkOperator.java:335)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.processOp(VectorReduceSinkOperator.java:237)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.processOp(VectorSelectOperator.java:129)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorFilterOperator.processOp(VectorFilterOperator.java:102)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\
n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.flushOutput(VectorMapJoinOperator.java:249)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.internalForward(VectorMapJoinOperator.java:244)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genAllOneUniqueJoinObject(CommonJoinOperator.java:670)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:754)\n\tat org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(MapJoinOperator.java:215)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:292)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.flushOutput(VectorMapJoinOperator.java:249)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.internalForward(VectorMapJoinOperator.java:244)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genAllOne
UniqueJoinObject(CommonJoinOperator.java:670)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:754)\n\tat org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(MapJoinOperator.java:215)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:292)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:92)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:43)\n\t... 9 more\n\nContainer released by application, AttemptID:attempt_1394502141829_0425_1_01_000000_1 Info:Error: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row \n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.processRow(MapRecordPr
ocessor.java:205)\n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.run(MapRecordProcessor.java:171)\n\tat org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:152)\n\tat org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:306)\n\tat org.apache.hadoop.mapred.YarnTezDagChild$4.run(YarnTezDagChild.java:526)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat javax.security.auth.Subject.doAs(Subject.java:415)\n\tat org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)\n\tat org.apache.hadoop.mapred.YarnTezDagChild.main(YarnTezDagChild.java:515)\nCaused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row \n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:45)\n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.processRow(MapRecordProcessor.java:193)\n\t... 8 more\nCaused by: java.l
ang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.LongColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector\n\tat org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpressionWriterFactory$VectorExpressionWriterBytes.writeValue(VectorExpressionWriterFactory.java:268)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.populatedCachedDistributionKeys(VectorReduceSinkOperator.java:335)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.processOp(VectorReduceSinkOperator.java:237)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.processOp(VectorSelectOperator.java:129)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorFilterOperator.processOp(VectorFilterOperator.java:102)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791
)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.flushOutput(VectorMapJoinOperator.java:249)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.internalForward(VectorMapJoinOperator.java:244)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genAllOneUniqueJoinObject(CommonJoinOperator.java:670)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:754)\n\tat org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(MapJoinOperator.java:215)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:292)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.flushOutput(VectorMapJoinOperator.java:249)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.internalForward(VectorMapJoinOperator.java:244)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genAllO
neUniqueJoinObject(CommonJoinOperator.java:670)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:754)\n\tat org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(MapJoinOperator.java:215)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:292)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:92)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:43)\n\t... 9 more\n\nContainer released by application, AttemptID:attempt_1394502141829_0425_1_01_000000_2 Info:Error: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row \n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.processRow(MapRecord
Processor.java:205)\n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.run(MapRecordProcessor.java:171)\n\tat org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:152)\n\tat org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:306)\n\tat org.apache.hadoop.mapred.YarnTezDagChild$4.run(YarnTezDagChild.java:526)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat javax.security.auth.Subject.doAs(Subject.java:415)\n\tat org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)\n\tat org.apache.hadoop.mapred.YarnTezDagChild.main(YarnTezDagChild.java:515)\nCaused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row \n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:45)\n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.processRow(MapRecordProcessor.java:193)\n\t... 8 more\nCaused by: java
.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.LongColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector\n\tat org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpressionWriterFactory$VectorExpressionWriterBytes.writeValue(VectorExpressionWriterFactory.java:268)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.populatedCachedDistributionKeys(VectorReduceSinkOperator.java:335)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.processOp(VectorReduceSinkOperator.java:237)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.processOp(VectorSelectOperator.java:129)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorFilterOperator.processOp(VectorFilterOperator.java:102)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:7
91)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.flushOutput(VectorMapJoinOperator.java:249)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.internalForward(VectorMapJoinOperator.java:244)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genAllOneUniqueJoinObject(CommonJoinOperator.java:670)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:754)\n\tat org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(MapJoinOperator.java:215)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:292)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.flushOutput(VectorMapJoinOperator.java:249)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.internalForward(VectorMapJoinOperator.java:244)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genAl
lOneUniqueJoinObject(CommonJoinOperator.java:670)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:754)\n\tat org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(MapJoinOperator.java:215)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:292)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:92)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:43)\n\t... 9 more\n\nContainer released by application, AttemptID:attempt_1394502141829_0425_1_01_000000_3 Info:Error: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row \n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.processRow(MapReco
rdProcessor.java:205)\n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.run(MapRecordProcessor.java:171)\n\tat org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:152)\n\tat org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:306)\n\tat org.apache.hadoop.mapred.YarnTezDagChild$4.run(YarnTezDagChild.java:526)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat javax.security.auth.Subject.doAs(Subject.java:415)\n\tat org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)\n\tat org.apache.hadoop.mapred.YarnTezDagChild.main(YarnTezDagChild.java:515)\nCaused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row \n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:45)\n\tat org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.processRow(MapRecordProcessor.java:193)\n\t... 8 more\nCaused by: ja
va.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.LongColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector\n\tat org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpressionWriterFactory$VectorExpressionWriterBytes.writeValue(VectorExpressionWriterFactory.java:268)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.populatedCachedDistributionKeys(VectorReduceSinkOperator.java:335)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.processOp(VectorReduceSinkOperator.java:237)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.processOp(VectorSelectOperator.java:129)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorFilterOperator.processOp(VectorFilterOperator.java:102)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java
:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.flushOutput(VectorMapJoinOperator.java:249)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.internalForward(VectorMapJoinOperator.java:244)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genAllOneUniqueJoinObject(CommonJoinOperator.java:670)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:754)\n\tat org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(MapJoinOperator.java:215)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:292)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.flushOutput(VectorMapJoinOperator.java:249)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.internalForward(VectorMapJoinOperator.java:244)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.gen
AllOneUniqueJoinObject(CommonJoinOperator.java:670)\n\tat org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:754)\n\tat org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(MapJoinOperator.java:215)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:292)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:92)\n\tat org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:791)\n\tat org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:43)\n\t... 9 more\n], Vertex failed as one or more tasks failed. failedTasks:1]\nVertex killed, vertexName=Reducer 6, vertexId=vertex_1394502141829_0425_1_00, diagnostics=[Vertex received Kill while in RUNNING state., Vertex killed as other vertex failed. failedTasks:0]\nVertex killed, vertexName=Map 2, vertexId=
vertex_1394502141829_0425_1_04, diagnostics=[Vertex received Kill while in RUNNING state., Vertex killed as other vertex failed. failedTasks:0]\nDAG failed due to vertex failure. failedVertices:1 killedVertices:2",
- "counters": {
- "counterGroups": [
- {
- "counterGroupName": "org.apache.tez.common.counters.DAGCounter",
- "counterGroupDisplayName": "org.apache.tez.common.counters.DAGCounter",
- "counters": [
- {
- "counterName": "NUM_FAILED_TASKS",
- "counterDisplayName": "NUM_FAILED_TASKS",
- "counterValue": 4
- },
- {
- "counterName": "NUM_KILLED_TASKS",
- "counterDisplayName": "NUM_KILLED_TASKS",
- "counterValue": 14
- },
- {
- "counterName": "TOTAL_LAUNCHED_TASKS",
- "counterDisplayName": "TOTAL_LAUNCHED_TASKS",
- "counterValue": 28
- },
- {
- "counterName": "DATA_LOCAL_TASKS",
- "counterDisplayName": "DATA_LOCAL_TASKS",
- "counterValue": 9
- }
- ]
- },
- {
- "counterGroupName": "org.apache.tez.common.counters.FileSystemCounter",
- "counterGroupDisplayName": "File System Counters",
- "counters": [
- {
- "counterName": "FILE_BYTES_READ",
- "counterDisplayName": "FILE: BYTES_READ",
- "counterValue": 503348
- },
- {
- "counterName": "FILE_BYTES_WRITTEN",
- "counterDisplayName": "FILE: BYTES_WRITTEN",
- "counterValue": 4315294
- },
- {
- "counterName": "FILE_READ_OPS",
- "counterDisplayName": "FILE: READ_OPS",
- "counterValue": 0
- },
- {
- "counterName": "FILE_LARGE_READ_OPS",
- "counterDisplayName": "FILE: LARGE_READ_OPS",
- "counterValue": 0
- },
- {
- "counterName": "FILE_WRITE_OPS",
- "counterDisplayName": "FILE: WRITE_OPS",
- "counterValue": 0
- },
- {
- "counterName": "HDFS_BYTES_READ",
- "counterDisplayName": "HDFS: BYTES_READ",
- "counterValue": 13041650
- },
- {
- "counterName": "HDFS_BYTES_WRITTEN",
- "counterDisplayName": "HDFS: BYTES_WRITTEN",
- "counterValue": 0
- },
- {
- "counterName": "HDFS_READ_OPS",
- "counterDisplayName": "HDFS: READ_OPS",
- "counterValue": 27
- },
- {
- "counterName": "HDFS_LARGE_READ_OPS",
- "counterDisplayName": "HDFS: LARGE_READ_OPS",
- "counterValue": 0
- },
- {
- "counterName": "HDFS_WRITE_OPS",
- "counterDisplayName": "HDFS: WRITE_OPS",
- "counterValue": 0
- }
- ]
- },
- {
- "counterGroupName": "org.apache.tez.common.counters.TaskCounter",
- "counterGroupDisplayName": "org.apache.tez.common.counters.TaskCounter",
- "counters": [
- {
- "counterName": "REDUCE_INPUT_GROUPS",
- "counterDisplayName": "REDUCE_INPUT_GROUPS",
- "counterValue": 10730
- },
- {
- "counterName": "REDUCE_INPUT_RECORDS",
- "counterDisplayName": "REDUCE_INPUT_RECORDS",
- "counterValue": 10731
- },
- {
- "counterName": "COMBINE_INPUT_RECORDS",
- "counterDisplayName": "COMBINE_INPUT_RECORDS",
- "counterValue": 0
- },
- {
- "counterName": "SPILLED_RECORDS",
- "counterDisplayName": "SPILLED_RECORDS",
- "counterValue": 17925
- },
- {
- "counterName": "NUM_SHUFFLED_INPUTS",
- "counterDisplayName": "NUM_SHUFFLED_INPUTS",
- "counterValue": 22
- },
- {
- "counterName": "NUM_FAILED_SHUFFLE_INPUTS",
- "counterDisplayName": "NUM_FAILED_SHUFFLE_INPUTS",
- "counterValue": 0
- },
- {
- "counterName": "MERGED_MAP_OUTPUTS",
- "counterDisplayName": "MERGED_MAP_OUTPUTS",
- "counterValue": 6
- },
- {
- "counterName": "GC_TIME_MILLIS",
- "counterDisplayName": "GC_TIME_MILLIS",
- "counterValue": 2402
- },
- {
- "counterName": "CPU_MILLISECONDS",
- "counterDisplayName": "CPU_MILLISECONDS",
- "counterValue": -33880
- },
- {
- "counterName": "PHYSICAL_MEMORY_BYTES",
- "counterDisplayName": "PHYSICAL_MEMORY_BYTES",
- "counterValue": 3241504768
- },
- {
- "counterName": "VIRTUAL_MEMORY_BYTES",
- "counterDisplayName": "VIRTUAL_MEMORY_BYTES",
- "counterValue": 17864921088
- },
- {
- "counterName": "COMMITTED_HEAP_BYTES",
- "counterDisplayName": "COMMITTED_HEAP_BYTES",
- "counterValue": 2839543808
- },
- {
- "counterName": "INPUT_RECORDS_PROCESSED",
- "counterDisplayName": "INPUT_RECORDS_PROCESSED",
- "counterValue": 2063651
- },
- {
- "counterName": "OUTPUT_RECORDS",
- "counterDisplayName": "OUTPUT_RECORDS",
- "counterValue": 120051
- },
- {
- "counterName": "OUTPUT_BYTES",
- "counterDisplayName": "OUTPUT_BYTES",
- "counterValue": 3571464
- },
- {
- "counterName": "OUTPUT_BYTES_WITH_OVERHEAD",
- "counterDisplayName": "OUTPUT_BYTES_WITH_OVERHEAD",
- "counterValue": 3811586
- },
- {
- "counterName": "OUTPUT_BYTES_PHYSICAL",
- "counterDisplayName": "OUTPUT_BYTES_PHYSICAL",
- "counterValue": 3811626
- },
- {
- "counterName": "ADDITIONAL_SPILLS_BYTES_WRITTEN",
- "counterDisplayName": "ADDITIONAL_SPILLS_BYTES_WRITTEN",
- "counterValue": 503348
- },
- {
- "counterName": "ADDITIONAL_SPILLS_BYTES_READ",
- "counterDisplayName": "ADDITIONAL_SPILLS_BYTES_READ",
- "counterValue": 503348
- },
- {
- "counterName": "ADDITIONAL_SPILL_COUNT",
- "counterDisplayName": "ADDITIONAL_SPILL_COUNT",
- "counterValue": 0
- },
- {
- "counterName": "SHUFFLE_BYTES",
- "counterDisplayName": "SHUFFLE_BYTES",
- "counterValue": 6627422
- },
- {
- "counterName": "SHUFFLE_BYTES_DECOMPRESSED",
- "counterDisplayName": "SHUFFLE_BYTES_DECOMPRESSED",
- "counterValue": 6627334
- },
- {
- "counterName": "SHUFFLE_BYTES_TO_MEM",
- "counterDisplayName": "SHUFFLE_BYTES_TO_MEM",
- "counterValue": 6627422
- },
- {
- "counterName": "SHUFFLE_BYTES_TO_DISK",
- "counterDisplayName": "SHUFFLE_BYTES_TO_DISK",
- "counterValue": 0
- },
- {
- "counterName": "NUM_MEM_TO_DISK_MERGES",
- "counterDisplayName": "NUM_MEM_TO_DISK_MERGES",
- "counterValue": 0
- },
- {
- "counterName": "NUM_DISK_TO_DISK_MERGES",
- "counterDisplayName": "NUM_DISK_TO_DISK_MERGES",
- "counterValue": 0
- }
- ]
- },
- {
- "counterGroupName": "Shuffle Errors",
- "counterGroupDisplayName": "Shuffle Errors",
- "counters": [
- {
- "counterName": "BAD_ID",
- "counterDisplayName": "BAD_ID",
- "counterValue": 0
- },
- {
- "counterName": "CONNECTION",
- "counterDisplayName": "CONNECTION",
- "counterValue": 0
- },
- {
- "counterName": "IO_ERROR",
- "counterDisplayName": "IO_ERROR",
- "counterValue": 0
- },
- {
- "counterName": "WRONG_LENGTH",
- "counterDisplayName": "WRONG_LENGTH",
- "counterValue": 0
- },
- {
- "counterName": "WRONG_MAP",
- "counterDisplayName": "WRONG_MAP",
- "counterValue": 0
- },
- {
- "counterName": "WRONG_REDUCE",
- "counterDisplayName": "WRONG_REDUCE",
- "counterValue": 0
- }
- ]
- },
- {
- "counterGroupName": "org.apache.hadoop.hive.ql.exec.FilterOperator$Counter",
- "counterGroupDisplayName": "org.apache.hadoop.hive.ql.exec.FilterOperator$Counter",
- "counters": [
- {
- "counterName": "FILTERED",
- "counterDisplayName": "FILTERED",
- "counterValue": 72735
- },
- {
- "counterName": "PASSED",
- "counterDisplayName": "PASSED",
- "counterValue": 96225
- }
- ]
- },
- {
- "counterGroupName": "org.apache.hadoop.hive.ql.exec.MapOperator$Counter",
- "counterGroupDisplayName": "org.apache.hadoop.hive.ql.exec.MapOperator$Counter",
- "counters": [
- {
- "counterName": "DESERIALIZE_ERRORS",
- "counterDisplayName": "DESERIALIZE_ERRORS",
- "counterValue": 0
- }
- ]
- }
- ]
- }
- },
- "primaryfilters": {
- "dagName": [
- "hrt_qa_20140311131919_1d932567-71c2-4341-9b50-6df1f58a9114:1"
- ],
- "user": [
- "hrt_qa"
- ]
- },
- "entity": "dag_1394502141829_0425_1",
- "entitytype": "TEZ_DAG_ID",
- "relatedentities": {}
- }
- ]
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/jobs/tezDag.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/jobs/tezDag.json b/ambari-web/app/assets/data/jobs/tezDag.json
deleted file mode 100644
index c1d5fce..0000000
--- a/ambari-web/app/assets/data/jobs/tezDag.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "starttime": 1394569228227,
- "entity": "dag_1394502141829_0425_1",
- "entitytype": "TEZ_DAG_ID",
- "relatedentities": {
- "TEZ_VERTEX_ID": [
- "vertex_1394502141829_0425_1_00",
- "vertex_1394502141829_0425_1_01",
- "vertex_1394502141829_0425_1_02",
- "vertex_1394502141829_0425_1_03",
- "vertex_1394502141829_0425_1_04",
- "vertex_1394502141829_0425_1_05",
- "vertex_1394502141829_0425_1_06",
- "vertex_1394502141829_0425_1_07",
- "vertex_1394502141829_0425_1_08"
- ]
- },
- "otherinfo": {
- "applicationId": "application_1395263571423_0014"
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/jobs/tezDagVertex.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/jobs/tezDagVertex.json b/ambari-web/app/assets/data/jobs/tezDagVertex.json
deleted file mode 100644
index 5b5f1b3..0000000
--- a/ambari-web/app/assets/data/jobs/tezDagVertex.json
+++ /dev/null
@@ -1,221 +0,0 @@
-{
- "starttime": 1394569231815,
- "otherinfo": {
- "startTime": 1394569231819,
- "status": "KILLED",
- "numTasks": 6,
- "initTime": 1394569231815,
- "vertexName": "Map 2",
- "timeTaken": 71735,
- "processorClassName": "org.apache.hadoop.hive.ql.exec.tez.MapTezProcessor",
- "endTime": 1394569303554,
- "initRequestedTime": 1394569230142,
- "counters": {
- "counterGroups": [
- {
- "counterGroupName": "org.apache.tez.common.counters.DAGCounter",
- "counterGroupDisplayName": "org.apache.tez.common.counters.DAGCounter",
- "counters": [
- {
- "counterName": "DATA_LOCAL_TASKS",
- "counterDisplayName": "DATA_LOCAL_TASKS",
- "counterValue": 4
- }
- ]
- },
- {
- "counterGroupName": "org.apache.tez.common.counters.FileSystemCounter",
- "counterGroupDisplayName": "File System Counters",
- "counters": [
- {
- "counterName": "FILE_BYTES_READ",
- "counterDisplayName": "FILE: BYTES_READ",
- "counterValue": 0
- },
- {
- "counterName": "FILE_BYTES_WRITTEN",
- "counterDisplayName": "FILE: BYTES_WRITTEN",
- "counterValue": 337559
- },
- {
- "counterName": "FILE_READ_OPS",
- "counterDisplayName": "FILE: READ_OPS",
- "counterValue": 0
- },
- {
- "counterName": "FILE_LARGE_READ_OPS",
- "counterDisplayName": "FILE: LARGE_READ_OPS",
- "counterValue": 0
- },
- {
- "counterName": "FILE_WRITE_OPS",
- "counterDisplayName": "FILE: WRITE_OPS",
- "counterValue": 0
- },
- {
- "counterName": "HDFS_BYTES_READ",
- "counterDisplayName": "HDFS: BYTES_READ",
- "counterValue": 12854749
- },
- {
- "counterName": "HDFS_BYTES_WRITTEN",
- "counterDisplayName": "HDFS: BYTES_WRITTEN",
- "counterValue": 0
- },
- {
- "counterName": "HDFS_READ_OPS",
- "counterDisplayName": "HDFS: READ_OPS",
- "counterValue": 12
- },
- {
- "counterName": "HDFS_LARGE_READ_OPS",
- "counterDisplayName": "HDFS: LARGE_READ_OPS",
- "counterValue": 0
- },
- {
- "counterName": "HDFS_WRITE_OPS",
- "counterDisplayName": "HDFS: WRITE_OPS",
- "counterValue": 0
- }
- ]
- },
- {
- "counterGroupName": "org.apache.tez.common.counters.TaskCounter",
- "counterGroupDisplayName": "org.apache.tez.common.counters.TaskCounter",
- "counters": [
- {
- "counterName": "SPILLED_RECORDS",
- "counterDisplayName": "SPILLED_RECORDS",
- "counterValue": 7194
- },
- {
- "counterName": "NUM_SHUFFLED_INPUTS",
- "counterDisplayName": "NUM_SHUFFLED_INPUTS",
- "counterValue": 16
- },
- {
- "counterName": "NUM_FAILED_SHUFFLE_INPUTS",
- "counterDisplayName": "NUM_FAILED_SHUFFLE_INPUTS",
- "counterValue": 0
- },
- {
- "counterName": "GC_TIME_MILLIS",
- "counterDisplayName": "GC_TIME_MILLIS",
- "counterValue": 2047
- },
- {
- "counterName": "CPU_MILLISECONDS",
- "counterDisplayName": "CPU_MILLISECONDS",
- "counterValue": -11970
- },
- {
- "counterName": "PHYSICAL_MEMORY_BYTES",
- "counterDisplayName": "PHYSICAL_MEMORY_BYTES",
- "counterValue": 1791279104
- },
- {
- "counterName": "VIRTUAL_MEMORY_BYTES",
- "counterDisplayName": "VIRTUAL_MEMORY_BYTES",
- "counterValue": 7152783360
- },
- {
- "counterName": "COMMITTED_HEAP_BYTES",
- "counterDisplayName": "COMMITTED_HEAP_BYTES",
- "counterValue": 1588592640
- },
- {
- "counterName": "INPUT_RECORDS_PROCESSED",
- "counterDisplayName": "INPUT_RECORDS_PROCESSED",
- "counterValue": 1990495
- },
- {
- "counterName": "OUTPUT_RECORDS",
- "counterDisplayName": "OUTPUT_RECORDS",
- "counterValue": 7194
- },
- {
- "counterName": "OUTPUT_BYTES",
- "counterDisplayName": "OUTPUT_BYTES",
- "counterValue": 323019
- },
- {
- "counterName": "OUTPUT_BYTES_WITH_OVERHEAD",
- "counterDisplayName": "OUTPUT_BYTES_WITH_OVERHEAD",
- "counterValue": 337415
- },
- {
- "counterName": "OUTPUT_BYTES_PHYSICAL",
- "counterDisplayName": "OUTPUT_BYTES_PHYSICAL",
- "counterValue": 337431
- },
- {
- "counterName": "ADDITIONAL_SPILLS_BYTES_WRITTEN",
- "counterDisplayName": "ADDITIONAL_SPILLS_BYTES_WRITTEN",
- "counterValue": 0
- },
- {
- "counterName": "ADDITIONAL_SPILLS_BYTES_READ",
- "counterDisplayName": "ADDITIONAL_SPILLS_BYTES_READ",
- "counterValue": 0
- },
- {
- "counterName": "ADDITIONAL_SPILL_COUNT",
- "counterDisplayName": "ADDITIONAL_SPILL_COUNT",
- "counterValue": 0
- },
- {
- "counterName": "SHUFFLE_BYTES",
- "counterDisplayName": "SHUFFLE_BYTES",
- "counterValue": 6124044
- },
- {
- "counterName": "SHUFFLE_BYTES_DECOMPRESSED",
- "counterDisplayName": "SHUFFLE_BYTES_DECOMPRESSED",
- "counterValue": 6123980
- },
- {
- "counterName": "SHUFFLE_BYTES_TO_MEM",
- "counterDisplayName": "SHUFFLE_BYTES_TO_MEM",
- "counterValue": 6124044
- },
- {
- "counterName": "SHUFFLE_BYTES_TO_DISK",
- "counterDisplayName": "SHUFFLE_BYTES_TO_DISK",
- "counterValue": 0
- }
- ]
- },
- {
- "counterGroupName": "org.apache.hadoop.hive.ql.exec.FilterOperator$Counter",
- "counterGroupDisplayName": "org.apache.hadoop.hive.ql.exec.FilterOperator$Counter",
- "counters": [
- {
- "counterName": "FILTERED",
- "counterDisplayName": "FILTERED",
- "counterValue": 0
- },
- {
- "counterName": "PASSED",
- "counterDisplayName": "PASSED",
- "counterValue": 95911
- }
- ]
- },
- {
- "counterGroupName": "org.apache.hadoop.hive.ql.exec.MapOperator$Counter",
- "counterGroupDisplayName": "org.apache.hadoop.hive.ql.exec.MapOperator$Counter",
- "counters": [
- {
- "counterName": "DESERIALIZE_ERRORS",
- "counterDisplayName": "DESERIALIZE_ERRORS",
- "counterValue": 0
- }
- ]
- }
- ]
- },
- "startRequestedTime": 1394569231792
- },
- "entity": "vertex_1394502141829_0425_1_04",
- "entitytype": "TEZ_VERTEX_ID"
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/services/host_component_actual_configs.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/services/host_component_actual_configs.json b/ambari-web/app/assets/data/services/host_component_actual_configs.json
index d0bdd05..df3f9d3 100644
--- a/ambari-web/app/assets/data/services/host_component_actual_configs.json
+++ b/ambari-web/app/assets/data/services/host_component_actual_configs.json
@@ -648,240 +648,6 @@
]
},
{
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/MAPREDUCE",
- "ServiceInfo" : {
- "cluster_name" : "cl1",
- "service_name" : "MAPREDUCE"
- },
- "components" : [
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
- "ServiceComponentInfo" : {
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "state" : "INSTALLED",
- "component_name" : "MAPREDUCE_CLIENT",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/MAPREDUCE_CLIENT",
- "HostRoles" : {
- "configs" : { },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "INSTALLED",
- "state" : "INSTALLED",
- "component_name" : "MAPREDUCE_CLIENT",
- "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
- }
- },
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/MAPREDUCE_CLIENT",
- "HostRoles" : {
- "configs" : { },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "INSTALLED",
- "state" : "INSTALLED",
- "component_name" : "MAPREDUCE_CLIENT",
- "host_name" : "ip-10-110-38-164.ec2.internal"
- }
- },
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/MAPREDUCE_CLIENT",
- "HostRoles" : {
- "configs" : { },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "INSTALLED",
- "state" : "INSTALLED",
- "component_name" : "MAPREDUCE_CLIENT",
- "host_name" : "ip-10-191-202-42.ec2.internal"
- }
- },
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/MAPREDUCE_CLIENT",
- "HostRoles" : {
- "configs" : { },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "INSTALLED",
- "state" : "INSTALLED",
- "component_name" : "MAPREDUCE_CLIENT",
- "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
- }
- },
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/MAPREDUCE_CLIENT",
- "HostRoles" : {
- "configs" : { },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "INSTALLED",
- "state" : "INSTALLED",
- "component_name" : "MAPREDUCE_CLIENT",
- "host_name" : "ip-10-110-79-42.ec2.internal"
- }
- }
- ]
- },
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/MAPREDUCE/components/TASKTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "state" : "STARTED",
- "component_name" : "TASKTRACKER",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/TASKTRACKER",
- "HostRoles" : {
- "configs" : {
- "mapred-site" : "version1",
- "global" : "version1",
- "core-site" : "version1"
- },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "TASKTRACKER",
- "host_name" : "ip-10-110-79-42.ec2.internal"
- }
- },
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/TASKTRACKER",
- "HostRoles" : {
- "configs" : {
- "mapred-site" : "version1",
- "global" : "version1",
- "core-site" : "version1"
- },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "TASKTRACKER",
- "host_name" : "ip-10-191-202-42.ec2.internal"
- }
- },
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/TASKTRACKER",
- "HostRoles" : {
- "configs" : {
- "mapred-site" : "version1",
- "global" : "version1",
- "core-site" : "version1"
- },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "TASKTRACKER",
- "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
- }
- },
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/TASKTRACKER",
- "HostRoles" : {
- "configs" : {
- "mapred-site" : "version1",
- "global" : "version1",
- "core-site" : "version1"
- },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "TASKTRACKER",
- "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
- }
- },
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/TASKTRACKER",
- "HostRoles" : {
- "configs" : {
- "mapred-site" : "version1",
- "global" : "version1",
- "core-site" : "version1"
- },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "TASKTRACKER",
- "host_name" : "ip-10-110-38-164.ec2.internal"
- }
- }
- ]
- },
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/MAPREDUCE/components/JOBTRACKER",
- "ServiceComponentInfo" : {
- "component_name" : "JOBTRACKER",
- "state" : "STARTED",
- "HeapMemoryUsed" : 129384032,
- "service_name" : "MAPREDUCE",
- "HeapMemoryMax" : 1052770304,
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "jobs_running" : 0,
- "BlackListedNodes" : "[]",
- "StartTime" : 1358245381436,
- "AliveNodes" : "[{\"hostname\":\"domU-12-31-39-16-48-4B.compute-1.internal\",\"last_seen\":1358264806195,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0},{\"hostname\":\"ip-10-110-38-164.ec2.internal\",\"last_seen\":1358264806343,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0},{\"hostname\":\"domU-12-31-39-0E-E6-01.compute-1.internal\",\"last_seen\":1358264806332,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0},{\"hostname\":\"ip-10-191-202-42.ec2.internal\",\"last_seen\":1358264806381,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0},{\"hostname\":\"ip-10-110-79-42.ec2.internal\",\"last_seen\"
:1358264806352,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0}]",
- "Version" : "1.1.2.21, r",
- "GrayListedNodes" : "[]",
- "Queue" : {
- "reserved_reduce_slots" : 0,
- "running_300" : 0,
- "jobs_completed" : 4,
- "reserved_map_slots" : 0,
- "running_0" : 0,
- "waiting_maps" : 0,
- "running_1440" : 0,
- "running_60" : 0,
- "jobs_submitted" : 4,
- "waiting_reduces" : 0
- },
- "jobtracker" : {
- "reserved_reduce_slots" : 0,
- "running_maps" : 0,
- "jobs_running" : 0,
- "running_reduces" : 0,
- "occupied_map_slots" : 0,
- "reserved_map_slots" : 0,
- "jobs_completed" : 4,
- "waiting_maps" : 0,
- "jobs_submitted" : 4,
- "occupied_reduce_slots" : 0,
- "waiting_reduces" : 0
- }
- },
- "host_components" : [
- {
- "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/JOBTRACKER",
- "HostRoles" : {
- "configs" : {
- "mapred-site" : "version1",
- "global" : "version1",
- "core-site" : "version1"
- },
- "cluster_name" : "cl1",
- "desired_configs" : { },
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "JOBTRACKER",
- "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
- }
- }
- ]
- }
- ]
- },
- {
"href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HIVE",
"ServiceInfo" : {
"cluster_name" : "cl1",
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/services/metrics/mapreduce/gc.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/services/metrics/mapreduce/gc.json b/ambari-web/app/assets/data/services/metrics/mapreduce/gc.json
deleted file mode 100644
index fcae92b..0000000
--- a/ambari-web/app/assets/data/services/metrics/mapreduce/gc.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "href" : "http://ambari/clusters/SrimanthAmbari/hosts/hostname/host_components/JOBTRACKER?fields=metrics/jvm/gcTimeMillis[1351213550,1351217148,60]",
- "HostRoles" : {
- "cluster_name" : "SrimanthAmbari",
- "component_name" : "JOBTRACKER",
- "host_name" : "hostname"
- },
- "host" : {
- "href" : "http://ambari/clusters/SrimanthAmbari/hosts/hostname"
- },
- "metrics" : {
- "jvm" : {
- "gcTimeMillis" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.011111111111,1351215720],[0.0,1351216080],[0.0,1351216440],[1.1930462189E7,1351216800],[0.069444444444,1351217160]]"
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/services/metrics/mapreduce/jobs_status.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/services/metrics/mapreduce/jobs_status.json b/ambari-web/app/assets/data/services/metrics/mapreduce/jobs_status.json
deleted file mode 100644
index 8b07690..0000000
--- a/ambari-web/app/assets/data/services/metrics/mapreduce/jobs_status.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "href" : "http://ambari/clusters/SrimanthAmbari/services/MAPREDUCE/components/JOBTRACKER?fields=metrics/mapred/jobtracker/jobs_completed[1351213550,1351217148,60],metrics/mapred/jobtracker/jobs_preparing[1351213550,1351217148,60],metrics/mapred/jobtracker/jobs_failed[1351213550,1351217148,60],metrics/mapred/jobtracker/jobs_submitted[1351213550,1351217148,60],metrics/mapred/jobtracker/jobs_failed[1351213550,1351217148,60],metrics/mapred/jobtracker/jobs_running[1351213550,1351217148,60]",
- "metrics" : {
- "mapred" : {
- "jobtracker" : {
- "jobs_running" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.077777777778,1351217160]]",
- "jobs_failed" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.0,1351217160]]",
- "jobs_completed" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[1.19304647E7,1351216800],[0.0083333333333,1351217160]]",
- "jobs_preparing" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.086111111111,1351217160]]",
- "jobs_submitted" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[1.19304647E7,1351216800],[0.0083333333333,1351217160]]"
- }
- }
- },
- "ServiceComponentInfo" : {
- "cluster_name" : "SrimanthAmbari",
- "component_name" : "JOBTRACKER",
- "service_name" : "MAPREDUCE"
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/services/metrics/mapreduce/jvm_heap.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/services/metrics/mapreduce/jvm_heap.json b/ambari-web/app/assets/data/services/metrics/mapreduce/jvm_heap.json
deleted file mode 100644
index 6893d38..0000000
--- a/ambari-web/app/assets/data/services/metrics/mapreduce/jvm_heap.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "href" : "http://ambari/clusters/SrimanthAmbari/hosts/hostname/host_components/JOBTRACKER?fields=metrics/jvm/memNonHeapUsedM[1351213550,1351217148,60],metrics/jvm/memNonHeapCommittedM[1351213550,1351217148,60],metrics/jvm/memHeapUsedM[1351213550,1351217148,60],metrics/jvm/memHeapCommittedM[1351213550,1351217148,60]",
- "HostRoles" : {
- "cluster_name" : "SrimanthAmbari",
- "component_name" : "JOBTRACKER",
- "host_name" : "hostname"
- },
- "host" : {
- "href" : "http://ambari/clusters/SrimanthAmbari/hosts/hostname"
- },
- "metrics" : {
- "jvm" : {
- "memHeapCommittedM" : "[[185.1875,1351213560],[185.1875,1351213920],[185.1875,1351214280],[185.1875,1351214640],[185.1875,1351215000],[185.1875,1351215360],[185.1875,1351215720],[185.1875,1351216080],[185.1875,1351216440],[185.1875,1351216800],[185.1875,1351217160]]",
- "memNonHeapUsedM" : "[[24.856247,1351213560],[24.856247,1351213920],[24.856247,1351214280],[24.856247,1351214640],[24.856247,1351215000],[24.856247,1351215360],[24.856247,1351215720],[24.856247,1351216080],[24.856247,1351216440],[23.964379333,1351216800],[21.711374106,1351217160]]",
- "memHeapUsedM" : "[[58.635102042,1351213560],[76.2040755,1351213920],[93.246927389,1351214280],[110.45160614,1351214640],[127.54546414,1351215000],[144.66363658,1351215360],[96.690545511,1351215720],[20.528702175,1351216080],[38.275298164,1351216440],[59.513269842,1351216800],[127.88187832,1351217160]]",
- "memNonHeapCommittedM" : "[[39.08203,1351213560],[39.08203,1351213920],[39.08203,1351214280],[39.08203,1351214640],[39.08203,1351215000],[39.08203,1351215360],[39.08203,1351215720],[39.08203,1351216080],[39.08203,1351216440],[36.653699028,1351216800],[23.404166667,1351217160]]"
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/services/metrics/mapreduce/jvm_threads.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/services/metrics/mapreduce/jvm_threads.json b/ambari-web/app/assets/data/services/metrics/mapreduce/jvm_threads.json
deleted file mode 100644
index 615e3dc..0000000
--- a/ambari-web/app/assets/data/services/metrics/mapreduce/jvm_threads.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "href" : "http://ambari/clusters/SrimanthAmbari/hosts/hostname/host_components/JOBTRACKER?fields=metrics/jvm/threadsRunnable[1351213550,1351217148,60],metrics/jvm/threadsBlocked[1351213550,1351217148,60],metrics/jvm/threadsWaiting[1351213550,1351217148,60],metrics/jvm/threadsTimedWaiting[1351213550,1351217148,60]",
- "HostRoles" : {
- "cluster_name" : "SrimanthAmbari",
- "component_name" : "JOBTRACKER",
- "host_name" : "hostname"
- },
- "host" : {
- "href" : "http://ambari/clusters/SrimanthAmbari/hosts/hostname"
- },
- "metrics" : {
- "jvm" : {
- "threadsBlocked" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.0,1351217160]]",
- "threadsWaiting" : "[[59.0,1351213560],[59.0,1351213920],[59.0,1351214280],[59.0,1351214640],[59.0,1351215000],[59.0,1351215360],[59.0,1351215720],[59.0,1351216080],[59.0,1351216440],[58.388888889,1351216800],[58.627777778,1351217160]]",
- "threadsTimedWaiting" : "[[10.0,1351213560],[10.0,1351213920],[10.0,1351214280],[10.0,1351214640],[10.0,1351215000],[10.0,1351215360],[10.0,1351215720],[10.0,1351216080],[10.0,1351216440],[10.161111111,1351216800],[10.830555556,1351217160]]",
- "threadsRunnable" : "[[6.0,1351213560],[6.0,1351213920],[6.0,1351214280],[6.0,1351214640],[6.0,1351215000],[6.0,1351215360],[6.0,1351215720],[6.0,1351216080],[6.0,1351216440],[6.0,1351216800],[6.0,1351217160]]"
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/services/metrics/mapreduce/map_slots.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/services/metrics/mapreduce/map_slots.json b/ambari-web/app/assets/data/services/metrics/mapreduce/map_slots.json
deleted file mode 100644
index ea7a458..0000000
--- a/ambari-web/app/assets/data/services/metrics/mapreduce/map_slots.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "href" : "http://ambari/clusters/SrimanthAmbari/services/MAPREDUCE/components/JOBTRACKER?fields=metrics/mapred/jobtracker/occupied_map_slots[1351213550,1351217148,60],metrics/mapred/jobtracker/reserved_map_slots[1351213550,1351217148,60]",
- "metrics" : {
- "mapred" : {
- "jobtracker" : {
- "reserved_map_slots" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.0,1351217160]]",
- "occupied_map_slots" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.038888888889,1351217160]]"
- }
- }
- },
- "ServiceComponentInfo" : {
- "cluster_name" : "SrimanthAmbari",
- "component_name" : "JOBTRACKER",
- "service_name" : "MAPREDUCE"
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/services/metrics/mapreduce/reduce_slots.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/services/metrics/mapreduce/reduce_slots.json b/ambari-web/app/assets/data/services/metrics/mapreduce/reduce_slots.json
deleted file mode 100644
index 3d501a1..0000000
--- a/ambari-web/app/assets/data/services/metrics/mapreduce/reduce_slots.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "href" : "http://ambari/clusters/SrimanthAmbari/services/MAPREDUCE/components/JOBTRACKER?fields=metrics/mapred/jobtracker/occupied_reduce_slots[1351213550,1351217148,60],metrics/mapred/jobtracker/reserved_reduce_slots[1351213550,1351217148,60]",
- "metrics" : {
- "mapred" : {
- "jobtracker" : {
- "reserved_reduce_slots" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.0,1351217160]]",
- "occupied_reduce_slots" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.038888888889,1351217160]]"
- }
- }
- },
- "ServiceComponentInfo" : {
- "cluster_name" : "SrimanthAmbari",
- "component_name" : "JOBTRACKER",
- "service_name" : "MAPREDUCE"
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/services/metrics/mapreduce/rpc.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/services/metrics/mapreduce/rpc.json b/ambari-web/app/assets/data/services/metrics/mapreduce/rpc.json
deleted file mode 100644
index 9f284f2..0000000
--- a/ambari-web/app/assets/data/services/metrics/mapreduce/rpc.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "href" : "http://ambari/clusters/SrimanthAmbari/hosts/hostname/host_components/JOBTRACKER?fields=metrics/rpc/RpcQueueTime_avg_time[1351213550,1351217148,60]",
- "HostRoles" : {
- "cluster_name" : "SrimanthAmbari",
- "component_name" : "JOBTRACKER",
- "host_name" : "hostname"
- },
- "host" : {
- "href" : "http://ambari/clusters/SrimanthAmbari/hosts/hostname"
- },
- "metrics" : {
- "rpc" : {
- "RpcQueueTime_avg_time" : "[[0.069553376906,1351213560],[0.08265993266,1351213920],[0.096717171717,1351214280],[0.07859724698,1351214640],[0.093248663102,1351215000],[0.084630619925,1351215360],[0.09087443058,1351215720],[0.075108932462,1351216080],[0.086007130125,1351216440],[0.42323904309,1351216800],[0.14756856477,1351217160]]"
- }
- }
-}
\ No newline at end of file
[3/7] ambari git commit: AMBARI-8921 Remove support for MapReduce as
part of 1.3 stack. (ababiichuk)
Posted by ab...@apache.org.
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/wizard/step8_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step8_controller.js b/ambari-web/app/controllers/wizard/step8_controller.js
index 61d3014..a965762 100644
--- a/ambari-web/app/controllers/wizard/step8_controller.js
+++ b/ambari-web/app/controllers/wizard/step8_controller.js
@@ -1471,9 +1471,7 @@ App.WizardStep8Controller = Em.Controller.extend(App.AddSecurityConfigs, App.wiz
Object.keys(service.get('configTypes')).forEach(function (type) {
if (!this.get('serviceConfigTags').someProperty('type', type)) {
var serviceVersionNotes = Em.I18n.t('dashboard.configHistory.table.notes.default').format(service.get('displayName'));
- if (service.get('serviceName') === 'MAPREDUCE' && (type === 'capacity-scheduler' || type === 'mapred-queue-acls')) {
- return;
- } else if (type === 'core-site') {
+ if (type === 'core-site') {
coreSiteObject.service_config_version_note = serviceVersionNotes;
this.get('serviceConfigTags').pushObject(coreSiteObject);
} else if (type === 'storm-site') {
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/wizard/step9_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step9_controller.js b/ambari-web/app/controllers/wizard/step9_controller.js
index 361ce30..1323451 100644
--- a/ambari-web/app/controllers/wizard/step9_controller.js
+++ b/ambari-web/app/controllers/wizard/step9_controller.js
@@ -481,7 +481,7 @@ App.WizardStep9Controller = Em.Controller.extend({
case 'addServiceController':
var servicesList = this.get('content.services').filterProperty('isSelected').filterProperty('isInstalled', false).mapProperty('serviceName');
if (servicesList.contains('OOZIE')) {
- servicesList = servicesList.concat(['HDFS', 'YARN', 'MAPREDUCE', 'MAPREDUCE2']);
+ servicesList = servicesList.concat(['HDFS', 'YARN', 'MAPREDUCE2']);
}
name = 'common.services.update';
data = {
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/data/service_graph_config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/service_graph_config.js b/ambari-web/app/data/service_graph_config.js
index be269c6..1ddb7ae 100644
--- a/ambari-web/app/data/service_graph_config.js
+++ b/ambari-web/app/data/service_graph_config.js
@@ -51,17 +51,6 @@ App.service_graph_config = {
'YARN_JVMHeap'
],
- 'mapreduce': [
- 'MapReduce_JobsStatus',
- 'MapReduce_TasksRunningWaiting',
- 'MapReduce_MapSlots',
- 'MapReduce_ReduceSlots',
- 'MapReduce_GC',
- 'MapReduce_RPC',
- 'MapReduce_JVMHeap',
- 'MapReduce_JVMThreads'
- ],
-
'hbase': [
'HBASE_ClusterRequests',
'HBASE_RegionServerReadWriteRequests',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/mappers/components_state_mapper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mappers/components_state_mapper.js b/ambari-web/app/mappers/components_state_mapper.js
index 803bba9..d6e1482 100644
--- a/ambari-web/app/mappers/components_state_mapper.js
+++ b/ambari-web/app/mappers/components_state_mapper.js
@@ -52,11 +52,6 @@ App.componentsStateMapper = App.QuickDataMapper.create({
node_managers_installed: 'INSTALLED_PATH',
node_managers_total: 'TOTAL_PATH'
},
- 'TASKTRACKER': {
- task_trackers_started: 'STARTED_PATH',
- task_trackers_installed: 'INSTALLED_PATH',
- task_trackers_total: 'TOTAL_PATH'
- },
'HBASE_REGIONSERVER': {
region_servers_started: 'STARTED_PATH',
region_servers_installed: 'INSTALLED_PATH',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/mappers/service_metrics_mapper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mappers/service_metrics_mapper.js b/ambari-web/app/mappers/service_metrics_mapper.js
index 28b001a..d341b46 100644
--- a/ambari-web/app/mappers/service_metrics_mapper.js
+++ b/ambari-web/app/mappers/service_metrics_mapper.js
@@ -95,34 +95,6 @@ App.serviceMetricsMapper = App.QuickDataMapper.create({
version: 'jobHistoryServerComponent.ServiceComponentInfo.Version',
map_reduce2_clients: 'map_reduce2_clients'
},
- mapReduceConfig: {
- version: 'jobTrackerComponent.ServiceComponentInfo.Version',
- job_tracker_start_time: 'jobTrackerComponent.ServiceComponentInfo.StartTime',
- job_tracker_heap_used: 'jobTrackerComponent.ServiceComponentInfo.HeapMemoryUsed',
- job_tracker_heap_max: 'jobTrackerComponent.ServiceComponentInfo.HeapMemoryMax',
- alive_trackers: 'alive_trackers',
- black_list_trackers: 'black_list_trackers',
- gray_list_trackers: 'gray_list_trackers',
- map_slots: 'map_slots',
- reduce_slots: 'reduce_slots',
- jobs_submitted: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.jobs_submitted',
- jobs_completed: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.jobs_completed',
- jobs_running: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.jobs_running',
- map_slots_occupied: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.occupied_map_slots',
- map_slots_reserved: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.reserved_map_slots',
- reduce_slots_occupied: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.occupied_reduce_slots',
- reduce_slots_reserved: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.reserved_reduce_slots',
- maps_running: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.running_maps',
- maps_waiting: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.waiting_maps',
- reduces_running: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.running_reduces',
- reduces_waiting: 'jobTrackerComponent.ServiceComponentInfo.jobtracker.waiting_reduces',
- trackers_decommissioned: 'jobTrackerComponent.host_components[0].metrics.mapred.jobtracker.trackers_decommissioned',
- job_tracker_cpu: 'jobTrackerComponent.host_components[0].metrics.cpu.cpu_wio',
- job_tracker_rpc: 'jobTrackerComponent.host_components[0].metrics.rpc.RpcQueueTime_avg_time',
- task_trackers_started: 'task_trackers_started',
- task_trackers_installed: 'task_trackers_installed',
- task_trackers_total: 'task_trackers_total'
- },
hbaseConfig: {
version: 'masterComponent.ServiceComponentInfo.Version',
master_start_time: 'masterComponent.ServiceComponentInfo.MasterStartTime',
@@ -244,11 +216,6 @@ App.serviceMetricsMapper = App.QuickDataMapper.create({
finalJson.rand = Math.random();
result.push(finalJson);
App.store.load(App.HDFSService, finalJson);
- } else if (item && item.ServiceInfo && item.ServiceInfo.service_name == "MAPREDUCE") {
- finalJson = this.mapreduceMapper(item);
- finalJson.rand = Math.random();
- result.push(finalJson);
- App.store.load(App.MapReduceService, finalJson);
} else if (item && item.ServiceInfo && item.ServiceInfo.service_name == "HBASE") {
finalJson = this.hbaseMapper(item);
finalJson.rand = Math.random();
@@ -545,57 +512,6 @@ App.serviceMetricsMapper = App.QuickDataMapper.create({
return finalJson;
},
- mapreduceMapper: function (item) {
- // Change the JSON so that it is easy to map
- var result = [];
- var finalConfig = jQuery.extend({}, this.config);
- var mapReduceConfig = this.mapReduceConfig;
- item.components.forEach(function (component) {
- if (component.ServiceComponentInfo && component.ServiceComponentInfo.component_name == "JOBTRACKER") {
- item.jobTrackerComponent = component;
- finalConfig = jQuery.extend(finalConfig, mapReduceConfig);
- // Get the live, gray & black nodes from string json
- item.map_slots = 0;
- item.reduce_slots = 0;
- var liveNodesJson = App.parseJSON(component.ServiceComponentInfo.AliveNodes);
- var grayNodesJson = App.parseJSON(component.ServiceComponentInfo.GrayListedNodes);
- var blackNodesJson = App.parseJSON(component.ServiceComponentInfo.BlackListedNodes);
- item.alive_trackers = [];
- item.gray_list_trackers = [];
- item.black_list_trackers = [];
- if (liveNodesJson != null) {
- liveNodesJson.forEach(function (nj) {
- item.alive_trackers.push('TASKTRACKER' + '_' + nj.hostname);
- if (nj.slots && nj.slots.map_slots)
- item.map_slots += nj.slots.map_slots;
- if (nj.slots && nj.slots.map_slots_used)
- item.map_slots_used += nj.slots.map_slots_used;
- if (nj.slots && nj.slots.reduce_slots)
- item.reduce_slots += nj.slots.reduce_slots;
- if (nj.slots && nj.slots.reduce_slots_used)
- item.reduce_slots_used += nj.slots.reduce_slots_used;
- });
- }
- if (grayNodesJson != null) {
- grayNodesJson.forEach(function (nj) {
- item.gray_list_trackers.push('TASKTRACKER' + '_' + nj.hostname);
- });
- }
- if (blackNodesJson != null) {
- blackNodesJson.forEach(function (nj) {
- item.black_list_trackers.push('TASKTRACKER' + '_' + nj.hostname);
- });
- }
- } else if (component.ServiceComponentInfo && component.ServiceComponentInfo.component_name == "HISTORYSERVER") {
- item.jobHistoryServerComponent = component;
- finalConfig = jQuery.extend(finalConfig, mapReduceConfig);
- }
- });
- // Map
- var finalJson = this.parseIt(item, finalConfig);
- finalJson.quick_links = [5, 6, 7, 8, 9, 10, 11, 12];
- return finalJson;
- },
hbaseMapper: function (item) {
// Change the JSON so that it is easy to map
var finalConfig = jQuery.extend({}, this.config);
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index d6243a8..11dd203 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -342,7 +342,6 @@ Em.I18n.translations = {
'services.ganglia.description':'Ganglia Metrics Collection system',
'services.hdfs.description':'Apache Hadoop Distributed File System',
'services.glusterfs.description':'Apache Hadoop Compatible File System (must be installed manually)',
- 'services.mapreduce.description':'Apache Hadoop Distributed Processing Framework',
'services.sqoop.description':'Tool for transferring bulk data between Apache Hadoop and structured data stores such as relational databases',
'services.pig.description':'Scripting platform for analyzing large datasets',
'services.hive.description':'Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service',
@@ -1180,7 +1179,6 @@ Em.I18n.translations = {
'admin.security.enable.popup.header': 'Add security',
'admin.security.disable.popup.header': 'Remove security',
'admin.security.disable.popup.body': 'Kerberos security will be disabled on the cluster',
- 'admin.security.disable.popup.body.warning' : 'Note: Before proceeding, you need to manually remove all directories listed in the mapred.local.dir property in mapred-site.xml on all TaskTracker hosts; otherwise, MapReduce will not run properly after disabling security.',
'admin.addSecurity.header': 'Enable Security Wizard',
'admin.security.step1.header': 'Get Started',
'admin.security.step2.header': 'Configure Services',
@@ -1520,38 +1518,18 @@ Em.I18n.translations = {
'services.service.info.metrics.hdfs.spaceUtilization.displayNames.capacityTotal':'Capacity Total',
'services.service.info.metrics.hdfs.spaceUtilization.displayNames.capacityNonDFSUsed':'Non DFS Capacity Used',
- 'services.service.info.metrics.mapreduce.gc':'Garbage Collection',
- 'services.service.info.metrics.mapreduce.gc.displayNames.gcTimeMillis':'Time',
- 'services.service.info.metrics.mapreduce.jobsStatus':'Jobs Status',
- 'services.service.info.metrics.mapreduce.jobsStatus.displayNames.jobsRunning':'Running',
- 'services.service.info.metrics.mapreduce.jobsStatus.displayNames.jobsFailed':'Failed',
- 'services.service.info.metrics.mapreduce.jobsStatus.displayNames.jobsCompleted':'Succeeded',
- 'services.service.info.metrics.mapreduce.jobsStatus.displayNames.jobsPreparing':'Preparing',
- 'services.service.info.metrics.mapreduce.jobsStatus.displayNames.jobsSubmitted':'Submitted',
- 'services.service.info.metrics.mapreduce.jvmHeap':'JVM Memory Status',
- 'services.service.info.metrics.mapreduce.jvmHeap.displayNames.memHeapCommittedM':'Heap Memory Committed',
- 'services.service.info.metrics.mapreduce.jvmHeap.displayNames.memNonHeapUsedM':'Non Heap Memory Used',
- 'services.service.info.metrics.mapreduce.jvmHeap.displayNames.memHeapUsedM':'Heap Memory Used',
- 'services.service.info.metrics.mapreduce.jvmHeap.displayNames.memNonHeapCommittedM':'Non Heap Memory Committed',
- 'services.service.info.metrics.mapreduce.jvmThreads':'JVM Thread Status',
- 'services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsBlocked':'Threads Blocked',
- 'services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsWaiting':'Threads Waiting',
- 'services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsTimedWaiting':'Threads Timed Waiting',
- 'services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsRunnable':'Threads Runnable',
- 'services.service.info.metrics.mapreduce.mapSlots':'Map Slots Utilization',
- 'services.service.info.metrics.mapreduce.mapSlots.displayNames.reservedMapSlots':'Map Slots Reserved',
- 'services.service.info.metrics.mapreduce.mapSlots.displayNames.occupiedMapSlots':'Map Slots Occupied',
- 'services.service.info.metrics.mapreduce.reduceSlots':'Reduce Slots Utilization',
- 'services.service.info.metrics.mapreduce.reduceSlots.displayNames.reservedReduceSlots':'Reduce Slots Reserved',
- 'services.service.info.metrics.mapreduce.reduceSlots.displayNames.occupiedReduceSlots':'Reduce Slots Occupied',
- 'services.service.info.metrics.mapreduce.rpc':'RPC',
- 'services.service.info.metrics.mapreduce.rpc.displayNames.RpcQueueTimeAvgTime':'Queue Average Wait Time',
- 'services.service.info.metrics.mapreduce.tasksRunningWaiting':'Tasks (Running/Waiting)',
- 'services.service.info.metrics.mapreduce.tasksRunningWaiting.displayNames.runningMaps':'Running Map Tasks',
- 'services.service.info.metrics.mapreduce.tasksRunningWaiting.displayNames.runningReduces':'Running Reduce Tasks',
- 'services.service.info.metrics.mapreduce.tasksRunningWaiting.displayNames.waitingMaps':'Waiting Map Tasks',
- 'services.service.info.metrics.mapreduce.tasksRunningWaiting.displayNames.waitingReduces':'Waiting Reduce Tasks',
-
+ 'services.service.info.metrics.yarn.jvmHeap':'JVM Memory Status',
+ 'services.service.info.metrics.yarn.jvmHeap.displayNames.memHeapCommittedM':'Heap Memory Committed',
+ 'services.service.info.metrics.yarn.jvmHeap.displayNames.memNonHeapUsedM':'Non Heap Memory Used',
+ 'services.service.info.metrics.yarn.jvmHeap.displayNames.memHeapUsedM':'Heap Memory Used',
+ 'services.service.info.metrics.yarn.jvmHeap.displayNames.memNonHeapCommittedM':'Non Heap Memory Committed',
+ 'services.service.info.metrics.yarn.jvmThreads':'JVM Thread Status',
+ 'services.service.info.metrics.yarn.jvmThreads.displayNames.threadsBlocked':'Threads Blocked',
+ 'services.service.info.metrics.yarn.jvmThreads.displayNames.threadsWaiting':'Threads Waiting',
+ 'services.service.info.metrics.yarn.jvmThreads.displayNames.threadsTimedWaiting':'Threads Timed Waiting',
+ 'services.service.info.metrics.yarn.jvmThreads.displayNames.threadsRunnable':'Threads Runnable',
+ 'services.service.info.metrics.yarn.rpc':'RPC',
+ 'services.service.info.metrics.yarn.rpc.displayNames.RpcQueueTimeAvgTime':'Queue Average Wait Time',
'services.service.info.metrics.yarn.gc': 'Garbage Collection',
'services.service.info.metrics.yarn.gc.displayNames.gcTimeMillis':'Time',
'services.service.info.metrics.yarn.allocated.memory': 'Cluster Memory',
@@ -1617,7 +1595,6 @@ Em.I18n.translations = {
'services.service.config.saved.message':'Service configuration changes saved successfully.',
'services.service.config.saving.message':'Configuration changes are being saved...',
'services.service.config.msgServiceStop':'Could not save configuration changes. Please stop the service first. You will be able to save configuration changes after all of its components are stopped.',
- 'services.service.config.msgHDFSMapRServiceStop':'Could not save configuration changes. Please stop both HDFS and MapReduce first. You will be able to save configuration changes after all HDFS and MapReduce components are stopped.',
'services.service.config.failCreateConfig' : 'Failure in creating service configuration',
'services.service.config.failSaveConfig':'Failure in saving service configuration',
'services.service.config.failSaveConfigHostOverrides':'Failure in saving service configuration overrides',
@@ -1854,33 +1831,6 @@ Em.I18n.translations = {
'services.mapreduce2.history.unknown': 'History server status is unknown',
'services.mapreduce2.smokeTest.requirement': 'MapReduce2 smoke test requires YARN service be started',
- 'services.mapReduce.config.addQueue':'Add Queue',
- 'services.mapReduce.config.editQueue':'Edit Queue',
- 'services.mapReduce.config.capacitySchedulerXml':'Custom capacity-scheduler.xml',
- 'services.mapReduce.config.queue.header':'Queues',
- 'services.mapReduce.config.queue.name':'Queue Name',
- 'services.mapReduce.config.queue.groups':'Groups',
- 'services.mapReduce.config.queue.capacity':'Capacity',
- 'services.mapReduce.config.queue.maxCapacity':'Max Capacity',
- 'services.mapReduce.config.queue.minUserLimit':'Min User Limit',
- 'services.mapReduce.config.queue.userLimitFactor':'User Limit Factor',
- 'services.mapReduce.config.queue.supportsPriority': 'Supports priority',
- 'services.mapReduce.config.queue.adminUsers':'Admin Users',
- 'services.mapReduce.config.queue.adminGroups':'Admin Groups',
- 'services.mapReduce.config.queue.maxActiveTasks':'Max active initialized tasks',
- 'services.mapReduce.config.queue.maxActiveTasksPerUser':'Max active initialized tasks per user',
- 'services.mapReduce.config.queue.initAcceptJobsFactor':'Init accept jobs factor',
- 'services.mapReduce.extraConfig.queue.name':'Queue name',
- 'services.mapReduce.description.queue.name':'Name of the queue',
- 'services.mapReduce.description.queue.submit.user':"Comma separated list of usernames that are allowed to submit jobs to the queue. " +
- "If set to the special value '*', it means all users are allowed to submit jobs.",
- 'services.mapReduce.description.queue.admin.user':"Comma separated list of usernames that are allowed to delete jobs or modify job's priority for " +
- "jobs not owned by the current user in the queue. If set to the special value '*', it means all users are " +
- "allowed to do this operation.",
- 'services.mapReduce.description.queue.submit.group':'Comma separated list of group names that are allowed to submit jobs to the queue.',
- 'services.mapReduce.description.queue.admin.group':"Comma separated list of group names that are allowed to delete jobs or modify job's priority " +
- "for jobs not owned by the current user in the queue.",
-
'services.tez.client': 'Tez client',
'services.tez.clients': 'Tez clients',
'services.pig.client': 'Pig client',
@@ -2139,7 +2089,6 @@ Em.I18n.translations = {
'charts.heatmap.item.host.disk':'Disk Space Used',
'charts.heatmap.item.host.process':'Total Running Processes',
'charts.heatmap.category.hdfs':'HDFS',
- 'charts.heatmap.category.mapreduce': 'MapReduce',
'charts.heatmap.category.yarn': 'YARN',
'charts.heatmap.category.hbase': 'HBase',
'charts.heatmap.unknown': 'Unknown',
@@ -2150,12 +2099,8 @@ Em.I18n.translations = {
'charts.heatmap.metrics.DFSGarbageCollection' :'HDFS Garbage Collection Time',
'charts.heatmap.metrics.DFSMemHeapUsed' :'HDFS JVM Heap Memory Used',
'charts.heatmap.metrics.diskSpaceUsed' :'Host Disk Space Used %',
- 'charts.heatmap.metrics.MapReduceGCTime' :'MapReduce Garbage Collection Time',
'charts.heatmap.metrics.YarnGCTime' :'YARN Garbage Collection Time',
- 'charts.heatmap.metrics.mapsRunning' :'MapReduce Maps Running',
- 'charts.heatmap.metrics.MRMemHeapUsed' :'MapReduce JVM Heap Memory Used',
'charts.heatmap.metrics.YarnMemHeapUsed' :'YARN JVM Heap Memory Used',
- 'charts.heatmap.metrics.reducesRunning' :'MapReduce Reduces Running',
'charts.heatmap.metrics.memoryUsed' :'Host Memory Used %',
'charts.heatmap.metrics.processRun' :'Total Running Processes',
@@ -2202,26 +2147,16 @@ Em.I18n.translations = {
'dashboard.widgets.HDFSDiskUsage.nonDFSused': 'non DFS used',
'dashboard.widgets.HDFSDiskUsage.remaining': 'remaining',
'dashboard.widgets.HDFSDiskUsage.info': '{0} ({1}%)',
- 'dashboard.widgets.JobTrackerHeap': 'JobTracker Heap',
- 'dashboard.widgets.JobTrackerCpu': 'JobTracker CPU WIO',
- 'dashboard.widgets.JobTrackerCapacity': 'JobTracker Capacity',
'dashboard.widgets.DataNodeUp': 'DataNodes Live',
- 'dashboard.widgets.TaskTrackerUp': 'TaskTrackers Live',
'dashboard.widgets.SuperVisorUp': 'Supervisors Live',
'dashboard.widgets.FlumeAgentUp': 'Flume Live',
'dashboard.widgets.NameNodeRpc': 'NameNode RPC',
- 'dashboard.widgets.JobTrackerRpc': 'JobTracker RPC',
- 'dashboard.widgets.MapReduceSlots': 'MapReduce Slots',
- 'dashboard.widgets.mapSlots': 'Map Slots',
- 'dashboard.widgets.reduceSlots': 'Reduce Slots',
'dashboard.widgets.nothing': 'No Widget to Add',
'dashboard.widgets.NameNodeUptime': 'NameNode Uptime',
- 'dashboard.widgets.JobTrackerUptime': 'JobTracker Uptime',
'dashboard.widgets.HDFSLinks': 'HDFS Links',
'dashboard.widgets.HDFSLinks.activeNameNode': 'Active NameNode',
'dashboard.widgets.HDFSLinks.standbyNameNode': 'Standby NameNode',
'dashboard.widgets.HDFSLinks.standbyNameNodes': '2 Standby NameNodes',
- 'dashboard.widgets.MapReduceLinks': 'MapReduce Links',
'dashboard.widgets.HBaseLinks': 'HBase Links',
'dashboard.widgets.HBaseAverageLoad': 'HBase Ave Load',
'dashboard.widgets.HBaseMasterHeap': 'HBase Master Heap',
@@ -2295,29 +2230,6 @@ Em.I18n.translations = {
'dashboard.services.yarn.queues': 'Queues',
'dashboard.services.yarn.queues.msg': '{0} Queues',
- 'dashboard.services.mapreduce.summary':'{0} of {1} trackers live, {2} jobs running',
- 'dashboard.services.mapreduce.taskTrackers':'TaskTrackers',
- 'dashboard.services.mapreduce.taskTrackerCounts':'TaskTrackers Status',
- 'dashboard.services.mapreduce.trackers':'Trackers',
- 'dashboard.services.mapreduce.nodes.blacklist':'blacklist',
- 'dashboard.services.mapreduce.nodes.graylist':'graylist',
- 'dashboard.services.mapreduce.slotCapacity':'Total Slots Capacity',
- 'dashboard.services.mapreduce.trackersSummary':'{0}/{1}',
- 'dashboard.services.mapreduce.jobs':'Total Jobs',
- 'dashboard.services.mapreduce.jobsSummary':'{0} submitted / {1} completed',
- 'dashboard.services.mapreduce.mapSlots':'Map Slots',
- 'dashboard.services.mapreduce.mapSlotsSummary':'{0} occupied / {1} reserved',
- 'dashboard.services.mapreduce.reduceSlots':'Reduce Slots',
- 'dashboard.services.mapreduce.tasks.maps':'Tasks: Maps',
- 'dashboard.services.mapreduce.tasks.reduces':'Tasks: Reduces',
- 'dashboard.services.mapreduce.reduceSlotsSummary':'{0} occupied / {1} reserved',
- 'dashboard.services.mapreduce.tasksSummary':'{0} running / {1} waiting',
- 'dashboard.services.mapreduce.slotCapacitySummary':'{0} maps / {1} reduces / {2} avg per node',
- 'dashboard.services.mapreduce.jobTrackerHeap':'JobTracker Heap',
- 'dashboard.services.mapreduce.jobTrackerHeapSummary':'{0} of {1} ({2}% used)',
- 'dashboard.services.mapreduce.jobTrackerUptime':'Job Trackers Uptime',
- 'dashboard.services.mapreduce.chart.label':'Jobs Running',
-
'dashboard.services.flume.summary.title':'Flume installed on {0} host{1} ({2} agent{3})',
'dashboard.services.flume.summary.configure':'Configure Agents',
'dashboard.services.flume.agentsLabel': 'Flume',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/models.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models.js b/ambari-web/app/models.js
index 2ee85df..6081649 100644
--- a/ambari-web/app/models.js
+++ b/ambari-web/app/models.js
@@ -39,7 +39,6 @@ require('models/service_config');
require('models/service_audit');
require('models/service/hdfs');
require('models/service/yarn');
-require('models/service/mapreduce');
require('models/service/mapreduce2');
require('models/service/hbase');
require('models/service/flume');
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/models/alert.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/alert.js b/ambari-web/app/models/alert.js
index 2886dff..0f0b211 100644
--- a/ambari-web/app/models/alert.js
+++ b/ambari-web/app/models/alert.js
@@ -166,8 +166,6 @@ App.Alert = Em.Object.extend({
if (this.get('serviceType')) {
var type = this.get('serviceType').toLowerCase();
switch (type) {
- case 'mapreduce':
- return 'MapReduce';
case 'hdfs':
return 'HDFS';
case 'hbase':
@@ -190,8 +188,6 @@ App.Alert = Em.Object.extend({
if (this.get('serviceType')) {
var type = this.get('serviceType').toLowerCase();
switch (type) {
- case 'mapreduce':
- return '#/main/services/MAPREDUCE/summary';
case 'hdfs':
return '#/main/services/HDFS/summary';
case 'hbase':
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/models/quick_links.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/quick_links.js b/ambari-web/app/models/quick_links.js
index 260f4a7..9514a3a 100644
--- a/ambari-web/app/models/quick_links.js
+++ b/ambari-web/app/models/quick_links.js
@@ -87,109 +87,6 @@ App.QuickLinks.FIXTURES = [
default_https_port: 50470
},
{
- id:5,
- label:'JobTracker UI',
- url:'%@://%@:%@/jobtracker.jsp',
- service_id: 'MAPREDUCE',
- template:'%@://%@:%@/jobtracker.jsp',
- http_config: 'mapred.job.tracker.http.address',
- https_config: 'mapred.job.tracker.https.address',
- site: 'mapred-site',
- regex: portRegex,
- default_http_port: 50030,
- default_https_port: 50035
- },
- {
- id:6,
- label:'Scheduling Info',
- url:'%@://%@:%@/scheduler',
- service_id: 'MAPREDUCE',
- template:'%@://%@:%@/scheduler',
- http_config: 'mapred.job.tracker.http.address',
- https_config: 'mapred.job.tracker.https.address',
- site: 'mapred-site',
- regex: portRegex,
- default_http_port: 50030,
- default_https_port: 50035
- },
- {
- id:7,
- label:'Running Jobs',
- url:'%@://%@:%@/jobtracker.jsp#running_jobs',
- service_id: 'MAPREDUCE',
- template:'%@://%@:%@/jobtracker.jsp#running_jobs',
- http_config: 'mapred.job.tracker.http.address',
- https_config: 'mapred.job.tracker.https.address',
- site: 'mapred-site',
- regex: portRegex,
- default_http_port: 50030,
- default_https_port: 50035
- },
- {
- id:8,
- label:'Retired Jobs',
- url:'%@://%@:%@/jobtracker.jsp#retired_jobs',
- service_id: 'MAPREDUCE',
- template:'%@://%@:%@/jobtracker.jsp#retired_jobs',
- http_config: 'mapred.job.tracker.http.address',
- https_config: 'mapred.job.tracker.https.address',
- site: 'mapred-site',
- regex: portRegex,
- default_http_port: 50030,
- default_https_port: 50035
- },
- {
- id:9,
- label:'JobHistory Server',
- url:'%@://%@:%@/jobhistoryhome.jsp',
- service_id: 'MAPREDUCE',
- template:'%@://%@:%@/jobhistoryhome.jsp',
- http_config: 'mapreduce.history.server.http.address',
- site: 'mapred-site',
- regex: portRegex,
- default_http_port: 51111
- },
-
- {
- id:10,
- label:'JobTracker Logs',
- url:'%@://%@:%@/logs',
- service_id: 'MAPREDUCE',
- template:'%@://%@:%@/logs',
- http_config: 'mapred.job.tracker.http.address',
- https_config: 'mapred.job.tracker.https.address',
- site: 'mapred-site',
- regex: portRegex,
- default_http_port: 50030,
- default_https_port: 50035
- },
- {
- id:11,
- label:'JobTracker JMX',
- url:'%@://%@:%@/jmx',
- service_id: 'MAPREDUCE',
- template:'%@://%@:%@/jmx',
- http_config: 'mapred.job.tracker.http.address',
- https_config: 'mapred.job.tracker.https.address',
- site: 'mapred-site',
- regex: portRegex,
- default_http_port: 50030,
- default_https_port: 50035
- },
- {
- id:12,
- label:'Thread Stacks',
- url:'%@://%@:%@/stacks',
- service_id: 'MAPREDUCE',
- template:'%@://%@:%@/stacks',
- http_config: 'mapred.job.tracker.http.address',
- https_config: 'mapred.job.tracker.https.address',
- site: 'mapred-site',
- regex: portRegex,
- default_http_port: 50030,
- default_https_port: 50035
- },
- {
id:13,
label:'HBase Master UI',
url:'%@://%@:%@/master-status',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/models/service.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/service.js b/ambari-web/app/models/service.js
index 5e032dd..69fa446 100644
--- a/ambari-web/app/models/service.js
+++ b/ambari-web/app/models/service.js
@@ -178,7 +178,6 @@ App.Service.Health = {
*/
App.Service.extendedModel = {
'HDFS': 'HDFSService',
- 'MAPREDUCE': 'MapReduceService',
'HBASE': 'HBaseService',
'YARN': 'YARNService',
'MAPREDUCE2': 'MapReduce2Service',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/models/service/mapreduce.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/service/mapreduce.js b/ambari-web/app/models/service/mapreduce.js
deleted file mode 100644
index 9c35f54..0000000
--- a/ambari-web/app/models/service/mapreduce.js
+++ /dev/null
@@ -1,55 +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.
- */
-
-var App = require('app');
-
-App.MapReduceService = App.Service.extend({
- version: DS.attr('string'),
- jobHistoryServer: function () {
- return this.get('hostComponents').findProperty('componentName', 'HISTORYSERVER');
- }.property('hostComponents'),
- jobTracker: function () {
- return this.get('hostComponents').findProperty('componentName', 'JOBTRACKER');
- }.property('hostComponents'),
- taskTrackersStarted: DS.attr('number'),
- taskTrackersInstalled: DS.attr('number'),
- taskTrackersTotal: DS.attr('number'),
- jobTrackerStartTime: DS.attr('number'),
- jobTrackerHeapUsed: DS.attr('number'),
- jobTrackerHeapMax: DS.attr('number'),
- aliveTrackers: DS.hasMany('App.HostComponent'),
- blackListTrackers: DS.hasMany('App.HostComponent'),
- grayListTrackers: DS.hasMany('App.HostComponent'),
- mapSlots: DS.attr('number'),
- reduceSlots: DS.attr('number'),
- jobsSubmitted: DS.attr('number'),
- jobsCompleted: DS.attr('number'),
- jobsRunning: DS.attr('number'),
- mapSlotsOccupied: DS.attr('number'),
- mapSlotsReserved: DS.attr('number'),
- reduceSlotsOccupied: DS.attr('number'),
- reduceSlotsReserved: DS.attr('number'),
- mapsRunning: DS.attr('number'),
- mapsWaiting: DS.attr('number'),
- reducesRunning: DS.attr('number'),
- reducesWaiting: DS.attr('number'),
- trackersDecommissioned: DS.attr('number'),
- jobTrackerCpu: DS.attr('number'),
- jobTrackerRpc: DS.attr('number')
-});
-
-App.MapReduceService.FIXTURES = [];
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/models/stack_service.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/stack_service.js b/ambari-web/app/models/stack_service.js
index 087b208..ae60020 100644
--- a/ambari-web/app/models/stack_service.js
+++ b/ambari-web/app/models/stack_service.js
@@ -175,7 +175,6 @@ App.StackService.FIXTURES = [];
App.StackService.displayOrder = [
'HDFS',
'GLUSTERFS',
- 'MAPREDUCE',
'MAPREDUCE2',
'YARN',
'TEZ',
@@ -246,14 +245,6 @@ App.StackService.configCategories = function () {
App.ServiceConfigCategory.create({ name: 'General', displayName: 'General'})
]);
break;
- case 'MAPREDUCE':
- serviceConfigCategories.pushObjects([
- App.ServiceConfigCategory.create({ name: 'HISTORYSERVER', displayName: 'History Server'}),
- App.ServiceConfigCategory.create({ name: 'JOBTRACKER', displayName: 'JobTracker'}),
- App.ServiceConfigCategory.create({ name: 'TASKTRACKER', displayName: 'TaskTracker'}),
- App.ServiceConfigCategory.create({ name: 'General', displayName: 'General'})
- ]);
- break;
case 'YARN':
serviceConfigCategories.pushObjects([
App.ServiceConfigCategory.create({ name: 'RESOURCEMANAGER', displayName: 'Resource Manager'}),
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/templates/main/admin/security/notify_security_off_popup.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/admin/security/notify_security_off_popup.hbs b/ambari-web/app/templates/main/admin/security/notify_security_off_popup.hbs
index 240941e..a68102a 100644
--- a/ambari-web/app/templates/main/admin/security/notify_security_off_popup.hbs
+++ b/ambari-web/app/templates/main/admin/security/notify_security_off_popup.hbs
@@ -18,8 +18,4 @@
<div class="alert">
{{t admin.security.disable.popup.body}}
- {{#if view.isMapReduceInstalled}}
- <br />
- {{t admin.security.disable.popup.body.warning}}
- {{/if}}
</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/templates/main/dashboard/widgets/mapreduce_links.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/dashboard/widgets/mapreduce_links.hbs b/ambari-web/app/templates/main/dashboard/widgets/mapreduce_links.hbs
deleted file mode 100644
index 13d6f41..0000000
--- a/ambari-web/app/templates/main/dashboard/widgets/mapreduce_links.hbs
+++ /dev/null
@@ -1,67 +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.
-}}
-
-<div class="links">
- <ul>
- <li class="thumbnail row">
- <a {{bindAttr class=":corner-icon :span1 view.parentView.isMoving:hidden"}} href="#" {{action deleteWidget target="view"}}>
- <i class="icon-remove-sign icon-large"></i>
- </a>
- <div class="caption span10"> {{view.title}}</div>
-
- <div class="widget-content" >
- <table>
- <!--jobTracker-->
- <tr>
- <td><a href="#" {{action showDetails view.model.jobTracker.host}}>{{t services.service.summary.jobTracker}}</a></td>
- </tr>
- <!--taskTrackers-->
- <tr>
- <td><a href="#" {{action filterHosts view.component}}>{{view.model.taskTrackersTotal}} {{t dashboard.services.mapreduce.taskTrackers}}</a></td>
- </tr>
- <!--jobTracker Web UI-->
- <tr>
- <td><a {{bindAttr href="view.webUrl"}} target="_blank">{{t services.service.summary.jobTrackerWebUI}}</a></td>
- </tr>
- </table>
- </div>
-
- <div class="link-button">
- {{#if view.model.quickLinks.length}}
- {{#view App.QuickViewLinks contentBinding="view.model"}}
- {{#if view.isLoaded}}
- <div class="btn-group">
- <a class="btn btn-mini dropdown-toggle" data-toggle="dropdown" href="#">
- {{t common.more}}
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu">
- {{#each view.quickLinks}}
- <li><a {{bindAttr href="url"}} target="_blank">{{label}}</a></li>
- {{/each}}
- </ul>
- </div>
- {{else}}
- <div class="spinner"></div>
- {{/if}}
- {{/view}}
- {{/if}}
- </div>
- </li>
- </ul>
-</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/templates/main/dashboard/widgets/mapreduce_slots.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/dashboard/widgets/mapreduce_slots.hbs b/ambari-web/app/templates/main/dashboard/widgets/mapreduce_slots.hbs
deleted file mode 100644
index 90b8c27..0000000
--- a/ambari-web/app/templates/main/dashboard/widgets/mapreduce_slots.hbs
+++ /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.
-}}
-
-<div class="has-hidden-info">
- <ul>
- <li class="thumbnail row" >
- <a {{bindAttr class=":corner-icon :span1 view.parentView.isMoving:hidden"}} {{action deleteWidget target="view"}}><i class="icon-remove-sign icon-large"></i></a>
- <div class="caption span10 slots-caption"> {{view.title}}</div>
-
- <div {{bindAttr class=":hidden-info-general view.hiddenInfoClass"}}>
- <table align="center">
- {{#each line in view.hiddenInfo}}
- <tr><td>{{line}}</td></tr>{{/each}}
- </table>
- </div>
-
- {{#if view.isViewExist}}
- <div class="widget-content row-fluid" id="map-reduce-slots-text" >
- <ul class="span12">
- <div class="span3"> {{t dashboard.widgets.mapSlots}}</div>
- <div class="progress span5" id="map-reduce-slots-bar1">
- <div class="bar bar-success" {{bindAttr style="view.map_occupied"}}></div>
- <div class="bar bar-warning" {{bindAttr style="view.map_reserved"}}></div>
- </div>
- <div class="span3" id="map-reduce-slots-num1"> {{view.map_display_text}}</div>
- </ul>
- <ul class="span12">
- <div class="span3"> {{t dashboard.widgets.reduceSlots}}</div>
- <div class="progress span5" id="map-reduce-slots-bar2">
- <div class="bar bar-success" {{bindAttr style="view.reduce_occupied"}}></div>
- <div class="bar bar-warning" {{bindAttr style="view.reduce_reserved"}}></div>
- </div>
- <div class="span3" id="map-reduce-slots-num2"> {{view.reduce_display_text}}</div>
- </ul>
- </div>
- {{else}}
- <div class="widget-content-isNA slots-content-isNA" >{{t services.service.summary.notAvailable}}</div>
- {{/if}}
- </li>
- </ul>
-</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/templates/main/service/services/mapreduce.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/services/mapreduce.hbs b/ambari-web/app/templates/main/service/services/mapreduce.hbs
deleted file mode 100644
index 51e6f38..0000000
--- a/ambari-web/app/templates/main/service/services/mapreduce.hbs
+++ /dev/null
@@ -1,81 +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.
-}}
-
-{{view view.dashboardMasterComponentView}}
-
-<!-- TaskTrackers -->
-<tr>
- <td><a href="#" {{action filterHosts view.taskTrackerComponent}}>{{t dashboard.services.mapreduce.taskTrackers}}</a>
- </td>
- <td>
- <span>
- {{#view App.ComponentLiveTextView liveComponentsBinding="view.service.taskTrackersStarted" totalComponentsBinding="view.service.taskTrackersTotal"}}
- {{view.liveComponents}}/{{view.totalComponents}}
- {{/view}}
- </span> {{t services.service.summary.TrackersLive}}
- </td>
-</tr>
-<!-- Job Tracker Uptime -->
-<tr>
- <td>{{t dashboard.services.mapreduce.jobTrackerUptime}}</td>
- <td>{{view.jobTrackerUptime}}</td>
-</tr>
-<!-- TaskTracker Counts -->
-<tr>
- <td>{{t dashboard.services.mapreduce.taskTrackerCounts}}</td>
- <td>
- {{view.service.grayListTrackers.length}} {{t dashboard.services.mapreduce.nodes.blacklist}} /
- {{view.service.blackListTrackers.length}} {{t dashboard.services.mapreduce.nodes.graylist}} /
- {{view.service.trackersDecommissioned}} {{t dashboard.services.hdfs.nodes.decom}}
- </td>
-</tr>
-<!-- JobTracker Heap -->
-<tr>
- <td>{{t dashboard.services.mapreduce.jobTrackerHeap}}</td>
- <td>{{view.trackersHeapSummary}}</td>
-</tr>
-<!-- Total slots capacity -->
-<tr>
- <td>{{t dashboard.services.mapreduce.slotCapacity}}</td>
- <td>{{view.slotsCapacitySummary}}</td>
-</tr>
-<!-- Jobs -->
-<tr>
- <td>{{t dashboard.services.mapreduce.jobs}}</td>
- <td>{{view.jobsSummary}}</td>
-</tr>
-<!-- Map Slots -->
-<tr>
- <td>{{t dashboard.services.mapreduce.mapSlots}}</td>
- <td>{{view.mapSlotsSummary}}</td>
-</tr>
-<!-- Reduce Slots -->
-<tr>
- <td>{{t dashboard.services.mapreduce.reduceSlots}}</td>
- <td>{{view.reduceSlotsSummary}}</td>
-</tr>
-<!-- Tasks:Maps -->
-<tr>
- <td>{{t dashboard.services.mapreduce.tasks.maps}}</td>
- <td>{{view.mapTasksSummary}}</td>
-</tr>
-<!-- Tasks:Reduces -->
-<tr>
- <td>{{t dashboard.services.mapreduce.tasks.reduces}}</td>
- <td>{{view.reduceTasksSummary}}</td>
-</tr>
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/utils/ajax/ajax.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/ajax/ajax.js b/ambari-web/app/utils/ajax/ajax.js
index 0afd4b3..9ca5a57 100644
--- a/ambari-web/app/utils/ajax/ajax.js
+++ b/ambari-web/app/utils/ajax/ajax.js
@@ -877,46 +877,6 @@ var urls = {
'mock': '/data/services/metrics/hbase/regionserver_rw_requests.json',
'testInProduction': true
},
- 'service.metrics.mapreduce.gc': {
- 'real': '/clusters/{clusterName}/hosts/{jobTrackerNode}/host_components/JOBTRACKER?fields=metrics/jvm/gcTimeMillis[{fromSeconds},{toSeconds},{stepSeconds}]',
- 'mock': '/data/services/metrics/mapreduce/gc.json',
- 'testInProduction': true
- },
- 'service.metrics.mapreduce.jobs_status': {
- 'real': '/clusters/{clusterName}/services/MAPREDUCE/components/JOBTRACKER?fields=metrics/mapred/jobtracker/jobs_completed[{fromSeconds},{toSeconds},{stepSeconds}],metrics/mapred/jobtracker/jobs_preparing[{fromSeconds},{toSeconds},{stepSeconds}],metrics/mapred/jobtracker/jobs_failed[{fromSeconds},{toSeconds},{stepSeconds}],metrics/mapred/jobtracker/jobs_submitted[{fromSeconds},{toSeconds},{stepSeconds}],metrics/mapred/jobtracker/jobs_failed[{fromSeconds},{toSeconds},{stepSeconds}],metrics/mapred/jobtracker/jobs_running[{fromSeconds},{toSeconds},{stepSeconds}]',
- 'mock': '/data/services/metrics/mapreduce/jobs_status.json',
- 'testInProduction': true
- },
- 'service.metrics.mapreduce.jobs_heap': {
- 'real': '/clusters/{clusterName}/hosts/{jobTrackerNode}/host_components/JOBTRACKER?fields=metrics/jvm/memNonHeapUsedM[{fromSeconds},{toSeconds},{stepSeconds}],metrics/jvm/memNonHeapCommittedM[{fromSeconds},{toSeconds},{stepSeconds}],metrics/jvm/memHeapUsedM[{fromSeconds},{toSeconds},{stepSeconds}],metrics/jvm/memHeapCommittedM[{fromSeconds},{toSeconds},{stepSeconds}]',
- 'mock': '/data/services/metrics/mapreduce/jvm_heap.json',
- 'testInProduction': true
- },
- 'service.metrics.mapreduce.jobs_threads': {
- 'real': '/clusters/{clusterName}/hosts/{jobTrackerNode}/host_components/JOBTRACKER?fields=metrics/jvm/threadsRunnable[{fromSeconds},{toSeconds},{stepSeconds}],metrics/jvm/threadsBlocked[{fromSeconds},{toSeconds},{stepSeconds}],metrics/jvm/threadsWaiting[{fromSeconds},{toSeconds},{stepSeconds}],metrics/jvm/threadsTimedWaiting[{fromSeconds},{toSeconds},{stepSeconds}]',
- 'mock': '/data/services/metrics/mapreduce/jvm_threads.json',
- 'testInProduction': true
- },
- 'service.metrics.mapreduce.map_slots': {
- 'real': '/clusters/{clusterName}/services/MAPREDUCE/components/JOBTRACKER?fields=metrics/mapred/jobtracker/occupied_map_slots[{fromSeconds},{toSeconds},{stepSeconds}],metrics/mapred/jobtracker/reserved_map_slots[{fromSeconds},{toSeconds},{stepSeconds}]',
- 'mock': '/data/services/metrics/mapreduce/map_slots.json',
- 'testInProduction': true
- },
- 'service.metrics.mapreduce.reduce_slots': {
- 'real': '/clusters/{clusterName}/services/MAPREDUCE/components/JOBTRACKER?fields=metrics/mapred/jobtracker/occupied_reduce_slots[{fromSeconds},{toSeconds},{stepSeconds}],metrics/mapred/jobtracker/reserved_reduce_slots[{fromSeconds},{toSeconds},{stepSeconds}]',
- 'mock': '/data/services/metrics/mapreduce/reduce_slots.json',
- 'testInProduction': true
- },
- 'service.metrics.mapreduce.rpc': {
- 'real': '/clusters/{clusterName}/hosts/{jobTrackerNode}/host_components/JOBTRACKER?fields=metrics/rpc/RpcQueueTime_avg_time[{fromSeconds},{toSeconds},{stepSeconds}]',
- 'mock': '/data/services/metrics/mapreduce/rpc.json',
- 'testInProduction': true
- },
- 'service.metrics.mapreduce.tasks_running_waiting': {
- 'real': '/clusters/{clusterName}/services/MAPREDUCE/components/JOBTRACKER?fields=metrics/mapred/jobtracker/running_maps[{fromSeconds},{toSeconds},{stepSeconds}],metrics/mapred/jobtracker/running_reduces[{fromSeconds},{toSeconds},{stepSeconds}],metrics/mapred/jobtracker/waiting_maps[{fromSeconds},{toSeconds},{stepSeconds}],metrics/mapred/jobtracker/waiting_reduces[{fromSeconds},{toSeconds},{stepSeconds}]',
- 'mock': '/data/services/metrics/mapreduce/tasks_running_waiting.json',
- 'testInProduction': true
- },
'service.metrics.hdfs.block_status': {
'real': '/clusters/{clusterName}/hosts/{nameNodeName}/host_components/NAMENODE?fields=metrics/dfs/FSNamesystem/PendingReplicationBlocks[{fromSeconds},{toSeconds},{stepSeconds}],metrics/dfs/FSNamesystem/UnderReplicatedBlocks[{fromSeconds},{toSeconds},{stepSeconds}]',
'mock': '/data/services/metrics/hdfs/block_status.json',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/utils/batch_scheduled_requests.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/batch_scheduled_requests.js b/ambari-web/app/utils/batch_scheduled_requests.js
index 7cafdd3..95d8f9b 100644
--- a/ambari-web/app/utils/batch_scheduled_requests.js
+++ b/ambari-web/app/utils/batch_scheduled_requests.js
@@ -57,7 +57,6 @@ module.exports = {
var rollingRestartComponents = {
HDFS: 'DATANODE',
YARN: 'NODEMANAGER',
- MAPREDUCE: 'TASKTRACKER',
HBASE: 'HBASE_REGIONSERVER',
STORM: 'SUPERVISOR'
};
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/utils/helper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/helper.js b/ambari-web/app/utils/helper.js
index b0a2cf3..844324d 100644
--- a/ambari-web/app/utils/helper.js
+++ b/ambari-web/app/utils/helper.js
@@ -366,7 +366,6 @@ App.format = {
'HISTORYSERVER': 'History Server',
'HIVE_SERVER': 'HiveServer2',
'JCE': 'JCE',
- 'MAPREDUCE': 'MapReduce',
'MAPREDUCE2': 'MapReduce2',
'MYSQL': 'MySQL',
'REST': 'REST',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views.js b/ambari-web/app/views.js
index 79c3774..a8be844 100644
--- a/ambari-web/app/views.js
+++ b/ambari-web/app/views.js
@@ -164,22 +164,15 @@ require('views/main/dashboard/widgets/cluster_metrics_widget');
require('views/main/dashboard/widgets/namenode_heap');
require('views/main/dashboard/widgets/namenode_cpu');
require('views/main/dashboard/widgets/hdfs_capacity');
-require('views/main/dashboard/widgets/jobtracker_heap');
-require('views/main/dashboard/widgets/jobtracker_cpu');
require('views/main/dashboard/widgets/datanode_live');
-require('views/main/dashboard/widgets/tasktracker_live');
require('views/main/dashboard/widgets/namenode_rpc');
-require('views/main/dashboard/widgets/jobtracker_rpc');
-require('views/main/dashboard/widgets/mapreduce_slots');
require('views/main/dashboard/widgets/metrics_memory');
require('views/main/dashboard/widgets/metrics_network');
require('views/main/dashboard/widgets/metrics_cpu');
require('views/main/dashboard/widgets/metrics_load');
require('views/main/dashboard/widgets/namenode_uptime');
-require('views/main/dashboard/widgets/jobtracker_uptime');
require('views/main/dashboard/widgets/hdfs_links');
require('views/main/dashboard/widgets/yarn_links');
-require('views/main/dashboard/widgets/mapreduce_links');
require('views/main/dashboard/widgets/hbase_links');
require('views/main/dashboard/widgets/hbase_master_heap');
require('views/main/dashboard/widgets/hbase_average_load');
@@ -198,7 +191,6 @@ require('views/main/service');
require('views/main/service/service');
require('views/main/service/services/hdfs');
require('views/main/service/services/yarn');
-require('views/main/service/services/mapreduce');
require('views/main/service/services/mapreduce2');
require('views/main/service/services/hbase');
require('views/main/service/services/hive');
@@ -233,14 +225,6 @@ require('views/main/service/info/metrics/yarn/apps_current_states');
require('views/main/service/info/metrics/yarn/apps_finished_states');
require('views/main/service/info/metrics/yarn/nms');
require('views/main/service/info/metrics/yarn/qmr');
-require('views/main/service/info/metrics/mapreduce/gc');
-require('views/main/service/info/metrics/mapreduce/jvm_threads');
-require('views/main/service/info/metrics/mapreduce/jvm_heap');
-require('views/main/service/info/metrics/mapreduce/rpc');
-require('views/main/service/info/metrics/mapreduce/tasks_running_waiting');
-require('views/main/service/info/metrics/mapreduce/jobs_status');
-require('views/main/service/info/metrics/mapreduce/map_slots');
-require('views/main/service/info/metrics/mapreduce/reduce_slots');
require('views/main/service/info/metrics/hbase/cluster_requests');
require('views/main/service/info/metrics/hbase/regionserver_rw_requests');
require('views/main/service/info/metrics/hbase/regionserver_regions');
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/common/chart/linear_time.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/chart/linear_time.js b/ambari-web/app/views/common/chart/linear_time.js
index e2032b1..bf8ccad 100644
--- a/ambari-web/app/views/common/chart/linear_time.js
+++ b/ambari-web/app/views/common/chart/linear_time.js
@@ -167,8 +167,6 @@ App.ChartLinearTimeView = Ember.View.extend({
var HDFSService = App.HDFSService.find().objectAt(0);
var nameNodeName = "";
- var MapReduceService = App.MapReduceService.find().objectAt(0);
- var jobTrackerNode = MapReduceService ? MapReduceService.get('jobTracker.hostName') : "";
var YARNService = App.YARNService.find().objectAt(0);
var resourceManager = YARNService ? YARNService.get('resourceManager.hostName') : "";
var timeUnit = this.get('timeUnitSeconds');
@@ -181,7 +179,6 @@ App.ChartLinearTimeView = Ember.View.extend({
stepSeconds: 15,
hostName: hostName,
nameNodeName: nameNodeName,
- jobTrackerNode: jobTrackerNode,
resourceManager: resourceManager
};
},
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/common/configs/service_configs_by_category_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/service_configs_by_category_view.js b/ambari-web/app/views/common/configs/service_configs_by_category_view.js
index 2edbc89..65c08e4 100644
--- a/ambari-web/app/views/common/configs/service_configs_by_category_view.js
+++ b/ambari-web/app/views/common/configs/service_configs_by_category_view.js
@@ -162,36 +162,9 @@ App.ServiceConfigsByCategoryView = Em.View.extend(App.UserPref, {
}
}
else if (changedProperty.get("name") == "user_group") {
- if (!((this.get("controller.selectedServiceNames").indexOf("MAPREDUCE") >= 0) || (this.get("controller.selectedServiceNames").indexOf("YARN") >= 0))) {
+ if (!(this.get("controller.selectedServiceNames").indexOf("YARN") >= 0)) {
return;
}
- if (this.get("controller.selectedServiceNames").indexOf("MAPREDUCE") >= 0) {
- curConfigs = stepConfigs.findProperty("serviceName", "MAPREDUCE").get("configs");
- if (newValue != curConfigs.findProperty("name", "mapreduce.tasktracker.group").get("value")) {
- this.affectedProperties.push(
- {
- serviceName: "MAPREDUCE",
- propertyName: "mapreduce.tasktracker.group",
- propertyDisplayName: "mapreduce.tasktracker.group",
- newValue: newValue,
- curValue: curConfigs.findProperty("name", "mapreduce.tasktracker.group").get("value"),
- changedPropertyName: "user_group"
- }
- )
- }
- if ($.trim(newValue) != $.trim(curConfigs.findProperty("name", "mapreduce.cluster.administrators").get("value"))) {
- this.affectedProperties.push(
- {
- serviceName: "MAPREDUCE",
- propertyName: "mapreduce.cluster.administrators",
- propertyDisplayName: "mapreduce.cluster.administrators",
- newValue: " " + $.trim(newValue),
- curValue: curConfigs.findProperty("name", "mapreduce.cluster.administrators").get("value"),
- changedPropertyName: "user_group"
- }
- );
- }
- }
if (this.get("controller.selectedServiceNames").indexOf("MAPREDUCE2") >= 0) {
curConfigs = stepConfigs.findProperty("serviceName", "MAPREDUCE2").get("configs");
if ($.trim(newValue) != $.trim(curConfigs.findProperty("name", "mapreduce.cluster.administrators").get("value"))) {
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/common/quick_view_link_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/quick_view_link_view.js b/ambari-web/app/views/common/quick_view_link_view.js
index c4265af..a6f02e0 100644
--- a/ambari-web/app/views/common/quick_view_link_view.js
+++ b/ambari-web/app/views/common/quick_view_link_view.js
@@ -131,25 +131,13 @@ App.QuickViewLinks = Em.View.extend({
}];
this.set('quickLinks', quickLinks);
this.set('isLoaded', true);
- /**
- * MAPREDUCE is only service that use 2 different masters in quick links
- * so we must work with this service as with one-master-service but set up
- * two hosts for two components. (JOBTRACKER and HISTORYSERVER)
- */
- } else if (hosts.length == 1 || this.get('content.serviceName') == "MAPREDUCE") {
+ } else if (hosts.length == 1) {
quickLinks = this.get('content.quickLinks').map(function (item) {
var protocol = self.setProtocol(item.get('service_id'), self.get('configProperties'), self.ambariProperties());
if (item.get('template')) {
var port = item.get('http_config') && self.setPort(item, protocol);
- /**
- * setting other host for mapreduce (only for MAPREDUCE and JobHistory Server)!!!
- */
- if (self.get('content.serviceName') == "MAPREDUCE" && item.get('label') == "JobHistory Server") {
- item.set('url', item.get('template').fmt(protocol, hosts[1], port));
- } else {
- item.set('url', item.get('template').fmt(protocol, hosts[0], port));
- }
+ item.set('url', item.get('template').fmt(protocol, hosts[0], port));
}
return item;
});
@@ -273,10 +261,6 @@ App.QuickViewLinks = Em.View.extend({
hosts[0] = this.findComponentHost(response.items, 'RESOURCEMANAGER');
}
break;
- case "MAPREDUCE":
- hosts[0] = this.findComponentHost(response.items, "JOBTRACKER");
- hosts[1] = this.findComponentHost(response.items, "HISTORYSERVER");
- break;
case "STORM":
hosts[0] = this.findComponentHost(response.items, "STORM_UI_SERVER");
break;
@@ -295,7 +279,7 @@ App.QuickViewLinks = Em.View.extend({
* becides GANGLIA, NAGIOS, YARN, MAPREDUCE2. These properties use
* their properties to know protocol
*/
- servicesSupportsHttps: ["HDFS", "HBASE", "MAPREDUCE"],
+ servicesSupportsHttps: ["HDFS", "HBASE"],
/**
* setProtocol - if cluster is secure for some services (GANGLIA, NAGIOS, MAPREDUCE2, YARN and servicesSupportsHttps)
@@ -380,7 +364,6 @@ App.QuickViewLinks = Em.View.extend({
case "hdfs":
case "yarn":
case "mapreduce2":
- case "mapreduce":
case "hbase":
case "oozie":
case "ganglia":
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets.js b/ambari-web/app/views/main/dashboard/widgets.js
index c9a46b7..eb7af97 100644
--- a/ambari-web/app/views/main/dashboard/widgets.js
+++ b/ambari-web/app/views/main/dashboard/widgets.js
@@ -118,60 +118,53 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, {
setInitPrefObject: function () {
//in case of some service not installed
var visibleFull = [
- '2', '4', '8', '10',
- '17', '11', '12', '13', '14',
- '18', '1', '6', '5', '9',
- '3', '7', '15', '16', '20',
- '19', '21', '23',
- '24', '25', '26', '27', '30', // all yarn
- '28', // storm
- '29' // flume
+ '2', '4', '11', //hdfs
+ '6', '7', '8', '9', //host metrics
+ '1', '5', '3', '10', //hdfs
+ '13', '12', '14', '16', //hbase
+ '17', '18', '19', '20', '23', // all yarn
+ '21', // storm
+ '22' // flume
]; // all in order
var hiddenFull = [
- ['22', 'Region In Transition']
+ ['15', 'Region In Transition']
];
// Display widgets for host metrics if the stack definition has a host metrics service to display it.
if (this.get('host_metrics_model') == null) {
- var hostMetrics = ['11', '12', '13', '14'];
+ var hostMetrics = ['6', '7', '8', '9'];
hostMetrics.forEach(function (item) {
visibleFull = visibleFull.without(item);
}, this);
}
if (this.get('hdfs_model') == null) {
- var hdfs = ['1', '2', '3', '4', '5', '15', '17'];
+ var hdfs = ['1', '2', '3', '4', '5', '10', '11'];
hdfs.forEach(function (item) {
visibleFull = visibleFull.without(item);
}, this);
}
- if (this.get('mapreduce_model') == null) {
- var map = ['6', '7', '8', '9', '10', '16', '18'];
- map.forEach(function (item) {
- visibleFull = visibleFull.without(item);
- }, this);
- }
if (this.get('hbase_model') == null) {
- var hbase = ['19', '20', '21', '23'];
+ var hbase = ['12', '13', '14', '16'];
hbase.forEach(function (item) {
visibleFull = visibleFull.without(item);
}, this);
hiddenFull = [];
}
if (this.get('yarn_model') == null) {
- var yarn = ['24', '25', '26', '27', '30'];
+ var yarn = ['17', '18', '19', '20', '23'];
yarn.forEach(function (item) {
visibleFull = visibleFull.without(item);
}, this);
}
if (this.get('storm_model') == null) {
- var storm = ['28'];
+ var storm = ['21'];
storm.forEach(function (item) {
visibleFull = visibleFull.without(item);
}, this);
}
if (this.get('flume_model') == null) {
- var flume = ['29'];
+ var flume = ['22'];
flume.forEach(function (item) {
visibleFull = visibleFull.without(item);
}, this);
@@ -185,8 +178,6 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, {
hdfs_model: null,
- mapreduce_model: null,
-
mapreduce2_model: null,
yarn_model: null,
@@ -386,7 +377,7 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, {
// check each service, find out the newly added service and already deleted service
if (this.get('hdfs_model') != null) {
- var hdfs = ['1', '2', '3', '4', '5', '15', '17'];
+ var hdfs = ['1', '2', '3', '4', '5', '10', '11'];
hdfs.forEach(function (item) {
toDelete = self.removeWidget(toDelete, item);
}, this);
@@ -394,7 +385,7 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, {
// Display widgets for host metrics if the stack definition has a host metrics service to display it.
if (this.get('host_metrics_model') != null) {
- var hostMetrics = ['11', '12', '13', '14'];
+ var hostMetrics = ['6', '7', '8', '9'];
var flag = self.containsWidget(toDelete, hostMetrics[0]);
if (flag) {
hostMetrics.forEach(function (item) {
@@ -405,19 +396,8 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, {
}
}
- if (this.get('mapreduce_model') != null) {
- var map = ['6', '7', '8', '9', '10', '16', '18'];
- var flag = self.containsWidget(toDelete, map[0]);
- if (flag) {
- map.forEach(function (item) {
- toDelete = self.removeWidget(toDelete, item);
- }, this);
- } else {
- toAdd = toAdd.concat(map);
- }
- }
if (this.get('hbase_model') != null) {
- var hbase = ['19', '20', '21', '22', '23'];
+ var hbase = ['12', '13', '14', '15', '16'];
var flag = self.containsWidget(toDelete, hbase[0]);
if (flag) {
hbase.forEach(function (item) {
@@ -428,7 +408,7 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, {
}
}
if (this.get('yarn_model') != null) {
- var yarn = ['24', '25', '26', '27', '30'];
+ var yarn = ['17', '18', '19', '20', '23'];
var flag = self.containsWidget(toDelete, yarn[0]);
if (flag) {
yarn.forEach(function (item) {
@@ -439,7 +419,7 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, {
}
}
if (this.get('storm_model') != null) {
- var storm = ['28'];
+ var storm = ['21'];
var flag = self.containsWidget(toDelete, storm[0]);
if (flag) {
storm.forEach(function (item) {
@@ -450,7 +430,7 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, {
}
}
if (this.get('flume_model') != null) {
- var flume = ['29'];
+ var flume = ['22'];
var flag = self.containsWidget(toDelete, flume[0]);
if (flag) {
flume.forEach(function (item) {
@@ -492,31 +472,24 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, {
'3': App.NameNodeCpuPieChartView,
'4': App.DataNodeUpView,
'5': App.NameNodeRpcView,
- '6': App.JobTrackerHeapPieChartView,
- '7': App.JobTrackerCpuPieChartView,
- '8': App.TaskTrackerUpView,
- '9': App.JobTrackerRpcView,
- '10': App.MapReduceSlotsView,
- '11': App.ChartClusterMetricsMemoryWidgetView,
- '12': App.ChartClusterMetricsNetworkWidgetView,
- '13': App.ChartClusterMetricsCPUWidgetView,
- '14': App.ChartClusterMetricsLoadWidgetView,
- '15': App.NameNodeUptimeView,
- '16': App.JobTrackerUptimeView,
- '17': App.HDFSLinksView,
- '18': App.MapReduceLinksView,
- '19': App.HBaseLinksView,
- '20': App.HBaseMasterHeapPieChartView,
- '21': App.HBaseAverageLoadView,
- '22': App.HBaseRegionsInTransitionView,
- '23': App.HBaseMasterUptimeView,
- '24': App.ResourceManagerHeapPieChartView,
- '25': App.ResourceManagerUptimeView,
- '26': App.NodeManagersLiveView,
- '27': App.YARNMemoryPieChartView,
- '28': App.SuperVisorUpView,
- '29': App.FlumeAgentUpView,
- '30': App.YARNLinksView
+ '6': App.ChartClusterMetricsMemoryWidgetView,
+ '7': App.ChartClusterMetricsNetworkWidgetView,
+ '8': App.ChartClusterMetricsCPUWidgetView,
+ '9': App.ChartClusterMetricsLoadWidgetView,
+ '10': App.NameNodeUptimeView,
+ '11': App.HDFSLinksView,
+ '12': App.HBaseLinksView,
+ '13': App.HBaseMasterHeapPieChartView,
+ '14': App.HBaseAverageLoadView,
+ '15': App.HBaseRegionsInTransitionView,
+ '16': App.HBaseMasterUptimeView,
+ '17': App.ResourceManagerHeapPieChartView,
+ '18': App.ResourceManagerUptimeView,
+ '19': App.NodeManagersLiveView,
+ '20': App.YARNMemoryPieChartView,
+ '21': App.SuperVisorUpView,
+ '22': App.FlumeAgentUpView,
+ '23': App.YARNLinksView
}, id);
},
@@ -532,9 +505,8 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, {
dashboardVersion: 'new',
visible: [],
hidden: [],
- threshold: {1: [80, 90], 2: [85, 95], 3: [90, 95], 4: [80, 90], 5: [1000, 3000], 6: [70, 90], 7: [90, 95], 8: [50, 75], 9: [30000, 120000],
- 10: [], 11: [], 12: [], 13: [], 14: [], 15: [], 16: [], 17: [], 18: [], 19: [], 20: [70, 90], 21: [10, 19.2], 22: [3, 10], 23: [],
- 24: [70, 90], 25: [], 26: [50, 75], 27: [50, 75], 28: [85, 95], 29: [85, 95], 30: []} // id:[thresh1, thresh2]
+ threshold: {1: [80, 90], 2: [85, 95], 3: [90, 95], 4: [80, 90], 5: [1000, 3000], 6: [], 7: [], 8: [], 9: [], 10: [], 11: [], 12: [], 13: [70, 90], 14: [10, 19.2], 15: [3, 10], 16: [],
+ 17: [70, 90], 18: [], 19: [50, 75], 20: [50, 75], 21: [85, 95], 22: [85, 95], 23: []} // id:[thresh1, thresh2]
}),
/**
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/hbase_average_load.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/hbase_average_load.js b/ambari-web/app/views/main/dashboard/widgets/hbase_average_load.js
index 21f3fcd..0065333 100644
--- a/ambari-web/app/views/main/dashboard/widgets/hbase_average_load.js
+++ b/ambari-web/app/views/main/dashboard/widgets/hbase_average_load.js
@@ -21,7 +21,7 @@ var App = require('app');
App.HBaseAverageLoadView = App.TextDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.widgets.HBaseAverageLoad'),
- id: '21',
+ id: '14',
model_type: 'hbase',
hiddenInfo: function () {
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/hbase_links.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/hbase_links.js b/ambari-web/app/views/main/dashboard/widgets/hbase_links.js
index bde4246..833f8a3 100644
--- a/ambari-web/app/views/main/dashboard/widgets/hbase_links.js
+++ b/ambari-web/app/views/main/dashboard/widgets/hbase_links.js
@@ -22,7 +22,7 @@ App.HBaseLinksView = App.LinkDashboardWidgetView.extend({
templateName: require('templates/main/dashboard/widgets/hbase_links'),
title: Em.I18n.t('dashboard.widgets.HBaseLinks'),
- id: '19',
+ id: '12',
model_type: 'hbase',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/hbase_master_heap.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/hbase_master_heap.js b/ambari-web/app/views/main/dashboard/widgets/hbase_master_heap.js
index aaeee2c..62bac10 100644
--- a/ambari-web/app/views/main/dashboard/widgets/hbase_master_heap.js
+++ b/ambari-web/app/views/main/dashboard/widgets/hbase_master_heap.js
@@ -22,7 +22,7 @@ var numberUtils = require('utils/number_utils');
App.HBaseMasterHeapPieChartView = App.PieChartDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.widgets.HBaseMasterHeap'),
- id: '20',
+ id: '13',
model_type: 'hbase',
modelFieldMax: 'heapMemoryMax',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/hbase_master_uptime.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/hbase_master_uptime.js b/ambari-web/app/views/main/dashboard/widgets/hbase_master_uptime.js
index c6e9b67..0801ac2 100644
--- a/ambari-web/app/views/main/dashboard/widgets/hbase_master_uptime.js
+++ b/ambari-web/app/views/main/dashboard/widgets/hbase_master_uptime.js
@@ -21,7 +21,7 @@ var App = require('app');
App.HBaseMasterUptimeView = App.UptimeTextDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.widgets.HBaseMasterUptime'),
- id: '23',
+ id: '16',
model_type: 'hbase',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/hbase_regions_in_transition.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/hbase_regions_in_transition.js b/ambari-web/app/views/main/dashboard/widgets/hbase_regions_in_transition.js
index 6f4f4cd..734a729 100644
--- a/ambari-web/app/views/main/dashboard/widgets/hbase_regions_in_transition.js
+++ b/ambari-web/app/views/main/dashboard/widgets/hbase_regions_in_transition.js
@@ -21,7 +21,7 @@ var App = require('app');
App.HBaseRegionsInTransitionView = App.TextDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.widgets.HBaseRegionsInTransition'),
- id: '22',
+ id: '15',
model_type: 'hbase',
hiddenInfo: function () {
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/hdfs_links.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/hdfs_links.js b/ambari-web/app/views/main/dashboard/widgets/hdfs_links.js
index ac46731..ec555a7 100644
--- a/ambari-web/app/views/main/dashboard/widgets/hdfs_links.js
+++ b/ambari-web/app/views/main/dashboard/widgets/hdfs_links.js
@@ -22,7 +22,7 @@ App.HDFSLinksView = App.LinkDashboardWidgetView.extend({
templateName: require('templates/main/dashboard/widgets/hdfs_links'),
title: Em.I18n.t('dashboard.widgets.HDFSLinks'),
- id: '17',
+ id: '11',
model_type: 'hdfs',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/jobtracker_cpu.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/jobtracker_cpu.js b/ambari-web/app/views/main/dashboard/widgets/jobtracker_cpu.js
deleted file mode 100644
index e7a87b1..0000000
--- a/ambari-web/app/views/main/dashboard/widgets/jobtracker_cpu.js
+++ /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.
- */
-
-var App = require('app');
-
-App.JobTrackerCpuPieChartView = App.PieChartDashboardWidgetView.extend({
-
- title: Em.I18n.t('dashboard.widgets.JobTrackerCpu'),
- id: '7',
-
- model_type: 'mapreduce',
-
- widgetHtmlId: 'widget-jt-cpu',
-
- modelFieldUsed: 'jobTrackerCpu',
-
- didInsertElement: function() {
- this._super();
- this.calc();
- },
-
- calcHiddenInfo: function() {
- var value = this.get('model').get(this.get('modelFieldUsed'));
- var obj1;
- if( value == null) {
- obj1 = Em.I18n.t('services.service.summary.notAvailable');
- }
- else {
- value = value >= 100 ? 100: value;
- obj1 = (value + 0).toFixed(2) + '%';
- }
- var result = [];
- result.pushObject(obj1);
- result.pushObject('CPU wait I/O');
- return result;
- },
-
- calcIsPieExists: function() {
- return (this.get('model').get(this.get('modelFieldUsed')) != null);
- },
-
- calcDataForPieChart: function() {
- var value = this.get('model').get(this.get('modelFieldUsed'));
- value = value >= 100 ? 100: value;
- var percent = (value + 0).toFixed(1);
- var percent_precise = (value + 0).toFixed(2);
- return [ percent, percent_precise];
- }
-
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/jobtracker_heap.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/jobtracker_heap.js b/ambari-web/app/views/main/dashboard/widgets/jobtracker_heap.js
deleted file mode 100644
index a8996be..0000000
--- a/ambari-web/app/views/main/dashboard/widgets/jobtracker_heap.js
+++ /dev/null
@@ -1,45 +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.
- */
-
-var App = require('app');
-var numberUtils = require('utils/number_utils');
-
-App.JobTrackerHeapPieChartView = App.PieChartDashboardWidgetView.extend({
-
- title: Em.I18n.t('dashboard.widgets.JobTrackerHeap'),
- id: '6',
-
- model_type: 'mapreduce',
- modelFieldMax: 'jobTrackerHeapMax',
- modelFieldUsed: 'jobTrackerHeapUsed',
-
- widgetHtmlId: 'widget-jt-heap',
-
- getUsed: function() {
- return (this.get('model').get(this.get('modelFieldUsed')) / (1024 * 1024)) || 0;
- },
-
- getMax: function() {
- return (this.get('model').get(this.get('modelFieldMax')) / (1024 * 1024)) || 0;
- },
-
- didInsertElement: function() {
- this._super();
- this.calc();
- }
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/jobtracker_rpc.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/jobtracker_rpc.js b/ambari-web/app/views/main/dashboard/widgets/jobtracker_rpc.js
deleted file mode 100644
index ba67938..0000000
--- a/ambari-web/app/views/main/dashboard/widgets/jobtracker_rpc.js
+++ /dev/null
@@ -1,163 +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.
- */
-
-var App = require('app');
-
-App.JobTrackerRpcView = App.TextDashboardWidgetView.extend({
-
- title: Em.I18n.t('dashboard.widgets.JobTrackerRpc'),
- id:'9',
-
- model_type: 'mapreduce',
- hiddenInfo: function (){
- var result = [];
- result.pushObject(this.get('content') + ' average RPC');
- result.pushObject('queue wait time');
- return result;
- }.property('model.jobTrackerRpc'),
-
- thresh1: 0.5,
- thresh2: 2,
- maxValue: 'infinity',
-
- isGreen: function () {
- return (this.get('data') <= this.get('thresh1'));
- }.property('data','thresh1'),
-
- isRed: function () {
- return (this.get('data') > this.get('thresh2'));
- }.property('data','thresh2'),
-
- data: function (){
- if (this.get('model.jobTrackerRpc')) {
- return (this.get('model.jobTrackerRpc')).toFixed(2);
- } else {
- if (this.get('model.jobTrackerRpc') == 0) {
- return 0;
- } else {
- return null;
- }
- }
- }.property('model.jobTrackerRpc'),
-
- content: function () {
- if (this.get('data') || this.get('data') == 0) {
- return this.get('data') + " ms";
- } else {
- return Em.I18n.t('services.service.summary.notAvailable');
- }
- }.property('model.jobTrackerRpc'),
-
- editWidget: function (event) {
- var parent = this;
- var configObj = Ember.Object.create({
- thresh1: parent.get('thresh1') + '',
- thresh2: parent.get('thresh2') + '',
- hintInfo: Em.I18n.t('dashboard.widgets.hintInfo.hint3'),
- isThresh1Error: false,
- isThresh2Error: false,
- errorMessage1: "",
- errorMessage2: "",
- maxValue: 'infinity',
- observeNewThresholdValue: function () {
- var thresh1 = this.get('thresh1');
- var thresh2 = this.get('thresh2');
- if (thresh1.trim() != "") {
- if (isNaN(thresh1) || thresh1 < 0) {
- this.set('isThresh1Error', true);
- this.set('errorMessage1', 'Invalid! Enter a number larger than 0');
- } else if (this.get('isThresh2Error') === false && parseFloat(thresh2)<= parseFloat(thresh1)) {
- this.set('isThresh1Error', true);
- this.set('errorMessage1', 'Threshold 1 should be smaller than threshold 2 !');
- } else {
- this.set('isThresh1Error', false);
- this.set('errorMessage1', '');
- }
- } else {
- this.set('isThresh1Error', true);
- this.set('errorMessage1', 'This is required');
- }
-
- if (thresh2.trim() != "") {
- if (isNaN(thresh2) || thresh2 < 0) {
- this.set('isThresh2Error', true);
- this.set('errorMessage2', 'Invalid! Enter a number larger than 0');
- } else {
- this.set('isThresh2Error', false);
- this.set('errorMessage2', '');
- }
- } else{
- this.set('isThresh2Error', true);
- this.set('errorMessage2', 'This is required');
- }
- }.observes('thresh1', 'thresh2')
- });
-
- var browserVerion = this.getInternetExplorerVersion();
- App.ModalPopup.show({
- header: Em.I18n.t('dashboard.widgets.popupHeader'),
- classNames: [ 'sixty-percent-width-modal-edit-widget'],
- bodyClass: Ember.View.extend({
- templateName: require('templates/main/dashboard/edit_widget_popup'),
- configPropertyObj: configObj
- }),
- primary: Em.I18n.t('common.apply'),
- onPrimary: function () {
- configObj.observeNewThresholdValue();
- if (!configObj.isThresh1Error && !configObj.isThresh2Error) {
- parent.set('thresh1', parseFloat(configObj.get('thresh1')) );
- parent.set('thresh2', parseFloat(configObj.get('thresh2')) );
- if (!App.get('testMode')) {
- // save to persist
- var big_parent = parent.get('parentView');
- big_parent.getUserPref(big_parent.get('persistKey'));
- var oldValue = big_parent.get('currentPrefObject');
- oldValue.threshold[parseInt(parent.id)] = [configObj.get('thresh1'), configObj.get('thresh2')];
- big_parent.postUserPref(big_parent.get('persistKey'),oldValue);
- }
-
- this.hide();
- }
- },
-
- didInsertElement: function () {
- var colors = ['#95A800', '#FF8E00', '#B80000']; //color green, orange ,red
- var handlers = [33, 66]; //fixed value
-
- if (browserVerion == -1 || browserVerion > 9) {
- configObj.set('isIE9', false);
- configObj.set('isGreenOrangeRed', true);
- $("#slider-range").slider({
- range:true,
- disabled:true,
- min: 0,
- max: 100,
- values: handlers,
- create: function (event, ui) {
- parent.updateColors(handlers, colors);
- }
- });
- } else {
- configObj.set('isIE9', true);
- configObj.set('isGreenOrangeRed', true);
- }
- }
- });
- }
-
-});
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/jobtracker_uptime.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/jobtracker_uptime.js b/ambari-web/app/views/main/dashboard/widgets/jobtracker_uptime.js
deleted file mode 100644
index 282e138..0000000
--- a/ambari-web/app/views/main/dashboard/widgets/jobtracker_uptime.js
+++ /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.
- */
-
-var App = require('app');
-
-App.JobTrackerUptimeView = App.UptimeTextDashboardWidgetView.extend({
-
- title: Em.I18n.t('dashboard.widgets.JobTrackerUptime'),
- id: '16',
-
- model_type: 'mapreduce',
-
- component: 'JobTracker',
- modelField: 'jobTrackerStartTime',
-
- didInsertElement: function() {
- this._super();
- this.calc();
- }
-
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/mapreduce_links.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/mapreduce_links.js b/ambari-web/app/views/main/dashboard/widgets/mapreduce_links.js
deleted file mode 100644
index afdfbe6..0000000
--- a/ambari-web/app/views/main/dashboard/widgets/mapreduce_links.js
+++ /dev/null
@@ -1,40 +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.
- */
-
-var App = require('app');
-
-App.MapReduceLinksView = App.LinkDashboardWidgetView.extend({
-
- templateName: require('templates/main/dashboard/widgets/mapreduce_links'),
- title: Em.I18n.t('dashboard.widgets.MapReduceLinks'),
- id: '18',
-
- model_type: 'mapreduce',
-
- port: '50030',
-
- componentName: 'TASKTRACKER',
-
- modelField: 'jobTracker',
-
- didInsertElement: function() {
- this._super();
- this.calc();
- }
-
-});
\ No newline at end of file
[6/7] ambari git commit: AMBARI-8921 Remove support for MapReduce as
part of 1.3 stack. (ababiichuk)
Posted by ab...@apache.org.
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/jobs/hive-queries.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/jobs/hive-queries.json b/ambari-web/app/assets/data/jobs/hive-queries.json
deleted file mode 100644
index e77dcc4..0000000
--- a/ambari-web/app/assets/data/jobs/hive-queries.json
+++ /dev/null
@@ -1,232 +0,0 @@
-{
- "entities": [
- {
- "starttime": 1393443850756,
- "events": [
- {
- "timestamp": 1393443875265,
- "eventtype": "QUERY_COMPLETED",
- "eventinfo": {}
- },
- {
- "timestamp": 1393443850756,
- "eventtype": "QUERY_SUBMITTED",
- "eventinfo": {}
- }
- ],
- "otherinfo": {
- "status": false,
- "query": "{\"queryText\":\"select state, count(id) as counts from school group by state sort by counts desc limit 10\",\"queryPlan\":{\"STAGE PLANS\":{\"Stage-1\":{\"Tez\":{\"DagName:\":\":1\",\"Vertices:\":{\"Reducer 2\":{\"Reduce Operator Tree:\":{\"Group By Operator\":{\"mode:\":\"mergepartial\",\"aggregations:\":[\"count(VALUE._col0)\"],\"keys:\":\"KEY._col0 (type: string)\",\"outputColumnNames:\":[\"_col0\",\"_col1\"],\"children\":{\"Select Operator\":{\"expressions:\":\"_col0 (type: string), _col1 (type: bigint)\",\"outputColumnNames:\":[\"_col0\",\"_col1\"],\"children\":{\"Reduce Output Operator\":{\"sort order:\":\"-\",\"value expressions:\":\"_col0 (type: string), _col1 (type: bigint)\",\"Statistics:\":\"Num rows: 125 Data size: 25082 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col1 (type: bigint)\"}},\"Statistics:\":\"Num rows: 125 Data size: 25082 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 125 Data size: 25082 B
asic stats: COMPLETE Column stats: NONE\"}}},\"Reducer 3\":{\"Reduce Operator Tree:\":{\"Extract\":{\"children\":{\"Limit\":{\"children\":{\"Reduce Output Operator\":{\"sort order:\":\"-\",\"value expressions:\":\"_col0 (type: string), _col1 (type: bigint)\",\"Statistics:\":\"Num rows: 10 Data size: 2000 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col1 (type: bigint)\"}},\"Statistics:\":\"Num rows: 10 Data size: 2000 Basic stats: COMPLETE Column stats: NONE\",\"Number of rows:\":\"10\"}},\"Statistics:\":\"Num rows: 125 Data size: 25082 Basic stats: COMPLETE Column stats: NONE\"}}},\"Map 1\":{\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"school\",\"children\":{\"Select Operator\":{\"expressions:\":\"state (type: string), id (type: string)\",\"outputColumnNames:\":[\"state\",\"id\"],\"children\":{\"Group By Operator\":{\"mode:\":\"hash\",\"aggregations:\":[\"count(id)\"],\"keys:\":\"state (type: string)\",\"outputColumnNames:\":[\"_col0\",\"_col1\"],\"chi
ldren\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col0 (type: string)\",\"sort order:\":\"+\",\"value expressions:\":\"_col1 (type: bigint)\",\"Statistics:\":\"Num rows: 251 Data size: 50365 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: string)\"}},\"Statistics:\":\"Num rows: 251 Data size: 50365 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 251 Data size: 50365 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 251 Data size: 50365 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Reducer 4\":{\"Reduce Operator Tree:\":{\"Extract\":{\"children\":{\"Limit\":{\"children\":{\"File Output Operator\":{\"Statistics:\":\"Num rows: 10 Data size: 2000 Basic stats: COMPLETE Column stats: NONE\",\"compressed:\":\"false\",\"table:\":{\"serde:\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"input format:\":\"org.apache.hadoop.mapred.TextInputFormat\",\"output format:\":\"org.apach
e.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\"}}},\"Statistics:\":\"Num rows: 10 Data size: 2000 Basic stats: COMPLETE Column stats: NONE\",\"Number of rows:\":\"10\"}},\"Statistics:\":\"Num rows: 10 Data size: 2000 Basic stats: COMPLETE Column stats: NONE\"}}}},\"Edges:\":{\"Reducer 2\":{\"parent\":\"Map 1\",\"type\":\"SIMPLE_EDGE\"},\"Reducer 3\":{\"parent\":\"Reducer 2\",\"type\":\"SIMPLE_EDGE\"},\"Reducer 4\":{\"parent\":\"Reducer 3\",\"type\":\"SIMPLE_EDGE\"}}}},\"Stage-0\":{\"Fetch Operator\":{\"limit:\":\"10\",\"Processor Tree:\":{\"ListSink\":{}}}}},\"STAGE DEPENDENCIES\":{\"Stage-1\":{\"ROOT STAGE\":\"TRUE\"},\"Stage-0\":{\"ROOT STAGE\":\"TRUE\"}}}}"
- },
- "primaryfilters": {
- "user": [
- "hive"
- ]
- },
- "entity": "hive_20140226144444_6301b51e-d52c-4618-995f-573e3f59006c",
- "entitytype": "HIVE_QUERY_ID"
- },
- {
- "starttime": 1394569191001,
- "events": [
- {
- "timestamp": 1394569191001,
- "eventtype": "QUERY_SUBMITTED",
- "eventinfo": {}
- }
- ],
- "otherinfo": {
- "query": "{\"queryText\":\"select c_last_name, c_first_name, ca_city, bought_city,\\n ss_ticket_number, amt, profit\\n from (select ss_ticket_number,\\n ss_customer_sk,\\n ca_city as bought_city,\\n sum(ss_coupon_amt) as amt,\\n sum(ss_net_profit) as profit\\n from store_sales, date_dim, store, household_demographics, customer_address\\n where store_sales.ss_sold_date_sk = date_dim.d_date_sk\\n and store_sales.ss_store_sk = store.s_store_sk\\n and store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk\\n and store_sales.ss_addr_sk = customer_address.ca_address_sk\\n and (hou
sehold_demographics.hd_dep_count = 4\\n or household_demographics.hd_vehicle_count= 3)\\n and date_dim.d_dow in (6,0)\\n and date_dim.d_year in (1999, 1999+1, 1999+2)\\n and store.s_city in ('Fairview', 'Fairview', 'Fairview', 'Midway', 'Fairview')\\n group by ss_ticket_number, ss_customer_sk, ss_addr_sk, ca_city) dn,\\n customer, customer_address current_addr\\n where dn.ss_customer_sk = customer.c_customer_sk\\n and customer.c_current_addr_sk = current_addr.ca_address_sk\\n and current_addr.ca_city <> dn.bought_city\\n order by c_last_name, c_first_name, ca_city, bought_city, ss_ticket_number\\n limit 100\",\"queryPlan\":{\"STAGE PLANS\":{\"Stage-1\":{\"Tez\"
:{\"DagName:\":\"hrt_qa_20140311131919_1d932567-71c2-4341-9b50-6df1f58a9114:1\",\"Vertices:\":{\"Reducer 3\":{\"Reduce Operator Tree:\":{\"Group By Operator\":{\"mode:\":\"mergepartial\",\"aggregations:\":[\"sum(VALUE._col0)\",\"sum(VALUE._col1)\"],\"keys:\":\"KEY._col0 (type: int), KEY._col1 (type: int), KEY._col2 (type: int), KEY._col3 (type: string)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\"],\"children\":{\"Select Operator\":{\"expressions:\":\"_col0 (type: int), _col1 (type: int), _col3 (type: string), _col4 (type: decimal(17,2)), _col5 (type: decimal(17,2))\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col1 (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"_col0 (type: int), _col1 (type: int), _col2 (type: string), _col3 (type: decimal(17,2)), _col4 (type: decimal(17,2))\",\"Statistics:\":\"Num rows: 16473 Data size
: 21775806 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col1 (type: int)\"}},\"Statistics:\":\"Num rows: 16473 Data size: 21775806 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 16473 Data size: 21775806 Basic stats: COMPLETE Column stats: NONE\"}}},\"Map 1\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"filterExpr:\":\"((hd_dep_count = 4) or (hd_vehicle_count = 3)) (type: boolean)\",\"alias:\":\"household_demographics\",\"children\":{\"Filter Operator\":{\"predicate:\":\"((hd_dep_count = 4) or (hd_vehicle_count = 3)) (type: boolean)\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"hd_demo_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"hd_demo_sk (type: int), hd_dep_count (type: int), hd_vehicle_count (type: int)\",\"Statistics:\":\"Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"hd_demo_sk (type: int)\"}},
\"Statistics:\":\"Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 2\":{\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"store_sales\",\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"d_date_sk (type: int)\",\"0\":\"ss_sold_date_sk (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col3\",\"_col5\",\"_col6\",\"_col8\",\"_col18\",\"_col21\",\"_col22\",\"_col25\",\"_col31\",\"_col32\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"UDFToDouble(s_store_sk) (type: double)\",\"0\":\"UDFToDouble(_col22) (type: double)\"},\"outputColumnNames:\":[\"_col0\",\"_col3\",\"_col5\",\"_col6\",\"_col8\",\"_col18\",\"_col21\",\"_col22\",\"_col25\",\"_col31\",\"_col32\",\"_col55\",\"_col77\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"hd_demo_sk (type: int)\",\"0\":\"_col5 (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col22\",\"_c
ol31\",\"_col34\",\"_col36\",\"_col37\",\"_col39\",\"_col49\",\"_col52\",\"_col53\",\"_col56\",\"_col62\",\"_col63\",\"_col86\",\"_col89\",\"_col90\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ca_address_sk (type: int)\",\"0\":\"_col37 (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col3\",\"_col4\",\"_col7\",\"_col29\",\"_col38\",\"_col41\",\"_col43\",\"_col44\",\"_col46\",\"_col56\",\"_col59\",\"_col60\",\"_col63\",\"_col69\",\"_col70\",\"_col93\",\"_col99\"],\"children\":{\"Filter Operator\":{\"predicate:\":\"((((((((_col38 = _col63) and (_col60 = _col7)) and (_col43 = _col0)) and (_col44 = _col93)) and ((_col3 = 4) or (_col4 = 3))) and (_col70) IN (6, 0)) and (_col69) IN (1999, (1999 + 1), (1999 + 2))) and (_col29) IN ('Fairview', 'Fairview', 'Fairview', 'Midway', 'Fairview')) (type: boolean)\",\"children\":{\"Select Operator\":{\"expressions:\":\"_col46 (type: int), _col41 (type: int), _col44 (type: int), _col99 (type: string), _col56 (type: decimal(7,2)), _co
l59 (type: decimal(7,2))\",\"outputColumnNames:\":[\"_col46\",\"_col41\",\"_col44\",\"_col99\",\"_col56\",\"_col59\"],\"children\":{\"Group By Operator\":{\"mode:\":\"hash\",\"aggregations:\":[\"sum(_col56)\",\"sum(_col59)\"],\"keys:\":\"_col46 (type: int), _col41 (type: int), _col44 (type: int), _col99 (type: string)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: string)\",\"sort order:\":\"++++\",\"value expressions:\":\"_col4 (type: decimal(17,2)), _col5 (type: decimal(17,2))\",\"Statistics:\":\"Num rows: 32946 Data size: 43551613 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: string)\"}},\"Statistics:\":\"Num rows: 32946 Data size: 43551613 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num
rows: 32946 Data size: 43551613 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 32946 Data size: 43551613 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 4217199 Data size: 5574753280 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{ca_address_sk} {ca_city}\",\"0\":\"{_col86} {_col89} {_col90} {_col0} {_col22} {_col31} {_col34} {_col36} {_col37} {_col39} {_col49} {_col52} {_col53} {_col56} {_col62} {_col63}\"}}},\"Statistics:\":\"Num rows: 3833817 Data size: 5067957248 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{hd_demo_sk} {hd_dep_count} {hd_vehicle_count}\",\"0\":\"{_col55} {_col77} {_col0} {_col3} {_col5} {_col6} {_col8} {_col18} {_col21} {_col22} {_col25} {_col31} {_col32}\"}}},\"Statistics:\":\"Num rows: 3485288 Data size: 4607233536 Basic stats: COMPLETE Column st
ats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{s_store_sk} {s_city}\",\"0\":\"{_col0} {_col3} {_col5} {_col6} {_col8} {_col18} {_col21} {_col22} {_col25} {_col31} {_col32}\"}}},\"Statistics:\":\"Num rows: 3168444 Data size: 4188394240 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{d_date_sk} {d_year} {d_dow}\",\"0\":\"{ss_sold_date_sk} {ss_customer_sk} {ss_hdemo_sk} {ss_addr_sk} {ss_ticket_number} {ss_coupon_amt} {ss_net_profit} {ss_store_sk}\"}}},\"Statistics:\":\"Num rows: 2880404 Data size: 3807631184 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 5\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"customer\",\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"c_customer_sk (type: int)\",\"0\":\"_col1 (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\
",\"_col9\",\"_col13\",\"_col14\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ca_address_sk (type: int)\",\"0\":\"_col9 (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col9\",\"_col13\",\"_col14\",\"_col25\",\"_col31\"],\"children\":{\"Filter Operator\":{\"predicate:\":\"(((_col1 = _col5) and (_col9 = _col25)) and (_col31 <> _col2)) (type: boolean)\",\"children\":{\"Select Operator\":{\"expressions:\":\"_col14 (type: string), _col13 (type: string), _col31 (type: string), _col2 (type: string), _col0 (type: int), _col3 (type: decimal(17,2)), _col4 (type: decimal(17,2))\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col6\"],\"children\":{\"Reduce Output Operator\":{\"TopN Hash Memory Usage:\":\"0.04\",\"sort order:\":\"+++++\",\"value expressions:\":\"_col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int), _col5 (type: decimal(1
7,2)), _col6 (type: decimal(17,2))\",\"Statistics:\":\"Num rows: 30250 Data size: 25902518 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int)\"}},\"Statistics:\":\"Num rows: 30250 Data size: 25902518 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 30250 Data size: 25902518 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 121000 Data size: 103610072 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{ca_address_sk} {ca_city}\",\"0\":\"{_col0} {_col1} {_col2} {_col3} {_col4} {_col5} {_col9} {_col13} {_col14}\"}}},\"Statistics:\":\"Num rows: 110000 Data size: 94190976 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{c_customer_sk} {c_current_addr_sk} {c_first_nam
e} {c_last_name}\",\"0\":\"{_col0} {_col1} {_col2} {_col3} {_col4}\"}}},\"Statistics:\":\"Num rows: 100000 Data size: 85628164 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 4\":{\"Map Operator Tree:\":[{\"TableScan\":{\"filterExpr:\":\"((d_dow) IN (6, 0) and (d_year) IN (1999, (1999 + 1), (1999 + 2))) (type: boolean)\",\"alias:\":\"date_dim\",\"children\":{\"Filter Operator\":{\"predicate:\":\"((d_dow) IN (6, 0) and (d_year) IN (1999, (1999 + 1), (1999 + 2))) (type: boolean)\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"d_date_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"d_date_sk (type: int), d_year (type: int), d_dow (type: int)\",\"Statistics:\":\"Num rows: 18262 Data size: 20435178 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"d_date_sk (type: int)\"}},\"Statistics:\":\"Num rows: 18262 Data size: 20435178 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 73049 Data size: 817418
31 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 7\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"current_addr\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ca_address_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"ca_address_sk (type: int), ca_city (type: string)\",\"Statistics:\":\"Num rows: 50000 Data size: 55975728 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"ca_address_sk (type: int)\"}},\"Statistics:\":\"Num rows: 50000 Data size: 55975728 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Reducer 6\":{\"Reduce Operator Tree:\":{\"Extract\":{\"children\":{\"Limit\":{\"children\":{\"File Output Operator\":{\"Statistics:\":\"Num rows: 100 Data size: 85600 Basic stats: COMPLETE Column stats: NONE\",\"compressed:\":\"false\",\"table:\":{\"serde:\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"input format:\":\"org.apache.hadoop.mapred.TextInputFormat\
",\"output format:\":\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\"}}},\"Statistics:\":\"Num rows: 100 Data size: 85600 Basic stats: COMPLETE Column stats: NONE\",\"Number of rows:\":\"100\"}},\"Statistics:\":\"Num rows: 30250 Data size: 25902518 Basic stats: COMPLETE Column stats: NONE\"}}},\"Map 9\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"filterExpr:\":\"(s_city) IN ('Fairview', 'Fairview', 'Fairview', 'Midway', 'Fairview') (type: boolean)\",\"alias:\":\"store\",\"children\":{\"Filter Operator\":{\"predicate:\":\"(s_city) IN ('Fairview', 'Fairview', 'Fairview', 'Midway', 'Fairview') (type: boolean)\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"UDFToDouble(s_store_sk) (type: double)\",\"sort order:\":\"+\",\"value expressions:\":\"s_store_sk (type: int), s_city (type: string)\",\"Statistics:\":\"Num rows: 6 Data size: 12816 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"UDFToD
ouble(s_store_sk) (type: double)\"}},\"Statistics:\":\"Num rows: 6 Data size: 12816 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 12 Data size: 25632 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 8\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"customer_address\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ca_address_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"ca_address_sk (type: int), ca_city (type: string)\",\"Statistics:\":\"Num rows: 50000 Data size: 55975728 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"ca_address_sk (type: int)\"}},\"Statistics:\":\"Num rows: 50000 Data size: 55975728 Basic stats: COMPLETE Column stats: NONE\"}}]}},\"Edges:\":{\"Reducer 3\":{\"parent\":\"Map 2\",\"type\":\"SIMPLE_EDGE\"},\"Map 2\":[{\"parent\":\"Map 1\",\"type\":\"BROADCAST_EDGE\"},{\"parent\":\"Map 4\",\"type\":\"BROADCAST_EDGE\"},{\"parent\"
:\"Map 8\",\"type\":\"BROADCAST_EDGE\"},{\"parent\":\"Map 9\",\"type\":\"BROADCAST_EDGE\"}],\"Map 5\":[{\"parent\":\"Reducer 3\",\"type\":\"BROADCAST_EDGE\"},{\"parent\":\"Map 7\",\"type\":\"BROADCAST_EDGE\"}],\"Reducer 6\":{\"parent\":\"Map 5\",\"type\":\"SIMPLE_EDGE\"}}}},\"Stage-0\":{\"Fetch Operator\":{\"limit:\":\"100\",\"Processor Tree:\":{\"ListSink\":{}}}}},\"STAGE DEPENDENCIES\":{\"Stage-1\":{\"ROOT STAGE\":\"TRUE\"},\"Stage-0\":{\"ROOT STAGE\":\"TRUE\"}}}}"
- },
- "primaryfilters": {
- "user": [
- "hrt_qa"
- ]
- },
- "entity": "hrt_qa_20140311131919_1d932567-71c2-4341-9b50-6df1f58a9114",
- "entitytype": "HIVE_QUERY_ID"
- },
- {
- "starttime": 1393439112167,
- "events": [
- {
- "timestamp": 1393439112748,
- "eventtype": "QUERY_COMPLETED",
- "eventinfo": {}
- },
- {
- "timestamp": 1393439112167,
- "eventtype": "QUERY_SUBMITTED",
- "eventinfo": {}
- }
- ],
- "otherinfo": {
- "status": false,
- "query": "{\"queryText\":\"show tables\",\"queryPlan\":{\"STAGE PLANS\":{\"Stage-1\":{\"Fetch Operator\":{\"limit:\":\"-1\",\"Processor Tree:\":{\"ListSink\":{}}}},\"Stage-0\":{\"Show Table Operator:\":{\"Show Tables\":{\"database name:\":\"default\"}}}},\"STAGE DEPENDENCIES\":{\"Stage-1\":{\"ROOT STAGE\":\"TRUE\"},\"Stage-0\":{\"ROOT STAGE\":\"TRUE\"}}}}"
- },
- "primaryfilters": {
- "user": [
- "hive"
- ]
- },
- "entity": "hive_20140226132525_780b8f71-bd4f-4daf-b0c3-4584920186d5",
- "entitytype": "HIVE_QUERY_ID"
- },
- {
- "starttime": 1393031638459,
- "events": [
- {
- "timestamp": 1393032494585,
- "eventtype": "QUERY_COMPLETED",
- "eventinfo": {}
- },
- {
- "timestamp": 1393031638459,
- "eventtype": "QUERY_SUBMITTED",
- "eventinfo": {}
- }
- ],
- "otherinfo": {
- "status": true,
- "query": "{\"queryText\":\"\\nselect cs1.product_name ,cs1.store_name ,cs1.store_zip ,cs1.b_street_number ,cs1.b_streen_name ,cs1.b_city\\n ,cs1.b_zip ,cs1.c_street_number ,cs1.c_street_name ,cs1.c_city ,cs1.c_zip ,cs1.syear ,cs1.cnt\\n ,cs1.s1 ,cs1.s2 ,cs1.s3\\n ,cs2.s1 ,cs2.s2 ,cs2.s3 ,cs2.syear ,cs2.cnt\\nfrom\\n(select i_product_name as product_name ,i_item_sk as item_sk ,s_store_name as store_name\\n ,s_zip as store_zip ,ad1.ca_street_number as b_street_number ,ad1.ca_street_name as b_streen_name\\n ,ad1.ca_city as b_city ,ad1.ca_zip as b_zip ,ad2.ca_street_number as c_street_number\\n ,ad2.ca_street_name as c_street_name ,ad2.ca_city as c_city ,ad2.ca_zip as c_zip\\n ,d1.d_year as syear ,d2.d_year as fsyear ,d3.d_year as s2year ,count(*) as cnt\\n ,sum(ss_wholesale_cost) as s1 ,sum(ss_list_price) as s2 ,sum(ss_coupon_amt) as s3\\n FROM store_sales\\n JOIN store_returns ON store_sales.ss_item_sk = store_returns.sr_item_sk and st
ore_sales.ss_ticket_number = store_returns.sr_ticket_number\\n JOIN customer ON store_sales.ss_customer_sk = customer.c_customer_sk\\n JOIN date_dim d1 ON store_sales.ss_sold_date_sk = d1.d_date_sk\\n JOIN date_dim d2 ON customer.c_first_sales_date_sk = d2.d_date_sk \\n JOIN date_dim d3 ON customer.c_first_shipto_date_sk = d3.d_date_sk\\n JOIN store ON store_sales.ss_store_sk = store.s_store_sk\\n JOIN customer_demographics cd1 ON store_sales.ss_cdemo_sk= cd1.cd_demo_sk\\n JOIN customer_demographics cd2 ON customer.c_current_cdemo_sk = cd2.cd_demo_sk\\n JOIN promotion ON store_sales.ss_promo_sk = promotion.p_promo_sk\\n JOIN household_demographics hd1 ON store_sales.ss_hdemo_sk = hd1.hd_demo_sk\\n JOIN household_demographics hd2 ON customer.c_current_hdemo_sk = hd2.hd_demo_sk\\n JOIN customer_address ad1 ON store_sales.ss_addr_sk = ad1.ca_address_sk\\n JOIN customer_address ad2 ON customer.c_current_
addr_sk = ad2.ca_address_sk\\n JOIN income_band ib1 ON hd1.hd_income_band_sk = ib1.ib_income_band_sk\\n JOIN income_band ib2 ON hd2.hd_income_band_sk = ib2.ib_income_band_sk\\n JOIN item ON store_sales.ss_item_sk = item.i_item_sk\\n JOIN\\n (select cs_item_sk\\n ,sum(cs_ext_list_price) as sale,sum(cr_refunded_cash+cr_reversed_charge+cr_store_credit) as refund\\n from catalog_sales JOIN catalog_returns\\n ON catalog_sales.cs_item_sk = catalog_returns.cr_item_sk\\n and catalog_sales.cs_order_number = catalog_returns.cr_order_number\\n group by cs_item_sk\\n having sum(cs_ext_list_price)>2*sum(cr_refunded_cash+cr_reversed_charge+cr_store_credit)) cs_ui\\nON store_sales.ss_item_sk = cs_ui.cs_item_sk\\n WHERE \\n cd1.cd_marital_status <> cd2.cd_marital_status and\\n i_color in ('maroon','burnished','dim','steel','navajo','chocolate') and\\n i_current_price between 35 and 35 + 10 and\\n i_current_price between 35
+ 1 and 35 + 15\\ngroup by i_product_name ,i_item_sk ,s_store_name ,s_zip ,ad1.ca_street_number\\n ,ad1.ca_street_name ,ad1.ca_city ,ad1.ca_zip ,ad2.ca_street_number\\n ,ad2.ca_street_name ,ad2.ca_city ,ad2.ca_zip ,d1.d_year ,d2.d_year ,d3.d_year\\n) cs1\\nJOIN\\n(select i_product_name as product_name ,i_item_sk as item_sk ,s_store_name as store_name\\n ,s_zip as store_zip ,ad1.ca_street_number as b_street_number ,ad1.ca_street_name as b_streen_name\\n ,ad1.ca_city as b_city ,ad1.ca_zip as b_zip ,ad2.ca_street_number as c_street_number\\n ,ad2.ca_street_name as c_street_name ,ad2.ca_city as c_city ,ad2.ca_zip as c_zip\\n ,d1.d_year as syear ,d2.d_year as fsyear ,d3.d_year as s2year ,count(*) as cnt\\n ,sum(ss_wholesale_cost) as s1 ,sum(ss_list_price) as s2 ,sum(ss_coupon_amt) as s3\\n FROM store_sales\\n JOIN store_returns ON store_sales.ss_item_sk = store_returns.sr_item_sk and store_sales.ss_ticket_number = store_returns.sr_ticket_number\\
n JOIN customer ON store_sales.ss_customer_sk = customer.c_customer_sk\\n JOIN date_dim d1 ON store_sales.ss_sold_date_sk = d1.d_date_sk\\n JOIN date_dim d2 ON customer.c_first_sales_date_sk = d2.d_date_sk \\n JOIN date_dim d3 ON customer.c_first_shipto_date_sk = d3.d_date_sk\\n JOIN store ON store_sales.ss_store_sk = store.s_store_sk\\n JOIN customer_demographics cd1 ON store_sales.ss_cdemo_sk= cd1.cd_demo_sk\\n JOIN customer_demographics cd2 ON customer.c_current_cdemo_sk = cd2.cd_demo_sk\\n JOIN promotion ON store_sales.ss_promo_sk = promotion.p_promo_sk\\n JOIN household_demographics hd1 ON store_sales.ss_hdemo_sk = hd1.hd_demo_sk\\n JOIN household_demographics hd2 ON customer.c_current_hdemo_sk = hd2.hd_demo_sk\\n JOIN customer_address ad1 ON store_sales.ss_addr_sk = ad1.ca_address_sk\\n JOIN customer_address ad2 ON customer.c_current_addr_sk = ad2.ca_address_sk\\n JOIN income_band ib1 ON
hd1.hd_income_band_sk = ib1.ib_income_band_sk\\n JOIN income_band ib2 ON hd2.hd_income_band_sk = ib2.ib_income_band_sk\\n JOIN item ON store_sales.ss_item_sk = item.i_item_sk\\n JOIN\\n (select cs_item_sk\\n ,sum(cs_ext_list_price) as sale,sum(cr_refunded_cash+cr_reversed_charge+cr_store_credit) as refund\\n from catalog_sales JOIN catalog_returns\\n ON catalog_sales.cs_item_sk = catalog_returns.cr_item_sk\\n and catalog_sales.cs_order_number = catalog_returns.cr_order_number\\n group by cs_item_sk\\n having sum(cs_ext_list_price)>2*sum(cr_refunded_cash+cr_reversed_charge+cr_store_credit)) cs_ui\\nON store_sales.ss_item_sk = cs_ui.cs_item_sk\\n WHERE \\n cd1.cd_marital_status <> cd2.cd_marital_status and\\n i_color in ('maroon','burnished','dim','steel','navajo','chocolate') and\\n i_current_price between 35 and 35 + 10 and\\n i_current_price between 35 + 1 and 35 + 15\\ngroup by i_product_name ,i_item_sk ,s_store
_name ,s_zip ,ad1.ca_street_number\\n ,ad1.ca_street_name ,ad1.ca_city ,ad1.ca_zip ,ad2.ca_street_number\\n ,ad2.ca_street_name ,ad2.ca_city ,ad2.ca_zip ,d1.d_year ,d2.d_year ,d3.d_year\\n) cs2\\nON cs1.item_sk=cs2.item_sk\\nwhere \\n cs1.syear = 2000 and\\n cs2.syear = 2000 + 1 and\\n cs2.cnt <= cs1.cnt and\\n cs1.store_name = cs2.store_name and\\n cs1.store_zip = cs2.store_zip\\norder by cs1.product_name ,cs1.store_name ,cs2.cnt\",\"queryPlan\":{\"STAGE PLANS\":{\"Stage-1\":{\"Tez\":{\"DagName:\":\"root_20140221171313_94b85642-2225-4317-ac6e-f337f6b1eeed:1\",\"Vertices:\":{\"Reducer 13\":{\"Reduce Operator Tree:\":{\"Group By Operator\":{\"mode:\":\"mergepartial\",\"aggregations:\":[\"sum(VALUE._col0)\",\"sum(VALUE._col1)\"],\"keys:\":\"KEY._col0 (type: int)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\"],\"children\":{\"Filter Operator\":{\"predicate:\":\"(_col1 > (2 * _col2)) (type: boolean)\",\"children\":{\"Select Operator\":{\"expressi
ons:\":\"_col0 (type: int)\",\"outputColumnNames:\":[\"_col0\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col0 (type: int)\",\"sort order:\":\"+\",\"Statistics:\":\"Num rows: 49506837 Data size: 4088301199 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: int)\"}},\"Statistics:\":\"Num rows: 49506837 Data size: 4088301199 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 49506837 Data size: 4088301199 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 148520512 Data size: 12264903680 Basic stats: COMPLETE Column stats: NONE\"}}},\"Map 11\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"catalog_sales\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"cs_item_sk (type: int), cs_order_number (type: int)\",\"sort order:\":\"++\",\"value expressions:\":\"cs_item_sk (type: int), cs_ext_list_price (type: float)
\",\"Statistics:\":\"Num rows: 270037278 Data size: 22299823475 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"cs_item_sk (type: int), cs_order_number (type: int)\"}},\"Statistics:\":\"Num rows: 270037278 Data size: 22299823475 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Reducer 14\":{\"Reduce Operator Tree:\":{\"Join Operator\":{\"outputColumnNames:\":[\"_col19\",\"_col39\",\"_col56\",\"_col57\",\"_col64\",\"_col73\",\"_col84\",\"_col141\",\"_col142\",\"_col145\",\"_col148\",\"_col179\",\"_col180\",\"_col183\",\"_col186\",\"_col203\",\"_col233\",\"_col263\",\"_col287\",\"_col292\",\"_col304\",\"_col308\"],\"children\":{\"Filter Operator\":{\"predicate:\":\"((((_col73 <> _col84) and (_col304) IN ('maroon', 'burnished', 'dim', 'steel', 'navajo', 'chocolate')) and _col292 BETWEEN 35 AND (35 + 10)) and _col292 BETWEEN (35 + 1) AND (35 + 15)) (type: boolean)\",\"children\":{\"Select Operator\":{\"expressions:\":\"_col308 (type: string), _col287 (type: int), _col1
9 (type: string), _col39 (type: string), _col141 (type: string), _col142 (type: string), _col145 (type: string), _col148 (type: string), _col179 (type: string), _col180 (type: string), _col183 (type: string), _col186 (type: string), _col203 (type: int), _col233 (type: int), _col263 (type: int), _col56 (type: float), _col57 (type: float), _col64 (type: float)\",\"outputColumnNames:\":[\"_col308\",\"_col287\",\"_col19\",\"_col39\",\"_col141\",\"_col142\",\"_col145\",\"_col148\",\"_col179\",\"_col180\",\"_col183\",\"_col186\",\"_col203\",\"_col233\",\"_col263\",\"_col56\",\"_col57\",\"_col64\"],\"children\":{\"Group By Operator\":{\"mode:\":\"hash\",\"aggregations:\":[\"count()\",\"sum(_col56)\",\"sum(_col57)\",\"sum(_col64)\"],\"keys:\":\"_col308 (type: string), _col287 (type: int), _col19 (type: string), _col39 (type: string), _col141 (type: string), _col142 (type: string), _col145 (type: string), _col148 (type: string), _col179 (type: string), _col180 (type: string), _col183 (type:
string), _col186 (type: string), _col203 (type: int), _col233 (type: int), _col263 (type: int)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col9\",\"_col10\",\"_col11\",\"_col12\",\"_col13\",\"_col14\",\"_col15\",\"_col16\",\"_col17\",\"_col18\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col0 (type: string), _col1 (type: int), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: string), _col6 (type: string), _col7 (type: string), _col8 (type: string), _col9 (type: string), _col10 (type: string), _col11 (type: string), _col12 (type: int), _col13 (type: int), _col14 (type: int)\",\"sort order:\":\"+++++++++++++++\",\"value expressions:\":\"_col15 (type: bigint), _col16 (type: double), _col17 (type: double), _col18 (type: double)\",\"Statistics:\":\"Num rows: 631896960 Data size: 32350201856 Basic stats: COMPLETE Column stats: NONE\",\"key expression
s:\":\"_col0 (type: string), _col1 (type: int), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: string), _col6 (type: string), _col7 (type: string), _col8 (type: string), _col9 (type: string), _col10 (type: string), _col11 (type: string), _col12 (type: int), _col13 (type: int), _col14 (type: int)\"}},\"Statistics:\":\"Num rows: 631896960 Data size: 32350201856 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 631896960 Data size: 32350201856 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 631896960 Data size: 32350201856 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 5055175680 Data size: 258801614848 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"},{\"\":\"Inner Join 0 to 2\"}],\"condition expressions:\":{\"2\":\"\",\"1\":\"{VALUE._col0} {VALUE._col5} {VALUE._col17} {VALUE._col21}\",\"0\":\"{VALUE._col19} {VALUE._col39} {VALUE._col56} {
VALUE._col57} {VALUE._col64} {VALUE._col73} {VALUE._col84} {VALUE._col141} {VALUE._col142} {VALUE._col145} {VALUE._col148} {VALUE._col184} {VALUE._col185} {VALUE._col188} {VALUE._col191} {VALUE._col203} {VALUE._col233} {VALUE._col263}\"}}}},\"Reducer 12\":{\"Reduce Operator Tree:\":{\"Join Operator\":{\"outputColumnNames:\":[\"_col15\",\"_col25\",\"_col60\",\"_col61\",\"_col62\"],\"children\":{\"Select Operator\":{\"expressions:\":\"_col15 (type: int), _col25 (type: float), _col60 (type: float), _col61 (type: float), _col62 (type: float)\",\"outputColumnNames:\":[\"_col15\",\"_col25\",\"_col60\",\"_col61\",\"_col62\"],\"children\":{\"Group By Operator\":{\"mode:\":\"hash\",\"aggregations:\":[\"sum(_col25)\",\"sum(((_col60 + _col61) + _col62))\"],\"keys:\":\"_col15 (type: int)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col0 (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"_col1 (t
ype: double), _col2 (type: double)\",\"Statistics:\":\"Num rows: 297041024 Data size: 24529807360 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: int)\"}},\"Statistics:\":\"Num rows: 297041024 Data size: 24529807360 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 297041024 Data size: 24529807360 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 297041024 Data size: 24529807360 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{VALUE._col23} {VALUE._col24} {VALUE._col25}\",\"0\":\"{VALUE._col15} {VALUE._col25}\"}}}},\"Map 10\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"ib1\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ib_income_band_sk (type: int)\",\"sort order:\":\"+\",\"Statistics:\":\"Num rows: 20 Data size: 306 Basic stats: COMPLETE Column stats
: NONE\",\"key expressions:\":\"ib_income_band_sk (type: int)\"}},\"Statistics:\":\"Num rows: 20 Data size: 306 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 19\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"customer\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"c_customer_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"c_current_cdemo_sk (type: int), c_current_hdemo_sk (type: int), c_current_addr_sk (type: int), c_first_shipto_date_sk (type: int), c_first_sales_date_sk (type: int)\",\"Statistics:\":\"Num rows: 1600000 Data size: 59241136 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"c_customer_sk (type: int)\"}},\"Statistics:\":\"Num rows: 1600000 Data size: 59241136 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 16\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"store_sales\",\"children\":{\"Reduce Output Operator
\":{\"Map-reduce partition columns:\":\"ss_item_sk (type: int), ss_ticket_number (type: int)\",\"sort order:\":\"++\",\"value expressions:\":\"ss_sold_date_sk (type: int), ss_item_sk (type: int), ss_customer_sk (type: int), ss_cdemo_sk (type: int), ss_hdemo_sk (type: int), ss_addr_sk (type: int), ss_store_sk (type: int), ss_promo_sk (type: int), ss_wholesale_cost (type: float), ss_list_price (type: float), ss_coupon_amt (type: float)\",\"Statistics:\":\"Num rows: 550076554 Data size: 28161379051 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"ss_item_sk (type: int), ss_ticket_number (type: int)\"}},\"Statistics:\":\"Num rows: 550076554 Data size: 28161379051 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Reducer 17\":{\"Reduce Operator Tree:\":{\"Join Operator\":{\"outputColumnNames:\":[\"_col0\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col11\",\"_col12\",\"_col19\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"c_custome
r_sk (type: int)\",\"0\":\"_col3 (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col2\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col11\",\"_col12\",\"_col19\",\"_col51\",\"_col52\",\"_col53\",\"_col54\",\"_col55\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"d_date_sk (type: int)\",\"0\":\"_col0 (type: int)\"},\"outputColumnNames:\":[\"_col2\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col11\",\"_col12\",\"_col19\",\"_col28\",\"_col29\",\"_col30\",\"_col31\",\"_col32\",\"_col75\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"d_date_sk (type: int)\",\"0\":\"_col32 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col32\",\"_col34\",\"_col35\",\"_col36\",\"_col37\",\"_col38\",\"_col41\",\"_col42\",\"_col49\",\"_col58\",\"_col59\",\"_col60\",\"_col61\",\"_col105\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"d_date_sk (type: int)\",\"0\":\"_col61 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col62\",\"_col6
4\",\"_col65\",\"_col66\",\"_col67\",\"_col68\",\"_col71\",\"_col72\",\"_col79\",\"_col88\",\"_col89\",\"_col90\",\"_col135\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"s_store_sk (type: int)\",\"0\":\"_col67 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col92\",\"_col94\",\"_col95\",\"_col96\",\"_col98\",\"_col101\",\"_col102\",\"_col109\",\"_col118\",\"_col119\",\"_col120\",\"_col164\",\"_col184\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"cd_demo_sk (type: int)\",\"0\":\"_col94 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col95\",\"_col115\",\"_col123\",\"_col126\",\"_col127\",\"_col129\",\"_col132\",\"_col133\",\"_col140\",\"_col149\",\"_col150\",\"_col151\",\"_col192\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"cd_demo_sk (type: int)\",\"0\":\"_col149 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col95\",\"_col115\",\"_col123\",\"_col126\",\"_col127\",\
"_col129\",\"_col132\",\"_col133\",\"_col140\",\"_col149\",\"_col161\",\"_col162\",\"_col203\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"p_promo_sk (type: int)\",\"0\":\"_col129 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col95\",\"_col115\",\"_col123\",\"_col126\",\"_col127\",\"_col132\",\"_col133\",\"_col140\",\"_col149\",\"_col160\",\"_col172\",\"_col173\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"hd_demo_sk (type: int)\",\"0\":\"_col126 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col95\",\"_col115\",\"_col123\",\"_col127\",\"_col132\",\"_col133\",\"_col140\",\"_col149\",\"_col160\",\"_col193\",\"_col194\",\"_col234\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"hd_demo_sk (type: int)\",\"0\":\"_col193 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col91\",\"_col102\",\"_col122\",\"_col130\",\"_col134\",\"_col139\",\"_col140\",\"_col147\",\"_col156\",\"
_col167\",\"_col201\",\"_col241\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ca_address_sk (type: int)\",\"0\":\"_col134 (type: int)\"},\"outputColumnNames:\":[\"_col1\",\"_col13\",\"_col43\",\"_col73\",\"_col98\",\"_col109\",\"_col129\",\"_col137\",\"_col146\",\"_col147\",\"_col154\",\"_col163\",\"_col174\",\"_col208\",\"_col249\",\"_col250\",\"_col253\",\"_col256\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ca_address_sk (type: int)\",\"0\":\"_col208 (type: int)\"},\"outputColumnNames:\":[\"_col1\",\"_col8\",\"_col19\",\"_col39\",\"_col47\",\"_col56\",\"_col57\",\"_col64\",\"_col73\",\"_col84\",\"_col136\",\"_col137\",\"_col140\",\"_col143\",\"_col178\",\"_col208\",\"_col238\",\"_col264\",\"_col265\",\"_col268\",\"_col271\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ib_income_band_sk (type: int)\",\"0\":\"_col8 (type: int)\"},\"outputColumnNames:\":[\"_col1\",\"_col19\",\"_col39\",\"_col47\",\"_col56\",\"_col57\",\"_col64\",\"_col73\",\"_c
ol84\",\"_col136\",\"_col137\",\"_col140\",\"_col143\",\"_col174\",\"_col175\",\"_col178\",\"_col181\",\"_col193\",\"_col223\",\"_col253\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ib_income_band_sk (type: int)\",\"0\":\"_col1 (type: int)\"},\"outputColumnNames:\":[\"_col19\",\"_col39\",\"_col47\",\"_col56\",\"_col57\",\"_col64\",\"_col73\",\"_col84\",\"_col136\",\"_col137\",\"_col140\",\"_col143\",\"_col179\",\"_col180\",\"_col183\",\"_col186\",\"_col198\",\"_col228\",\"_col258\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col47 (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"_col19 (type: string), _col39 (type: string), _col56 (type: float), _col57 (type: float), _col64 (type: float), _col73 (type: string), _col84 (type: string), _col136 (type: string), _col137 (type: string), _col140 (type: string), _col143 (type: string), _col179 (type: string), _col180 (type: string), _col183 (type: string), _col186 (type: string),
_col198 (type: int), _col228 (type: int), _col258 (type: int)\",\"Statistics:\":\"Num rows: 2297807104 Data size: 117637095424 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col47 (type: int)\"}},\"Statistics:\":\"Num rows: 2297807104 Data size: 117637095424 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"\",\"0\":\"{_col19} {_col39} {_col47} {_col56} {_col57} {_col64} {_col73} {_col84} {_col136} {_col137} {_col140} {_col143} {_col174} {_col175} {_col178} {_col181} {_col193} {_col223} {_col253}\"}}},\"Statistics:\":\"Num rows: 2088915456 Data size: 106942808064 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"\",\"0\":\"{_col1} {_col19} {_col39} {_col47} {_col56} {_col57} {_col64} {_col73} {_col84} {_col136} {_col137} {_col140} {_col143} {_col264} {_col265} {_col268} {_col271} {_col178} {_col208} {_col23
8}\"}}},\"Statistics:\":\"Num rows: 1899014016 Data size: 97220730880 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{ca_street_number} {ca_street_name} {ca_city} {ca_zip}\",\"0\":\"{_col1} {_col98} {_col109} {_col129} {_col137} {_col146} {_col147} {_col154} {_col163} {_col174} {_col249} {_col250} {_col253} {_col256} {_col13} {_col43} {_col73}\"}}},\"Statistics:\":\"Num rows: 1726376320 Data size: 88382480384 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{ca_street_number} {ca_street_name} {ca_city} {ca_zip}\",\"0\":\"{_col241} {_col6} {_col36} {_col66} {_col91} {_col102} {_col122} {_col130} {_col139} {_col140} {_col147} {_col156} {_col167} {_col201}\"}}},\"Statistics:\":\"Num rows: 1569432960 Data size: 80347709440 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition e
xpressions:\":{\"1\":\"{hd_income_band_sk}\",\"0\":\"{_col6} {_col36} {_col66} {_col234} {_col95} {_col115} {_col123} {_col127} {_col132} {_col133} {_col140} {_col149} {_col160} {_col194}\"}}},\"Statistics:\":\"Num rows: 1426757248 Data size: 73043369984 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{hd_income_band_sk}\",\"0\":\"{_col6} {_col36} {_col66} {_col95} {_col115} {_col123} {_col127} {_col132} {_col133} {_col140} {_col149} {_col160} {_col172} {_col173}\"}}},\"Statistics:\":\"Num rows: 1297052032 Data size: 66403065856 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"\",\"0\":\"{_col6} {_col36} {_col66} {_col95} {_col115} {_col123} {_col126} {_col127} {_col132} {_col133} {_col140} {_col149} {_col203} {_col161} {_col162}\"}}},\"Statistics:\":\"Num rows: 1179138176 Data size: 60366422016 Basic stats: COMPLETE Column
stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{cd_marital_status}\",\"0\":\"{_col6} {_col36} {_col66} {_col95} {_col115} {_col123} {_col126} {_col127} {_col129} {_col132} {_col133} {_col140} {_col192} {_col150} {_col151}\"}}},\"Statistics:\":\"Num rows: 1071943808 Data size: 54878564352 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{cd_marital_status}\",\"0\":\"{_col6} {_col36} {_col66} {_col164} {_col184} {_col92} {_col95} {_col96} {_col98} {_col101} {_col102} {_col109} {_col118} {_col119} {_col120}\"}}},\"Statistics:\":\"Num rows: 974494336 Data size: 49889603584 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{s_store_name} {s_zip}\",\"0\":\"{_col6} {_col36} {_col135} {_col62} {_col64} {_col65} {_col66} {_col68} {_col71} {_col72} {_col79} {_col88} {_col89} {_col90}\
"}}},\"Statistics:\":\"Num rows: 885903936 Data size: 45354184704 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{d_year}\",\"0\":\"{_col6} {_col105} {_col32} {_col34} {_col35} {_col36} {_col37} {_col38} {_col41} {_col42} {_col49} {_col58} {_col59} {_col60}\"}}},\"Statistics:\":\"Num rows: 805367168 Data size: 41231077376 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{d_year}\",\"0\":\"{_col75} {_col2} {_col4} {_col5} {_col6} {_col7} {_col8} {_col11} {_col12} {_col19} {_col28} {_col29} {_col30} {_col31}\"}}},\"Statistics:\":\"Num rows: 732151936 Data size: 37482795008 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{d_year}\",\"0\":\"{_col2} {_col4} {_col5} {_col6} {_col7} {_col8} {_col11} {_col12} {_col19} {_col51} {_col52} {_col53} {_col54
} {_col55}\"}}},\"Statistics:\":\"Num rows: 665592640 Data size: 34075269120 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{c_current_cdemo_sk} {c_current_hdemo_sk} {c_current_addr_sk} {c_first_shipto_date_sk} {c_first_sales_date_sk}\",\"0\":\"{_col0} {_col2} {_col4} {_col5} {_col6} {_col7} {_col8} {_col11} {_col12} {_col19}\"}}},\"Statistics:\":\"Num rows: 605084224 Data size: 30977517568 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"\",\"0\":\"{VALUE._col0} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7} {VALUE._col8} {VALUE._col11} {VALUE._col12} {VALUE._col19}\"}}}},\"Map 18\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"cd1\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"cd_demo_sk (type: int)\",\"sort or
der:\":\"+\",\"value expressions:\":\"cd_marital_status (type: string)\",\"Statistics:\":\"Num rows: 1920800 Data size: 31322 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"cd_demo_sk (type: int)\"}},\"Statistics:\":\"Num rows: 1920800 Data size: 31322 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Reducer 15\":{\"Reduce Operator Tree:\":{\"Group By Operator\":{\"mode:\":\"mergepartial\",\"aggregations:\":[\"count(VALUE._col0)\",\"sum(VALUE._col1)\",\"sum(VALUE._col2)\",\"sum(VALUE._col3)\"],\"keys:\":\"KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: string), KEY._col3 (type: string), KEY._col4 (type: string), KEY._col5 (type: string), KEY._col6 (type: string), KEY._col7 (type: string), KEY._col8 (type: string), KEY._col9 (type: string), KEY._col10 (type: string), KEY._col11 (type: string), KEY._col12 (type: int), KEY._col13 (type: int), KEY._col14 (type: int)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\"
,\"_col6\",\"_col7\",\"_col8\",\"_col9\",\"_col10\",\"_col11\",\"_col12\",\"_col13\",\"_col14\",\"_col15\",\"_col16\",\"_col17\",\"_col18\"],\"children\":{\"Select Operator\":{\"expressions:\":\"_col0 (type: string), _col1 (type: int), _col10 (type: string), _col11 (type: string), _col12 (type: int), _col15 (type: bigint), _col16 (type: double), _col17 (type: double), _col18 (type: double), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: string), _col6 (type: string), _col7 (type: string), _col8 (type: string), _col9 (type: string)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col10\",\"_col11\",\"_col12\",\"_col15\",\"_col16\",\"_col17\",\"_col18\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col9\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col1 (type: int), _col2 (type: string), _col3 (type: string)\",\"sort order:\":\"+++\",\"value expressions:\":\"_col0 (type: string), _col2 (type
: string), _col3 (type: string), _col4 (type: string), _col5 (type: string), _col6 (type: string), _col7 (type: string), _col8 (type: string), _col9 (type: string), _col10 (type: string), _col11 (type: string), _col12 (type: int), _col15 (type: bigint), _col16 (type: double), _col17 (type: double), _col18 (type: double)\",\"Statistics:\":\"Num rows: 315948480 Data size: 16175100928 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col1 (type: int), _col2 (type: string), _col3 (type: string)\"}},\"Statistics:\":\"Num rows: 315948480 Data size: 16175100928 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 315948480 Data size: 16175100928 Basic stats: COMPLETE Column stats: NONE\"}}},\"Map 25\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"catalog_returns\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"cr_item_sk (type: int), cr_order_number (type: int)\",\"sort order:\":\
"++\",\"value expressions:\":\"cr_refunded_cash (type: float), cr_reversed_charge (type: float), cr_store_credit (type: float)\",\"Statistics:\":\"Num rows: 28798881 Data size: 1681267447 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"cr_item_sk (type: int), cr_order_number (type: int)\"}},\"Statistics:\":\"Num rows: 28798881 Data size: 1681267447 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 24\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"store_returns\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"sr_item_sk (type: int), sr_ticket_number (type: int)\",\"sort order:\":\"++\",\"Statistics:\":\"Num rows: 79762591 Data size: 2561677244 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"sr_item_sk (type: int), sr_ticket_number (type: int)\"}},\"Statistics:\":\"Num rows: 79762591 Data size: 2561677244 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 23\":{\"Map Ope
rator Tree:\":[{\"TableScan\":{\"alias:\":\"item\",\"children\":{\"Filter Operator\":{\"predicate:\":\"(((i_color) IN ('maroon', 'burnished', 'dim', 'steel', 'navajo', 'chocolate') and i_current_price BETWEEN 35 AND (35 + 10)) and i_current_price BETWEEN (35 + 1) AND (35 + 15)) (type: boolean)\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"i_item_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"i_item_sk (type: int), i_current_price (type: float), i_color (type: string), i_product_name (type: string)\",\"Statistics:\":\"Num rows: 6000 Data size: 433429 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"i_item_sk (type: int)\"}},\"Statistics:\":\"Num rows: 6000 Data size: 433429 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 48000 Data size: 3467433 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 22\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"hd
1\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"hd_demo_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"hd_income_band_sk (type: int)\",\"Statistics:\":\"Num rows: 7200 Data size: 713 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"hd_demo_sk (type: int)\"}},\"Statistics:\":\"Num rows: 7200 Data size: 713 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 21\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"hd2\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"hd_demo_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"hd_income_band_sk (type: int)\",\"Statistics:\":\"Num rows: 7200 Data size: 713 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"hd_demo_sk (type: int)\"}},\"Statistics:\":\"Num rows: 7200 Data size: 713 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 20\":{\"Execution mode:\":\"vectorized\",\"Ma
p Operator Tree:\":[{\"TableScan\":{\"alias:\":\"cd2\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"cd_demo_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"cd_marital_status (type: string)\",\"Statistics:\":\"Num rows: 1920800 Data size: 31322 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"cd_demo_sk (type: int)\"}},\"Statistics:\":\"Num rows: 1920800 Data size: 31322 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 29\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"d3\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"d_date_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"d_year (type: int)\",\"Statistics:\":\"Num rows: 73049 Data size: 327991 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"d_date_sk (type: int)\"}},\"Statistics:\":\"Num rows: 73049 Data size: 327991 Basic stats: COMPLETE Column stats: NONE
\"}}]},\"Reducer 27\":{\"Reduce Operator Tree:\":{\"Join Operator\":{\"outputColumnNames:\":[\"_col15\",\"_col25\",\"_col60\",\"_col61\",\"_col62\"],\"children\":{\"Select Operator\":{\"expressions:\":\"_col15 (type: int), _col25 (type: float), _col60 (type: float), _col61 (type: float), _col62 (type: float)\",\"outputColumnNames:\":[\"_col15\",\"_col25\",\"_col60\",\"_col61\",\"_col62\"],\"children\":{\"Group By Operator\":{\"mode:\":\"hash\",\"aggregations:\":[\"sum(_col25)\",\"sum(((_col60 + _col61) + _col62))\"],\"keys:\":\"_col15 (type: int)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col0 (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"_col1 (type: double), _col2 (type: double)\",\"Statistics:\":\"Num rows: 297041024 Data size: 24529807360 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: int)\"}},\"Statistics:\":\"Num rows: 297041024 Data size:
24529807360 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 297041024 Data size: 24529807360 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 297041024 Data size: 24529807360 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{VALUE._col23} {VALUE._col24} {VALUE._col25}\",\"0\":\"{VALUE._col15} {VALUE._col25}\"}}}},\"Reducer 28\":{\"Reduce Operator Tree:\":{\"Group By Operator\":{\"mode:\":\"mergepartial\",\"aggregations:\":[\"sum(VALUE._col0)\",\"sum(VALUE._col1)\"],\"keys:\":\"KEY._col0 (type: int)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\"],\"children\":{\"Filter Operator\":{\"predicate:\":\"(_col1 > (2 * _col2)) (type: boolean)\",\"children\":{\"Select Operator\":{\"expressions:\":\"_col0 (type: int)\",\"outputColumnNames:\":[\"_col0\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col0 (type: int)\",\"sort
order:\":\"+\",\"Statistics:\":\"Num rows: 49506837 Data size: 4088301199 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: int)\"}},\"Statistics:\":\"Num rows: 49506837 Data size: 4088301199 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 49506837 Data size: 4088301199 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 148520512 Data size: 12264903680 Basic stats: COMPLETE Column stats: NONE\"}}},\"Map 26\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"catalog_sales\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"cs_item_sk (type: int), cs_order_number (type: int)\",\"sort order:\":\"++\",\"value expressions:\":\"cs_item_sk (type: int), cs_ext_list_price (type: float)\",\"Statistics:\":\"Num rows: 270037278 Data size: 22299823475 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"cs_item_sk (type: int), cs_order_number
(type: int)\"}},\"Statistics:\":\"Num rows: 270037278 Data size: 22299823475 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 30\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"ad2\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ca_address_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"ca_street_number (type: string), ca_street_name (type: string), ca_city (type: string), ca_zip (type: string)\",\"Statistics:\":\"Num rows: 800000 Data size: 9327264 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"ca_address_sk (type: int)\"}},\"Statistics:\":\"Num rows: 800000 Data size: 9327264 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 32\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"ad1\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ca_address_sk (type: int)\",\"sort order:\":\"+\",\"value expressi
ons:\":\"ca_street_number (type: string), ca_street_name (type: string), ca_city (type: string), ca_zip (type: string)\",\"Statistics:\":\"Num rows: 800000 Data size: 9327264 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"ca_address_sk (type: int)\"}},\"Statistics:\":\"Num rows: 800000 Data size: 9327264 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 31\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"customer\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"c_customer_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"c_current_cdemo_sk (type: int), c_current_hdemo_sk (type: int), c_current_addr_sk (type: int), c_first_shipto_date_sk (type: int), c_first_sales_date_sk (type: int)\",\"Statistics:\":\"Num rows: 1600000 Data size: 59241136 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"c_customer_sk (type: int)\"}},\"Statistics:\":\"Num rows: 1600000 Data s
ize: 59241136 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 34\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"store\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"s_store_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"s_store_name (type: string), s_zip (type: string)\",\"Statistics:\":\"Num rows: 74 Data size: 15175 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"s_store_sk (type: int)\"}},\"Statistics:\":\"Num rows: 74 Data size: 15175 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 33\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"store_returns\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"sr_item_sk (type: int), sr_ticket_number (type: int)\",\"sort order:\":\"++\",\"Statistics:\":\"Num rows: 79762591 Data size: 2561677244 Basic stats: COMPLETE Column stats: NONE\",\"key expression
s:\":\"sr_item_sk (type: int), sr_ticket_number (type: int)\"}},\"Statistics:\":\"Num rows: 79762591 Data size: 2561677244 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 1\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"hd1\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"hd_demo_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"hd_income_band_sk (type: int)\",\"Statistics:\":\"Num rows: 7200 Data size: 713 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"hd_demo_sk (type: int)\"}},\"Statistics:\":\"Num rows: 7200 Data size: 713 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 36\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"d2\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"d_date_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"d_year (type: int)\",\"Statistics:\":\"Num rows: 7
3049 Data size: 327991 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"d_date_sk (type: int)\"}},\"Statistics:\":\"Num rows: 73049 Data size: 327991 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 2\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"hd2\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"hd_demo_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"hd_income_band_sk (type: int)\",\"Statistics:\":\"Num rows: 7200 Data size: 713 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"hd_demo_sk (type: int)\"}},\"Statistics:\":\"Num rows: 7200 Data size: 713 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 35\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"d1\",\"children\":{\"Filter Operator\":{\"predicate:\":\"(d_year = 2000) (type: boolean)\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition colu
mns:\":\"d_date_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"d_year (type: int)\",\"Statistics:\":\"Num rows: 36524 Data size: 163993 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"d_date_sk (type: int)\"}},\"Statistics:\":\"Num rows: 36524 Data size: 163993 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 73049 Data size: 327991 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 3\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"promotion\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"p_promo_sk (type: int)\",\"sort order:\":\"+\",\"Statistics:\":\"Num rows: 450 Data size: 14450 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"p_promo_sk (type: int)\"}},\"Statistics:\":\"Num rows: 450 Data size: 14450 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 38\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableSca
n\":{\"alias:\":\"catalog_returns\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"cr_item_sk (type: int), cr_order_number (type: int)\",\"sort order:\":\"++\",\"value expressions:\":\"cr_refunded_cash (type: float), cr_reversed_charge (type: float), cr_store_credit (type: float)\",\"Statistics:\":\"Num rows: 28798881 Data size: 1681267447 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"cr_item_sk (type: int), cr_order_number (type: int)\"}},\"Statistics:\":\"Num rows: 28798881 Data size: 1681267447 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Reducer 5\":{\"Reduce Operator Tree:\":{\"Join Operator\":{\"outputColumnNames:\":[\"_col0\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col11\",\"_col12\",\"_col19\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"c_customer_sk (type: int)\",\"0\":\"_col3 (type: int)\"},\"outputColumnNames:\":[\"_col0\",\"_col2\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",
\"_col8\",\"_col11\",\"_col12\",\"_col19\",\"_col51\",\"_col52\",\"_col53\",\"_col54\",\"_col55\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"d_date_sk (type: int)\",\"0\":\"_col0 (type: int)\"},\"outputColumnNames:\":[\"_col2\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col11\",\"_col12\",\"_col19\",\"_col28\",\"_col29\",\"_col30\",\"_col31\",\"_col32\",\"_col75\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"d_date_sk (type: int)\",\"0\":\"_col32 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col32\",\"_col34\",\"_col35\",\"_col36\",\"_col37\",\"_col38\",\"_col41\",\"_col42\",\"_col49\",\"_col58\",\"_col59\",\"_col60\",\"_col61\",\"_col105\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"d_date_sk (type: int)\",\"0\":\"_col61 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col62\",\"_col64\",\"_col65\",\"_col66\",\"_col67\",\"_col68\",\"_col71\",\"_col72\",\"_col79\",\"_col88\",\"_col89\",\"_col90\",\"_col135\"],\"chi
ldren\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"s_store_sk (type: int)\",\"0\":\"_col67 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col92\",\"_col94\",\"_col95\",\"_col96\",\"_col98\",\"_col101\",\"_col102\",\"_col109\",\"_col118\",\"_col119\",\"_col120\",\"_col164\",\"_col184\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"cd_demo_sk (type: int)\",\"0\":\"_col94 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col95\",\"_col115\",\"_col123\",\"_col126\",\"_col127\",\"_col129\",\"_col132\",\"_col133\",\"_col140\",\"_col149\",\"_col150\",\"_col151\",\"_col192\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"cd_demo_sk (type: int)\",\"0\":\"_col149 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col95\",\"_col115\",\"_col123\",\"_col126\",\"_col127\",\"_col129\",\"_col132\",\"_col133\",\"_col140\",\"_col149\",\"_col161\",\"_col162\",\"_col203\"],\"children\":{\"Map Join Operator\":
{\"keys:\":{\"1\":\"p_promo_sk (type: int)\",\"0\":\"_col129 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col95\",\"_col115\",\"_col123\",\"_col126\",\"_col127\",\"_col132\",\"_col133\",\"_col140\",\"_col149\",\"_col160\",\"_col172\",\"_col173\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"hd_demo_sk (type: int)\",\"0\":\"_col126 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col95\",\"_col115\",\"_col123\",\"_col127\",\"_col132\",\"_col133\",\"_col140\",\"_col149\",\"_col160\",\"_col193\",\"_col194\",\"_col234\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"hd_demo_sk (type: int)\",\"0\":\"_col193 (type: int)\"},\"outputColumnNames:\":[\"_col6\",\"_col36\",\"_col66\",\"_col91\",\"_col102\",\"_col122\",\"_col130\",\"_col134\",\"_col139\",\"_col140\",\"_col147\",\"_col156\",\"_col167\",\"_col201\",\"_col241\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ca_address_sk (type: int)\",\"0\":\"_col1
34 (type: int)\"},\"outputColumnNames:\":[\"_col1\",\"_col13\",\"_col43\",\"_col73\",\"_col98\",\"_col109\",\"_col129\",\"_col137\",\"_col146\",\"_col147\",\"_col154\",\"_col163\",\"_col174\",\"_col208\",\"_col249\",\"_col250\",\"_col253\",\"_col256\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ca_address_sk (type: int)\",\"0\":\"_col208 (type: int)\"},\"outputColumnNames:\":[\"_col1\",\"_col8\",\"_col19\",\"_col39\",\"_col47\",\"_col56\",\"_col57\",\"_col64\",\"_col73\",\"_col84\",\"_col136\",\"_col137\",\"_col140\",\"_col143\",\"_col178\",\"_col208\",\"_col238\",\"_col264\",\"_col265\",\"_col268\",\"_col271\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ib_income_band_sk (type: int)\",\"0\":\"_col8 (type: int)\"},\"outputColumnNames:\":[\"_col1\",\"_col19\",\"_col39\",\"_col47\",\"_col56\",\"_col57\",\"_col64\",\"_col73\",\"_col84\",\"_col136\",\"_col137\",\"_col140\",\"_col143\",\"_col174\",\"_col175\",\"_col178\",\"_col181\",\"_col193\",\"_col223\",\"_co
l253\"],\"children\":{\"Map Join Operator\":{\"keys:\":{\"1\":\"ib_income_band_sk (type: int)\",\"0\":\"_col1 (type: int)\"},\"outputColumnNames:\":[\"_col19\",\"_col39\",\"_col47\",\"_col56\",\"_col57\",\"_col64\",\"_col73\",\"_col84\",\"_col136\",\"_col137\",\"_col140\",\"_col143\",\"_col179\",\"_col180\",\"_col183\",\"_col186\",\"_col198\",\"_col228\",\"_col258\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col47 (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"_col19 (type: string), _col39 (type: string), _col56 (type: float), _col57 (type: float), _col64 (type: float), _col73 (type: string), _col84 (type: string), _col136 (type: string), _col137 (type: string), _col140 (type: string), _col143 (type: string), _col179 (type: string), _col180 (type: string), _col183 (type: string), _col186 (type: string), _col198 (type: int), _col228 (type: int), _col258 (type: int)\",\"Statistics:\":\"Num rows: 2297807104 Data size: 117637095424 Basi
c stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col47 (type: int)\"}},\"Statistics:\":\"Num rows: 2297807104 Data size: 117637095424 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"\",\"0\":\"{_col19} {_col39} {_col47} {_col56} {_col57} {_col64} {_col73} {_col84} {_col136} {_col137} {_col140} {_col143} {_col174} {_col175} {_col178} {_col181} {_col193} {_col223} {_col253}\"}}},\"Statistics:\":\"Num rows: 2088915456 Data size: 106942808064 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"\",\"0\":\"{_col1} {_col19} {_col39} {_col47} {_col56} {_col57} {_col64} {_col73} {_col84} {_col136} {_col137} {_col140} {_col143} {_col264} {_col265} {_col268} {_col271} {_col178} {_col208} {_col238}\"}}},\"Statistics:\":\"Num rows: 1899014016 Data size: 97220730880 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":
[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{ca_street_number} {ca_street_name} {ca_city} {ca_zip}\",\"0\":\"{_col1} {_col98} {_col109} {_col129} {_col137} {_col146} {_col147} {_col154} {_col163} {_col174} {_col249} {_col250} {_col253} {_col256} {_col13} {_col43} {_col73}\"}}},\"Statistics:\":\"Num rows: 1726376320 Data size: 88382480384 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{ca_street_number} {ca_street_name} {ca_city} {ca_zip}\",\"0\":\"{_col241} {_col6} {_col36} {_col66} {_col91} {_col102} {_col122} {_col130} {_col139} {_col140} {_col147} {_col156} {_col167} {_col201}\"}}},\"Statistics:\":\"Num rows: 1569432960 Data size: 80347709440 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{hd_income_band_sk}\",\"0\":\"{_col6} {_col36} {_col66} {_col234} {_col95} {_col115} {_col123} {_col127} {_co
l132} {_col133} {_col140} {_col149} {_col160} {_col194}\"}}},\"Statistics:\":\"Num rows: 1426757248 Data size: 73043369984 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{hd_income_band_sk}\",\"0\":\"{_col6} {_col36} {_col66} {_col95} {_col115} {_col123} {_col127} {_col132} {_col133} {_col140} {_col149} {_col160} {_col172} {_col173}\"}}},\"Statistics:\":\"Num rows: 1297052032 Data size: 66403065856 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"\",\"0\":\"{_col6} {_col36} {_col66} {_col95} {_col115} {_col123} {_col126} {_col127} {_col132} {_col133} {_col140} {_col149} {_col203} {_col161} {_col162}\"}}},\"Statistics:\":\"Num rows: 1179138176 Data size: 60366422016 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{cd_marital_status}\",\"0\":\"{_
col6} {_col36} {_col66} {_col95} {_col115} {_col123} {_col126} {_col127} {_col129} {_col132} {_col133} {_col140} {_col192} {_col150} {_col151}\"}}},\"Statistics:\":\"Num rows: 1071943808 Data size: 54878564352 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{cd_marital_status}\",\"0\":\"{_col6} {_col36} {_col66} {_col164} {_col184} {_col92} {_col95} {_col96} {_col98} {_col101} {_col102} {_col109} {_col118} {_col119} {_col120}\"}}},\"Statistics:\":\"Num rows: 974494336 Data size: 49889603584 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{s_store_name} {s_zip}\",\"0\":\"{_col6} {_col36} {_col135} {_col62} {_col64} {_col65} {_col66} {_col68} {_col71} {_col72} {_col79} {_col88} {_col89} {_col90}\"}}},\"Statistics:\":\"Num rows: 885903936 Data size: 45354184704 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"
\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{d_year}\",\"0\":\"{_col6} {_col105} {_col32} {_col34} {_col35} {_col36} {_col37} {_col38} {_col41} {_col42} {_col49} {_col58} {_col59} {_col60}\"}}},\"Statistics:\":\"Num rows: 805367168 Data size: 41231077376 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{d_year}\",\"0\":\"{_col75} {_col2} {_col4} {_col5} {_col6} {_col7} {_col8} {_col11} {_col12} {_col19} {_col28} {_col29} {_col30} {_col31}\"}}},\"Statistics:\":\"Num rows: 732151936 Data size: 37482795008 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{d_year}\",\"0\":\"{_col2} {_col4} {_col5} {_col6} {_col7} {_col8} {_col11} {_col12} {_col19} {_col51} {_col52} {_col53} {_col54} {_col55}\"}}},\"Statistics:\":\"Num rows: 665592640 Data size: 34075269120 Basic stats: COMPLETE Column stats: NONE\",\"condition
map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{c_current_cdemo_sk} {c_current_hdemo_sk} {c_current_addr_sk} {c_first_shipto_date_sk} {c_first_sales_date_sk}\",\"0\":\"{_col0} {_col2} {_col4} {_col5} {_col6} {_col7} {_col8} {_col11} {_col12} {_col19}\"}}},\"Statistics:\":\"Num rows: 605084224 Data size: 30977517568 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"\",\"0\":\"{VALUE._col0} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7} {VALUE._col8} {VALUE._col11} {VALUE._col12} {VALUE._col19}\"}}}},\"Map 37\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"ib2\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ib_income_band_sk (type: int)\",\"sort order:\":\"+\",\"Statistics:\":\"Num rows: 20 Data size: 306 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"
ib_income_band_sk (type: int)\"}},\"Statistics:\":\"Num rows: 20 Data size: 306 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Reducer 7\":{\"Reduce Operator Tree:\":{\"Group By Operator\":{\"mode:\":\"mergepartial\",\"aggregations:\":[\"count(VALUE._col0)\",\"sum(VALUE._col1)\",\"sum(VALUE._col2)\",\"sum(VALUE._col3)\"],\"keys:\":\"KEY._col0 (type: string), KEY._col1 (type: int), KEY._col2 (type: string), KEY._col3 (type: string), KEY._col4 (type: string), KEY._col5 (type: string), KEY._col6 (type: string), KEY._col7 (type: string), KEY._col8 (type: string), KEY._col9 (type: string), KEY._col10 (type: string), KEY._col11 (type: string), KEY._col12 (type: int), KEY._col13 (type: int), KEY._col14 (type: int)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col9\",\"_col10\",\"_col11\",\"_col12\",\"_col13\",\"_col14\",\"_col15\",\"_col16\",\"_col17\",\"_col18\"],\"children\":{\"Select Operator\":{\"expressions:\":
\"_col1 (type: int), _col12 (type: int), _col15 (type: bigint), _col16 (type: double), _col17 (type: double), _col18 (type: double), _col2 (type: string), _col3 (type: string)\",\"outputColumnNames:\":[\"_col1\",\"_col12\",\"_col15\",\"_col16\",\"_col17\",\"_col18\",\"_col2\",\"_col3\"],\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col1 (type: int), _col2 (type: string), _col3 (type: string)\",\"sort order:\":\"+++\",\"value expressions:\":\"_col2 (type: string), _col3 (type: string), _col12 (type: int), _col15 (type: bigint), _col16 (type: double), _col17 (type: double), _col18 (type: double)\",\"Statistics:\":\"Num rows: 315948480 Data size: 16175100928 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col1 (type: int), _col2 (type: string), _col3 (type: string)\"}},\"Statistics:\":\"Num rows: 315948480 Data size: 16175100928 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 315948480 Data size: 16175100928 B
asic stats: COMPLETE Column stats: NONE\"}}},\"Map 39\":{\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"item\",\"children\":{\"Filter Operator\":{\"predicate:\":\"(((i_color) IN ('maroon', 'burnished', 'dim', 'steel', 'navajo', 'chocolate') and i_current_price BETWEEN 35 AND (35 + 10)) and i_current_price BETWEEN (35 + 1) AND (35 + 15)) (type: boolean)\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"i_item_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"i_item_sk (type: int), i_current_price (type: float), i_color (type: string), i_product_name (type: string)\",\"Statistics:\":\"Num rows: 6000 Data size: 433429 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"i_item_sk (type: int)\"}},\"Statistics:\":\"Num rows: 6000 Data size: 433429 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 48000 Data size: 3467433 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Reducer 6\":{\"Reduce Operator Tre
e:\":{\"Join Operator\":{\"outputColumnNames:\":[\"_col19\",\"_col39\",\"_col56\",\"_col57\",\"_col64\",\"_col73\",\"_col84\",\"_col141\",\"_col142\",\"_col145\",\"_col148\",\"_col179\",\"_col180\",\"_col183\",\"_col186\",\"_col203\",\"_col233\",\"_col263\",\"_col287\",\"_col292\",\"_col304\",\"_col308\"],\"children\":{\"Filter Operator\":{\"predicate:\":\"((((_col73 <> _col84) and (_col304) IN ('maroon', 'burnished', 'dim', 'steel', 'navajo', 'chocolate')) and _col292 BETWEEN 35 AND (35 + 10)) and _col292 BETWEEN (35 + 1) AND (35 + 15)) (type: boolean)\",\"children\":{\"Select Operator\":{\"expressions:\":\"_col308 (type: string), _col287 (type: int), _col19 (type: string), _col39 (type: string), _col141 (type: string), _col142 (type: string), _col145 (type: string), _col148 (type: string), _col179 (type: string), _col180 (type: string), _col183 (type: string), _col186 (type: string), _col203 (type: int), _col233 (type: int), _col263 (type: int), _col56 (type: float), _col57 (type:
float), _col64 (type: float)\",\"outputColumnNames:\":[\"_col308\",\"_col287\",\"_col19\",\"_col39\",\"_col141\",\"_col142\",\"_col145\",\"_col148\",\"_col179\",\"_col180\",\"_col183\",\"_col186\",\"_col203\",\"_col233\",\"_col263\",\"_col56\",\"_col57\",\"_col64\"],\"children\":{\"Group By Operator\":{\"mode:\":\"hash\",\"aggregations:\":[\"count()\",\"sum(_col56)\",\"sum(_col57)\",\"sum(_col64)\"],\"keys:\":\"_col308 (type: string), _col287 (type: int), _col19 (type: string), _col39 (type: string), _col141 (type: string), _col142 (type: string), _col145 (type: string), _col148 (type: string), _col179 (type: string), _col180 (type: string), _col183 (type: string), _col186 (type: string), _col203 (type: int), _col233 (type: int), _col263 (type: int)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col9\",\"_col10\",\"_col11\",\"_col12\",\"_col13\",\"_col14\",\"_col15\",\"_col16\",\"_col17\",\"_col18\"],\"children
\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"_col0 (type: string), _col1 (type: int), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: string), _col6 (type: string), _col7 (type: string), _col8 (type: string), _col9 (type: string), _col10 (type: string), _col11 (type: string), _col12 (type: int), _col13 (type: int), _col14 (type: int)\",\"sort order:\":\"+++++++++++++++\",\"value expressions:\":\"_col15 (type: bigint), _col16 (type: double), _col17 (type: double), _col18 (type: double)\",\"Statistics:\":\"Num rows: 631896960 Data size: 32350201856 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: string), _col1 (type: int), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: string), _col6 (type: string), _col7 (type: string), _col8 (type: string), _col9 (type: string), _col10 (type: string), _col11 (type: string), _col12 (type: int), _col13 (type: int), _col14 (type: int)\"}
},\"Statistics:\":\"Num rows: 631896960 Data size: 32350201856 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 631896960 Data size: 32350201856 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 631896960 Data size: 32350201856 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 5055175680 Data size: 258801614848 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"},{\"\":\"Inner Join 0 to 2\"}],\"condition expressions:\":{\"2\":\"\",\"1\":\"{VALUE._col0} {VALUE._col5} {VALUE._col17} {VALUE._col21}\",\"0\":\"{VALUE._col19} {VALUE._col39} {VALUE._col56} {VALUE._col57} {VALUE._col64} {VALUE._col73} {VALUE._col84} {VALUE._col141} {VALUE._col142} {VALUE._col145} {VALUE._col148} {VALUE._col184} {VALUE._col185} {VALUE._col188} {VALUE._col191} {VALUE._col203} {VALUE._col233} {VALUE._col263}\"}}}},\"Reducer 9\":{\"Reduce Operator Tree:\":{\"Extract\":{\"children\":{\"File Output Operato
r\":{\"Statistics:\":\"Num rows: 7240486 Data size: 370679424 Basic stats: COMPLETE Column stats: NONE\",\"compressed:\":\"false\",\"table:\":{\"serde:\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"input format:\":\"org.apache.hadoop.mapred.TextInputFormat\",\"output format:\":\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\"}}},\"Statistics:\":\"Num rows: 7240486 Data size: 370679424 Basic stats: COMPLETE Column stats: NONE\"}}},\"Reducer 8\":{\"Reduce Operator Tree:\":{\"Join Operator\":{\"outputColumnNames:\":[\"_col0\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col9\",\"_col10\",\"_col11\",\"_col12\",\"_col15\",\"_col16\",\"_col17\",\"_col18\",\"_col21\",\"_col22\",\"_col31\",\"_col34\",\"_col35\",\"_col36\",\"_col37\"],\"children\":{\"Filter Operator\":{\"predicate:\":\"(((((_col12 = 2000) and (_col31 = (2000 + 1))) and (_col34 <= _col15)) and (_col2 = _col21)) and (_col3 = _col22)) (type: boolean)\",\"children\":{\"Select
Operator\":{\"expressions:\":\"_col0 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: string), _col6 (type: string), _col7 (type: string), _col8 (type: string), _col9 (type: string), _col10 (type: string), _col11 (type: string), _col12 (type: int), _col15 (type: bigint), _col16 (type: double), _col17 (type: double), _col18 (type: double), _col35 (type: double), _col36 (type: double), _col37 (type: double), _col31 (type: int), _col34 (type: bigint)\",\"outputColumnNames:\":[\"_col0\",\"_col1\",\"_col2\",\"_col3\",\"_col4\",\"_col5\",\"_col6\",\"_col7\",\"_col8\",\"_col9\",\"_col10\",\"_col11\",\"_col12\",\"_col13\",\"_col14\",\"_col15\",\"_col16\",\"_col17\",\"_col18\",\"_col19\",\"_col20\"],\"children\":{\"Reduce Output Operator\":{\"sort order:\":\"+++\",\"value expressions:\":\"_col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: string), _col6 (type: string), _col7
(type: string), _col8 (type: string), _col9 (type: string), _col10 (type: string), _col11 (type: int), _col12 (type: bigint), _col13 (type: double), _col14 (type: double), _col15 (type: double), _col16 (type: double), _col17 (type: double), _col18 (type: double), _col19 (type: int), _col20 (type: bigint)\",\"Statistics:\":\"Num rows: 7240486 Data size: 370679424 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"_col0 (type: string), _col1 (type: string), _col20 (type: bigint)\"}},\"Statistics:\":\"Num rows: 7240486 Data size: 370679424 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 7240486 Data size: 370679424 Basic stats: COMPLETE Column stats: NONE\"}},\"Statistics:\":\"Num rows: 347543328 Data size: 17792612352 Basic stats: COMPLETE Column stats: NONE\",\"condition map:\":[{\"\":\"Inner Join 0 to 1\"}],\"condition expressions:\":{\"1\":\"{VALUE._col2} {VALUE._col3} {VALUE._col12} {VALUE._col15} {VALUE._col16} {VALUE._col17} {VALUE._col18
}\",\"0\":\"{VALUE._col0} {VALUE._col2} {VALUE._col3} {VALUE._col4} {VALUE._col5} {VALUE._col6} {VALUE._col7} {VALUE._col8} {VALUE._col9} {VALUE._col10} {VALUE._col11} {VALUE._col12} {VALUE._col15} {VALUE._col16} {VALUE._col17} {VALUE._col18}\"}}}},\"Map 4\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"store_sales\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ss_item_sk (type: int), ss_ticket_number (type: int)\",\"sort order:\":\"++\",\"value expressions:\":\"ss_sold_date_sk (type: int), ss_item_sk (type: int), ss_customer_sk (type: int), ss_cdemo_sk (type: int), ss_hdemo_sk (type: int), ss_addr_sk (type: int), ss_store_sk (type: int), ss_promo_sk (type: int), ss_wholesale_cost (type: float), ss_list_price (type: float), ss_coupon_amt (type: float)\",\"Statistics:\":\"Num rows: 550076554 Data size: 28161379051 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"ss_item_sk (type: int), ss_tic
ket_number (type: int)\"}},\"Statistics:\":\"Num rows: 550076554 Data size: 28161379051 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 43\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"cd2\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"cd_demo_sk (type: int)\",\"sort order:\":\"+\",\"value expressions:\":\"cd_marital_status (type: string)\",\"Statistics:\":\"Num rows: 1920800 Data size: 31322 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"cd_demo_sk (type: int)\"}},\"Statistics:\":\"Num rows: 1920800 Data size: 31322 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 42\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"ib2\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ib_income_band_sk (type: int)\",\"sort order:\":\"+\",\"Statistics:\":\"Num rows: 20 Data size: 306 Basic stats: COMPLETE Column stats: NONE\
",\"key expressions:\":\"ib_income_band_sk (type: int)\"}},\"Statistics:\":\"Num rows: 20 Data size: 306 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 41\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"ib1\",\"children\":{\"Reduce Output Operator\":{\"Map-reduce partition columns:\":\"ib_income_band_sk (type: int)\",\"sort order:\":\"+\",\"Statistics:\":\"Num rows: 20 Data size: 306 Basic stats: COMPLETE Column stats: NONE\",\"key expressions:\":\"ib_income_band_sk (type: int)\"}},\"Statistics:\":\"Num rows: 20 Data size: 306 Basic stats: COMPLETE Column stats: NONE\"}}]},\"Map 40\":{\"Execution mode:\":\"vectorized\",\"Map Operator Tree:\":[{\"TableScan\":{\"alias:\":\"cd1\",\"children\":{\"
<TRUNCATED>
[2/7] ambari git commit: AMBARI-8921 Remove support for MapReduce as
part of 1.3 stack. (ababiichuk)
Posted by ab...@apache.org.
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/mapreduce_slots.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/mapreduce_slots.js b/ambari-web/app/views/main/dashboard/widgets/mapreduce_slots.js
deleted file mode 100644
index 40c613f..0000000
--- a/ambari-web/app/views/main/dashboard/widgets/mapreduce_slots.js
+++ /dev/null
@@ -1,87 +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.
- */
-
-var App = require('app');
-
-App.MapReduceSlotsView = App.DashboardWidgetView.extend({
-
- templateName: require('templates/main/dashboard/widgets/mapreduce_slots'),
- title: Em.I18n.t('dashboard.widgets.MapReduceSlots'),
- id:'10',
-
- isProgressBar: true,
- model_type: 'mapreduce',
- hiddenInfo: function () {
- var result = [];
- if(this.get('isViewExist')) {
- var line1 = "Map: " + this.get('model.mapSlotsOccupied') + " Occupied / " + this.get('model.mapSlotsReserved') + " Reserved / " + this.get('model.mapSlots') + " Total";
- result.pushObject(line1);
- var line2 = "Reduce: " + this.get('model.reduceSlotsOccupied') + " Occupied / " + this.get('model.reduceSlotsReserved') + " Reserved / " + this.get('model.reduceSlots') + " Total";
- result.pushObject(line2);
- }
- else {
- result.pushObject('MapReduce Not Started');
- }
- return result;
- }.property('isViewExist', 'map_display_text', 'reduce_display_text'),
- isViewExist: function () {
- return this.get('model.mapSlotsOccupied') != null && this.get('model.mapSlotsReserved') != null && this.get('model.reduceSlotsOccupied') != null && this.get('model.reduceSlotsReserved') != null;
- }.property('model.mapSlotsReserved', 'model.mapSlotsOccupied', 'model.reduceSlotsReserved', 'model.reduceSlotsOccupied'),
-
- map_occupied: function () {
- if (this.get('model.mapSlotsOccupied')) {
- return "width: " + ((this.get('model.mapSlotsOccupied'))*100/(this.get('model.mapSlots'))).toString() + "%";
- } else {
- return "width: 0%";
- }
- }.property('model.mapSlotsOccupied','model.mapSlots'),
- map_reserved: function () {
- if (this.get('model.mapSlotsReserved')) {
- return "width: " + ((this.get('model.mapSlotsReserved'))*100/(this.get('model.mapSlots'))).toString() + "%";
- } else {
- return "width: 0%";
- }
- }.property('model.mapSlotsReserved','model.mapSlots'),
- map_display_text: function () {
- return this.get('model.mapSlotsOccupied') + "/" + this.get('model.mapSlotsReserved') + "/" + this.get('model.mapSlots');
- }.property('model.mapSlotsReserved','model.mapSlotsOccupied','model.mapSlots'),
-
-
- reduce_occupied: function () {
- if (this.get('model.reduceSlotsOccupied')) {
- return "width: " + ((this.get('model.reduceSlotsOccupied'))*100/(this.get('model.reduceSlots'))).toString() + "%";
- } else {
- return "width: 0%";
- }
- }.property('model.reduceSlotsOccupied','model.reduceSlots'),
- reduce_reserved: function () {
- if (this.get('model.reduceSlotsReserved')) {
- return "width: " + ((this.get('model.reduceSlotsReserved'))*100/(this.get('model.reduceSlots'))).toString() + "%";
- } else {
- return "width: 0%";
- }
- }.property('model.reduceSlotsReserved','model.reduceSlots'),
- reduce_display_text: function () {
- return this.get('model.reduceSlotsOccupied') + "/" + this.get('model.reduceSlotsReserved') + "/" + this.get('model.reduceSlots');
- }.property('model.reduceSlotsReserved','model.reduceSlotsOccupied','model.reduceSlots')
-
-});
-
-App.MapReduceSlotsView.reopenClass({
- class: 'span4p8'
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/metrics_cpu.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/metrics_cpu.js b/ambari-web/app/views/main/dashboard/widgets/metrics_cpu.js
index 7bc7620..72ef1c2 100644
--- a/ambari-web/app/views/main/dashboard/widgets/metrics_cpu.js
+++ b/ambari-web/app/views/main/dashboard/widgets/metrics_cpu.js
@@ -21,7 +21,7 @@ var App = require('app');
App.ChartClusterMetricsCPUWidgetView = App.ClusterMetricsDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.clusterMetrics.cpu'),
- id: '13',
+ id: '8',
content: App.ChartClusterMetricsCPU.extend({
noTitleUnderGraph: true,
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/metrics_load.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/metrics_load.js b/ambari-web/app/views/main/dashboard/widgets/metrics_load.js
index 80360a7..c357934 100644
--- a/ambari-web/app/views/main/dashboard/widgets/metrics_load.js
+++ b/ambari-web/app/views/main/dashboard/widgets/metrics_load.js
@@ -21,7 +21,7 @@ var App = require('app');
App.ChartClusterMetricsLoadWidgetView = App.ClusterMetricsDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.clusterMetrics.load'),
- id: '14',
+ id: '9',
content: App.ChartClusterMetricsLoad.extend({
noTitleUnderGraph: true,
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/metrics_memory.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/metrics_memory.js b/ambari-web/app/views/main/dashboard/widgets/metrics_memory.js
index 4a30dcc..659d647 100644
--- a/ambari-web/app/views/main/dashboard/widgets/metrics_memory.js
+++ b/ambari-web/app/views/main/dashboard/widgets/metrics_memory.js
@@ -21,7 +21,7 @@ var App = require('app');
App.ChartClusterMetricsMemoryWidgetView = App.ClusterMetricsDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.clusterMetrics.memory'),
- id: '11',
+ id: '6',
content: App.ChartClusterMetricsMemory.extend({
noTitleUnderGraph: true,
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/metrics_network.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/metrics_network.js b/ambari-web/app/views/main/dashboard/widgets/metrics_network.js
index d82784e..40fdb0b 100644
--- a/ambari-web/app/views/main/dashboard/widgets/metrics_network.js
+++ b/ambari-web/app/views/main/dashboard/widgets/metrics_network.js
@@ -21,7 +21,7 @@ var App = require('app');
App.ChartClusterMetricsNetworkWidgetView = App.ClusterMetricsDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.clusterMetrics.network'),
- id: '12',
+ id: '7',
content: App.ChartClusterMetricsNetwork.extend({
noTitleUnderGraph: true,
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/namenode_uptime.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/namenode_uptime.js b/ambari-web/app/views/main/dashboard/widgets/namenode_uptime.js
index 60ad42d..e55f871 100644
--- a/ambari-web/app/views/main/dashboard/widgets/namenode_uptime.js
+++ b/ambari-web/app/views/main/dashboard/widgets/namenode_uptime.js
@@ -21,7 +21,7 @@ var App = require('app');
App.NameNodeUptimeView = App.UptimeTextDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.widgets.NameNodeUptime'),
- id: '15',
+ id: '10',
model_type: 'hdfs',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/node_managers_live.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/node_managers_live.js b/ambari-web/app/views/main/dashboard/widgets/node_managers_live.js
index 66bedfe..a7d0e42 100644
--- a/ambari-web/app/views/main/dashboard/widgets/node_managers_live.js
+++ b/ambari-web/app/views/main/dashboard/widgets/node_managers_live.js
@@ -21,7 +21,7 @@ var App = require('app');
App.NodeManagersLiveView = App.TextDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.widgets.NodeManagersLive'),
- id: '26',
+ id: '19',
model_type: 'yarn',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/resource_manager_heap.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/resource_manager_heap.js b/ambari-web/app/views/main/dashboard/widgets/resource_manager_heap.js
index 4b28671..3e165f6 100644
--- a/ambari-web/app/views/main/dashboard/widgets/resource_manager_heap.js
+++ b/ambari-web/app/views/main/dashboard/widgets/resource_manager_heap.js
@@ -22,7 +22,7 @@ var numberUtils = require('utils/number_utils');
App.ResourceManagerHeapPieChartView = App.PieChartDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.widgets.ResourceManagerHeap'),
- id: '24',
+ id: '17',
model_type: 'yarn',
modelFieldMax: 'jvmMemoryHeapMax',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/resource_manager_uptime.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/resource_manager_uptime.js b/ambari-web/app/views/main/dashboard/widgets/resource_manager_uptime.js
index cb7ab84..370ed6e 100644
--- a/ambari-web/app/views/main/dashboard/widgets/resource_manager_uptime.js
+++ b/ambari-web/app/views/main/dashboard/widgets/resource_manager_uptime.js
@@ -22,7 +22,7 @@ var date = require('utils/date');
App.ResourceManagerUptimeView = App.UptimeTextDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.widgets.ResourceManagerUptime'),
- id: '25',
+ id: '18',
model_type: 'yarn',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/supervisor_live.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/supervisor_live.js b/ambari-web/app/views/main/dashboard/widgets/supervisor_live.js
index 91bf496..7b3180f 100644
--- a/ambari-web/app/views/main/dashboard/widgets/supervisor_live.js
+++ b/ambari-web/app/views/main/dashboard/widgets/supervisor_live.js
@@ -21,7 +21,7 @@ var App = require('app');
App.SuperVisorUpView = App.TextDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.widgets.SuperVisorUp'),
- id: '28',
+ id: '21',
isPieChart: false,
isText: true,
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/tasktracker_live.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/tasktracker_live.js b/ambari-web/app/views/main/dashboard/widgets/tasktracker_live.js
deleted file mode 100644
index 28a4596..0000000
--- a/ambari-web/app/views/main/dashboard/widgets/tasktracker_live.js
+++ /dev/null
@@ -1,166 +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.
- */
-
-var App = require('app');
-
-App.TaskTrackerUpView = App.TextDashboardWidgetView.extend({
-
- title: Em.I18n.t('dashboard.widgets.TaskTrackerUp'),
- id: '8',
-
- model_type: 'mapreduce',
-
- hiddenInfo: function () {
- var svc = this.get('model');
- var liveCount = svc.get('taskTrackersStarted');
- var totalCount = svc.get('taskTrackersTotal');
- var result = [];
- result.pushObject(liveCount + " live");
- result.pushObject(totalCount + " total");
- return result;
- }.property('model.taskTrackersTotal', 'model.taskTrackersStarted'),
-
- thresh1: 40,
- thresh2: 70,
- maxValue: 100,
-
- data: function () {
- if (!this.get('model.taskTrackersTotal')) {
- return -1;
- } else {
- return (this.get('model.taskTrackersStarted') / this.get('model.taskTrackersTotal')).toFixed(2) * 100;
- }
- }.property('model.taskTrackersTotal', 'model.taskTrackersStarted'),
-
- content: function () {
- return this.get('model.taskTrackersStarted') + "/" + this.get('model.taskTrackersTotal');
- }.property('model.taskTrackersTotal', 'model.taskTrackersStarted'),
-
- editWidget: function (event) {
- var parent = this;
- var max_tmp = parseFloat(parent.get('maxValue'));
- var configObj = Ember.Object.create({
- thresh1: parent.get('thresh1') + '',
- thresh2: parent.get('thresh2') + '',
- hintInfo: Em.I18n.t('dashboard.widgets.hintInfo.hint1').format(max_tmp),
- isThresh1Error: false,
- isThresh2Error: false,
- errorMessage1: "",
- errorMessage2: "",
- maxValue: max_tmp,
- observeNewThresholdValue: function () {
- var thresh1 = this.get('thresh1');
- var thresh2 = this.get('thresh2');
- if (thresh1.trim() != "") {
- if (isNaN(thresh1) || thresh1 > max_tmp || thresh1 < 0) {
- this.set('isThresh1Error', true);
- this.set('errorMessage1', 'Invalid! Enter a number between 0 - ' + max_tmp);
- } else if (this.get('isThresh2Error') === false && parseFloat(thresh2)<= parseFloat(thresh1)){
- this.set('isThresh1Error', true);
- this.set('errorMessage1', 'Threshold 1 should be smaller than threshold 2 !');
- } else {
- this.set('isThresh1Error', false);
- this.set('errorMessage1', '');
- }
- } else {
- this.set('isThresh1Error', true);
- this.set('errorMessage1', 'This is required');
- }
-
- if (thresh2.trim() != "") {
- if (isNaN(thresh2) || thresh2 > max_tmp || thresh2 < 0) {
- this.set('isThresh2Error', true);
- this.set('errorMessage2', 'Invalid! Enter a number between 0 - ' + max_tmp);
- } else {
- this.set('isThresh2Error', false);
- this.set('errorMessage2', '');
- }
- } else {
- this.set('isThresh2Error', true);
- this.set('errorMessage2', 'This is required');
- }
-
- // update the slider handles and color
- if (this.get('isThresh1Error') === false && this.get('isThresh2Error') === false) {
- $("#slider-range").slider('values', 0 , parseFloat(thresh1));
- $("#slider-range").slider('values', 1 , parseFloat(thresh2));
- }
- }.observes('thresh1', 'thresh2')
- });
-
- var browserVerion = this.getInternetExplorerVersion();
- App.ModalPopup.show({
- header: Em.I18n.t('dashboard.widgets.popupHeader'),
- classNames: [ 'sixty-percent-width-modal-edit-widget'],
- bodyClass: Ember.View.extend({
- templateName: require('templates/main/dashboard/edit_widget_popup'),
- configPropertyObj: configObj
- }),
- primary: Em.I18n.t('common.apply'),
- onPrimary: function() {
- configObj.observeNewThresholdValue();
- if (!configObj.isThresh1Error && !configObj.isThresh2Error) {
- parent.set('thresh1', parseFloat(configObj.get('thresh1')) );
- parent.set('thresh2', parseFloat(configObj.get('thresh2')) );
- if (!App.get('testMode')) {
- //save to persit
- var big_parent = parent.get('parentView');
- big_parent.getUserPref(big_parent.get('persistKey'));
- var oldValue = big_parent.get('currentPrefObject');
- oldValue.threshold[parseInt(parent.id)] = [configObj.get('thresh1'), configObj.get('thresh2')];
- big_parent.postUserPref(big_parent.get('persistKey'),oldValue);
- }
- this.hide();
- }
- },
-
- didInsertElement: function () {
- var handlers = [configObj.get('thresh1'), configObj.get('thresh2')];
- var colors = ['#B80000', '#FF8E00', '#95A800']; //color red, orange, green
-
- if (browserVerion == -1 || browserVerion > 9) {
- configObj.set('isIE9', false);
- configObj.set('isGreenOrangeRed', false);
- $("#slider-range").slider({
- range: true,
- min: 0,
- max: max_tmp,
- values: handlers,
- create: function (event, ui) {
- parent.updateColors(handlers, colors);
- },
- slide: function (event, ui) {
- parent.updateColors(ui.values, colors);
- configObj.set('thresh1', ui.values[0] + '');
- configObj.set('thresh2', ui.values[1] + '');
- },
- change: function (event, ui) {
- parent.updateColors(ui.values, colors);
- }
- });
-
-
- } else {
- configObj.set('isIE9', true);
- configObj.set('isGreenOrangeRed', false);
- }
- }
- });
- }
-
-});
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/yarn_links.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/yarn_links.js b/ambari-web/app/views/main/dashboard/widgets/yarn_links.js
index cbd74b8..d7b6488 100644
--- a/ambari-web/app/views/main/dashboard/widgets/yarn_links.js
+++ b/ambari-web/app/views/main/dashboard/widgets/yarn_links.js
@@ -21,7 +21,7 @@ var App = require('app');
App.YARNLinksView = App.LinkDashboardWidgetView.extend({
templateName: require('templates/main/dashboard/widgets/yarn_links'),
title: Em.I18n.t('dashboard.widgets.YARNLinks'),
- id: '30',
+ id: '23',
model_type: 'yarn',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/dashboard/widgets/yarn_memory.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/yarn_memory.js b/ambari-web/app/views/main/dashboard/widgets/yarn_memory.js
index c96cf47..6a86b56 100644
--- a/ambari-web/app/views/main/dashboard/widgets/yarn_memory.js
+++ b/ambari-web/app/views/main/dashboard/widgets/yarn_memory.js
@@ -22,7 +22,7 @@ var numberUtils = require('utils/number_utils');
App.YARNMemoryPieChartView = App.PieChartDashboardWidgetView.extend({
title: Em.I18n.t('dashboard.widgets.YARNMemory'),
- id: '27',
+ id: '20',
widgetHtmlId: 'widget-yarn-memory',
model_type: 'yarn',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/host/hosts_table_menu_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/host/hosts_table_menu_view.js b/ambari-web/app/views/main/host/hosts_table_menu_view.js
index 819cd8e..99fd783 100644
--- a/ambari-web/app/views/main/host/hosts_table_menu_view.js
+++ b/ambari-web/app/views/main/host/hosts_table_menu_view.js
@@ -51,12 +51,6 @@ App.HostTableMenuView = Em.View.extend({
componentNameFormatted: Em.I18n.t('dashboard.services.hbase.regionServers')
}),
Em.Object.create({
- serviceName: 'MAPREDUCE',
- componentName: 'TASKTRACKER',
- masterComponentName: 'JOBTRACKER',
- componentNameFormatted: Em.I18n.t('dashboard.services.mapreduce.taskTrackers')
- }),
- Em.Object.create({
serviceName: 'STORM',
componentName: 'SUPERVISOR',
masterComponentName: 'SUPERVISOR',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/mapreduce/gc.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/mapreduce/gc.js b/ambari-web/app/views/main/service/info/metrics/mapreduce/gc.js
deleted file mode 100644
index 8a09eaf..0000000
--- a/ambari-web/app/views/main/service/info/metrics/mapreduce/gc.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.
- */
-
-var App = require('app');
-
-/**
- * @class
- *
- * This is a view for showing cluster CPU metrics
- *
- * @extends App.ChartLinearTimeView
- * @extends Ember.Object
- * @extends Ember.View
- */
-App.ChartServiceMetricsMapReduce_GC = App.ChartLinearTimeView.extend({
- id: "service-metrics-mapreduce-gc",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.gc'),
- yAxisFormatter: App.ChartLinearTimeView.TimeElapsedFormatter,
-
- ajaxIndex: 'service.metrics.mapreduce.gc',
-
- transformToSeries: function (jsonData) {
- var seriesArray = [];
- if (jsonData && jsonData.metrics && jsonData.metrics.jvm) {
- for ( var name in jsonData.metrics.jvm) {
- var displayName;
- var seriesData = jsonData.metrics.jvm[name];
- switch (name) {
- case "gcTimeMillis":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.gc.displayNames.gcTimeMillis');
- break;
- default:
- break;
- }
- if (seriesData) {
- seriesArray.push(this.transformData(seriesData, displayName));
- }
- }
- }
- return seriesArray;
- }
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/mapreduce/jobs_status.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/mapreduce/jobs_status.js b/ambari-web/app/views/main/service/info/metrics/mapreduce/jobs_status.js
deleted file mode 100644
index a4fea38..0000000
--- a/ambari-web/app/views/main/service/info/metrics/mapreduce/jobs_status.js
+++ /dev/null
@@ -1,68 +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.
- */
-
-var App = require('app');
-
-/**
- * @class
- *
- * This is a view for showing cluster CPU metrics
- *
- * @extends App.ChartLinearTimeView
- * @extends Ember.Object
- * @extends Ember.View
- */
-App.ChartServiceMetricsMapReduce_JobsStatus = App.ChartLinearTimeView.extend({
- id: "service-metrics-mapreduce-jobs-status",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.jobsStatus'),
- renderer: 'line',
-
- ajaxIndex: 'service.metrics.mapreduce.jobs_status',
-
- transformToSeries: function (jsonData) {
- var seriesArray = [];
- if (jsonData && jsonData.metrics && jsonData.metrics.mapred && jsonData.metrics.mapred.jobtracker) {
- for ( var name in jsonData.metrics.mapred.jobtracker) {
- var displayName;
- var seriesData = jsonData.metrics.mapred.jobtracker[name];
- switch (name) {
- case "jobs_running":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jobsStatus.displayNames.jobsRunning');
- break;
- case "jobs_failed":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jobsStatus.displayNames.jobsFailed');
- break;
- case "jobs_completed":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jobsStatus.displayNames.jobsCompleted');
- break;
- case "jobs_preparing":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jobsStatus.displayNames.jobsPreparing');
- break;
- case "jobs_submitted":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jobsStatus.displayNames.jobsSubmitted');
- break;
- default:
- break;
- }
- if (seriesData) {
- seriesArray.push(this.transformData(seriesData, displayName));
- }
- }
- }
- return seriesArray;
- }
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/mapreduce/jvm_heap.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/mapreduce/jvm_heap.js b/ambari-web/app/views/main/service/info/metrics/mapreduce/jvm_heap.js
deleted file mode 100644
index d1dd7ab..0000000
--- a/ambari-web/app/views/main/service/info/metrics/mapreduce/jvm_heap.js
+++ /dev/null
@@ -1,71 +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.
- */
-
-var App = require('app');
-
-/**
- * @class
- *
- * This is a view for showing cluster CPU metrics
- *
- * @extends App.ChartLinearTimeView
- * @extends Ember.Object
- * @extends Ember.View
- */
-App.ChartServiceMetricsMapReduce_JVMHeap = App.ChartLinearTimeView.extend({
- id: "service-metrics-mapreduce-jvm-heap",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.jvmHeap'),
- yAxisFormatter: App.ChartLinearTimeView.BytesFormatter,
- renderer: 'line',
-
- ajaxIndex: 'service.metrics.mapreduce.jobs_heap',
-
- transformToSeries: function (jsonData) {
- var seriesArray = [];
- var MB = Math.pow(2, 20);
- if (jsonData && jsonData.metrics && jsonData.metrics.jvm) {
- for ( var name in jsonData.metrics.jvm) {
- var displayName;
- var seriesData = jsonData.metrics.jvm[name];
- switch (name) {
- case "memHeapCommittedM":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmHeap.displayNames.memHeapCommittedM');
- break;
- case "memNonHeapUsedM":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmHeap.displayNames.memNonHeapUsedM');
- break;
- case "memHeapUsedM":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmHeap.displayNames.memHeapUsedM');
- break;
- case "memNonHeapCommittedM":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmHeap.displayNames.memNonHeapCommittedM');
- break;
- default:
- break;
- }
- if (seriesData) {
- var s = this.transformData(seriesData, displayName);
- for (var i = 0; i < s.data.length; i++) {
- s.data[i].y *= MB;
- }
- seriesArray.push(s);
- }
- }
- }
- return seriesArray;
- }
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/mapreduce/jvm_threads.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/mapreduce/jvm_threads.js b/ambari-web/app/views/main/service/info/metrics/mapreduce/jvm_threads.js
deleted file mode 100644
index d62c242..0000000
--- a/ambari-web/app/views/main/service/info/metrics/mapreduce/jvm_threads.js
+++ /dev/null
@@ -1,66 +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.
- */
-
-var App = require('app');
-
-/**
- * @class
- *
- * This is a view for showing cluster CPU metrics
- *
- * @extends App.ChartLinearTimeView
- * @extends Ember.Object
- * @extends Ember.View
- */
-App.ChartServiceMetricsMapReduce_JVMThreads = App.ChartLinearTimeView.extend({
- id: "service-metrics-mapreduce-jvm-threads",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.jvmThreads'),
- renderer: 'line',
-
- ajaxIndex: 'service.metrics.mapreduce.jobs_threads',
-
- transformToSeries: function (jsonData) {
- var seriesArray = [];
- if (jsonData && jsonData.metrics && jsonData.metrics.jvm) {
- for ( var name in jsonData.metrics.jvm) {
- var displayName;
- var seriesData = jsonData.metrics.jvm[name];
- switch (name) {
- case "threadsBlocked":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsBlocked');
- break;
- case "threadsWaiting":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsWaiting');
- break;
- case "threadsTimedWaiting":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsTimedWaiting');
- break;
- case "threadsRunnable":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsRunnable');
- break;
- default:
- break;
- }
-
- if (seriesData) {
- seriesArray.push(this.transformData(seriesData, displayName));
- }
- }
- }
- return seriesArray;
- }
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/mapreduce/map_slots.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/mapreduce/map_slots.js b/ambari-web/app/views/main/service/info/metrics/mapreduce/map_slots.js
deleted file mode 100644
index dbb5bef..0000000
--- a/ambari-web/app/views/main/service/info/metrics/mapreduce/map_slots.js
+++ /dev/null
@@ -1,59 +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.
- */
-
-var App = require('app');
-
-/**
- * @class
- *
- * This is a view for showing cluster CPU metrics
- *
- * @extends App.ChartLinearTimeView
- * @extends Ember.Object
- * @extends Ember.View
- */
-App.ChartServiceMetricsMapReduce_MapSlots = App.ChartLinearTimeView.extend({
- id: "service-metrics-mapreduce-map-slots",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.mapSlots'),
- renderer: 'line',
-
- ajaxIndex: 'service.metrics.mapreduce.map_slots',
-
- transformToSeries: function (jsonData) {
- var seriesArray = [];
- if (jsonData && jsonData.metrics && jsonData.metrics.mapred && jsonData.metrics.mapred.jobtracker) {
- for ( var name in jsonData.metrics.mapred.jobtracker) {
- var displayName;
- var seriesData = jsonData.metrics.mapred.jobtracker[name];
- switch (name) {
- case "reserved_map_slots":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.mapSlots.displayNames.reservedMapSlots');
- break;
- case "occupied_map_slots":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.mapSlots.displayNames.occupiedMapSlots');
- break;
- default:
- break;
- }
- if (seriesData) {
- seriesArray.push(this.transformData(seriesData, displayName));
- }
- }
- }
- return seriesArray;
- }
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/mapreduce/reduce_slots.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/mapreduce/reduce_slots.js b/ambari-web/app/views/main/service/info/metrics/mapreduce/reduce_slots.js
deleted file mode 100644
index c8d2d43..0000000
--- a/ambari-web/app/views/main/service/info/metrics/mapreduce/reduce_slots.js
+++ /dev/null
@@ -1,59 +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.
- */
-
-var App = require('app');
-
-/**
- * @class
- *
- * This is a view for showing cluster CPU metrics
- *
- * @extends App.ChartLinearTimeView
- * @extends Ember.Object
- * @extends Ember.View
- */
-App.ChartServiceMetricsMapReduce_ReduceSlots = App.ChartLinearTimeView.extend({
- id: "service-metrics-mapreduce-reduce-slots",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.reduceSlots'),
- renderer: 'line',
-
- ajaxIndex: 'service.metrics.mapreduce.reduce_slots',
-
- transformToSeries: function (jsonData) {
- var seriesArray = [];
- if (jsonData && jsonData.metrics && jsonData.metrics.mapred && jsonData.metrics.mapred.jobtracker) {
- for ( var name in jsonData.metrics.mapred.jobtracker) {
- var displayName;
- var seriesData = jsonData.metrics.mapred.jobtracker[name];
- switch (name) {
- case "reserved_reduce_slots":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.reduceSlots.displayNames.reservedReduceSlots');
- break;
- case "occupied_reduce_slots":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.reduceSlots.displayNames.occupiedReduceSlots');
- break;
- default:
- break;
- }
- if (seriesData) {
- seriesArray.push(this.transformData(seriesData, displayName));
- }
- }
- }
- return seriesArray;
- }
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/mapreduce/rpc.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/mapreduce/rpc.js b/ambari-web/app/views/main/service/info/metrics/mapreduce/rpc.js
deleted file mode 100644
index 3740873..0000000
--- a/ambari-web/app/views/main/service/info/metrics/mapreduce/rpc.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.
- */
-
-var App = require('app');
-
-/**
- * @class
- *
- * This is a view for showing cluster CPU metrics
- *
- * @extends App.ChartLinearTimeView
- * @extends Ember.Object
- * @extends Ember.View
- */
-App.ChartServiceMetricsMapReduce_RPC = App.ChartLinearTimeView.extend({
- id: "service-metrics-mapreduce-rpc",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.rpc'),
- yAxisFormatter: App.ChartLinearTimeView.TimeElapsedFormatter,
-
- ajaxIndex: 'service.metrics.mapreduce.rpc',
-
- transformToSeries: function (jsonData) {
- var seriesArray = [];
- if (jsonData && jsonData.metrics && jsonData.metrics.rpc) {
- for ( var name in jsonData.metrics.rpc) {
- var displayName;
- var seriesData = jsonData.metrics.rpc[name];
- switch (name) {
- case "RpcQueueTime_avg_time":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.rpc.displayNames.RpcQueueTimeAvgTime');
- break;
- default:
- break;
- }
- if (seriesData) {
- seriesArray.push(this.transformData(seriesData, displayName));
- }
- }
- }
- return seriesArray;
- }
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/mapreduce/tasks_running_waiting.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/mapreduce/tasks_running_waiting.js b/ambari-web/app/views/main/service/info/metrics/mapreduce/tasks_running_waiting.js
deleted file mode 100644
index f46fb59..0000000
--- a/ambari-web/app/views/main/service/info/metrics/mapreduce/tasks_running_waiting.js
+++ /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.
- */
-
-var App = require('app');
-
-/**
- * @class
- *
- * This is a view for showing cluster CPU metrics
- *
- * @extends App.ChartLinearTimeView
- * @extends Ember.Object
- * @extends Ember.View
- */
-App.ChartServiceMetricsMapReduce_TasksRunningWaiting = App.ChartLinearTimeView.extend({
- id: "service-metrics-mapreduce-tasks-running-waiting",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.tasksRunningWaiting'),
- renderer: 'line',
-
- ajaxIndex: 'service.metrics.mapreduce.tasks_running_waiting',
-
- transformToSeries: function (jsonData) {
- var seriesArray = [];
- if (jsonData && jsonData.metrics && jsonData.metrics.mapred && jsonData.metrics.mapred.jobtracker) {
- for ( var name in jsonData.metrics.mapred.jobtracker) {
- var displayName;
- var seriesData = jsonData.metrics.mapred.jobtracker[name];
- switch (name) {
- case "running_maps":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.tasksRunningWaiting.displayNames.runningMaps');
- break;
- case "running_reduces":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.tasksRunningWaiting.displayNames.runningReduces');
- break;
- case "waiting_maps":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.tasksRunningWaiting.displayNames.waitingMaps');
- break;
- case "waiting_reduces":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.tasksRunningWaiting.displayNames.waitingReduces');
- break;
- default:
- break;
- }
- if (seriesData) {
- seriesArray.push(this.transformData(seriesData, displayName));
- }
- }
- }
- return seriesArray;
- }
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/yarn/jvm_heap.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/yarn/jvm_heap.js b/ambari-web/app/views/main/service/info/metrics/yarn/jvm_heap.js
index 9ce2d1d..70fd89c 100644
--- a/ambari-web/app/views/main/service/info/metrics/yarn/jvm_heap.js
+++ b/ambari-web/app/views/main/service/info/metrics/yarn/jvm_heap.js
@@ -28,7 +28,7 @@ var App = require('app');
*/
App.ChartServiceMetricsYARN_JVMHeap = App.ChartLinearTimeView.extend({
id: "service-metrics-yarn-jvm-heap",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.jvmHeap'),
+ title: Em.I18n.t('services.service.info.metrics.yarn.jvmHeap'),
yAxisFormatter: App.ChartLinearTimeView.BytesFormatter,
renderer: 'line',
@@ -43,16 +43,16 @@ App.ChartServiceMetricsYARN_JVMHeap = App.ChartLinearTimeView.extend({
var seriesData = jsonData.metrics.jvm[name];
switch (name) {
case "memHeapCommittedM":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmHeap.displayNames.memHeapCommittedM');
+ displayName = Em.I18n.t('services.service.info.metrics.yarn.jvmHeap.displayNames.memHeapCommittedM');
break;
case "memNonHeapUsedM":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmHeap.displayNames.memNonHeapUsedM');
+ displayName = Em.I18n.t('services.service.info.metrics.yarn.jvmHeap.displayNames.memNonHeapUsedM');
break;
case "memHeapUsedM":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmHeap.displayNames.memHeapUsedM');
+ displayName = Em.I18n.t('services.service.info.metrics.yarn.jvmHeap.displayNames.memHeapUsedM');
break;
case "memNonHeapCommittedM":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmHeap.displayNames.memNonHeapCommittedM');
+ displayName = Em.I18n.t('services.service.info.metrics.yarn.jvmHeap.displayNames.memNonHeapCommittedM');
break;
default:
break;
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/yarn/jvm_threads.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/yarn/jvm_threads.js b/ambari-web/app/views/main/service/info/metrics/yarn/jvm_threads.js
index 445ecc7..aeb8601 100644
--- a/ambari-web/app/views/main/service/info/metrics/yarn/jvm_threads.js
+++ b/ambari-web/app/views/main/service/info/metrics/yarn/jvm_threads.js
@@ -28,7 +28,7 @@ var App = require('app');
*/
App.ChartServiceMetricsYARN_JVMThreads = App.ChartLinearTimeView.extend({
id: "service-metrics-yarn-jvm-threads",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.jvmThreads'),
+ title: Em.I18n.t('services.service.info.metrics.yarn.jvmThreads'),
renderer: 'line',
ajaxIndex: 'service.metrics.yarn.jobs_threads',
@@ -41,16 +41,16 @@ App.ChartServiceMetricsYARN_JVMThreads = App.ChartLinearTimeView.extend({
var seriesData = jsonData.metrics.jvm[name];
switch (name) {
case "threadsBlocked":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsBlocked');
+ displayName = Em.I18n.t('services.service.info.metrics.yarn.jvmThreads.displayNames.threadsBlocked');
break;
case "threadsWaiting":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsWaiting');
+ displayName = Em.I18n.t('services.service.info.metrics.yarn.jvmThreads.displayNames.threadsWaiting');
break;
case "threadsTimedWaiting":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsTimedWaiting');
+ displayName = Em.I18n.t('services.service.info.metrics.yarn.jvmThreads.displayNames.threadsTimedWaiting');
break;
case "threadsRunnable":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.jvmThreads.displayNames.threadsRunnable');
+ displayName = Em.I18n.t('services.service.info.metrics.yarn.jvmThreads.displayNames.threadsRunnable');
break;
default:
break;
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/metrics/yarn/rpc.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/yarn/rpc.js b/ambari-web/app/views/main/service/info/metrics/yarn/rpc.js
index cdbb8ecb..1e4ecf4 100644
--- a/ambari-web/app/views/main/service/info/metrics/yarn/rpc.js
+++ b/ambari-web/app/views/main/service/info/metrics/yarn/rpc.js
@@ -28,7 +28,7 @@ var App = require('app');
*/
App.ChartServiceMetricsYARN_RPC = App.ChartLinearTimeView.extend({
id: "service-metrics-yarn-rpc",
- title: Em.I18n.t('services.service.info.metrics.mapreduce.rpc'),
+ title: Em.I18n.t('services.service.info.metrics.yarn.rpc'),
yAxisFormatter: App.ChartLinearTimeView.TimeElapsedFormatter,
ajaxIndex: 'service.metrics.yarn.rpc',
@@ -41,7 +41,7 @@ App.ChartServiceMetricsYARN_RPC = App.ChartLinearTimeView.extend({
var seriesData = jsonData.metrics.rpc[name];
switch (name) {
case "RpcQueueTime_avg_time":
- displayName = Em.I18n.t('services.service.info.metrics.mapreduce.rpc.displayNames.RpcQueueTimeAvgTime');
+ displayName = Em.I18n.t('services.service.info.metrics.yarn.rpc.displayNames.RpcQueueTimeAvgTime');
break;
default:
break;
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/info/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/summary.js b/ambari-web/app/views/main/service/info/summary.js
index 7146f1c..f96fb9a 100644
--- a/ambari-web/app/views/main/service/info/summary.js
+++ b/ambari-web/app/views/main/service/info/summary.js
@@ -42,7 +42,6 @@ App.MainServiceInfoSummaryView = Em.View.extend(App.UserPref, {
return {
HBASE: App.MainDashboardServiceHbaseView,
HDFS: App.MainDashboardServiceHdfsView,
- MAPREDUCE: App.MainDashboardServiceMapreduceView,
STORM: App.MainDashboardServiceStormView,
YARN: App.MainDashboardServiceYARNView,
FLUME: Em.View.extend({
@@ -200,9 +199,6 @@ App.MainServiceInfoSummaryView = Em.View.extend(App.UserPref, {
case 'yarn':
svc = App.YARNService.find().objectAt(0);
break;
- case 'mapreduce':
- svc = App.MapReduceService.find().objectAt(0);
- break;
case 'hbase':
svc = App.HBaseService.find().objectAt(0);
break;
@@ -460,9 +456,6 @@ App.MainServiceInfoSummaryView = Em.View.extend(App.UserPref, {
case 'hdfs':
gangliaUrl += "/?r=hour&cs=&ce=&m=&s=by+name&c=HDPSlaves&tab=m&vn=";
break;
- case 'mapreduce':
- gangliaUrl += "/?r=hour&cs=&ce=&m=&s=by+name&c=HDPJobTracker&tab=m&vn=";
- break;
case 'hbase':
gangliaUrl += "?r=hour&cs=&ce=&m=&s=by+name&c=HDPHBaseMaster&tab=m&vn=";
break;
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/item.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/item.js b/ambari-web/app/views/main/service/item.js
index c0bcd73..daae98f 100644
--- a/ambari-web/app/views/main/service/item.js
+++ b/ambari-web/app/views/main/service/item.js
@@ -338,9 +338,6 @@ App.MainServiceItemView = Em.View.extend({
case 'yarn':
svc = App.YARNService.find().objectAt(0);
break;
- case 'mapreduce':
- svc = App.MapReduceService.find().objectAt(0);
- break;
case 'hbase':
svc = App.HBaseService.find().objectAt(0);
break;
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/views/main/service/services/mapreduce.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/services/mapreduce.js b/ambari-web/app/views/main/service/services/mapreduce.js
deleted file mode 100644
index 4b30b98..0000000
--- a/ambari-web/app/views/main/service/services/mapreduce.js
+++ /dev/null
@@ -1,134 +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.
- */
-
-var App = require('app');
-var date = require('utils/date');
-var numberUtils = require('utils/number_utils');
-
-App.MainDashboardServiceMapreduceView = App.MainDashboardServiceView.extend({
- templateName: require('templates/main/service/services/mapreduce'),
- serviceName: 'MAPREDUCE',
- jobTrackerWebUrl: function () {
- return "http://" + (App.singleNodeInstall ? App.singleNodeAlias : this.get('service').get('jobTracker').get('publicHostName')) + ":50030";
- }.property('service.jobTracker'),
-
- Chart: App.ChartLinearView.extend({
- data: function () {
- return this.get('_parentView.data.chart');
- }.property('_parentView.data.chart')
- }),
-
- jobTrackerUptime: function () {
- var uptime = this.get('service').get('jobTrackerStartTime');
- if (uptime && uptime > 0){
- var diff = App.dateTime() - uptime;
- if (diff < 0) {
- diff = 0;
- }
- var formatted = date.timingFormat(diff);
- return this.t('dashboard.services.uptime').format(formatted);
-
- }
- return this.t('services.service.summary.notRunning');
- }.property("service.jobTrackerStartTime"),
-
- summaryHeader: function () {
- var svc = this.get('service');
- var liveCount = svc.get('aliveTrackers').get('length');
- var allCount = svc.get('taskTrackersTotal');
- var runningCount = svc.get('jobsRunning');
- if (runningCount === null) {
- runningCount = 'n/a';
- }
- var template = this.t('dashboard.services.mapreduce.summary');
- return template.format(liveCount, allCount, runningCount);
- }.property('service.aliveTrackers', 'service.taskTrackersTotal', 'service.jobsRunning'),
-
- trackersText: function () {
- if (this.get('service').get('taskTrackersTotal') == 0) {
- return '';
- } else if (this.get('service').get('taskTrackersTotal') > 1){
- return Em.I18n.t('services.service.summary.viewHosts');
- }else{
- return Em.I18n.t('services.service.summary.viewHost');
- }
- }.property("service.taskTrackersTotal"),
-
- trackersSummary: function () {
- var svc = this.get('service');
- var liveCount = svc.get('taskTrackersStarted');
- var totalCount = svc.get('taskTrackersTotal');
- var template = this.t('dashboard.services.mapreduce.trackersSummary');
- return template.format(liveCount, totalCount);
- }.property('service.taskTrackersTotal', 'service.taskTrackersStarted'),
-
- trackersHeapSummary: function () {
- var heapUsed = this.get('service').get('jobTrackerHeapUsed');
- var heapMax = this.get('service').get('jobTrackerHeapMax');
- var percent = heapMax > 0 ? 100 * heapUsed / heapMax : 0;
- return this.t('dashboard.services.mapreduce.jobTrackerHeapSummary').format(numberUtils.bytesToSize(heapUsed, 1, "parseFloat"), numberUtils.bytesToSize(heapMax, 1, "parseFloat"), percent.toFixed(1));
- }.property('service.jobTrackerHeapUsed', 'service.jobTrackerHeapMax'),
-
- jobsSummary: function () {
- var svc = this.get('service');
- var template = this.t('dashboard.services.mapreduce.jobsSummary');
- return template.format(this.formatUnavailable(svc.get('jobsSubmitted')), this.formatUnavailable(svc.get('jobsCompleted')));
- }.property('service.jobsSubmitted', 'service.jobsCompleted'),
-
- mapSlotsSummary: function () {
- var svc = this.get('service');
- var template = this.t('dashboard.services.mapreduce.mapSlotsSummary');
- return template.format(this.formatUnavailable(svc.get('mapSlotsOccupied')), this.formatUnavailable(svc.get('mapSlotsReserved')));
- }.property('service.mapSlotsOccupied', 'service.mapSlotsReserved'),
-
- reduceSlotsSummary: function () {
- var svc = this.get('service');
- var template = this.t('dashboard.services.mapreduce.reduceSlotsSummary');
- return template.format(this.formatUnavailable(svc.get('reduceSlotsOccupied')), this.formatUnavailable(svc.get('reduceSlotsReserved')));
- }.property('service.reduceSlotsOccupied', 'service.reduceSlotsReserved'),
-
- mapTasksSummary: function () {
- var svc = this.get('service');
- var template = this.t('dashboard.services.mapreduce.tasksSummary');
- return template.format(this.formatUnavailable(svc.get('mapsRunning')), this.formatUnavailable(svc.get('mapsWaiting')));
- }.property('service.mapsRunning', 'service.mapsWaiting'),
-
- reduceTasksSummary: function () {
- var svc = this.get('service');
- var template = this.t('dashboard.services.mapreduce.tasksSummary');
- return template.format(this.formatUnavailable(svc.get('reducesRunning')), this.formatUnavailable(svc.get('reducesWaiting')));
- }.property('service.reducesRunning', 'service.reducesWaiting'),
-
- slotsCapacitySummary: function () {
- var mapSlots = this.get('service').get('mapSlots');
- var reduceSlots = this.get('service').get('reduceSlots');
- var liveNodeCount = this.get('service').get('aliveTrackers').get('length');
- if(liveNodeCount != 0){
- var avg = (mapSlots + reduceSlots) / liveNodeCount;
- }else{
- avg = Em.I18n.t('services.service.summary.notAvailable') + " ";
- }
- return this.t('dashboard.services.mapreduce.slotCapacitySummary').format(mapSlots, reduceSlots, avg);
- }.property('service.mapSlots', 'service.reduceSlots', 'service.aliveTrackers'),
-
- taskTrackerComponent: function () {
- return Em.Object.create({
- componentName: 'TASKTRACKER'
- });
- //return this.get('service.taskTrackers').objectAt(0);
- }.property()
-});
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/controllers/global/cluster_controller_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/global/cluster_controller_test.js b/ambari-web/test/controllers/global/cluster_controller_test.js
index 31582fe..1130370 100644
--- a/ambari-web/test/controllers/global/cluster_controller_test.js
+++ b/ambari-web/test/controllers/global/cluster_controller_test.js
@@ -247,84 +247,6 @@ describe('App.clusterController', function () {
});
});
- describe('#setNagiosUrl()', function () {
- beforeEach(function () {
- controller.set('nagiosUrl', null);
- });
-
- it('testMode = true', function () {
- App.testMode = true;
- controller.setNagiosUrl();
- expect(controller.get('nagiosUrl')).to.equal('http://nagiosserver/nagios');
- expect(controller.get('isNagiosUrlLoaded')).to.be.true;
-
- });
- it('Cluster is not loaded', function () {
- App.testMode = false;
- controller.set('isLoaded', false);
- controller.setNagiosUrl();
- expect(controller.get('nagiosUrl')).to.equal(null);
- });
- it('GANGLIA_SERVER component is absent', function () {
- controller.set('isLoaded', true);
- App.testMode = false;
- sinon.stub(App.HostComponent, 'find', function(){
- return [];
- });
- controller.setNagiosUrl();
- expect(controller.get('nagiosUrl')).to.equal(null);
- App.HostComponent.find.restore();
- });
- it('Ganglia Server host is "NAGIOS_host"', function () {
- controller.set('isLoaded', true);
- App.testMode = false;
- sinon.stub(App.HostComponent, 'find', function(){
- return [Em.Object.create({
- componentName: 'NAGIOS_SERVER',
- hostName: 'NAGIOS_host'
- })];
- });
- sinon.spy(App.ajax, 'send');
- controller.setNagiosUrl();
- expect(App.ajax.send.calledOnce).to.be.true;
- expect(controller.get('isNagiosUrlLoaded')).to.be.false;
- App.ajax.send.restore();
- App.HostComponent.find.restore();
- });
- });
-
- describe('#nagiosWebProtocol', function () {
- var testCases = [
- {
- title: 'if ambariProperties is null then nagiosWebProtocol should be "http"',
- data: null,
- result: 'http'
- },
- {
- title: 'if ambariProperties is empty object then nagiosWebProtocol should be "http"',
- data: {},
- result: 'http'
- },
- {
- title: 'if nagios.https is false then nagiosWebProtocol should be "http"',
- data: {'nagios.https': false},
- result: 'http'
- },
- {
- title: 'if nagios.https is true then nagiosWebProtocol should be "http"',
- data: {'nagios.https': true},
- result: 'https'
- }
- ];
-
- testCases.forEach(function (test) {
- it(test.title, function () {
- controller.set('ambariProperties', test.data);
- expect(controller.get('nagiosWebProtocol')).to.equal(test.result);
- });
- });
- });
-
describe('#gangliaWebProtocol', function () {
var testCases = [
{
@@ -395,40 +317,4 @@ describe('App.clusterController', function () {
});
});
- describe('#setNagiosUrlSuccessCallback()', function () {
-
- it('Query return no hosts', function () {
- controller.setNagiosUrlSuccessCallback({items: []});
- expect(controller.get('nagiosUrl')).to.equal(null);
- expect(controller.get('isNagiosUrlLoaded')).to.be.true;
- });
- it('App.singleNodeInstall is true', function () {
- controller.reopen({
- nagiosWebProtocol: 'http'
- });
- App.set('singleNodeInstall', true);
- App.set('singleNodeAlias', 'localhost');
- controller.setNagiosUrlSuccessCallback({items: [{
- Hosts: {
- public_host_name: 'host1'
- }
- }]});
- expect(controller.get('nagiosUrl')).to.equal('http://localhost:42080/nagios');
- expect(controller.get('isNagiosUrlLoaded')).to.be.true;
- });
- it('App.singleNodeInstall is false', function () {
- controller.reopen({
- nagiosWebProtocol: 'http'
- });
- App.set('singleNodeInstall', false);
- App.set('singleNodeAlias', 'localhost');
- controller.setNagiosUrlSuccessCallback({items: [{
- Hosts: {
- public_host_name: 'host1'
- }
- }]});
- expect(controller.get('nagiosUrl')).to.equal('http://host1/nagios');
- expect(controller.get('isNagiosUrlLoaded')).to.be.true;
- });
- });
});
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/controllers/global/update_controller_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/global/update_controller_test.js b/ambari-web/test/controllers/global/update_controller_test.js
index 5bd239b..977f02c 100644
--- a/ambari-web/test/controllers/global/update_controller_test.js
+++ b/ambari-web/test/controllers/global/update_controller_test.js
@@ -170,20 +170,6 @@ describe('App.UpdateController', function () {
"ServiceComponentInfo/RegionsInTransition"]
},
{
- title: 'MAPREDUCE service',
- services: [
- {
- ServiceInfo: {
- service_name: 'MAPREDUCE'
- }
- }
- ],
- result: ["ServiceComponentInfo/AliveNodes," +
- "ServiceComponentInfo/GrayListedNodes," +
- "ServiceComponentInfo/BlackListedNodes," +
- "ServiceComponentInfo/jobtracker/*,"]
- },
- {
title: 'STORM service',
services: [
{
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_test.js b/ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_test.js
deleted file mode 100644
index d54b837..0000000
--- a/ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_test.js
+++ /dev/null
@@ -1,37 +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.
- */
-
-var App = require('app');
-require('controllers/main/charts/heatmap_metrics/heatmap_metric');
-require('controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce');
-
-describe('App.MainChartHeatmapMapreduceMetrics', function () {
-
- describe('#metricMapper()', function () {
- var mainChartHeatmapMapreduceMetrics = App.MainChartHeatmapMapreduceMetrics.create();
-
- it('launch metricMapperWithTransform() method', function () {
- sinon.stub(mainChartHeatmapMapreduceMetrics, 'metricMapperWithTransform', Em.K);
- mainChartHeatmapMapreduceMetrics.set('defaultMetric', 'metric1');
- mainChartHeatmapMapreduceMetrics.set('transformValue', 'value1');
-
- mainChartHeatmapMapreduceMetrics.metricMapper({'json': 'json'});
- expect(mainChartHeatmapMapreduceMetrics.metricMapperWithTransform.calledWith({'json': 'json'}, 'metric1', 'value1')).to.be.true;
- mainChartHeatmapMapreduceMetrics.metricMapperWithTransform.restore();
- });
- });
-});
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/controllers/main/host/details_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/main/host/details_test.js b/ambari-web/test/controllers/main/host/details_test.js
index 7fc0dd0..277c7e7 100644
--- a/ambari-web/test/controllers/main/host/details_test.js
+++ b/ambari-web/test/controllers/main/host/details_test.js
@@ -1004,10 +1004,6 @@ describe('App.MainHostDetailsController', function () {
controller.runDecommission('host1', 'YARN');
expect(controller.doDecommission.calledWith('host1', 'YARN', "RESOURCEMANAGER", "NODEMANAGER")).to.be.true;
});
- it('MAPREDUCE service', function () {
- controller.runDecommission('host1', 'MAPREDUCE');
- expect(controller.doDecommission.calledWith('host1', 'MAPREDUCE', "JOBTRACKER", "TASKTRACKER")).to.be.true;
- });
it('HBASE service', function () {
sinon.stub(controller, 'warnBeforeDecommission', Em.K);
controller.runDecommission('host1', 'HBASE');
@@ -1020,13 +1016,11 @@ describe('App.MainHostDetailsController', function () {
beforeEach(function () {
sinon.stub(controller, "doRecommissionAndStart", Em.K);
- sinon.stub(controller, "doRecommissionAndRestart", Em.K);
sinon.stub(controller, "showBackgroundOperationsPopup", Em.K);
});
afterEach(function () {
controller.doRecommissionAndStart.restore();
- controller.doRecommissionAndRestart.restore();
controller.showBackgroundOperationsPopup.restore();
});
@@ -1040,11 +1034,6 @@ describe('App.MainHostDetailsController', function () {
expect(controller.doRecommissionAndStart.calledWith('host1', 'YARN', "RESOURCEMANAGER", "NODEMANAGER")).to.be.true;
expect(controller.showBackgroundOperationsPopup.calledOnce).to.be.true;
});
- it('MAPREDUCE service', function () {
- controller.runRecommission('host1', 'MAPREDUCE');
- expect(controller.doRecommissionAndRestart.calledWith('host1', 'MAPREDUCE', "JOBTRACKER", "TASKTRACKER")).to.be.true;
- expect(controller.showBackgroundOperationsPopup.calledOnce).to.be.true;
- });
it('HBASE service', function () {
controller.runRecommission('host1', 'HBASE');
expect(controller.doRecommissionAndStart.calledWith('host1', 'HBASE', "HBASE_MASTER", "HBASE_REGIONSERVER")).to.be.true;
@@ -1219,13 +1208,6 @@ describe('App.MainHostDetailsController', function () {
});
});
- describe('#doRecommissionAndRestart()', function () {
- it('Query should be sent', function () {
- controller.doRecommissionAndRestart('', '', '', '');
- expect(App.ajax.send.calledOnce).to.be.true;
- });
- });
-
describe('#doAction()', function () {
beforeEach(function () {
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/controllers/main/service/add_controller_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/main/service/add_controller_test.js b/ambari-web/test/controllers/main/service/add_controller_test.js
index 95e4b2c..01f992c 100644
--- a/ambari-web/test/controllers/main/service/add_controller_test.js
+++ b/ambari-web/test/controllers/main/service/add_controller_test.js
@@ -92,7 +92,7 @@ describe('App.AddServiceController', function() {
res: {
"context": Em.I18n.t('requestInfo.installServices'),
"ServiceInfo": {"state": "INSTALLED"},
- "urlParams": "ServiceInfo/service_name.in(OOZIE,HDFS,YARN,MAPREDUCE,MAPREDUCE2)"
+ "urlParams": "ServiceInfo/service_name.in(OOZIE,HDFS,YARN,MAPREDUCE2)"
}
}];
tests.forEach(function(t){
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/controllers/main/service/info/config_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/main/service/info/config_test.js b/ambari-web/test/controllers/main/service/info/config_test.js
index f160f71..fa01511 100644
--- a/ambari-web/test/controllers/main/service/info/config_test.js
+++ b/ambari-web/test/controllers/main/service/info/config_test.js
@@ -731,58 +731,6 @@ describe("App.MainServiceInfoConfigsController", function () {
});
});
- describe("when service name is MAPREDUCE", function() {
- beforeEach(function() {
- mainServiceInfoConfigsController.set('content', Ember.Object.create ({ serviceName: 'MAPREDUCE' }));
- });
-
- var tests = [
- {
- it: "should set dirChanged to false if none of the properties exist",
- expect: false,
- config: Ember.Object.create ({})
- },
- {
- it: "should set dirChanged to true if mapred.local.dir is not default",
- expect: true,
- config: Ember.Object.create ({
- name: 'mapred.local.dir',
- isNotDefaultValue: true
- })
- },
- {
- it: "should set dirChanged to false if mapred.local.dir is default",
- expect: false,
- config: Ember.Object.create ({
- name: 'mapred.local.dir',
- isNotDefaultValue: false
- })
- },
- {
- it: "should set dirChanged to true if mapred.system.dir is not default",
- expect: true,
- config: Ember.Object.create ({
- name: 'mapred.system.dir',
- isNotDefaultValue: true
- })
- },
- {
- it: "should set dirChanged to false if mapred.system.dir is default",
- expect: false,
- config: Ember.Object.create ({
- name: 'mapred.system.dir',
- isNotDefaultValue: false
- })
- }
- ];
-
- tests.forEach(function(test) {
- it(test.it, function() {
- mainServiceInfoConfigsController.set('stepConfigs', [Ember.Object.create ({ configs: [test.config], serviceName: 'MAPREDUCE' })]);
- expect(mainServiceInfoConfigsController.isDirChanged()).to.equal(test.expect);
- })
- });
- });
});
describe("#addDynamicProperties", function() {
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/controllers/wizard/step4_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/wizard/step4_test.js b/ambari-web/test/controllers/wizard/step4_test.js
index 133512e..9d12275 100644
--- a/ambari-web/test/controllers/wizard/step4_test.js
+++ b/ambari-web/test/controllers/wizard/step4_test.js
@@ -24,7 +24,7 @@ require('controllers/wizard/step4_controller');
describe('App.WizardStep4Controller', function () {
var services = [
- 'HDFS', 'MAPREDUCE', 'NAGIOS', 'GANGLIA', 'OOZIE', 'HIVE', 'HBASE', 'PIG', 'SCOOP', 'ZOOKEEPER',
+ 'HDFS', 'NAGIOS', 'GANGLIA', 'OOZIE', 'HIVE', 'HBASE', 'PIG', 'SCOOP', 'ZOOKEEPER',
'YARN', 'MAPREDUCE2', 'FALCON', 'TEZ', 'STORM'
];
@@ -93,11 +93,6 @@ describe('App.WizardStep4Controller', function () {
controller.setEach('isSelected', false);
expect(controller.get('isMinimum')).to.equal(true);
});
-
- it('should return false if at least one service is selected, except disabled', function () {
- controller.findProperty('serviceName', 'MAPREDUCE').set('isSelected', true);
- expect(controller.get('isMinimum')).to.equal(false);
- });
});
describe('#selectAll()', function () {
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/controllers/wizard/step6_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/wizard/step6_test.js b/ambari-web/test/controllers/wizard/step6_test.js
index 3f9d3f8..1445481 100644
--- a/ambari-web/test/controllers/wizard/step6_test.js
+++ b/ambari-web/test/controllers/wizard/step6_test.js
@@ -23,10 +23,6 @@ require('controllers/wizard/step6_controller');
var controller,
services = [
Em.Object.create({
- serviceName: 'MAPREDUCE',
- isSelected: true
- }),
- Em.Object.create({
serviceName: 'YARN',
isSelected: true
}),
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/models/alert_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/models/alert_test.js b/ambari-web/test/models/alert_test.js
index 48d06b5..b82040d 100644
--- a/ambari-web/test/models/alert_test.js
+++ b/ambari-web/test/models/alert_test.js
@@ -61,11 +61,6 @@ var alert,
],
serviceTypeCases = [
{
- type: 'MAPREDUCE',
- name: 'MapReduce',
- link: '#/main/services/MAPREDUCE/summary'
- },
- {
type: 'HDFS',
name: 'HDFS',
link: '#/main/services/HDFS/summary'
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/models/service_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/models/service_test.js b/ambari-web/test/models/service_test.js
index a289825..f93f0e0 100644
--- a/ambari-web/test/models/service_test.js
+++ b/ambari-web/test/models/service_test.js
@@ -71,10 +71,6 @@ var service,
configurable: true
},
{
- name: 'MAPREDUCE',
- configurable: true
- },
- {
name: 'MAPREDUCE2',
configurable: true
},
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/service_components.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/service_components.js b/ambari-web/test/service_components.js
index 27e198c..efa4f66 100644
--- a/ambari-web/test/service_components.js
+++ b/ambari-web/test/service_components.js
@@ -19,73 +19,6 @@
module.exports = {
"items" : [
{
- "StackServices" : {
- "comments" : "Apache Hadoop Distributed Processing Framework",
- "service_name" : "MAPREDUCE",
- "display_name" : "MapReduce",
- "service_version" : "1.2.0.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "required_services" : [
- "YARN"
- ]
- },
- "serviceComponents" : [
- {
- "StackServiceComponents" : {
- "component_category" : "MASTER",
- "component_name" : "HISTORYSERVER",
- "display_name" : "History Server",
- "is_client" : false,
- "is_master" : true,
- "service_name" : "MAPREDUCE",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2"
- },
- "dependencies": []
- },
- {
- "StackServiceComponents" : {
- "component_category" : "MASTER",
- "component_name" : "JOBTRACKER",
- "display_name" : "JobTracker",
- "is_client" : false,
- "is_master" : true,
- "service_name" : "MAPREDUCE",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2"
- },
- "dependencies": []
- },
- {
- "StackServiceComponents" : {
- "component_category" : "CLIENT",
- "component_name" : "MAPREDUCE_CLIENT",
- "display_name" : "MapReduce Client",
- "is_client" : true,
- "is_master" : false,
- "service_name" : "MAPREDUCE",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2"
- },
- "dependencies": []
- },
- {
- "StackServiceComponents" : {
- "component_category" : "SLAVE",
- "component_name" : "TASKTRACKER",
- "display_name" : "TaskTracker",
- "is_client" : false,
- "is_master" : false,
- "service_name" : "MAPREDUCE",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2"
- },
- "dependencies": []
- }
- ]
- },
- {
"href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks2/HDP/versions/2.1/stackServices/FALCON",
"StackServices" : {
"comments" : "Data management and processing platform",
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/utils/batch_scheduled_requests_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/utils/batch_scheduled_requests_test.js b/ambari-web/test/utils/batch_scheduled_requests_test.js
index 8407fcf..11ba710 100644
--- a/ambari-web/test/utils/batch_scheduled_requests_test.js
+++ b/ambari-web/test/utils/batch_scheduled_requests_test.js
@@ -33,7 +33,6 @@ describe('batch_scheduled_requests', function() {
var tests = [
{serviceName: 'HDFS', componentName: 'DATANODE'},
{serviceName: 'YARN', componentName: 'NODEMANAGER'},
- {serviceName: 'MAPREDUCE', componentName: 'TASKTRACKER'},
{serviceName: 'HBASE', componentName: 'HBASE_REGIONSERVER'},
{serviceName: 'STORM', componentName: 'SUPERVISOR'},
{serviceName: 'SOME_INVALID_SERVICE', componentName: null}
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/utils/helper_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/utils/helper_test.js b/ambari-web/test/utils/helper_test.js
index 24852b3..8f00372 100644
--- a/ambari-web/test/utils/helper_test.js
+++ b/ambari-web/test/utils/helper_test.js
@@ -251,8 +251,6 @@ describe('utils/helper', function() {
'KERBEROS_SERVER': 'Kerberos Server',
'MAPREDUCE2_CLIENT': 'MapReduce2 Client',
'MAPREDUCE2_SERVICE_CHECK': 'MapReduce2 Service Check',
- 'MAPREDUCE_CLIENT': 'MapReduce Client',
- 'MAPREDUCE_SERVICE_CHECK': 'MapReduce Service Check',
'MYSQL_SERVER': 'MySQL Server',
'NAGIOS_SERVER': 'Nagios Server',
'NAMENODE': 'NameNode',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/views/common/chart/linear_time_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/views/common/chart/linear_time_test.js b/ambari-web/test/views/common/chart/linear_time_test.js
index d581a6f..929a667 100644
--- a/ambari-web/test/views/common/chart/linear_time_test.js
+++ b/ambari-web/test/views/common/chart/linear_time_test.js
@@ -132,20 +132,17 @@ describe('App.ChartLinearTimeView', function () {
describe("#getDataForAjaxRequest()", function() {
var services = {
yarnService: [],
- hdfsService: [],
- mapreduceService: []
+ hdfsService: []
};
beforeEach(function(){
sinon.stub(App.HDFSService, 'find', function(){return services.hdfsService});
sinon.stub(App.YARNService, 'find', function(){return services.yarnService});
- sinon.stub(App.MapReduceService, 'find', function(){return services.mapreduceService});
sinon.stub(App, 'dateTime').returns(1000);
chartLinearTimeView.set('content', null);
});
afterEach(function(){
App.HDFSService.find.restore();
App.YARNService.find.restore();
- App.MapReduceService.find.restore();
App.dateTime.restore();
});
@@ -159,7 +156,6 @@ describe('App.ChartLinearTimeView', function () {
stepSeconds: 15,
hostName: 'host1',
nameNodeName: '',
- jobTrackerNode: '',
resourceManager: ''
});
});
@@ -175,7 +171,6 @@ describe('App.ChartLinearTimeView', function () {
stepSeconds: 15,
hostName: '',
nameNodeName: 'host1',
- jobTrackerNode: '',
resourceManager: ''
});
services.hdfsService = [];
@@ -192,28 +187,10 @@ describe('App.ChartLinearTimeView', function () {
stepSeconds: 15,
hostName: '',
nameNodeName: 'host1',
- jobTrackerNode: '',
resourceManager: ''
});
services.hdfsService = [];
});
- it("get jobTracker host", function() {
- services.mapreduceService = [
- Em.Object.create({
- jobTracker: {hostName: 'host1'}
- })
- ];
- expect(chartLinearTimeView.getDataForAjaxRequest()).to.be.eql({
- toSeconds: 1,
- fromSeconds: -3599,
- stepSeconds: 15,
- hostName: '',
- nameNodeName: '',
- jobTrackerNode: 'host1',
- resourceManager: ''
- });
- services.mapreduceService = [];
- });
it("get resourceManager host", function() {
services.yarnService = [
Em.Object.create({
@@ -226,7 +203,6 @@ describe('App.ChartLinearTimeView', function () {
stepSeconds: 15,
hostName: '',
nameNodeName: '',
- jobTrackerNode: '',
resourceManager: 'host1'
});
services.yarnService = [];
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/views/common/quick_link_view_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/views/common/quick_link_view_test.js b/ambari-web/test/views/common/quick_link_view_test.js
index d0ae499..90b3da4 100644
--- a/ambari-web/test/views/common/quick_link_view_test.js
+++ b/ambari-web/test/views/common/quick_link_view_test.js
@@ -116,38 +116,6 @@ describe('App.QuickViewLinks', function () {
host_components: [
{
HostRoles: {
- component_name: 'JOBTRACKER'
- }
- }
- ],
- Hosts: {
- public_host_name: 'host1'
- }
- },
- {
- host_components: [
- {
- HostRoles: {
- component_name: 'HISTORYSERVER'
- }
- }
- ],
- Hosts: {
- public_host_name: 'host2'
- }
- }
- ]
- },
- serviceName: 'MAPREDUCE',
- hosts: ['host1', 'host2']
- },
- {
- response: {
- items: [
- {
- host_components: [
- {
- HostRoles: {
component_name: 'STORM_UI_SERVER'
}
}
@@ -195,7 +163,7 @@ describe('App.QuickViewLinks', function () {
]
});
},
- title: 'service with master component, except HDFS, HBase, MapReduce, YARN and Storm'
+ title: 'service with master component, except HDFS, HBase, YARN and Storm'
},
{
response: {
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/test/views/main/dashboard/widgets/jobtracker_rpc_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/views/main/dashboard/widgets/jobtracker_rpc_test.js b/ambari-web/test/views/main/dashboard/widgets/jobtracker_rpc_test.js
deleted file mode 100644
index 3f85408..0000000
--- a/ambari-web/test/views/main/dashboard/widgets/jobtracker_rpc_test.js
+++ /dev/null
@@ -1,107 +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.
- */
-
-var App = require('app');
-
-require('messages');
-require('views/main/dashboard/widgets/jobtracker_rpc');
-require('views/main/dashboard/widgets/text_widget');
-require('views/main/dashboard/widget');
-
-describe('App.JobTrackerRpcView', function() {
-
- var tests = [
- {
- model: {
- jobTrackerRpc: 1
- },
- e: {
- isRed: false,
- isOrange: true,
- isGreen: false,
- isNA: false,
- content: '1.00 ms',
- data: '1.00'
- }
- },
- {
- model: {
- jobTrackerRpc: 10
- },
- e: {
- isRed: true,
- isOrange: false,
- isGreen: false,
- isNA: false,
- content: '10.00 ms',
- data: '10.00'
- }
- },
- {
- model: {
- jobTrackerRpc: 0
- },
- e: {
- isRed: false,
- isOrange: false,
- isGreen: true,
- isNA: false,
- content: '0 ms',
- data: 0
- }
- },
- {
- model: {
- jobTrackerRpc: null
- },
- e: {
- isRed: false,
- isOrange: false,
- isGreen: true,
- isNA: true,
- content: Em.I18n.t('services.service.summary.notAvailable'),
- data: null
- }
- }
- ];
-
- tests.forEach(function(test) {
- describe('jobTrackerRpc - ' + test.model.jobTrackerRpc, function() {
- var jobTrackerRpcView = App.JobTrackerRpcView.create({model_type:null, model: test.model});
- it('content', function() {
- expect(jobTrackerRpcView.get('content')).to.equal(test.e.content);
- });
- it('data', function() {
- expect(jobTrackerRpcView.get('data')).to.equal(test.e.data);
- });
- it('isRed', function() {
- expect(jobTrackerRpcView.get('isRed')).to.equal(test.e.isRed);
- });
- it('isOrange', function() {
- expect(jobTrackerRpcView.get('isOrange')).to.equal(test.e.isOrange);
- });
- it('isGreen', function() {
- expect(jobTrackerRpcView.get('isGreen')).to.equal(test.e.isGreen);
- });
- it('isNA', function() {
- expect(jobTrackerRpcView.get('isNA')).to.equal(test.e.isNA);
- });
- });
- });
-
-});
[4/7] ambari git commit: AMBARI-8921 Remove support for MapReduce as
part of 1.3 stack. (ababiichuk)
Posted by ab...@apache.org.
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/services/metrics/mapreduce/tasks_running_waiting.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/services/metrics/mapreduce/tasks_running_waiting.json b/ambari-web/app/assets/data/services/metrics/mapreduce/tasks_running_waiting.json
deleted file mode 100644
index f79810f..0000000
--- a/ambari-web/app/assets/data/services/metrics/mapreduce/tasks_running_waiting.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "href" : "http://ambari/clusters/SrimanthAmbari/services/MAPREDUCE/components/JOBTRACKER?fields=metrics/mapred/jobtracker/running_maps[1351213550,1351217148,60],metrics/mapred/jobtracker/running_reduces[1351213550,1351217148,60],metrics/mapred/jobtracker/waiting_maps[1351213550,1351217148,60],metrics/mapred/jobtracker/waiting_reduces[1351213550,1351217148,60]",
- "metrics" : {
- "mapred" : {
- "jobtracker" : {
- "running_maps" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.038888888889,1351217160]]",
- "running_reduces" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.038888888889,1351217160]]",
- "waiting_maps" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.0,1351217160]]",
- "waiting_reduces" : "[[0.0,1351213560],[0.0,1351213920],[0.0,1351214280],[0.0,1351214640],[0.0,1351215000],[0.0,1351215360],[0.0,1351215720],[0.0,1351216080],[0.0,1351216440],[0.0,1351216800],[0.0,1351217160]]"
- }
- }
- },
- "ServiceComponentInfo" : {
- "cluster_name" : "SrimanthAmbari",
- "component_name" : "JOBTRACKER",
- "service_name" : "MAPREDUCE"
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/services/summary/mapreduce.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/services/summary/mapreduce.json b/ambari-web/app/assets/data/services/summary/mapreduce.json
deleted file mode 100644
index 4e904a3..0000000
--- a/ambari-web/app/assets/data/services/summary/mapreduce.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "mapreduce": {
- "service_type": "MAPREDUCE",
- "installed": true,
- "jobtracker_addr": "jobtracker:50030",
- "trackers_total": "1",
- "jobhistory_addr": "jobtracker:51111",
- "memory_heap_used": 94499048,
- "memory_heap_max": 482344960,
- "trackers_live": 1,
- "trackers_graylisted": 0,
- "trackers_blacklisted": 0,
- "version": "1.0.3.15, r",
- "queue_info": {
- "type": ""
- },
- "waiting_jobs": 0,
- "trackers_excluded": 0,
- "map_task_capacity": 2,
- "reduce_task_capacity": 2,
- "job_total_submissions": 4,
- "job_total_completions": 4,
- "running_jobs": 0,
- "running_map_tasks": 0,
- "running_reduce_tasks": 0,
- "occupied_map_slots": 0,
- "occupied_reduce_slots": 0,
- "reserved_map_slots": 0,
- "reserved_reduce_slots": 0,
- "waiting_maps": 0,
- "waiting_reduces": 0,
- "start_time": 1348935243,
- "average_node_capacity": 4
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/wizard/stack/hdp/version0.1.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/wizard/stack/hdp/version0.1.json b/ambari-web/app/assets/data/wizard/stack/hdp/version0.1.json
deleted file mode 100644
index 4c5ba7f..0000000
--- a/ambari-web/app/assets/data/wizard/stack/hdp/version0.1.json
+++ /dev/null
@@ -1,289 +0,0 @@
-{
- "name" : "HDP",
- "version" : "0.1",
- "repositories" : [ {
- "baseUrl" : "http://public-repo-1.hortonworks.com/HDP-1.1.1.16/repos/centos6",
- "osType" : "centos6",
- "repoId" : "HDP-1.1.1.16",
- "repoName" : "HDP",
- "mirrorsList" : null
- }, {
- "baseUrl" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.15/repos/centos6",
- "osType" : "centos6",
- "repoId" : "HDP-UTILS-1.1.0.15",
- "repoName" : "HDP-UTILS",
- "mirrorsList" : null
- }, {
- "baseUrl" : null,
- "osType" : "centos6",
- "repoId" : "epel",
- "repoName" : "epel",
- "mirrorsList" : "https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch"
- }, {
- "baseUrl" : "http://public-repo-1.hortonworks.com/HDP-1.1.1.16/repos/centos5",
- "osType" : "centos5",
- "repoId" : "HDP-1.1.1.16",
- "repoName" : "HDP",
- "mirrorsList" : null
- }, {
- "baseUrl" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.15/repos/centos5",
- "osType" : "centos5",
- "repoId" : "HDP-UTILS-1.1.0.15",
- "repoName" : "HDP-UTILS",
- "mirrorsList" : null
- }, {
- "baseUrl" : null,
- "osType" : "centos5",
- "repoId" : "epel",
- "repoName" : "epel",
- "mirrorsList" : "https://mirrors.fedoraproject.org/metalink?repo=epel-5&arch=$basearch"
- } ],
- "services" : [ {
- "name" : "WEBHCAT",
- "version" : "1.0",
- "user" : "root",
- "comment" : "This is comment for WEBHCAT service",
- "components" : [ {
- "name" : "WEBHCAT_SERVER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- } ],
- "clientComponent" : {
- "name" : "WEBHCAT_SERVER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }
- }, {
- "name" : "SQOOP",
- "version" : "1.0",
- "user" : "root",
- "comment" : "This is comment for SQOOP service",
- "components" : [ {
- "name" : "SQOOP",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- } ],
- "clientComponent" : {
- "name" : "SQOOP",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- }
- }, {
- "name" : "NAGIOS",
- "version" : "1.0",
- "user" : "root",
- "comment" : "This is comment for NAGIOS service",
- "components" : [ {
- "name" : "NAGIOS_SERVER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- } ],
- "clientComponent" : {
- "name" : "NAGIOS_SERVER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }
- }, {
- "name" : "HDFS",
- "version" : "1.0",
- "user" : "root",
- "comment" : "This is comment for HDFS service",
- "components" : [ {
- "name" : "NAMENODE",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }, {
- "name" : "DATANODE",
- "category" : "SLAVE",
- "client" : false,
- "master" : false
- }, {
- "name" : "SECONDARY_NAMENODE",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }, {
- "name" : "HDFS_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- } ],
- "clientComponent" : {
- "name" : "HDFS_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- }
- }, {
- "name" : "PIG",
- "version" : "1.0",
- "user" : "root",
- "comment" : "This is comment for PIG service",
- "components" : [ {
- "name" : "PIG",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- } ],
- "clientComponent" : {
- "name" : "PIG",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- }
- }, {
- "name" : "HBASE",
- "version" : "1.0",
- "user" : "mapred",
- "comment" : "This is comment for HBASE service",
- "components" : [ {
- "name" : "HBASE_MASTER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }, {
- "name" : "HBASE_REGIONSERVER",
- "category" : "SLAVE",
- "client" : false,
- "master" : false
- }, {
- "name" : "HBASE_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- } ],
- "clientComponent" : {
- "name" : "HBASE_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- }
- }, {
- "name" : "ZOOKEEPER",
- "version" : "1.0",
- "user" : "root",
- "comment" : "This is comment for ZOOKEEPER service",
- "components" : [ {
- "name" : "ZOOKEEPER_SERVER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }, {
- "name" : "ZOOKEEPER_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- } ],
- "clientComponent" : {
- "name" : "ZOOKEEPER_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- }
- }, {
- "name" : "GANGLIA",
- "version" : "1.0",
- "user" : "root",
- "comment" : "This is comment for GANGLIA service",
- "components" : [ {
- "name" : "GANGLIA_SERVER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }, {
- "name" : "GANGLIA_MONITOR",
- "category" : "SLAVE",
- "client" : false,
- "master" : false
- }, {
- "name" : "MONITOR_WEBSERVER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- } ],
- "clientComponent" : {
- "name" : "GANGLIA_SERVER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }
- }, {
- "name" : "HIVE",
- "version" : "1.0",
- "user" : "root",
- "comment" : "This is comment for HIVE service",
- "components" : [ {
- "name" : "HIVE_SERVER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }, {
- "name" : "HIVE_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- } ],
- "clientComponent" : {
- "name" : "HIVE_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- }
- }, {
- "name" : "OOZIE",
- "version" : "1.0",
- "user" : "root",
- "comment" : "This is comment for OOZIE service",
- "components" : [ {
- "name" : "OOZIE_SERVER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }, {
- "name" : "OOZIE_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- } ],
- "clientComponent" : {
- "name" : "OOZIE_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- }
- }, {
- "name" : "MAPREDUCE",
- "version" : "1.0",
- "user" : "mapred",
- "comment" : "This is comment for MAPREDUCE service",
- "components" : [ {
- "name" : "JOBTRACKER",
- "category" : "MASTER",
- "client" : false,
- "master" : true
- }, {
- "name" : "TASKTRACKER",
- "category" : "SLAVE",
- "client" : false,
- "master" : false
- }, {
- "name" : "MAPREDUCE_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- } ],
- "clientComponent" : {
- "name" : "MAPREDUCE_CLIENT",
- "category" : "CLIENT",
- "client" : true,
- "master" : false
- }
- } ]
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/wizard/stack/stacks.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/wizard/stack/stacks.json b/ambari-web/app/assets/data/wizard/stack/stacks.json
index 36d6c39..7cb9d9e 100644
--- a/ambari-web/app/assets/data/wizard/stack/stacks.json
+++ b/ambari-web/app/assets/data/wizard/stack/stacks.json
@@ -2,1194 +2,6 @@
"href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions?fields=stackServices/StackServices,Versions",
"items" : [
{
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3",
- "Versions" : {
- "active" : true,
- "min_upgrade_version" : null,
- "parent_stack_version" : "1.3.3",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "config_types" : {
- "cluster-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- },
- "stackServices" : [
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3/stackServices/GANGLIA",
- "StackServices" : {
- "comments" : "Ganglia Metrics Collection system (<a href=\"http://oss.oetiker.ch/rrdtool/\" target=\"_blank\">RRDTool</a> will be installed too)",
- "custom_commands" : [ ],
- "display_name" : "Ganglia",
- "required_services" : [ ],
- "service_check_supported" : false,
- "service_name" : "GANGLIA",
- "service_version" : "3.5.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "user_name" : null,
- "config_types" : {
- "ganglia-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3/stackServices/HBASE",
- "StackServices" : {
- "comments" : "Non-relational distributed database and centralized service for configuration management &\n synchronization\n ",
- "custom_commands" : [ ],
- "display_name" : "HBase",
- "required_services" : [
- "HDFS",
- "ZOOKEEPER"
- ],
- "service_check_supported" : true,
- "service_name" : "HBASE",
- "service_version" : "0.94.6.1.3",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "user_name" : null,
- "config_types" : {
- "hbase-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hbase-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hbase-policy" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "hbase-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3/stackServices/HDFS",
- "StackServices" : {
- "comments" : "Apache Hadoop Distributed File System",
- "custom_commands" : [ ],
- "display_name" : "HDFS",
- "required_services" : [ ],
- "service_check_supported" : true,
- "service_name" : "HDFS",
- "service_version" : "1.2.0.1.3",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "user_name" : null,
- "config_types" : {
- "core-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "hadoop-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hadoop-policy" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "hdfs-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hdfs-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3/stackServices/HIVE",
- "StackServices" : {
- "comments" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
- "custom_commands" : [ ],
- "display_name" : "Hive",
- "required_services" : [
- "MAPREDUCE",
- "ZOOKEEPER"
- ],
- "service_check_supported" : true,
- "service_name" : "HIVE",
- "service_version" : "0.11.0.1.3",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "user_name" : null,
- "config_types" : {
- "hcat-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-exec-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "webhcat-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "webhcat-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3/stackServices/MAPREDUCE",
- "StackServices" : {
- "comments" : "Apache Hadoop Distributed Processing Framework",
- "custom_commands" : [ ],
- "display_name" : "MapReduce",
- "required_services" : [
- "HDFS"
- ],
- "service_check_supported" : true,
- "service_name" : "MAPREDUCE",
- "service_version" : "1.2.0.1.3",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "user_name" : null,
- "config_types" : {
- "capacity-scheduler" : {
- "supports" : {
- "adding_forbidden" : "true",
- "final" : "false"
- }
- },
- "mapred-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "mapred-queue-acls" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "mapred-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "mapreduce-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3/stackServices/NAGIOS",
- "StackServices" : {
- "comments" : "Nagios Monitoring and Alerting system",
- "custom_commands" : [ ],
- "display_name" : "Nagios",
- "required_services" : [ ],
- "service_check_supported" : false,
- "service_name" : "NAGIOS",
- "service_version" : "3.5.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "user_name" : null,
- "config_types" : {
- "nagios-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3/stackServices/OOZIE",
- "StackServices" : {
- "comments" : "System for workflow coordination and execution of Apache Hadoop jobs. This also includes the installation of the optional Oozie Web Console which relies on and will install the <a target=\"_blank\" href=\"http://www.sencha.com/legal/open-source-faq/\">ExtJS</a> Library.\n ",
- "custom_commands" : [ ],
- "display_name" : "Oozie",
- "required_services" : [
- "MAPREDUCE"
- ],
- "service_check_supported" : true,
- "service_name" : "OOZIE",
- "service_version" : "3.3.2.1.3",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "user_name" : null,
- "config_types" : {
- "oozie-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "oozie-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "oozie-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3/stackServices/PIG",
- "StackServices" : {
- "comments" : "Scripting platform for analyzing large datasets",
- "custom_commands" : [ ],
- "display_name" : "Pig",
- "required_services" : [
- "MAPREDUCE"
- ],
- "service_check_supported" : true,
- "service_name" : "PIG",
- "service_version" : "0.11.1.1.3",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "user_name" : null,
- "config_types" : {
- "pig-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "pig-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "pig-properties" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3/stackServices/SQOOP",
- "StackServices" : {
- "comments" : "Tool for transferring bulk data between Apache Hadoop and\n structured data stores such as relational databases\n ",
- "custom_commands" : [ ],
- "display_name" : "Sqoop",
- "required_services" : [
- "HDFS"
- ],
- "service_check_supported" : true,
- "service_name" : "SQOOP",
- "service_version" : "1.4.3.1.3",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "user_name" : null,
- "config_types" : {
- "sqoop-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3/stackServices/ZOOKEEPER",
- "StackServices" : {
- "comments" : "Centralized service which provides highly reliable distributed coordination.",
- "custom_commands" : [ ],
- "display_name" : "ZooKeeper",
- "required_services" : [ ],
- "service_check_supported" : true,
- "service_name" : "ZOOKEEPER",
- "service_version" : "3.4.5.1.3",
- "stack_name" : "HDP",
- "stack_version" : "1.3",
- "user_name" : null,
- "config_types" : {
- "zookeeper-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "zookeeper-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- }
- ]
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2",
- "Versions" : {
- "active" : false,
- "min_upgrade_version" : null,
- "parent_stack_version" : null,
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "config_types" : {
- "cluster-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- },
- "stackServices" : [
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2/stackServices/GANGLIA",
- "StackServices" : {
- "comments" : "Ganglia Metrics Collection system (<a href=\"http://oss.oetiker.ch/rrdtool/\" target=\"_blank\">RRDTool</a> will be installed too)",
- "custom_commands" : [ ],
- "display_name" : "Ganglia",
- "required_services" : null,
- "service_check_supported" : false,
- "service_name" : "GANGLIA",
- "service_version" : "3.5.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "user_name" : null,
- "config_types" : {
- "ganglia-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2/stackServices/HBASE",
- "StackServices" : {
- "comments" : "Non-relational distributed database and centralized service for configuration management &\n synchronization\n ",
- "custom_commands" : [ ],
- "display_name" : "HBase",
- "required_services" : [
- "HDFS",
- "ZOOKEEPER"
- ],
- "service_check_supported" : true,
- "service_name" : "HBASE",
- "service_version" : "0.94.6.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "user_name" : null,
- "config_types" : {
- "hbase-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hbase-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hbase-policy" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "hbase-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2/stackServices/HDFS",
- "StackServices" : {
- "comments" : "Apache Hadoop Distributed File System",
- "custom_commands" : [ ],
- "display_name" : "HDFS",
- "required_services" : null,
- "service_check_supported" : true,
- "service_name" : "HDFS",
- "service_version" : "1.2.0.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "user_name" : null,
- "config_types" : {
- "core-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "hadoop-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hadoop-policy" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "hdfs-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hdfs-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2/stackServices/HIVE",
- "StackServices" : {
- "comments" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
- "custom_commands" : [ ],
- "display_name" : "Hive",
- "required_services" : [
- "MAPREDUCE",
- "ZOOKEEPER"
- ],
- "service_check_supported" : true,
- "service_name" : "HIVE",
- "service_version" : "0.11.0.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "user_name" : null,
- "config_types" : {
- "hcat-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-exec-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "webhcat-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "webhcat-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2/stackServices/MAPREDUCE",
- "StackServices" : {
- "comments" : "Apache Hadoop Distributed Processing Framework",
- "custom_commands" : [ ],
- "display_name" : "MapReduce",
- "required_services" : [
- "HDFS"
- ],
- "service_check_supported" : true,
- "service_name" : "MAPREDUCE",
- "service_version" : "1.2.0.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "user_name" : null,
- "config_types" : {
- "capacity-scheduler" : {
- "supports" : {
- "adding_forbidden" : "true",
- "final" : "false"
- }
- },
- "mapred-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "mapred-queue-acls" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "mapred-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "mapreduce-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2/stackServices/NAGIOS",
- "StackServices" : {
- "comments" : "Nagios Monitoring and Alerting system",
- "custom_commands" : [ ],
- "display_name" : "Nagios",
- "required_services" : null,
- "service_check_supported" : false,
- "service_name" : "NAGIOS",
- "service_version" : "3.5.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "user_name" : null,
- "config_types" : {
- "nagios-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2/stackServices/OOZIE",
- "StackServices" : {
- "comments" : "System for workflow coordination and execution of Apache Hadoop jobs. This also includes the installation of the optional Oozie Web Console which relies on and will install the <a target=\"_blank\" href=\"http://www.sencha.com/legal/open-source-faq/\">ExtJS</a> Library.\n ",
- "custom_commands" : [ ],
- "display_name" : "Oozie",
- "required_services" : [
- "MAPREDUCE"
- ],
- "service_check_supported" : true,
- "service_name" : "OOZIE",
- "service_version" : "3.3.2.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "user_name" : null,
- "config_types" : {
- "oozie-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "oozie-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "oozie-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2/stackServices/PIG",
- "StackServices" : {
- "comments" : "Scripting platform for analyzing large datasets",
- "custom_commands" : [ ],
- "display_name" : "Pig",
- "required_services" : [
- "MAPREDUCE"
- ],
- "service_check_supported" : true,
- "service_name" : "PIG",
- "service_version" : "0.11.1.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "user_name" : null,
- "config_types" : {
- "pig-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "pig-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "pig-properties" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2/stackServices/SQOOP",
- "StackServices" : {
- "comments" : "Tool for transferring bulk data between Apache Hadoop and\n structured data stores such as relational databases\n ",
- "custom_commands" : [ ],
- "display_name" : "Sqoop",
- "required_services" : [
- "HDFS"
- ],
- "service_check_supported" : true,
- "service_name" : "SQOOP",
- "service_version" : "1.4.3.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "user_name" : null,
- "config_types" : {
- "sqoop-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.2/stackServices/ZOOKEEPER",
- "StackServices" : {
- "comments" : "Centralized service which provides highly reliable distributed coordination",
- "custom_commands" : [ ],
- "display_name" : "ZooKeeper",
- "required_services" : null,
- "service_check_supported" : true,
- "service_name" : "ZOOKEEPER",
- "service_version" : "3.4.5.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.2",
- "user_name" : null,
- "config_types" : {
- "zookeeper-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "zookeeper-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- }
- ]
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3",
- "Versions" : {
- "active" : false,
- "min_upgrade_version" : null,
- "parent_stack_version" : "1.3.2",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "config_types" : {
- "cluster-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- },
- "stackServices" : [
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3/stackServices/GANGLIA",
- "StackServices" : {
- "comments" : "Ganglia Metrics Collection system (<a href=\"http://oss.oetiker.ch/rrdtool/\" target=\"_blank\">RRDTool</a> will be installed too)",
- "custom_commands" : [ ],
- "display_name" : "Ganglia",
- "required_services" : null,
- "service_check_supported" : false,
- "service_name" : "GANGLIA",
- "service_version" : "3.5.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "user_name" : null,
- "config_types" : {
- "ganglia-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3/stackServices/HBASE",
- "StackServices" : {
- "comments" : "Non-relational distributed database and centralized service for configuration management &\n synchronization\n ",
- "custom_commands" : [ ],
- "display_name" : "HBase",
- "required_services" : [
- "HDFS",
- "ZOOKEEPER"
- ],
- "service_check_supported" : true,
- "service_name" : "HBASE",
- "service_version" : "0.94.6.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "user_name" : null,
- "config_types" : {
- "hbase-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hbase-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hbase-policy" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "hbase-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3/stackServices/HDFS",
- "StackServices" : {
- "comments" : "Apache Hadoop Distributed File System",
- "custom_commands" : [ ],
- "display_name" : "HDFS",
- "required_services" : null,
- "service_check_supported" : true,
- "service_name" : "HDFS",
- "service_version" : "1.2.0.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "user_name" : null,
- "config_types" : {
- "core-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "hadoop-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hadoop-policy" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "hdfs-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hdfs-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3/stackServices/HIVE",
- "StackServices" : {
- "comments" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
- "custom_commands" : [ ],
- "display_name" : "Hive",
- "required_services" : [
- "MAPREDUCE",
- "ZOOKEEPER"
- ],
- "service_check_supported" : true,
- "service_name" : "HIVE",
- "service_version" : "0.11.0.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "user_name" : null,
- "config_types" : {
- "hcat-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-exec-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "hive-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "webhcat-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "webhcat-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3/stackServices/MAPREDUCE",
- "StackServices" : {
- "comments" : "Apache Hadoop Distributed Processing Framework",
- "custom_commands" : [ ],
- "display_name" : "MapReduce",
- "required_services" : [
- "HDFS"
- ],
- "service_check_supported" : true,
- "service_name" : "MAPREDUCE",
- "service_version" : "1.2.0.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "user_name" : null,
- "config_types" : {
- "capacity-scheduler" : {
- "supports" : {
- "adding_forbidden" : "true",
- "final" : "false"
- }
- },
- "mapred-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "mapred-queue-acls" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "mapred-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- },
- "mapreduce-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3/stackServices/NAGIOS",
- "StackServices" : {
- "comments" : "Nagios Monitoring and Alerting system",
- "custom_commands" : [ ],
- "display_name" : "Nagios",
- "required_services" : null,
- "service_check_supported" : false,
- "service_name" : "NAGIOS",
- "service_version" : "3.5.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "user_name" : null,
- "config_types" : {
- "nagios-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3/stackServices/OOZIE",
- "StackServices" : {
- "comments" : "System for workflow coordination and execution of Apache Hadoop jobs. This also includes the installation of the optional Oozie Web Console which relies on and will install the <a target=\"_blank\" href=\"http://www.sencha.com/legal/open-source-faq/\">ExtJS</a> Library.\n ",
- "custom_commands" : [ ],
- "display_name" : "Oozie",
- "required_services" : [
- "MAPREDUCE"
- ],
- "service_check_supported" : true,
- "service_name" : "OOZIE",
- "service_version" : "3.3.2.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "user_name" : null,
- "config_types" : {
- "oozie-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "oozie-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "oozie-site" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "true"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3/stackServices/PIG",
- "StackServices" : {
- "comments" : "Scripting platform for analyzing large datasets",
- "custom_commands" : [ ],
- "display_name" : "Pig",
- "required_services" : [
- "MAPREDUCE"
- ],
- "service_check_supported" : true,
- "service_name" : "PIG",
- "service_version" : "0.11.1.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "user_name" : null,
- "config_types" : {
- "pig-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "pig-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "pig-properties" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3/stackServices/SQOOP",
- "StackServices" : {
- "comments" : "Tool for transferring bulk data between Apache Hadoop and\n structured data stores such as relational databases\n ",
- "custom_commands" : [ ],
- "display_name" : "Sqoop",
- "required_services" : [
- "HDFS"
- ],
- "service_check_supported" : true,
- "service_name" : "SQOOP",
- "service_version" : "1.4.3.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "user_name" : null,
- "config_types" : {
- "sqoop-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/1.3.3/stackServices/ZOOKEEPER",
- "StackServices" : {
- "comments" : "Centralized service which provides highly reliable distributed coordination",
- "custom_commands" : [ ],
- "display_name" : "ZooKeeper",
- "required_services" : null,
- "service_check_supported" : true,
- "service_name" : "ZOOKEEPER",
- "service_version" : "3.4.5.1.3.3.0",
- "stack_name" : "HDP",
- "stack_version" : "1.3.3",
- "user_name" : null,
- "config_types" : {
- "zookeeper-env" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- },
- "zookeeper-log4j" : {
- "supports" : {
- "adding_forbidden" : "false",
- "final" : "false"
- }
- }
- }
- }
- }
- ]
- },
- {
"href" : "http://192.168.56.101:8080/api/v1/stacks2/HDP/versions/2.0",
"Versions" : {
"active" : true,
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/wizard/stack/versions.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/wizard/stack/versions.json b/ambari-web/app/assets/data/wizard/stack/versions.json
deleted file mode 100644
index b54c84b..0000000
--- a/ambari-web/app/assets/data/wizard/stack/versions.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2?fields=versions",
- "items" : [
- {
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2/HDP",
- "Stacks" : {
- "stack_name" : "HDP"
- },
- "versions" : [
- {
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2/HDP/versions/0.1",
- "Versions" : {
- "stack_version" : "0.1",
- "stack_name" : "HDP",
- "active" : "false"
- }
- },
- {
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2/HDP/versions/2.0.1",
- "Versions" : {
- "stack_version" : "2.0.1",
- "stack_name" : "HDP",
- "active" : "false"
- }
- },
- {
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2/HDP/versions/1.3.0",
- "Versions" : {
- "stack_version" : "1.3.0",
- "stack_name" : "HDP",
- "active" : "true"
- }
- },
- {
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2/HDP/versions/1.2.1",
- "Versions" : {
- "stack_version" : "1.2.1",
- "stack_name" : "HDP",
- "active" : "true"
- }
- },
- {
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2/HDP/versions/1.2.0",
- "Versions" : {
- "stack_version" : "1.2.0",
- "stack_name" : "HDP",
- "active" : "false"
- }
- }
- ]
- },
- {
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2/HDPLocal",
- "Stacks" : {
- "stack_name" : "HDPLocal"
- },
- "versions" : [
- {
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2/HDPLocal/versions/1.2.1",
- "Versions" : {
- "stack_version" : "1.2.1",
- "stack_name" : "HDPLocal"
- }
- },
- {
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2/HDPLocal/versions/1.3.0",
- "Versions" : {
- "stack_version" : "1.3.0",
- "stack_name" : "HDPLocal"
- }
- },
- {
- "href" : "http://dev.hortonworks.com:8080/api/v1/stacks2/HDPLocal/versions/1.2.0",
- "Versions" : {
- "stack_version" : "1.2.0",
- "stack_name" : "HDPLocal"
- }
- }
- ]
- }
- ]
-}
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/test/tests.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/test/tests.js b/ambari-web/app/assets/test/tests.js
index 60a25cf..0ec35c5 100644
--- a/ambari-web/app/assets/test/tests.js
+++ b/ambari-web/app/assets/test/tests.js
@@ -79,7 +79,6 @@ var files = ['test/init_model_test',
'test/controllers/main/charts/heatmap_metrics/heatmap_metric_memoryused_test',
'test/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_ResourceUsed_test',
'test/controllers/main/charts/heatmap_metrics/heatmap_metric_processrun_test',
- 'test/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_test',
'test/controllers/main/alerts/manage_alert_groups_controller_test',
'test/controllers/main/host/add_controller_test',
'test/controllers/main/host/configs_service_test',
@@ -179,13 +178,10 @@ var files = ['test/init_model_test',
'test/views/main/dashboard/widgets/uptime_text_widget_test',
'test/views/main/dashboard/widgets/node_managers_live_test',
'test/views/main/dashboard/widgets/datanode_live_test',
- 'test/views/main/dashboard/widgets/tasktracker_live_test',
'test/views/main/dashboard/widgets/hbase_average_load_test',
'test/views/main/dashboard/widgets/hbase_regions_in_transition_test',
- 'test/views/main/dashboard/widgets/jobtracker_rpc_test',
'test/views/main/dashboard/widgets/namenode_rpc_test',
'test/views/main/dashboard/widgets/hbase_master_uptime_test',
- 'test/views/main/dashboard/widgets/jobtracker_uptime_test',
'test/views/main/dashboard/widgets/namenode_uptime_test',
'test/views/main/dashboard/widgets/resource_manager_uptime_test',
'test/views/main/dashboard/widgets/links_widget_test',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers.js b/ambari-web/app/controllers.js
index af61afd..9f4b409 100644
--- a/ambari-web/app/controllers.js
+++ b/ambari-web/app/controllers.js
@@ -120,11 +120,6 @@ require('controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_bytesread');
require('controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_byteswritten');
require('controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_gctime');
require('controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_memHeapUsed');
-require('controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce');
-require('controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_gctime');
-require('controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_mapsRunning');
-require('controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_reducesRunning');
-require('controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_memHeapUsed');
require('controllers/main/charts/heatmap_metrics/heatmap_metric_yarn');
require('controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_gctime');
require('controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_memHeapUsed');
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/global/cluster_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/cluster_controller.js b/ambari-web/app/controllers/global/cluster_controller.js
index 58ce41a..0227f39 100644
--- a/ambari-web/app/controllers/global/cluster_controller.js
+++ b/ambari-web/app/controllers/global/cluster_controller.js
@@ -194,47 +194,6 @@ App.ClusterController = Em.Controller.extend({
this.set('isGangliaUrlLoaded', true);
},
- setNagiosUrl: function () {
- if (App.get('testMode')) {
- this.set('nagiosUrl', 'http://nagiosserver/nagios');
- this.set('isNagiosUrlLoaded', true);
- } else {
- // We want live data here
- var nagiosServer = App.HostComponent.find().findProperty('componentName', 'NAGIOS_SERVER');
- if (this.get('isLoaded') && nagiosServer) {
- this.set('isNagiosUrlLoaded', false);
- App.ajax.send({
- name: 'hosts.for_quick_links',
- sender: this,
- data: {
- clusterName: App.get('clusterName'),
- masterHosts: nagiosServer.get('hostName'),
- urlParams: ''
- },
- success: 'setNagiosUrlSuccessCallback'
- });
- }
- }
- }.observes('App.router.updateController.isUpdated', 'dataLoadList.serviceMetrics', 'dataLoadList.hosts', 'nagiosWebProtocol', 'isLoaded'),
-
- setNagiosUrlSuccessCallback: function (response) {
- var url = null;
- if (response.items.length > 0) {
- url = this.get('nagiosWebProtocol') + "://" + (App.singleNodeInstall ? App.singleNodeAlias + ":42080" : response.items[0].Hosts.public_host_name) + "/nagios";
- }
- this.set('nagiosUrl', url);
- this.set('isNagiosUrlLoaded', true);
- },
-
- nagiosWebProtocol: function () {
- var properties = this.get('ambariProperties');
- if (properties && properties.hasOwnProperty('nagios.https') && properties['nagios.https']) {
- return "https";
- } else {
- return "http";
- }
- }.property('ambariProperties'),
-
gangliaWebProtocol: function () {
var properties = this.get('ambariProperties');
if (properties && properties.hasOwnProperty('ganglia.https') && properties['ganglia.https']) {
@@ -244,10 +203,6 @@ App.ClusterController = Em.Controller.extend({
}
}.property('ambariProperties'),
- isNagiosInstalled: function () {
- return !!App.Service.find().findProperty('serviceName', 'NAGIOS');
- }.property('App.router.updateController.isUpdated', 'dataLoadList.serviceMetrics'),
-
isGangliaInstalled: function () {
return !!App.Service.find().findProperty('serviceName', 'GANGLIA');
}.property('App.router.updateController.isUpdated', 'dataLoadList.serviceMetrics'),
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/global/update_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/update_controller.js b/ambari-web/app/controllers/global/update_controller.js
index f1ef341..b8db91e 100644
--- a/ambari-web/app/controllers/global/update_controller.js
+++ b/ambari-web/app/controllers/global/update_controller.js
@@ -413,10 +413,6 @@ App.UpdateController = Em.Controller.extend({
"ServiceComponentInfo/AverageLoad," +
"ServiceComponentInfo/Revision," +
"ServiceComponentInfo/RegionsInTransition",
- 'MAPREDUCE': "ServiceComponentInfo/AliveNodes," +
- "ServiceComponentInfo/GrayListedNodes," +
- "ServiceComponentInfo/BlackListedNodes," +
- "ServiceComponentInfo/jobtracker/*,",
'STORM': /^2.1/.test(App.get('currentStackVersionNumber')) ? 'metrics/api/cluster/summary' : 'metrics/api/v1/cluster/summary,metrics/api/v1/topology/summary'
};
var services = App.cache['services'];
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/admin/kerberos.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/kerberos.js b/ambari-web/app/controllers/main/admin/kerberos.js
index 701e6db..69a28ab 100644
--- a/ambari-web/app/controllers/main/admin/kerberos.js
+++ b/ambari-web/app/controllers/main/admin/kerberos.js
@@ -52,7 +52,6 @@ App.MainAdminKerberosController = Em.Controller.extend({
this.hide();
},
bodyClass: Ember.View.extend({
- isMapReduceInstalled: App.Service.find().mapProperty('serviceName').contains('MAPREDUCE'),
templateName: require('templates/main/admin/security/notify_security_off_popup')
})
})
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/admin/security.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/security.js b/ambari-web/app/controllers/main/admin/security.js
index 98db521..968469e 100644
--- a/ambari-web/app/controllers/main/admin/security.js
+++ b/ambari-web/app/controllers/main/admin/security.js
@@ -89,7 +89,6 @@ App.MainAdminSecurityController = Em.Controller.extend({
userNameMap: {
'hdfs_user': {defaultValue: 'hdfs', siteName: 'hadoop-env', serviceName: 'HDFS'},
'yarn_user': {defaultValue: 'yarn', siteName: 'yarn-env', serviceName: 'YARN'},
- 'mapred_user': {defaultValue: 'mapred', siteName: 'mapred-env', serviceName: 'MAPREDUCE'},
'mapred_user': {defaultValue: 'mapred', siteName: 'mapred-env', serviceName: 'MAPREDUCE2'},
'hbase_user': {defaultValue: 'hbase', siteName: 'hbase-env', serviceName: 'HBASE'},
'hive_user': {defaultValue: 'hive', siteName: 'hive-env', serviceName: 'HIVE'},
@@ -244,7 +243,6 @@ App.MainAdminSecurityController = Em.Controller.extend({
this.hide();
},
bodyClass: Ember.View.extend({
- isMapReduceInstalled: App.Service.find().mapProperty('serviceName').contains('MAPREDUCE'),
templateName: require('templates/main/admin/security/notify_security_off_popup')
})
})
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/admin/security/add/step2.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/security/add/step2.js b/ambari-web/app/controllers/main/admin/security/add/step2.js
index 42598b3..95a422d 100644
--- a/ambari-web/app/controllers/main/admin/security/add/step2.js
+++ b/ambari-web/app/controllers/main/admin/security/add/step2.js
@@ -41,11 +41,6 @@ App.MainAdminSecurityAddStep2Controller = Em.Controller.extend({
component: 'DATANODE'
},
{
- serviceName: 'MAPREDUCE',
- configName: 'tasktracker_hosts',
- component: 'TASKTRACKER'
- },
- {
serviceName: 'YARN',
configName: 'nodemanager_host',
component: 'NODEMANAGER'
@@ -102,16 +97,6 @@ App.MainAdminSecurityAddStep2Controller = Em.Controller.extend({
components: ['JOURNALNODE']
},
{
- serviceName: 'MAPREDUCE',
- configName: 'jobtracker_host',
- components: ['JOBTRACKER']
- },
- {
- serviceName: 'MAPREDUCE',
- configName: 'jobhistoryserver_host',
- components: ['HISTORYSERVER']
- },
- {
serviceName: 'MAPREDUCE2',
configName: 'jobhistoryserver_host',
components: ['HISTORYSERVER']
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/charts/heatmap.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/charts/heatmap.js b/ambari-web/app/controllers/main/charts/heatmap.js
index 324be13..cf5319e 100644
--- a/ambari-web/app/controllers/main/charts/heatmap.js
+++ b/ambari-web/app/controllers/main/charts/heatmap.js
@@ -66,21 +66,6 @@ App.MainChartsHeatmapController = Em.Controller.extend({
);
}
- if (App.MapReduceService.find().get('length')) {
- metrics.push(
- Em.Object.create({
- label: Em.I18n.t('charts.heatmap.category.mapreduce'),
- category: 'mapreduce',
- items: [
- App.MainChartHeatmapMapreduceMapsRunningMetric.create(),
- App.MainChartHeatmapMapreduceReducesRunningMetric.create(),
- App.MainChartHeatmapMapreduceGCTimeMillisMetric.create(),
- App.MainChartHeatmapMapreduceMemHeapUsedMetric.create()
- ]
- })
- );
- }
-
if (App.YARNService.find().get('length')) {
metrics.push(
Em.Object.create({
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce.js b/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce.js
deleted file mode 100644
index 1f45b8a..0000000
--- a/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce.js
+++ /dev/null
@@ -1,46 +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.
- */
-
-var App = require('app');
-
-/**
- * Base class for any MapReduce metric.
- */
-App.MainChartHeatmapMapreduceMetrics = App.MainChartHeatmapMetric.extend({
-
- ajaxIndex: 'hosts.metrics.host_component',
-
- ajaxData: {
- serviceName: 'MAPREDUCE',
- componentName: 'TASKTRACKER'
- },
-
- /**
- * Custom mapper for MapReduce metrics
- */
- metricMapper: function(json) {
- return this.metricMapperWithTransform(json, this.get('defaultMetric'), this.get('transformValue'));
- },
-
- /**
- * Utility function which allows extending classes to transform the value
- * assigned to a host.
- *
- * @Function
- */
- transformValue: null
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_gctime.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_gctime.js b/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_gctime.js
deleted file mode 100644
index 04fa2bd..0000000
--- a/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_gctime.js
+++ /dev/null
@@ -1,29 +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.
- */
-
-var App = require('app');
-
-/**
- *
- */
-App.MainChartHeatmapMapreduceGCTimeMillisMetric = App.MainChartHeatmapMapreduceMetrics.extend({
- name: Em.I18n.t('charts.heatmap.metrics.MapReduceGCTime'),
- maximumValue: 10000,
- defaultMetric: 'metrics.jvm.gcTimeMillis',
- units: ' ms',
- slotDefinitionLabelSuffix: ' ms'
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_mapsRunning.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_mapsRunning.js b/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_mapsRunning.js
deleted file mode 100644
index 6ae50f3..0000000
--- a/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_mapsRunning.js
+++ /dev/null
@@ -1,29 +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.
- */
-
-var App = require('app');
-
-/**
- *
- */
-App.MainChartHeatmapMapreduceMapsRunningMetric = App.MainChartHeatmapMapreduceMetrics.extend({
- name: Em.I18n.t('charts.heatmap.metrics.mapsRunning'),
- maximumValue: 100,
- defaultMetric: 'metrics.mapred.tasktracker.maps_running',
- units: ' maps',
- slotDefinitionLabelSuffix: ' Maps'
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_memHeapUsed.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_memHeapUsed.js b/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_memHeapUsed.js
deleted file mode 100644
index 2829c86..0000000
--- a/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_memHeapUsed.js
+++ /dev/null
@@ -1,29 +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.
- */
-
-var App = require('app');
-
-/**
- *
- */
-App.MainChartHeatmapMapreduceMemHeapUsedMetric = App.MainChartHeatmapMapreduceMetrics.extend({
- name: Em.I18n.t('charts.heatmap.metrics.MRMemHeapUsed'),
- maximumValue: 512,
- defaultMetric: 'metrics.jvm.memHeapUsedM',
- units: 'MB',
- slotDefinitionLabelSuffix: 'MB'
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_reducesRunning.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_reducesRunning.js b/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_reducesRunning.js
deleted file mode 100644
index f7f4a8b..0000000
--- a/ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_mapreduce_reducesRunning.js
+++ /dev/null
@@ -1,29 +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.
- */
-
-var App = require('app');
-
-/**
- *
- */
-App.MainChartHeatmapMapreduceReducesRunningMetric = App.MainChartHeatmapMapreduceMetrics.extend({
- name: Em.I18n.t('charts.heatmap.metrics.reducesRunning'),
- maximumValue: 100,
- defaultMetric: 'metrics.mapred.tasktracker.reduces_running',
- units: ' reduces',
- slotDefinitionLabelSuffix: ' Reduces'
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/host.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host.js b/ambari-web/app/controllers/main/host.js
index 019ef65..de9bf61 100644
--- a/ambari-web/app/controllers/main/host.js
+++ b/ambari-web/app/controllers/main/host.js
@@ -785,9 +785,6 @@ App.MainHostController = Em.ArrayController.extend(App.TableServerMixin, {
if (svcName === "YARN" || svcName === "HBASE" || svcName === "HDFS") {
App.router.get('mainHostDetailsController').doRecommissionAndStart(hostNames, svcName, masterName, slaveName);
}
- else if (svcName === "MAPREDUCE") {
- App.router.get('mainHostDetailsController').doRecommissionAndRestart(hostNames, svcName, masterName, slaveName);
- }
} else {
hostsWithComponentInProperState = components.filterProperty('workStatus', 'STARTED').mapProperty('hostName');
//For decommession
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/host/details.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host/details.js b/ambari-web/app/controllers/main/host/details.js
index 0a099ed..2abd50b 100644
--- a/ambari-web/app/controllers/main/host/details.js
+++ b/ambari-web/app/controllers/main/host/details.js
@@ -950,9 +950,6 @@ App.MainHostDetailsController = Em.Controller.extend({
case 'YARN':
this.doDecommission(hostName, svcName, "RESOURCEMANAGER", "NODEMANAGER");
break;
- case 'MAPREDUCE':
- this.doDecommission(hostName, svcName, "JOBTRACKER", "TASKTRACKER");
- break;
case 'HBASE':
this.warnBeforeDecommission(hostName);
}
@@ -983,9 +980,6 @@ App.MainHostDetailsController = Em.Controller.extend({
case 'YARN':
this.doRecommissionAndStart(hostName, svcName, "RESOURCEMANAGER", "NODEMANAGER");
break;
- case 'MAPREDUCE':
- this.doRecommissionAndRestart(hostName, svcName, "JOBTRACKER", "TASKTRACKER");
- break;
case 'HBASE':
this.doRecommissionAndStart(hostName, svcName, "HBASE_MASTER", "HBASE_REGIONSERVER");
}
@@ -1314,73 +1308,6 @@ App.MainHostDetailsController = Em.Controller.extend({
},
/**
- * Performs Recommission and Restart
- * @param {string} hostNames
- * @param {string} serviceName
- * @param {string} componentName
- * @param {string} slaveType
- * @method doRecommissionAndStart
- */
- doRecommissionAndRestart: function (hostNames, serviceName, componentName, slaveType) {
- var contextNameString_1 = 'hosts.host.' + slaveType.toLowerCase() + '.recommission';
- var context_1 = Em.I18n.t(contextNameString_1);
- var contextNameString_2 = 'hosts.host.' + slaveType.toLowerCase() + '.restart';
- var context_2 = Em.I18n.t(contextNameString_2);
- App.ajax.send({
- name: 'host.host_component.recommission_and_restart',
- sender: this,
- data: {
- intervalTimeSeconds: 1,
- tolerateSize: 1,
- batches: [
- {
- "order_id": 1,
- "type": "POST",
- "uri": App.apiPrefix + "/clusters/" + App.get('clusterName') + "/requests",
- "RequestBodyInfo": {
- "RequestInfo": {
- "context": context_1,
- "command": "DECOMMISSION",
- "exclusive":"true",
- "parameters": {
- "slave_type": slaveType,
- "included_hosts": hostNames
- },
- 'operation_level': {
- level: "HOST_COMPONENT",
- cluster_name: App.get('clusterName'),
- host_name: hostNames,
- service_name: serviceName
- }
- },
- "Requests/resource_filters": [
- {"service_name": serviceName, "component_name": componentName}
- ]
- }
- },
- {
- "order_id": 2,
- "type": "POST",
- "uri": App.apiPrefix + "/clusters/" + App.get('clusterName') + "/requests",
- "RequestBodyInfo": {
- "RequestInfo": {
- "context": context_2,
- "command": "RESTART",
- "service_name": serviceName,
- "component_name": slaveType,
- "exclusive":"true",
- "hosts": hostNames
- }
- }
- }
- ]
- },
- success: 'decommissionSuccessCallback',
- error: 'decommissionErrorCallback'
- });
- },
-
- /**
* Handler for host-menu items actions
* @param {object} option
* @method doAction
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/service/add_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/add_controller.js b/ambari-web/app/controllers/main/service/add_controller.js
index dc7bbdd..e97ab09 100644
--- a/ambari-web/app/controllers/main/service/add_controller.js
+++ b/ambari-web/app/controllers/main/service/add_controller.js
@@ -402,7 +402,7 @@ App.AddServiceController = App.WizardController.extend({
*/
generateDataForInstallServices: function(selectedServices) {
if (selectedServices.contains('OOZIE')) {
- selectedServices = selectedServices.concat(['HDFS', 'YARN', 'MAPREDUCE', 'MAPREDUCE2']);
+ selectedServices = selectedServices.concat(['HDFS', 'YARN', 'MAPREDUCE2']);
}
return {
"context": Em.I18n.t('requestInfo.installServices'),
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/service/info/configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/info/configs.js b/ambari-web/app/controllers/main/service/info/configs.js
index dcbce69..f3026fa 100644
--- a/ambari-web/app/controllers/main/service/info/configs.js
+++ b/ambari-web/app/controllers/main/service/info/configs.js
@@ -1200,12 +1200,6 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM
(hdfsConfigs.findProperty('name', 'dfs.datanode.data.dir') && hdfsConfigs.findProperty('name', 'dfs.datanode.data.dir').get('isNotDefaultValue'))) {
dirChanged = true;
}
- } else if (serviceName === 'MAPREDUCE') {
- var mapredConfigs = this.get('stepConfigs').findProperty('serviceName', 'MAPREDUCE').get('configs');
- if ((mapredConfigs.findProperty('name', 'mapred.local.dir') && mapredConfigs.findProperty('name', 'mapred.local.dir').get('isNotDefaultValue')) ||
- (mapredConfigs.findProperty('name', 'mapred.system.dir') && mapredConfigs.findProperty('name', 'mapred.system.dir').get('isNotDefaultValue'))) {
- dirChanged = true;
- }
}
return dirChanged;
},
@@ -1300,8 +1294,8 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM
messageClass = 'alert alert-success';
// warn the user if any of the components are in UNKNOWN state
urlParams += ',ServiceComponentInfo/installed_count,ServiceComponentInfo/total_count';
- if (this.get('content.serviceName') === 'HDFS' || App.Service.find().someProperty('id', 'MAPREDUCE')) {
- urlParams += '&ServiceComponentInfo/service_name.in(HDFS,MAPREDUCE)'
+ if (this.get('content.serviceName') === 'HDFS') {
+ urlParams += '&ServiceComponentInfo/service_name.in(HDFS)'
}
} else {
header = Em.I18n.t('common.failure');
@@ -2264,12 +2258,6 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM
{
hostProperty: 'jobtracker_host',
componentName: 'JOBTRACKER',
- serviceName: 'MAPREDUCE',
- serviceUseThis: []
- },
- {
- hostProperty: 'jobtracker_host',
- componentName: 'JOBTRACKER',
serviceName: 'MAPREDUCE2',
serviceUseThis: []
},
@@ -2280,12 +2268,6 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM
serviceUseThis: ['YARN']
},
{
- hostProperty: 'hs_host',
- componentName: 'HISTORYSERVER',
- serviceName: 'MAPREDUCE',
- serviceUseThis: []
- },
- {
hostProperty: 'ats_host',
componentName: 'APP_TIMELINE_SERVER',
serviceName: 'YARN',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/service/info/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/info/summary.js b/ambari-web/app/controllers/main/service/info/summary.js
index 8800e62..d3c68f5 100644
--- a/ambari-web/app/controllers/main/service/info/summary.js
+++ b/ambari-web/app/controllers/main/service/info/summary.js
@@ -98,10 +98,6 @@ App.MainServiceInfoSummaryController = Em.Controller.extend({
return App.router.get('clusterController.nagiosUrl');
}.property('App.router.clusterController.nagiosUrl'),
- isNagiosInstalled: function () {
- return App.router.get('clusterController.isNagiosInstalled');
- }.property('App.router.clusterController.isNagiosInstalled'),
-
showServiceAlertsPopup: function (event) {
var service = event.context;
return App.ModalPopup.show({
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/main/service/reassign/step4_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/reassign/step4_controller.js b/ambari-web/app/controllers/main/service/reassign/step4_controller.js
index 90389d3..dc11af6 100644
--- a/ambari-web/app/controllers/main/service/reassign/step4_controller.js
+++ b/ambari-web/app/controllers/main/service/reassign/step4_controller.js
@@ -188,16 +188,6 @@ App.ReassignMasterWizardStep4Controller = App.HighAvailabilityProgressPageContro
principal: 'yarn.resourcemanager.webapp.spnego-principal'
}
]
- },
- {
- componentName: 'JOBTRACKER',
- configs: [
- {
- site: 'mapred-site',
- keytab: 'mapreduce.jobtracker.keytab.file',
- principal: 'mapreduce.jobtracker.kerberos.principal'
- }
- ]
}
],
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/controllers/wizard/slave_component_groups_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/slave_component_groups_controller.js b/ambari-web/app/controllers/wizard/slave_component_groups_controller.js
index c821f08..d113eb9 100644
--- a/ambari-web/app/controllers/wizard/slave_component_groups_controller.js
+++ b/ambari-web/app/controllers/wizard/slave_component_groups_controller.js
@@ -92,9 +92,6 @@ App.SlaveComponentGroupsController = Em.ArrayController.extend({
case 'HDFS':
componentName = 'DataNode';
break;
- case 'MAPREDUCE':
- componentName = 'TaskTracker';
- break;
case 'HBASE':
componentName = 'RegionServer';
}
@@ -121,10 +118,6 @@ App.SlaveComponentGroupsController = Em.ArrayController.extend({
case 'HDFS':
return { name: 'DATANODE',
displayName: 'DataNode'};
- case 'MAPREDUCE':
- return { name: 'TASKTRACKER',
- displayName: 'TaskTracker'};
-
case 'HBASE':
return { name: 'HBASE_REGIONSERVER',
displayName: 'RegionServer'};
[7/7] ambari git commit: AMBARI-8921 Remove support for MapReduce as
part of 1.3 stack. (ababiichuk)
Posted by ab...@apache.org.
AMBARI-8921 Remove support for MapReduce as part of 1.3 stack. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bd3a0bb7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bd3a0bb7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bd3a0bb7
Branch: refs/heads/trunk
Commit: bd3a0bb72c17dec825cbb71324836d381ceafb6b
Parents: 942ad74
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Fri Dec 26 15:05:29 2014 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Fri Dec 26 15:05:29 2014 +0200
----------------------------------------------------------------------
.../dashboard/mapreduce/mapreduce_start.json | 370 ------
.../dashboard/mapreduce/mapreduce_stop.json | 370 ------
.../data/dashboard/serviceComponents.json | 46 -
.../data/dashboard/services_multi_hosts.json | 477 -------
.../app/assets/data/jobs/hive-queries.json | 232 ----
.../app/assets/data/jobs/hive-query-2.json | 8 -
.../app/assets/data/jobs/tezDag-name-to-id.json | 552 --------
ambari-web/app/assets/data/jobs/tezDag.json | 21 -
.../app/assets/data/jobs/tezDagVertex.json | 221 ----
.../services/host_component_actual_configs.json | 234 ----
.../data/services/metrics/mapreduce/gc.json | 16 -
.../services/metrics/mapreduce/jobs_status.json | 19 -
.../services/metrics/mapreduce/jvm_heap.json | 19 -
.../services/metrics/mapreduce/jvm_threads.json | 19 -
.../services/metrics/mapreduce/map_slots.json | 16 -
.../metrics/mapreduce/reduce_slots.json | 16 -
.../data/services/metrics/mapreduce/rpc.json | 16 -
.../mapreduce/tasks_running_waiting.json | 18 -
.../assets/data/services/summary/mapreduce.json | 35 -
.../data/wizard/stack/hdp/version0.1.json | 289 -----
.../app/assets/data/wizard/stack/stacks.json | 1188 ------------------
.../app/assets/data/wizard/stack/versions.json | 82 --
ambari-web/app/assets/test/tests.js | 4 -
ambari-web/app/controllers.js | 5 -
.../controllers/global/cluster_controller.js | 45 -
.../app/controllers/global/update_controller.js | 4 -
.../app/controllers/main/admin/kerberos.js | 1 -
.../app/controllers/main/admin/security.js | 2 -
.../main/admin/security/add/step2.js | 15 -
.../app/controllers/main/charts/heatmap.js | 15 -
.../heatmap_metrics/heatmap_metric_mapreduce.js | 46 -
.../heatmap_metric_mapreduce_gctime.js | 29 -
.../heatmap_metric_mapreduce_mapsRunning.js | 29 -
.../heatmap_metric_mapreduce_memHeapUsed.js | 29 -
.../heatmap_metric_mapreduce_reducesRunning.js | 29 -
ambari-web/app/controllers/main/host.js | 3 -
ambari-web/app/controllers/main/host/details.js | 73 --
.../controllers/main/service/add_controller.js | 2 +-
.../controllers/main/service/info/configs.js | 22 +-
.../controllers/main/service/info/summary.js | 4 -
.../main/service/reassign/step4_controller.js | 10 -
.../wizard/slave_component_groups_controller.js | 7 -
.../app/controllers/wizard/step8_controller.js | 4 +-
.../app/controllers/wizard/step9_controller.js | 2 +-
ambari-web/app/data/service_graph_config.js | 11 -
.../app/mappers/components_state_mapper.js | 5 -
.../app/mappers/service_metrics_mapper.js | 84 --
ambari-web/app/messages.js | 112 +-
ambari-web/app/models.js | 1 -
ambari-web/app/models/alert.js | 4 -
ambari-web/app/models/quick_links.js | 103 --
ambari-web/app/models/service.js | 1 -
ambari-web/app/models/service/mapreduce.js | 55 -
ambari-web/app/models/stack_service.js | 9 -
.../security/notify_security_off_popup.hbs | 4 -
.../main/dashboard/widgets/mapreduce_links.hbs | 67 -
.../main/dashboard/widgets/mapreduce_slots.hbs | 56 -
.../main/service/services/mapreduce.hbs | 81 --
ambari-web/app/utils/ajax/ajax.js | 40 -
.../app/utils/batch_scheduled_requests.js | 1 -
ambari-web/app/utils/helper.js | 1 -
ambari-web/app/views.js | 16 -
.../app/views/common/chart/linear_time.js | 3 -
.../configs/service_configs_by_category_view.js | 29 +-
.../app/views/common/quick_view_link_view.js | 23 +-
ambari-web/app/views/main/dashboard/widgets.js | 108 +-
.../dashboard/widgets/hbase_average_load.js | 2 +-
.../views/main/dashboard/widgets/hbase_links.js | 2 +-
.../main/dashboard/widgets/hbase_master_heap.js | 2 +-
.../dashboard/widgets/hbase_master_uptime.js | 2 +-
.../widgets/hbase_regions_in_transition.js | 2 +-
.../views/main/dashboard/widgets/hdfs_links.js | 2 +-
.../main/dashboard/widgets/jobtracker_cpu.js | 65 -
.../main/dashboard/widgets/jobtracker_heap.js | 45 -
.../main/dashboard/widgets/jobtracker_rpc.js | 163 ---
.../main/dashboard/widgets/jobtracker_uptime.js | 36 -
.../main/dashboard/widgets/mapreduce_links.js | 40 -
.../main/dashboard/widgets/mapreduce_slots.js | 87 --
.../views/main/dashboard/widgets/metrics_cpu.js | 2 +-
.../main/dashboard/widgets/metrics_load.js | 2 +-
.../main/dashboard/widgets/metrics_memory.js | 2 +-
.../main/dashboard/widgets/metrics_network.js | 2 +-
.../main/dashboard/widgets/namenode_uptime.js | 2 +-
.../dashboard/widgets/node_managers_live.js | 2 +-
.../dashboard/widgets/resource_manager_heap.js | 2 +-
.../widgets/resource_manager_uptime.js | 2 +-
.../main/dashboard/widgets/supervisor_live.js | 2 +-
.../main/dashboard/widgets/tasktracker_live.js | 166 ---
.../views/main/dashboard/widgets/yarn_links.js | 2 +-
.../views/main/dashboard/widgets/yarn_memory.js | 2 +-
.../views/main/host/hosts_table_menu_view.js | 6 -
.../main/service/info/metrics/mapreduce/gc.js | 56 -
.../info/metrics/mapreduce/jobs_status.js | 68 -
.../service/info/metrics/mapreduce/jvm_heap.js | 71 --
.../info/metrics/mapreduce/jvm_threads.js | 66 -
.../service/info/metrics/mapreduce/map_slots.js | 59 -
.../info/metrics/mapreduce/reduce_slots.js | 59 -
.../main/service/info/metrics/mapreduce/rpc.js | 56 -
.../metrics/mapreduce/tasks_running_waiting.js | 65 -
.../main/service/info/metrics/yarn/jvm_heap.js | 10 +-
.../service/info/metrics/yarn/jvm_threads.js | 10 +-
.../views/main/service/info/metrics/yarn/rpc.js | 4 +-
.../app/views/main/service/info/summary.js | 7 -
ambari-web/app/views/main/service/item.js | 3 -
.../views/main/service/services/mapreduce.js | 134 --
.../global/cluster_controller_test.js | 114 --
.../global/update_controller_test.js | 14 -
.../heatmap_metric_mapreduce_test.js | 37 -
.../test/controllers/main/host/details_test.js | 18 -
.../main/service/add_controller_test.js | 2 +-
.../main/service/info/config_test.js | 52 -
.../test/controllers/wizard/step4_test.js | 7 +-
.../test/controllers/wizard/step6_test.js | 4 -
ambari-web/test/models/alert_test.js | 5 -
ambari-web/test/models/service_test.js | 4 -
ambari-web/test/service_components.js | 67 -
.../test/utils/batch_scheduled_requests_test.js | 1 -
ambari-web/test/utils/helper_test.js | 2 -
.../test/views/common/chart/linear_time_test.js | 26 +-
.../test/views/common/quick_link_view_test.js | 34 +-
.../dashboard/widgets/jobtracker_rpc_test.js | 107 --
.../dashboard/widgets/jobtracker_uptime_test.js | 95 --
.../dashboard/widgets/tasktracker_live_test.js | 69 -
.../test/views/main/dashboard/widgets_test.js | 20 +-
124 files changed, 100 insertions(+), 7346 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/dashboard/mapreduce/mapreduce_start.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/dashboard/mapreduce/mapreduce_start.json b/ambari-web/app/assets/data/dashboard/mapreduce/mapreduce_start.json
deleted file mode 100644
index ac9fd19..0000000
--- a/ambari-web/app/assets/data/dashboard/mapreduce/mapreduce_start.json
+++ /dev/null
@@ -1,370 +0,0 @@
-{
- "href" : "http://localhost:8080/api/clusters/mycluster/services?ServiceInfo/service_name=MAPREDUCE&fields=components/host_components/*",
- "items" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE",
- "ServiceInfo" : {
- "cluster_name" : "mycluster",
- "service_name" : "MAPREDUCE"
- },
- "components" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "MAPREDUCE_CLIENT",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
- "HostRoles" : {
- "configs" : "{}",
- "cluster_name" : "mycluster",
- "desired_configs" : "{}",
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "MAPREDUCE_CLIENT",
- "host_name" : "dev.hortonworks.com"
- },
- "component" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "MAPREDUCE_CLIENT",
- "service_name" : "MAPREDUCE"
- }
- }
- ]
- }
- ]
- },
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/JOBTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "JOBTRACKER",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
- "HostRoles" : {
- "configs" : "{\"mapred-site\":\"version1\",\"global\":\"version1\",\"core-site\":\"version1\"}",
- "cluster_name" : "mycluster",
- "desired_configs" : "{}",
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "JOBTRACKER",
- "host_name" : "dev.hortonworks.com"
- },
- "metrics" : {
- "boottime" : 1.353113263E9,
- "process" : {
- "proc_total" : 542.4,
- "proc_run" : 1.04722222222
- },
- "rpc" : {
- "rpcAuthorizationSuccesses" : 0.0,
- "SentBytes" : 355.647619048,
- "rpcAuthorizationFailures" : 0.0,
- "ReceivedBytes" : 1040.35238095,
- "NumOpenConnections" : 0.0,
- "callQueueLen" : 0.0,
- "rpcAuthenticationSuccesses" : 0.0,
- "RpcQueueTime_num_ops" : 3.32380952381,
- "RpcProcessingTime_num_ops" : 3.32380952381,
- "RpcProcessingTime_avg_time" : 0.142915649166,
- "rpcAuthenticationFailures" : 0.0,
- "RpcQueueTime_avg_time" : 0.0767488298738
- },
- "ugi" : {
- "loginSuccess_num_ops" : 0.0,
- "loginFailure_num_ops" : 0.0,
- "loginSuccess_avg_time" : 0.0,
- "loginFailure_avg_time" : 0.0
- },
- "mapred" : {
- "Queue" : {
- "maps_killed" : 0.0,
- "reduces_killed" : 0.0,
- "jobs_failed" : 0.0,
- "reduces_completed" : 0.0,
- "running_0" : 0.0,
- "reduces_failed" : 0.0,
- "reserved_map_slots" : 0.0,
- "jobs_completed" : 0.0,
- "waiting_maps" : 0.0,
- "running_1440" : 0.0,
- "maps_completed" : 0.0,
- "jobs_preparing" : 0.0,
- "jobs_submitted" : 0.0,
- "reserved_reduce_slots" : 0.0,
- "jobs_running" : 0.0,
- "running_300" : 0.0,
- "maps_launched" : 0.0,
- "reduces_launched" : 0.0,
- "running_60" : 0.0,
- "waiting_reduces" : 0.0,
- "maps_failed" : 0.0,
- "jobs_killed" : 0.0
- },
- "jobtracker" : {
- "blacklisted_maps" : 0.0,
- "running_maps" : 0.0,
- "jobs_failed" : 0.0,
- "waiting_maps" : 0.0,
- "maps_completed" : 0.0,
- "trackers" : 1.0,
- "jobs_submitted" : 0.0,
- "map_slots" : 4.0,
- "reserved_reduce_slots" : 0.0,
- "trackers_graylisted" : 0.0,
- "heartbeats" : 3.32380952381,
- "jobs_running" : 0.0,
- "blacklisted_reduces" : 0.0,
- "maps_launched" : 0.0,
- "occupied_map_slots" : 0.0,
- "reduces_launched" : 0.0,
- "jobs_killed" : 0.0,
- "maps_failed" : 0.0,
- "maps_killed" : 0.0,
- "reduce_slots" : 2.0,
- "reduces_killed" : 0.0,
- "reduces_completed" : 0.0,
- "jobs_completed" : 0.0,
- "reserved_map_slots" : 0.0,
- "trackers_decommissioned" : 0.0,
- "reduces_failed" : 0.0,
- "trackers_blacklisted" : 0.0,
- "jobs_preparing" : 0.0,
- "running_reduces" : 0.0,
- "occupied_reduce_slots" : 0.0,
- "waiting_reduces" : 0.0
- }
- },
- "disk" : {
- "disk_total" : 101.515,
- "disk_free" : 93.4107777778,
- "part_max_used" : 12.8
- },
- "cpu" : {
- "cpu_speed" : 1986.0,
- "cpu_wio" : 0.510555555556,
- "cpu_num" : 1.0,
- "cpu_idle" : 45.9291666667,
- "cpu_nice" : 0.0,
- "cpu_aidle" : 0.0,
- "cpu_system" : 6.88277777778,
- "cpu_user" : 46.6838888889
- },
- "rpcdetailed" : {
- "getJobProfile_num_ops" : 0.0,
- "getStagingAreaDir_num_ops" : 0.0,
- "getProtocolVersion_avg_time" : 0.0,
- "getBuildVersion_avg_time" : 0.0,
- "getBuildVersion_num_ops" : 0.0,
- "getNewJobId_avg_time" : 0.0,
- "getQueueAdmins_num_ops" : 0.0,
- "getSystemDir_num_ops" : 0.0,
- "getTaskCompletionEvents_num_ops" : 0.0,
- "getJobProfile_avg_time" : 0.0,
- "submitJob_num_ops" : 0.0,
- "getStagingAreaDir_avg_time" : 2.0,
- "getNewJobId_num_ops" : 0.0,
- "getJobCounters_num_ops" : 0.0,
- "getTaskCompletionEvents_avg_time" : 0.111111111111,
- "getProtocolVersion_num_ops" : 0.0,
- "submitJob_avg_time" : 312.0,
- "getSystemDir_avg_time" : 0.0,
- "getJobStatus_num_ops" : 0.0,
- "getJobCounters_avg_time" : 0.0,
- "getQueueAdmins_avg_time" : 0.0,
- "heartbeat_num_ops" : 3.32380952381,
- "heartbeat_avg_time" : 0.142915649166,
- "getJobStatus_avg_time" : 0.0
- },
- "load" : {
- "load_fifteen" : 0.8845,
- "load_one" : 0.516833333333,
- "load_five" : 0.740888888889
- },
- "jvm" : {
- "memHeapCommittedM" : 185.1875,
- "logFatal" : 0.0,
- "threadsBlocked" : 0.0,
- "threadsWaiting" : 19.0,
- "gcCount" : 0.00277777777778,
- "logWarn" : 0.0,
- "logError" : 0.0,
- "memNonHeapCommittedM" : 23.75,
- "gcTimeMillis" : 0.641666666667,
- "memNonHeapUsedM" : 23.1303326472,
- "logInfo" : 0.0,
- "threadsNew" : 0.0,
- "memHeapUsedM" : 101.890453742,
- "threadsTerminated" : 0.0,
- "threadsTimedWaiting" : 10.0,
- "threadsRunnable" : 6.0
- },
- "network" : {
- "pkts_out" : 0.455111111111,
- "bytes_in" : 50.645,
- "bytes_out" : 119.762888889,
- "pkts_in" : 0.411222222222
- },
- "memory" : {
- "mem_total" : 2054932.0,
- "swap_free" : 4074713.26667,
- "mem_buffers" : 13563.6333333,
- "mem_shared" : 0.0,
- "mem_cached" : 175195.088889,
- "mem_free" : 117578.155556,
- "swap_total" : 4128760.0
- }
- },
- "component" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/JOBTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "JOBTRACKER",
- "service_name" : "MAPREDUCE"
- }
- }
- ]
- }
- ]
- },
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/TASKTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "TASKTRACKER",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
- "HostRoles" : {
- "configs" : "{\"mapred-site\":\"version1\",\"global\":\"version1\",\"core-site\":\"version1\"}",
- "cluster_name" : "mycluster",
- "desired_configs" : "{}",
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "TASKTRACKER",
- "host_name" : "dev.hortonworks.com"
- },
- "metrics" : {
- "boottime" : 1.353113263E9,
- "process" : {
- "proc_total" : 542.625,
- "proc_run" : 1.81944444444
- },
- "rpc" : {
- "rpcAuthorizationSuccesses" : 7.15827882667E7,
- "SentBytes" : 7.15827882667E7,
- "rpcAuthorizationFailures" : 0.0,
- "ReceivedBytes" : 7.15827882667E7,
- "NumOpenConnections" : 0.0,
- "callQueueLen" : 0.0,
- "rpcAuthenticationSuccesses" : 0.0,
- "RpcQueueTime_num_ops" : 7.15827882667E7,
- "RpcProcessingTime_num_ops" : 7.15827882667E7,
- "RpcProcessingTime_avg_time" : 0.151111111111,
- "rpcAuthenticationFailures" : 0.0,
- "RpcQueueTime_avg_time" : 0.151111111111
- },
- "ugi" : {
- "loginSuccess_num_ops" : 0.0,
- "loginFailure_num_ops" : 0.0,
- "loginSuccess_avg_time" : 0.0,
- "loginFailure_avg_time" : 0.0
- },
- "mapred" : {
- "shuffleOutput" : {
- "shuffle_handler_busy_percent" : 0.0
- },
- "tasktracker" : {
- "reduces_running" : 0.0,
- "maps_running" : 0.0,
- "reduceTaskSlots" : 2.0,
- "mapTaskSlots" : 4.0
- }
- },
- "disk" : {
- "disk_total" : 101.515,
- "disk_free" : 93.4107777778,
- "part_max_used" : 12.8
- },
- "cpu" : {
- "cpu_speed" : 1986.0,
- "cpu_wio" : 0.519444444444,
- "cpu_num" : 1.0,
- "cpu_idle" : 46.9705555556,
- "cpu_nice" : 0.0,
- "cpu_aidle" : 0.0,
- "cpu_system" : 6.75972222222,
- "cpu_user" : 45.7563888889
- },
- "rpcdetailed" : {
- "getProtocolVersion_avg_time" : 0.0,
- "getProtocolVersion_num_ops" : 4
- },
- "load" : {
- "load_fifteen" : 0.882305555556,
- "load_one" : 0.523944444444,
- "load_five" : 0.739694444444
- },
- "jvm" : {
- "memHeapCommittedM" : 30.375,
- "logFatal" : 0.0,
- "threadsBlocked" : 0.0,
- "threadsWaiting" : 14.5333333333,
- "gcCount" : 7.15827883321E7,
- "logWarn" : 0.0,
- "logError" : 0.0,
- "memNonHeapCommittedM" : 23.1875,
- "gcTimeMillis" : 7.15827883254E7,
- "memNonHeapUsedM" : 21.7573377917,
- "logInfo" : 0.0,
- "threadsNew" : 0.0,
- "memHeapUsedM" : 7.07001514861,
- "threadsTerminated" : 0.0,
- "threadsTimedWaiting" : 8.71666666667,
- "threadsRunnable" : 6.26666666667
- },
- "network" : {
- "pkts_out" : 0.453888888889,
- "bytes_in" : 50.5375,
- "bytes_out" : 119.456111111,
- "pkts_in" : 0.410277777778
- },
- "memory" : {
- "mem_total" : 2054932.0,
- "swap_free" : 4074707.96667,
- "mem_buffers" : 13563.6555556,
- "mem_shared" : 0.0,
- "mem_cached" : 175260.0,
- "mem_free" : 115051.811111,
- "swap_total" : 4128760.0
- }
- },
- "component" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/TASKTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "TASKTRACKER",
- "service_name" : "MAPREDUCE"
- }
- }
- ]
- }
- ]
- }
- ]
- }
- ]
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/dashboard/mapreduce/mapreduce_stop.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/dashboard/mapreduce/mapreduce_stop.json b/ambari-web/app/assets/data/dashboard/mapreduce/mapreduce_stop.json
deleted file mode 100644
index 6d55a3c..0000000
--- a/ambari-web/app/assets/data/dashboard/mapreduce/mapreduce_stop.json
+++ /dev/null
@@ -1,370 +0,0 @@
-{
- "href" : "http://localhost:8080/api/clusters/mycluster/services?ServiceInfo/service_name=MAPREDUCE&fields=components/host_components/*",
- "items" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE",
- "ServiceInfo" : {
- "cluster_name" : "mycluster",
- "service_name" : "MAPREDUCE"
- },
- "components" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "MAPREDUCE_CLIENT",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
- "HostRoles" : {
- "configs" : "{}",
- "cluster_name" : "mycluster",
- "desired_configs" : "{}",
- "desired_state" : "INSTALLED",
- "state" : "INSTALLED",
- "component_name" : "MAPREDUCE_CLIENT",
- "host_name" : "dev.hortonworks.com"
- },
- "component" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "MAPREDUCE_CLIENT",
- "service_name" : "MAPREDUCE"
- }
- }
- ]
- }
- ]
- },
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/JOBTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "JOBTRACKER",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
- "HostRoles" : {
- "configs" : "{\"mapred-site\":\"version1\",\"global\":\"version1\",\"core-site\":\"version1\"}",
- "cluster_name" : "mycluster",
- "desired_configs" : "{}",
- "desired_state" : "INSTALLED",
- "state" : "INSTALLED",
- "component_name" : "JOBTRACKER",
- "host_name" : "dev.hortonworks.com"
- },
- "metrics" : {
- "boottime" : 1.353113263E9,
- "process" : {
- "proc_total" : 542.4,
- "proc_run" : 1.04722222222
- },
- "rpc" : {
- "rpcAuthorizationSuccesses" : 0.0,
- "SentBytes" : 355.647619048,
- "rpcAuthorizationFailures" : 0.0,
- "ReceivedBytes" : 1040.35238095,
- "NumOpenConnections" : 0.0,
- "callQueueLen" : 0.0,
- "rpcAuthenticationSuccesses" : 0.0,
- "RpcQueueTime_num_ops" : 3.32380952381,
- "RpcProcessingTime_num_ops" : 3.32380952381,
- "RpcProcessingTime_avg_time" : 0.142915649166,
- "rpcAuthenticationFailures" : 0.0,
- "RpcQueueTime_avg_time" : 0.0767488298738
- },
- "ugi" : {
- "loginSuccess_num_ops" : 0.0,
- "loginFailure_num_ops" : 0.0,
- "loginSuccess_avg_time" : 0.0,
- "loginFailure_avg_time" : 0.0
- },
- "mapred" : {
- "Queue" : {
- "maps_killed" : 0.0,
- "reduces_killed" : 0.0,
- "jobs_failed" : 0.0,
- "reduces_completed" : 0.0,
- "running_0" : 0.0,
- "reduces_failed" : 0.0,
- "reserved_map_slots" : 0.0,
- "jobs_completed" : 0.0,
- "waiting_maps" : 0.0,
- "running_1440" : 0.0,
- "maps_completed" : 0.0,
- "jobs_preparing" : 0.0,
- "jobs_submitted" : 0.0,
- "reserved_reduce_slots" : 0.0,
- "jobs_running" : 0.0,
- "running_300" : 0.0,
- "maps_launched" : 0.0,
- "reduces_launched" : 0.0,
- "running_60" : 0.0,
- "waiting_reduces" : 0.0,
- "maps_failed" : 0.0,
- "jobs_killed" : 0.0
- },
- "jobtracker" : {
- "blacklisted_maps" : 0.0,
- "running_maps" : 0.0,
- "jobs_failed" : 0.0,
- "waiting_maps" : 0.0,
- "maps_completed" : 0.0,
- "trackers" : 1.0,
- "jobs_submitted" : 0.0,
- "map_slots" : 4.0,
- "reserved_reduce_slots" : 0.0,
- "trackers_graylisted" : 0.0,
- "heartbeats" : 3.32380952381,
- "jobs_running" : 0.0,
- "blacklisted_reduces" : 0.0,
- "maps_launched" : 0.0,
- "occupied_map_slots" : 0.0,
- "reduces_launched" : 0.0,
- "jobs_killed" : 0.0,
- "maps_failed" : 0.0,
- "maps_killed" : 0.0,
- "reduce_slots" : 2.0,
- "reduces_killed" : 0.0,
- "reduces_completed" : 0.0,
- "jobs_completed" : 0.0,
- "reserved_map_slots" : 0.0,
- "trackers_decommissioned" : 0.0,
- "reduces_failed" : 0.0,
- "trackers_blacklisted" : 0.0,
- "jobs_preparing" : 0.0,
- "running_reduces" : 0.0,
- "occupied_reduce_slots" : 0.0,
- "waiting_reduces" : 0.0
- }
- },
- "disk" : {
- "disk_total" : 101.515,
- "disk_free" : 93.4107777778,
- "part_max_used" : 12.8
- },
- "cpu" : {
- "cpu_speed" : 1986.0,
- "cpu_wio" : 0.510555555556,
- "cpu_num" : 1.0,
- "cpu_idle" : 45.9291666667,
- "cpu_nice" : 0.0,
- "cpu_aidle" : 0.0,
- "cpu_system" : 6.88277777778,
- "cpu_user" : 46.6838888889
- },
- "rpcdetailed" : {
- "getJobProfile_num_ops" : 0.0,
- "getStagingAreaDir_num_ops" : 0.0,
- "getProtocolVersion_avg_time" : 0.0,
- "getBuildVersion_avg_time" : 0.0,
- "getBuildVersion_num_ops" : 0.0,
- "getNewJobId_avg_time" : 0.0,
- "getQueueAdmins_num_ops" : 0.0,
- "getSystemDir_num_ops" : 0.0,
- "getTaskCompletionEvents_num_ops" : 0.0,
- "getJobProfile_avg_time" : 0.0,
- "submitJob_num_ops" : 0.0,
- "getStagingAreaDir_avg_time" : 2.0,
- "getNewJobId_num_ops" : 0.0,
- "getJobCounters_num_ops" : 0.0,
- "getTaskCompletionEvents_avg_time" : 0.111111111111,
- "getProtocolVersion_num_ops" : 0.0,
- "submitJob_avg_time" : 312.0,
- "getSystemDir_avg_time" : 0.0,
- "getJobStatus_num_ops" : 0.0,
- "getJobCounters_avg_time" : 0.0,
- "getQueueAdmins_avg_time" : 0.0,
- "heartbeat_num_ops" : 3.32380952381,
- "heartbeat_avg_time" : 0.142915649166,
- "getJobStatus_avg_time" : 0.0
- },
- "load" : {
- "load_fifteen" : 0.8845,
- "load_one" : 0.516833333333,
- "load_five" : 0.740888888889
- },
- "jvm" : {
- "memHeapCommittedM" : 185.1875,
- "logFatal" : 0.0,
- "threadsBlocked" : 0.0,
- "threadsWaiting" : 19.0,
- "gcCount" : 0.00277777777778,
- "logWarn" : 0.0,
- "logError" : 0.0,
- "memNonHeapCommittedM" : 23.75,
- "gcTimeMillis" : 0.641666666667,
- "memNonHeapUsedM" : 23.1303326472,
- "logInfo" : 0.0,
- "threadsNew" : 0.0,
- "memHeapUsedM" : 101.890453742,
- "threadsTerminated" : 0.0,
- "threadsTimedWaiting" : 10.0,
- "threadsRunnable" : 6.0
- },
- "network" : {
- "pkts_out" : 0.455111111111,
- "bytes_in" : 50.645,
- "bytes_out" : 119.762888889,
- "pkts_in" : 0.411222222222
- },
- "memory" : {
- "mem_total" : 2054932.0,
- "swap_free" : 4074713.26667,
- "mem_buffers" : 13563.6333333,
- "mem_shared" : 0.0,
- "mem_cached" : 175195.088889,
- "mem_free" : 117578.155556,
- "swap_total" : 4128760.0
- }
- },
- "component" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/JOBTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "JOBTRACKER",
- "service_name" : "MAPREDUCE"
- }
- }
- ]
- }
- ]
- },
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/TASKTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "TASKTRACKER",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
- "HostRoles" : {
- "configs" : "{\"mapred-site\":\"version1\",\"global\":\"version1\",\"core-site\":\"version1\"}",
- "cluster_name" : "mycluster",
- "desired_configs" : "{}",
- "desired_state" : "INSTALLED",
- "state" : "INSTALLED",
- "component_name" : "TASKTRACKER",
- "host_name" : "dev.hortonworks.com"
- },
- "metrics" : {
- "boottime" : 1.353113263E9,
- "process" : {
- "proc_total" : 542.625,
- "proc_run" : 1.81944444444
- },
- "rpc" : {
- "rpcAuthorizationSuccesses" : 7.15827882667E7,
- "SentBytes" : 7.15827882667E7,
- "rpcAuthorizationFailures" : 0.0,
- "ReceivedBytes" : 7.15827882667E7,
- "NumOpenConnections" : 0.0,
- "callQueueLen" : 0.0,
- "rpcAuthenticationSuccesses" : 0.0,
- "RpcQueueTime_num_ops" : 7.15827882667E7,
- "RpcProcessingTime_num_ops" : 7.15827882667E7,
- "RpcProcessingTime_avg_time" : 0.151111111111,
- "rpcAuthenticationFailures" : 0.0,
- "RpcQueueTime_avg_time" : 0.151111111111
- },
- "ugi" : {
- "loginSuccess_num_ops" : 0.0,
- "loginFailure_num_ops" : 0.0,
- "loginSuccess_avg_time" : 0.0,
- "loginFailure_avg_time" : 0.0
- },
- "mapred" : {
- "shuffleOutput" : {
- "shuffle_handler_busy_percent" : 0.0
- },
- "tasktracker" : {
- "reduces_running" : 0.0,
- "maps_running" : 0.0,
- "reduceTaskSlots" : 2.0,
- "mapTaskSlots" : 4.0
- }
- },
- "disk" : {
- "disk_total" : 101.515,
- "disk_free" : 93.4107777778,
- "part_max_used" : 12.8
- },
- "cpu" : {
- "cpu_speed" : 1986.0,
- "cpu_wio" : 0.519444444444,
- "cpu_num" : 1.0,
- "cpu_idle" : 46.9705555556,
- "cpu_nice" : 0.0,
- "cpu_aidle" : 0.0,
- "cpu_system" : 6.75972222222,
- "cpu_user" : 45.7563888889
- },
- "rpcdetailed" : {
- "getProtocolVersion_avg_time" : 0.0,
- "getProtocolVersion_num_ops" : 4
- },
- "load" : {
- "load_fifteen" : 0.882305555556,
- "load_one" : 0.523944444444,
- "load_five" : 0.739694444444
- },
- "jvm" : {
- "memHeapCommittedM" : 30.375,
- "logFatal" : 0.0,
- "threadsBlocked" : 0.0,
- "threadsWaiting" : 14.5333333333,
- "gcCount" : 7.15827883321E7,
- "logWarn" : 0.0,
- "logError" : 0.0,
- "memNonHeapCommittedM" : 23.1875,
- "gcTimeMillis" : 7.15827883254E7,
- "memNonHeapUsedM" : 21.7573377917,
- "logInfo" : 0.0,
- "threadsNew" : 0.0,
- "memHeapUsedM" : 7.07001514861,
- "threadsTerminated" : 0.0,
- "threadsTimedWaiting" : 8.71666666667,
- "threadsRunnable" : 6.26666666667
- },
- "network" : {
- "pkts_out" : 0.453888888889,
- "bytes_in" : 50.5375,
- "bytes_out" : 119.456111111,
- "pkts_in" : 0.410277777778
- },
- "memory" : {
- "mem_total" : 2054932.0,
- "swap_free" : 4074707.96667,
- "mem_buffers" : 13563.6555556,
- "mem_shared" : 0.0,
- "mem_cached" : 175260.0,
- "mem_free" : 115051.811111,
- "swap_total" : 4128760.0
- }
- },
- "component" : [
- {
- "href" : "http://localhost:8080/api/clusters/mycluster/services/MAPREDUCE/components/TASKTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "TASKTRACKER",
- "service_name" : "MAPREDUCE"
- }
- }
- ]
- }
- ]
- }
- ]
- }
- ]
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/dashboard/serviceComponents.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/dashboard/serviceComponents.json b/ambari-web/app/assets/data/dashboard/serviceComponents.json
index 49828f1..28601ef 100644
--- a/ambari-web/app/assets/data/dashboard/serviceComponents.json
+++ b/ambari-web/app/assets/data/dashboard/serviceComponents.json
@@ -110,52 +110,6 @@
]
},
{
- "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE",
- "ServiceInfo" : {
- "cluster_name" : "vmc",
- "service_name" : "MAPREDUCE"
- },
- "components" : [
- {
- "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE/components/TASKTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "vmc",
- "desired_configs" : "{}",
- "state" : "STARTED",
- "component_name" : "TASKTRACKER",
- "service_name" : "MAPREDUCE"
- }
- },
- {
- "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
- "ServiceComponentInfo" : {
- "cluster_name" : "vmc",
- "desired_configs" : "{}",
- "state" : "INSTALLED",
- "component_name" : "MAPREDUCE_CLIENT",
- "service_name" : "MAPREDUCE"
- }
- },
- {
- "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE/components/JOBTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "vmc",
- "desired_configs" : "{}",
- "state" : "STARTED",
- "component_name" : "JOBTRACKER",
- "HeapMemoryUsed" : 144639872,
- "BlackListedNodes" : "[]",
- "StartTime" : 1352768002344,
- "service_name" : "MAPREDUCE",
- "AliveNodes" : "[{\"hostname\":\"hostname\",\"last_seen\":1352854673780,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0}]",
- "HeapMemoryMax" : 1052770304,
- "Version" : "1.1.0.1, r",
- "GrayListedNodes" : "[]"
- }
- }
- ]
- },
- {
"href" : "http://ambari/clusters/vmc/services/HBASE",
"ServiceInfo" : {
"cluster_name" : "vmc",
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3a0bb7/ambari-web/app/assets/data/dashboard/services_multi_hosts.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/dashboard/services_multi_hosts.json b/ambari-web/app/assets/data/dashboard/services_multi_hosts.json
index f2005f7..70c50d6 100644
--- a/ambari-web/app/assets/data/dashboard/services_multi_hosts.json
+++ b/ambari-web/app/assets/data/dashboard/services_multi_hosts.json
@@ -2,483 +2,6 @@
"href" : "http://ambari:8080/api/clusters/mycluster/services?fields=components/host_components/*",
"items" : [
{
- "href" : "http://ambari:8080/api/clusters/mycluster/services/MAPREDUCE",
- "ServiceInfo" : {
- "cluster_name" : "mycluster",
- "service_name" : "MAPREDUCE"
- },
- "components" : [
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "MAPREDUCE_CLIENT",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/hosts/ip-10-196-102-80.ec2.internal/host_components/MAPREDUCE_CLIENT",
- "HostRoles" : {
- "configs" : "{}",
- "cluster_name" : "mycluster",
- "desired_configs" : "{}",
- "desired_state" : "INSTALLED",
- "state" : "INSTALLED",
- "component_name" : "MAPREDUCE_CLIENT",
- "host_name" : "ip-10-196-102-80.ec2.internal"
- },
- "component" : [
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "MAPREDUCE_CLIENT",
- "service_name" : "MAPREDUCE"
- }
- }
- ]
- }
- ]
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/services/MAPREDUCE/components/JOBTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "JOBTRACKER",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/hosts/ip-10-204-102-239.ec2.internal/host_components/JOBTRACKER",
- "HostRoles" : {
- "configs" : "{\"mapred-site\":\"version1\",\"global\":\"version1\",\"core-site\":\"version1\"}",
- "cluster_name" : "mycluster",
- "desired_configs" : "{}",
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "JOBTRACKER",
- "host_name" : "ip-10-204-102-239.ec2.internal"
- },
- "metrics" : {
- "boottime" : 1.352944348E9,
- "process" : {
- "proc_total" : 233.130555556,
- "proc_run" : 1.67777777778
- },
- "rpc" : {
- "rpcAuthorizationSuccesses" : 0.0,
- "SentBytes" : 697.9075,
- "rpcAuthorizationFailures" : 0.0,
- "ReceivedBytes" : 2185.0375,
- "NumOpenConnections" : 0.0,
- "callQueueLen" : 0.0,
- "rpcAuthenticationSuccesses" : 0.0,
- "RpcQueueTime_num_ops" : 6.5225,
- "RpcProcessingTime_num_ops" : 6.5225,
- "RpcProcessingTime_avg_time" : 0.0531117806688,
- "rpcAuthenticationFailures" : 0.0,
- "RpcQueueTime_avg_time" : 0.05922430332
- },
- "ugi" : {
- "loginFailure_num_ops" : 0.0,
- "loginSuccess_num_ops" : 0.0,
- "loginSuccess_avg_time" : 0.0,
- "loginFailure_avg_time" : 0.0
- },
- "mapred" : {
- "Queue" : {
- "maps_killed" : 0.0,
- "reduces_killed" : 0.0,
- "jobs_failed" : 0.0,
- "reduces_completed" : 0.0,
- "running_0" : 0.0,
- "jobs_completed" : 0.0,
- "reserved_map_slots" : 0.0,
- "reduces_failed" : 0.0,
- "waiting_maps" : 0.0,
- "running_1440" : 0.0,
- "maps_completed" : 0.0,
- "jobs_preparing" : 0.0,
- "jobs_submitted" : 0.0,
- "reserved_reduce_slots" : 0.0,
- "jobs_running" : 0.0,
- "running_300" : 0.0,
- "maps_launched" : 0.0,
- "reduces_launched" : 0.0,
- "running_60" : 0.0,
- "waiting_reduces" : 0.0,
- "jobs_killed" : 0.0,
- "maps_failed" : 0.0
- },
- "jobtracker" : {
- "blacklisted_maps" : 0.0,
- "running_maps" : 0.0,
- "jobs_failed" : 0.0,
- "waiting_maps" : 0.0,
- "maps_completed" : 0.0,
- "trackers" : 2.0,
- "jobs_submitted" : 0.0,
- "map_slots" : 8.0,
- "reserved_reduce_slots" : 0.0,
- "trackers_graylisted" : 0.0,
- "heartbeats" : 6.5225,
- "jobs_running" : 0.0,
- "blacklisted_reduces" : 0.0,
- "maps_launched" : 0.0,
- "occupied_map_slots" : 0.0,
- "reduces_launched" : 0.0,
- "maps_failed" : 0.0,
- "jobs_killed" : 0.0,
- "maps_killed" : 0.0,
- "reduce_slots" : 4.0,
- "reduces_killed" : 0.0,
- "reduces_completed" : 0.0,
- "reduces_failed" : 0.0,
- "reserved_map_slots" : 0.0,
- "jobs_completed" : 0.0,
- "trackers_decommissioned" : 0.0,
- "trackers_blacklisted" : 0.0,
- "jobs_preparing" : 0.0,
- "running_reduces" : 0.0,
- "occupied_reduce_slots" : 0.0,
- "waiting_reduces" : 0.0
- }
- },
- "disk" : {
- "disk_free" : 845.332,
- "part_max_used" : 48.3575
- },
- "cpu" : {
- "cpu_speed" : 2660.0,
- "cpu_num" : 2.0,
- "cpu_wio" : 0.0958333333333,
- "cpu_idle" : 99.1786111111,
- "cpu_nice" : 0.0,
- "cpu_aidle" : 0.0,
- "cpu_system" : 0.425277777778,
- "cpu_user" : 0.321388888889
- },
- "rpcdetailed" : {
- "getStagingAreaDir_num_ops" : 0.0,
- "getJobProfile_num_ops" : 0.0,
- "getQueueAdmins_num_ops" : 0.0,
- "getNewJobId_num_ops" : 0.0,
- "submitJob_avg_time" : 136.0,
- "getJobCounters_num_ops" : 0.0,
- "getTaskCompletionEvents_avg_time" : 0.0,
- "getJobStatus_num_ops" : 0.0,
- "getJobCounters_avg_time" : 0.0,
- "getQueueAdmins_avg_time" : 0.0,
- "heartbeat_num_ops" : 6.5225,
- "getProtocolVersion_avg_time" : 0.0,
- "getBuildVersion_avg_time" : 0.0,
- "getReduceTaskReports_avg_time" : 0.0,
- "getBuildVersion_num_ops" : 0.0,
- "getNewJobId_avg_time" : 0.0,
- "getSystemDir_num_ops" : 0.0,
- "getReduceTaskReports_num_ops" : 0.0,
- "getTaskCompletionEvents_num_ops" : 0.0,
- "getJobProfile_avg_time" : 0.0,
- "submitJob_num_ops" : 0.0,
- "getStagingAreaDir_avg_time" : 1.0,
- "getProtocolVersion_num_ops" : 0.0,
- "getSystemDir_avg_time" : 0.0,
- "getMapTaskReports_num_ops" : 0.0,
- "getMapTaskReports_avg_time" : 1.0,
- "heartbeat_avg_time" : 0.0531117806688,
- "getJobStatus_avg_time" : 0.0
- },
- "load" : {
- "load_fifteen" : 0.0,
- "load_one" : 0.0,
- "load_five" : 0.0
- },
- "jvm" : {
- "memHeapCommittedM" : 185.1875,
- "logFatal" : 0.0,
- "threadsBlocked" : 0.0,
- "threadsWaiting" : 19.0,
- "gcCount" : 0.0,
- "logWarn" : 0.0,
- "logError" : 0.0,
- "memNonHeapCommittedM" : 23.1875,
- "gcTimeMillis" : 0.0,
- "memNonHeapUsedM" : 22.0414801806,
- "logInfo" : 0.0,
- "threadsNew" : 0.0,
- "memHeapUsedM" : 46.4608707,
- "threadsTerminated" : 0.0,
- "threadsTimedWaiting" : 9.0,
- "threadsRunnable" : 6.0
- },
- "memory" : {
- "mem_total" : 7646152.0,
- "swap_free" : 0.0,
- "mem_buffers" : 59373.3777778,
- "mem_shared" : 0.0,
- "mem_free" : 5225939.86667,
- "mem_cached" : 1506893.46667,
- "swap_total" : 0.0
- },
- "network" : {
- "pkts_out" : 24.3603333333,
- "bytes_in" : 4213.70038889,
- "bytes_out" : 4898.53533333,
- "pkts_in" : 20.0795555556
- }
- },
- "component" : [
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/services/MAPREDUCE/components/JOBTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "JOBTRACKER",
- "service_name" : "MAPREDUCE"
- }
- }
- ]
- }
- ]
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/services/MAPREDUCE/components/TASKTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "TASKTRACKER",
- "service_name" : "MAPREDUCE"
- },
- "host_components" : [
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/hosts/ip-10-196-102-80.ec2.internal/host_components/TASKTRACKER",
- "HostRoles" : {
- "configs" : "{\"mapred-site\":\"version1\",\"global\":\"version1\",\"core-site\":\"version1\"}",
- "cluster_name" : "mycluster",
- "desired_configs" : "{}",
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "TASKTRACKER",
- "host_name" : "ip-10-196-102-80.ec2.internal"
- },
- "metrics" : {
- "boottime" : 1.352944347E9,
- "process" : {
- "proc_total" : 263.683333333,
- "proc_run" : 0.813888888889
- },
- "rpc" : {
- "rpcAuthorizationSuccesses" : 0.0166666666667,
- "SentBytes" : 14.6277777778,
- "rpcAuthorizationFailures" : 0.0,
- "ReceivedBytes" : 54.325,
- "NumOpenConnections" : 0.0,
- "callQueueLen" : 0.0,
- "rpcAuthenticationSuccesses" : 0.0,
- "RpcQueueTime_num_ops" : 0.122222222222,
- "RpcProcessingTime_num_ops" : 0.122222222222,
- "RpcProcessingTime_avg_time" : 0.544444444444,
- "rpcAuthenticationFailures" : 0.0,
- "RpcQueueTime_avg_time" : 2.51111111111
- },
- "ugi" : {
- "loginFailure_num_ops" : 0.0,
- "loginSuccess_num_ops" : 0.0,
- "loginSuccess_avg_time" : 0.0,
- "loginFailure_avg_time" : 0.0
- },
- "mapred" : {
- "shuffleOutput" : {
- "shuffle_handler_busy_percent" : 0.0
- },
- "tasktracker" : {
- "reduces_running" : 0.0,
- "maps_running" : 0.0,
- "reduceTaskSlots" : 2.0,
- "mapTaskSlots" : 4.0
- }
- },
- "disk" : {
- "disk_free" : 845.075,
- "part_max_used" : 52.6
- },
- "cpu" : {
- "cpu_speed" : 2659.0,
- "cpu_num" : 2.0,
- "cpu_wio" : 0.123888888889,
- "cpu_idle" : 99.0469444444,
- "cpu_nice" : 0.0,
- "cpu_aidle" : 0.0,
- "cpu_system" : 0.401944444444,
- "cpu_user" : 0.4
- },
- "load" : {
- "load_fifteen" : 0.0466666666667,
- "load_one" : 6.11111111111E-4,
- "load_five" : 6.11111111111E-4
- },
- "jvm" : {
- "memHeapCommittedM" : 760.003819444,
- "logFatal" : 0.0,
- "threadsBlocked" : 0.0,
- "threadsWaiting" : 38.2944444444,
- "gcCount" : 2.3860929425E7,
- "logWarn" : 0.0,
- "logError" : 0.0,
- "memNonHeapCommittedM" : 32.7367406333,
- "gcTimeMillis" : 7.63549738133E7,
- "memNonHeapUsedM" : 21.0635269694,
- "logInfo" : 7.158278827E7,
- "threadsNew" : 0.0,
- "memHeapUsedM" : 83.2495438167,
- "threadsTerminated" : 0.0,
- "maxMemoryM" : 1004.0,
- "threadsTimedWaiting" : 11.1388888889,
- "threadsRunnable" : 14.2777777778
- },
- "memory" : {
- "mem_total" : 7646152.0,
- "swap_free" : 0.0,
- "mem_buffers" : 62720.2888889,
- "mem_shared" : 0.0,
- "mem_free" : 4978855.83333,
- "mem_cached" : 1756252.53333,
- "swap_total" : 0.0
- },
- "network" : {
- "pkts_out" : 105.755833333,
- "bytes_in" : 1895.95808333,
- "bytes_out" : 21296.58625,
- "pkts_in" : 11.2986666667
- }
- },
- "component" : [
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/services/MAPREDUCE/components/TASKTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "TASKTRACKER",
- "service_name" : "MAPREDUCE"
- }
- }
- ]
- },
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/hosts/ip-10-118-149-18.ec2.internal/host_components/TASKTRACKER",
- "HostRoles" : {
- "configs" : "{\"mapred-site\":\"version1\",\"global\":\"version1\",\"core-site\":\"version1\"}",
- "cluster_name" : "mycluster",
- "desired_configs" : "{}",
- "desired_state" : "STARTED",
- "state" : "STARTED",
- "component_name" : "TASKTRACKER",
- "host_name" : "ip-10-118-149-18.ec2.internal"
- },
- "metrics" : {
- "boottime" : 1.352944346E9,
- "process" : {
- "proc_total" : 264.063888889,
- "proc_run" : 1.16944444444
- },
- "rpc" : {
- "rpcAuthorizationSuccesses" : 1.19304647083E7,
- "SentBytes" : 1.19304639222E7,
- "rpcAuthorizationFailures" : 0.0,
- "ReceivedBytes" : 1.19304635583E7,
- "NumOpenConnections" : 0.0,
- "callQueueLen" : 0.0,
- "rpcAuthenticationSuccesses" : 0.0,
- "RpcQueueTime_num_ops" : 1.19304647056E7,
- "RpcProcessingTime_num_ops" : 1.19304647056E7,
- "RpcProcessingTime_avg_time" : 0.344444444444,
- "rpcAuthenticationFailures" : 0.0,
- "RpcQueueTime_avg_time" : 3.78888888889
- },
- "ugi" : {
- "loginFailure_num_ops" : 0.0,
- "loginSuccess_num_ops" : 0.0,
- "loginSuccess_avg_time" : 0.0,
- "loginFailure_avg_time" : 0.0
- },
- "mapred" : {
- "shuffleOutput" : {
- "shuffle_handler_busy_percent" : 0.0
- },
- "tasktracker" : {
- "reduces_running" : 0.0,
- "maps_running" : 0.0,
- "reduceTaskSlots" : 2.0,
- "mapTaskSlots" : 4.0
- }
- },
- "disk" : {
- "disk_free" : 845.599,
- "part_max_used" : 43.9
- },
- "cpu" : {
- "cpu_speed" : 2266.0,
- "cpu_num" : 2.0,
- "cpu_wio" : 0.0,
- "cpu_idle" : 98.6938888889,
- "cpu_nice" : 0.0,
- "cpu_aidle" : 0.0,
- "cpu_system" : 0.531111111111,
- "cpu_user" : 0.775
- },
- "load" : {
- "load_fifteen" : 0.00313888888889,
- "load_one" : 0.0282777777778,
- "load_five" : 0.0163055555556
- },
- "jvm" : {
- "memHeapCommittedM" : 174.446875,
- "logFatal" : 0.0,
- "threadsBlocked" : 0.0,
- "threadsWaiting" : 14.4361111111,
- "gcCount" : 1.19304647115E8,
- "logWarn" : 0.0,
- "logError" : 0.0,
- "memNonHeapCommittedM" : 24.3248698333,
- "gcTimeMillis" : 1.43165576518E8,
- "memNonHeapUsedM" : 19.4993658028,
- "logInfo" : 2.38609294222E7,
- "threadsNew" : 0.0,
- "memHeapUsedM" : 18.087863945,
- "threadsTerminated" : 0.0,
- "maxMemoryM" : 1004.0,
- "threadsTimedWaiting" : 7.46388888889,
- "threadsRunnable" : 7.43611111111
- },
- "memory" : {
- "mem_total" : 7646152.0,
- "swap_free" : 0.0,
- "mem_buffers" : 52429.0222222,
- "mem_shared" : 0.0,
- "mem_free" : 5610725.88889,
- "mem_cached" : 1247511.4,
- "swap_total" : 0.0
- },
- "network" : {
- "pkts_out" : 116.179833333,
- "bytes_in" : 1897.15633333,
- "bytes_out" : 23871.1300833,
- "pkts_in" : 11.2918333333
- }
- },
- "component" : [
- {
- "href" : "http://ambari:8080/api/clusters/mycluster/services/MAPREDUCE/components/TASKTRACKER",
- "ServiceComponentInfo" : {
- "cluster_name" : "mycluster",
- "component_name" : "TASKTRACKER",
- "service_name" : "MAPREDUCE"
- }
- }
- ]
- }
- ]
- }
- ]
- },
- {
"href" : "http://ambari:8080/api/clusters/mycluster/services/HDFS",
"ServiceInfo" : {
"cluster_name" : "mycluster",