You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2013/12/18 15:26:11 UTC
git commit: AMBARI-4107. Add status command to YARN and MapReduce2
clients (Arsen Babych via aonishuk)
Updated Branches:
refs/heads/trunk ed77411d4 -> 2e04d3b02
AMBARI-4107. Add status command to YARN and MapReduce2 clients (Arsen
Babych via aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2e04d3b0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2e04d3b0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2e04d3b0
Branch: refs/heads/trunk
Commit: 2e04d3b0259d59da127d6444e89fbc8d2548d522
Parents: ed77411
Author: Andrew Onischuk <ao...@hortonworks.com>
Authored: Wed Dec 18 06:24:59 2013 -0800
Committer: Andrew Onischuk <ao...@hortonworks.com>
Committed: Wed Dec 18 06:24:59 2013 -0800
----------------------------------------------------------------------
.../services/PIG2/configuration/pig.properties | 52 --------------------
.../stacks/HDP/1.3._/services/PIG2/metainfo.xml | 30 -----------
.../YARN/package/scripts/mapreduce2_client.py | 3 ++
.../YARN/package/scripts/yarn_client.py | 3 ++
4 files changed, 6 insertions(+), 82 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/2e04d3b0/ambari-server/src/main/resources/stacks/HDP/1.3._/services/PIG2/configuration/pig.properties
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3._/services/PIG2/configuration/pig.properties b/ambari-server/src/main/resources/stacks/HDP/1.3._/services/PIG2/configuration/pig.properties
deleted file mode 100644
index 01000b5..0000000
--- a/ambari-server/src/main/resources/stacks/HDP/1.3._/services/PIG2/configuration/pig.properties
+++ /dev/null
@@ -1,52 +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.
-
-# Pig default configuration file. All values can be overwritten by pig.properties and command line arguments.
-# see bin/pig -help
-
-# brief logging (no timestamps)
-brief=false
-
-#debug level, INFO is default
-debug=INFO
-
-#verbose print all log messages to screen (default to print only INFO and above to screen)
-verbose=false
-
-#exectype local|mapreduce, mapreduce is default
-exectype=mapreduce
-
-#Enable insertion of information about script into hadoop job conf
-pig.script.info.enabled=true
-
-#Do not spill temp files smaller than this size (bytes)
-pig.spill.size.threshold=5000000
-#EXPERIMENT: Activate garbage collection when spilling a file bigger than this size (bytes)
-#This should help reduce the number of files being spilled.
-pig.spill.gc.activation.size=40000000
-
-#the following two parameters are to help estimate the reducer number
-pig.exec.reducers.bytes.per.reducer=1000000000
-pig.exec.reducers.max=999
-
-#Temporary location to store the intermediate data.
-pig.temp.dir=/tmp/
-
-#Threshold for merging FRJoin fragment files
-pig.files.concatenation.threshold=100
-pig.optimistic.files.concatenation=false;
-
-pig.disable.counter=false
http://git-wip-us.apache.org/repos/asf/ambari/blob/2e04d3b0/ambari-server/src/main/resources/stacks/HDP/1.3._/services/PIG2/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3._/services/PIG2/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/1.3._/services/PIG2/metainfo.xml
deleted file mode 100644
index d29d56d..0000000
--- a/ambari-server/src/main/resources/stacks/HDP/1.3._/services/PIG2/metainfo.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.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.
--->
-<metainfo>
- <user>root</user>
- <comment>Scripting platform for analyzing large datasets</comment>
- <version>0.11.1.1.3.3.0</version>
-
- <components>
- <component>
- <name>PIG</name>
- <category>CLIENT</category>
- </component>
- </components>
-
-</metainfo>
http://git-wip-us.apache.org/repos/asf/ambari/blob/2e04d3b0/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/package/scripts/mapreduce2_client.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/package/scripts/mapreduce2_client.py b/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/package/scripts/mapreduce2_client.py
index 2583dbc..54119a7 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/package/scripts/mapreduce2_client.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/package/scripts/mapreduce2_client.py
@@ -36,5 +36,8 @@ class MapReduce2Client(Script):
env.set_params(params)
yarn()
+ def status(self, env):
+ raise ClientComponentHasNoStatus()
+
if __name__ == "__main__":
MapReduce2Client().execute()
http://git-wip-us.apache.org/repos/asf/ambari/blob/2e04d3b0/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/package/scripts/yarn_client.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/package/scripts/yarn_client.py b/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/package/scripts/yarn_client.py
index 8559b87..7e9c564 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/package/scripts/yarn_client.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/package/scripts/yarn_client.py
@@ -36,5 +36,8 @@ class YarnClient(Script):
env.set_params(params)
yarn()
+ def status(self, env):
+ raise ClientComponentHasNoStatus()
+
if __name__ == "__main__":
YarnClient().execute()
\ No newline at end of file