Repository: incubator-hawq
Updated Branches:
  refs/heads/master b7e2ba95a -> ce75f5bf7


HAWQ-979. Resource Broker Should Reconnect Hadoop Yarn When Failed to Get 
Cluster Report


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

Branch: refs/heads/master
Commit: ce75f5bf7635908b25b5c6cc0f72f485fa567486
Parents: b7e2ba9
Author: Wen Lin <[email protected]>
Authored: Fri Aug 5 10:24:14 2016 +0800
Committer: Wen Lin <[email protected]>
Committed: Fri Aug 5 10:24:14 2016 +0800

----------------------------------------------------------------------
 .../resourcemanager/resourcebroker/resourcebroker_LIBYARN_proc.c   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/ce75f5bf/src/backend/resourcemanager/resourcebroker/resourcebroker_LIBYARN_proc.c
----------------------------------------------------------------------
diff --git 
a/src/backend/resourcemanager/resourcebroker/resourcebroker_LIBYARN_proc.c 
b/src/backend/resourcemanager/resourcebroker/resourcebroker_LIBYARN_proc.c
index fc0a6db..ee85d2c 100644
--- a/src/backend/resourcemanager/resourcebroker/resourcebroker_LIBYARN_proc.c
+++ b/src/backend/resourcemanager/resourcebroker/resourcebroker_LIBYARN_proc.c
@@ -755,7 +755,7 @@ int sendRBGetClusterReportErrorData(int errorcode)
                return RESBROK_PIPE_ERROR;
        }
 
-       return FUNC_RETURN_OK;
+       return errorcode;
 }
 
 /**

Reply via email to