[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
diff --git a/bin/systemds b/bin/systemds
index 9cfba51..bb65b2b 100755
--- a/bin/systemds
+++ b/bin/systemds
@@ -283,10 +283,6 @@
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 @@
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 @@
print_out "#"
print_out "# Running script $SCRIPT_FILE distributed with opts: $*"
print_out "###############################################################################"
-
export SPARK_MAJOR_VERSION=2
CMD=" \
spark-submit $SYSTEMDS_DISTRIBUTED_OPTS \