hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From templ...@apache.org
Subject hadoop git commit: YARN-5722. FairScheduler hides group resolution exceptions when assigning queue (Contributed by Wilfred Spiegelenburg via Daniel Templeton)
Date Tue, 22 Nov 2016 19:51:53 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 2207a84a7 -> 06f5d27bd


YARN-5722. FairScheduler hides group resolution exceptions when assigning queue (Contributed
by Wilfred Spiegelenburg via Daniel Templeton)

(cherry picked from commit 83cc7263af632939dc3b2ee58d8f03f98ed4d96a)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/06f5d27b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/06f5d27b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/06f5d27b

Branch: refs/heads/branch-2
Commit: 06f5d27bd6c86096011be3b8762e8507766824b2
Parents: 2207a84
Author: Daniel Templeton <templedf@apache.org>
Authored: Tue Nov 22 11:16:00 2016 -0800
Committer: Daniel Templeton <templedf@apache.org>
Committed: Tue Nov 22 11:17:39 2016 -0800

----------------------------------------------------------------------
 .../yarn/server/resourcemanager/scheduler/fair/FairScheduler.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/06f5d27b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java
index 1d04710..354f936 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java
@@ -767,7 +767,8 @@ public class FairScheduler extends
     } catch (InvalidQueueNameException qne) {
       appRejectMsg = qne.getMessage();
     } catch (IOException ioe) {
-      appRejectMsg = "Error assigning app to queue " + queueName;
+      // IOException should only happen for a user without groups
+      appRejectMsg = "Error assigning app to a queue: " + ioe.getMessage();
     }
 
     if (appRejectMsg != null && rmApp != null) {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message