You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by es...@apache.org on 2017/02/03 09:00:50 UTC
[48/50] [abbrv] incubator-hawq git commit: HAWQ-1309. Use default
value for pxf user/port
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/2.1.0.0-incubating
Commit: f6452d273885619673f9e7c754d133e17252a38c
Parents: 42c1cc1
Author: Shivram Mani <sh...@gmail.com>
Authored: Thu Feb 2 14:08:55 2017 -0800
Committer: Kavinder Dhaliwal <ka...@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