Repository: tez
Updated Branches:
  refs/heads/master 4f9b7fdf2 -> 36f2eead3


TEZ-3565: amConfig should check queuename isEmpty (Fei Hui via rbalamohan)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/36f2eead
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/36f2eead
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/36f2eead

Branch: refs/heads/master
Commit: 36f2eead36ab0c9342bebfb161430572b16aa86b
Parents: 4f9b7fd
Author: Rajesh Balamohan <[email protected]>
Authored: Tue Dec 20 13:57:17 2016 +0530
Committer: Rajesh Balamohan <[email protected]>
Committed: Tue Dec 20 13:57:17 2016 +0530

----------------------------------------------------------------------
 CHANGES.txt                                                     | 1 +
 tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/36f2eead/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 2c91a9e..4f343c4 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -7,6 +7,7 @@ INCOMPATIBLE CHANGES
 
 ALL CHANGES:
 
+  TEZ-3565. amConfig should check queuename isEmpty.
   TEZ-3559. TEZ_LIB_URIS doesn't work with schemes different than the defaultFS
   TEZ-3558. CartesianProduct is missing from the ExampleDriver class
   TEZ-3549. TaskAttemptImpl does not initialize 
TEZ_TASK_PROGRESS_STUCK_INTERVAL_MS correctly

http://git-wip-us.apache.org/repos/asf/tez/blob/36f2eead/tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java
----------------------------------------------------------------------
diff --git a/tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java 
b/tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java
index 9e040e2..ab37b17 100644
--- a/tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java
+++ b/tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java
@@ -689,7 +689,8 @@ public class TezClientUtils {
     }
     appContext.setApplicationId(appId);
     appContext.setResource(capability);
-    if (amConfig.getQueueName() != null) {
+    String queueName = amConfig.getQueueName();
+    if (queueName != null && !queueName.isEmpty()) {
       appContext.setQueue(amConfig.getQueueName());
     }
     // set the application priority

Reply via email to