hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject incubator-hawq git commit: HAWQ-240. Set Progress as 50% When Return Resource
Date Mon, 15 Feb 2016 02:13:00 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 95a5da110 -> bf1cab1cc


HAWQ-240. Set Progress as 50% When Return Resource


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/bf1cab1c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/bf1cab1c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/bf1cab1c

Branch: refs/heads/master
Commit: bf1cab1cca88bbea9944de671d5a006d0b43f293
Parents: 95a5da1
Author: Wen Lin <wlin@pivotal.io>
Authored: Mon Feb 15 10:12:17 2016 +0800
Committer: Wen Lin <wlin@pivotal.io>
Committed: Mon Feb 15 10:12:17 2016 +0800

----------------------------------------------------------------------
 depends/libyarn/src/libyarnclient/LibYarnClient.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/bf1cab1c/depends/libyarn/src/libyarnclient/LibYarnClient.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/libyarnclient/LibYarnClient.cpp b/depends/libyarn/src/libyarnclient/LibYarnClient.cpp
index 563dee1..6f85c08 100644
--- a/depends/libyarn/src/libyarnclient/LibYarnClient.cpp
+++ b/depends/libyarn/src/libyarnclient/LibYarnClient.cpp
@@ -649,7 +649,7 @@ int LibYarnClient::releaseResources(string &jobId,int64_t releaseContainerIds[],
         //3) blacklistRequestBlank
         ResourceBlacklistRequest blacklistRequestBlank;
         //4) progress
-        float progress = 1.0;
+        float progress = 0.5;
 
         LOG(INFO, "LibYarnClient::releaseResource, release size:%d",releases.size());
         AllocateResponse response = amrmClientAlias->allocate(asksBlank, releases,


Mime
View raw message