Code review change.
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/46bba630 Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/46bba630 Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/46bba630 Branch: refs/heads/master Commit: 46bba6304ac279f340c801b6b7038290c0751a53 Parents: c036ba9 Author: Zalo Correa <[email protected]> Authored: Wed Jun 13 11:33:20 2018 -0700 Committer: Zalo Correa <[email protected]> Committed: Wed Jun 13 11:33:20 2018 -0700 ---------------------------------------------------------------------- core/sqf/sqenvcom.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/46bba630/core/sqf/sqenvcom.sh ---------------------------------------------------------------------- diff --git a/core/sqf/sqenvcom.sh b/core/sqf/sqenvcom.sh index 84b2e1f..cd2ea37 100644 --- a/core/sqf/sqenvcom.sh +++ b/core/sqf/sqenvcom.sh @@ -693,10 +693,10 @@ export SQ_STARTUP=r # Uncomment the next environment variable #export SQ_NAMESERVER_ENABLED=1 if [[ "$SQ_NAMESERVER_ENABLED" == "1" ]]; then - export NS_COMM_PORT=23370 - export NS_SYNC_PORT=23360 - export NS_M2N_COMM_PORT=23350 - export MON2MON_COMM_PORT=23340 + export NS_COMM_PORT=${NS_COMM_PORT:-23370} + export NS_SYNC_PORT=${NS_SYNC_PORT:-23360} + export NS_M2N_COMM_PORT=${NS_M2N_COMM_PORT:-23350} + export MON2MON_COMM_PORT=${MON2MON_COMM_PORT:-23340} fi # Alternative logging capability in monitor
