You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uniffle.apache.org by ro...@apache.org on 2022/09/28 12:07:34 UTC
[incubator-uniffle] branch master updated: Fix startup shell problem (#251)
This is an automated email from the ASF dual-hosted git repository.
roryqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git
The following commit(s) were added to refs/heads/master by this push:
new 8625c9ac Fix startup shell problem (#251)
8625c9ac is described below
commit 8625c9ace976a5ccbf7d9d201dbe44572a668550
Author: roryqi <je...@gmail.com>
AuthorDate: Wed Sep 28 20:07:30 2022 +0800
Fix startup shell problem (#251)
### What changes were proposed in this pull request?
Modify environment variable
### Why are the changes needed?
throw unbound variable error
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Manual test
Co-authored-by: roryqi <ro...@tencent.com>
---
bin/start-shuffle-server.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/start-shuffle-server.sh b/bin/start-shuffle-server.sh
index 40d18d1f..e0b979e9 100644
--- a/bin/start-shuffle-server.sh
+++ b/bin/start-shuffle-server.sh
@@ -48,7 +48,7 @@ MAIN_CLASS="org.apache.uniffle.server.ShuffleServer"
HADOOP_DEPENDENCY="$("$HADOOP_HOME/bin/hadoop" classpath --glob)"
echo "Check process existence"
-RPC_PORT=`grep '^rss.rpc.server.port' $CONF_FILE |awk '{print $2}'`
+RPC_PORT=`grep '^rss.rpc.server.port' $SHUFFLE_SERVER_CONF_FILE |awk '{print $2}'`
is_port_in_use $RPC_PORT