You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2014/06/12 15:09:35 UTC
git commit: AMBARI-6059. Add refreshQueues custom command to YARN
service (2) (Jeff Sposetti via ncole)
Repository: ambari
Updated Branches:
refs/heads/trunk 5f6064664 -> c5b53c8e1
AMBARI-6059. Add refreshQueues custom command to YARN service (2) (Jeff Sposetti via ncole)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c5b53c8e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c5b53c8e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c5b53c8e
Branch: refs/heads/trunk
Commit: c5b53c8e109e5f0dabc91f60a174313ce60a088b
Parents: 5f60646
Author: Nate Cole <nc...@hortonworks.com>
Authored: Thu Jun 12 09:09:19 2014 -0400
Committer: Nate Cole <nc...@hortonworks.com>
Committed: Thu Jun 12 09:09:19 2014 -0400
----------------------------------------------------------------------
.../stacks/HDP/2.0.6/services/YARN/package/scripts/service.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/c5b53c8e/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/service.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/service.py b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/service.py
index 4c04d00..0adc812 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/service.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/service.py
@@ -62,7 +62,7 @@ def service(componentName, action='start', serviceName='yarn'):
)
elif action == 'refreshQueues':
- refresh_cmd = format("{yarn_bin}/yarn rmadmin -refreshQueues")
+ refresh_cmd = format("yarn rmadmin -refreshQueues")
Execute(refresh_cmd,
user=usr,