You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by sh...@apache.org on 2017/01/30 23:08:57 UTC

incubator-hawq git commit: HAWQ-1297. Fixed PXF restart

Repository: incubator-hawq
Updated Branches:
  refs/heads/HAWQ-1297 2fe872c6d -> 3a63a8b01


HAWQ-1297. Fixed PXF restart


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

Branch: refs/heads/HAWQ-1297
Commit: 3a63a8b01b0954f16cfed6a1eb4fe000c68763aa
Parents: 2fe872c
Author: Shivram Mani <sh...@gmail.com>
Authored: Mon Jan 30 15:08:48 2017 -0800
Committer: Shivram Mani <sh...@gmail.com>
Committed: Mon Jan 30 15:08:48 2017 -0800

----------------------------------------------------------------------
 pxf/pxf-service/src/scripts/pxf-service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/3a63a8b0/pxf/pxf-service/src/scripts/pxf-service
----------------------------------------------------------------------
diff --git a/pxf/pxf-service/src/scripts/pxf-service b/pxf/pxf-service/src/scripts/pxf-service
index 6dbb259..2d63310 100644
--- a/pxf/pxf-service/src/scripts/pxf-service
+++ b/pxf/pxf-service/src/scripts/pxf-service
@@ -306,9 +306,9 @@ case "$command" in
 		doStop
 		;;
 	"restart" )
-		doStart
-		sleep 1s
 		doStop
+		sleep 1s
+		doStart
 		;;
 	"status" )
 		doStatus