You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ba...@apache.org on 2020/08/24 11:45:16 UTC

[systemds] branch master updated: [MINOR] Add arguments to worker in bin/systemds

This is an automated email from the ASF dual-hosted git repository.

baunsgaard pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b0dff6  [MINOR] Add arguments to worker in bin/systemds
8b0dff6 is described below

commit 8b0dff6a03c92e680c6fda3d551e599eed2c2f8e
Author: baunsgaard <ba...@tugraz.at>
AuthorDate: Mon Aug 24 13:43:48 2020 +0200

    [MINOR] Add arguments to worker in bin/systemds
---
 bin/systemds | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/systemds b/bin/systemds
index b4bbedd..9cfba51 100755
--- a/bin/systemds
+++ b/bin/systemds
@@ -156,6 +156,7 @@ elif echo "$1" | grep -q "WORKER"; then
     echo "error: Port is not a number"
     printUsageExit
   fi
+  shift
 else
   # handle optional '-f' before DML file (for consistency)
   if  echo "$1" | grep -q "\-f"; then
@@ -291,7 +292,8 @@ if [ $WORKER == 1 ]; then
   -cp $CLASSPATH \
   $LOG4JPROP \
   org.apache.sysds.api.DMLScript \
-  -w $PORT"
+  -w $PORT \
+  $*"
 
 elif [ $SYSDS_DISTRIBUTED == 0 ]; then
   print_out "#"