Browse Source

AMBARI-6174 - templeton.hadoop.queue.name is not set for Linux install

Artem Baranchuk 11 years ago
parent
commit
8702256d65

+ 6 - 0
ambari-server/src/main/resources/stacks/HDP/2.1/services/WEBHCAT/configuration/webhcat-site.xml

@@ -134,4 +134,10 @@ limitations under the License.
     <description>Time out for templeton api</description>
   </property>
 
+  <property>
+    <name>templeton.hadoop.queue.name</name>
+    <value>default</value>
+    <description>MapReduce queue name where WebHCat map-only jobs will be submitted to. Can be used to avoid a deadlock where all map slots in the cluster are taken over by Templeton launcher tasks.</description>
+  </property>
+
 </configuration>

+ 2 - 1
ambari-server/src/test/python/stacks/2.1/configs/default.json

@@ -245,7 +245,8 @@
             "templeton.hive.path": "hive.tar.gz/hive/bin/hive", 
             "templeton.hadoop.conf.dir": "/etc/hadoop/conf", 
             "templeton.hcat": "/usr/bin/hcat", 
-            "templeton.pig.archive": "hdfs:///apps/webhcat/pig.tar.gz"
+            "templeton.pig.archive": "hdfs:///apps/webhcat/pig.tar.gz",
+            "templeton.hadoop.queue.name": "default"
         }, 
         "global": {
             "falcon.embeddedmq": "true",

+ 2 - 1
ambari-server/src/test/python/stacks/2.1/configs/secured.json

@@ -272,7 +272,8 @@
             "templeton.hive.path": "hive.tar.gz/hive/bin/hive", 
             "templeton.kerberos.keytab": "/etc/security/keytabs/spnego.service.keytab", 
             "templeton.hcat": "/usr/bin/hcat", 
-            "templeton.pig.archive": "hdfs:///apps/webhcat/pig.tar.gz"
+            "templeton.pig.archive": "hdfs:///apps/webhcat/pig.tar.gz",
+            "templeton.hadoop.queue.name": "default"
         }, 
         "global": {
             "falcon_log_dir": "/var/log/falcon",