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 46bc56e  [MINOR] Bug Fix in /bin/systemds
46bc56e is described below

commit 46bc56e259207d70ddb3f9252bf58c9172a9d05c
Author: Tobias Rieger <[email protected]>
AuthorDate: Tue Aug 25 09:26:08 2020 +0200

    [MINOR] Bug Fix in /bin/systemds
    
    This commit fixes a :bug: in /bin/systemds that made the command for
    executing java not print correctly.
    
    closes #1038
---
 bin/systemds | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/bin/systemds b/bin/systemds
index 9cfba51..bb65b2b 100755
--- a/bin/systemds
+++ b/bin/systemds
@@ -283,10 +283,6 @@ if [ $WORKER == 1 ]; then
   print_out "#"
   print_out "#  starting Fedederated worker on port $PORT"
   print_out 
"###############################################################################"
-
-  print_out "Executing command: $CMD"
-  print_out  ""
-
   CMD=" \
   java $SYSTEMDS_STANDALONE_OPTS \
   -cp $CLASSPATH \
@@ -294,6 +290,8 @@ if [ $WORKER == 1 ]; then
   org.apache.sysds.api.DMLScript \
   -w $PORT \
   $*"
+  print_out "Executing command: $CMD"
+  print_out  ""
 
 elif [ $SYSDS_DISTRIBUTED == 0 ]; then
   print_out "#"
@@ -314,7 +312,6 @@ else
   print_out "#"
   print_out "#  Running script $SCRIPT_FILE distributed with opts: $*"
   print_out 
"###############################################################################"
-
   export SPARK_MAJOR_VERSION=2
   CMD=" \
   spark-submit $SYSTEMDS_DISTRIBUTED_OPTS \

Reply via email to