hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kavin...@apache.org
Subject incubator-hawq git commit: HAWQ-1309. Use default value for pxf user/port
Date Thu, 02 Feb 2017 22:27:43 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 42c1cc131 -> f6452d273


HAWQ-1309. Use default value for pxf user/port


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

Branch: refs/heads/master
Commit: f6452d273885619673f9e7c754d133e17252a38c
Parents: 42c1cc1
Author: Shivram Mani <shivram.mani@gmail.com>
Authored: Thu Feb 2 14:08:55 2017 -0800
Committer: Kavinder Dhaliwal <kavinderd@gmail.com>
Committed: Thu Feb 2 14:26:50 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/f6452d27/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 2d63310..39d167e 100644
--- a/pxf/pxf-service/src/scripts/pxf-service
+++ b/pxf/pxf-service/src/scripts/pxf-service
@@ -34,8 +34,8 @@ else
 	source $env_script
 fi
 
-pxf_user=$PXF_USER
-instance_port=$PXF_PORT
+pxf_user=${PXF_USER:-pxf}
+instance_port=${PXF_PORT:-51200}
 instance_name=pxf-service
 
 if [ -z $PXF_HOME ]; then


Mime
View raw message