Skip to content

Commit

Permalink
[MINOR] Change 'binary' systemds to use Manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Mar 5, 2024
1 parent 0d62364 commit 9d5002e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
18 changes: 6 additions & 12 deletions bin/systemds
Expand Up @@ -431,10 +431,8 @@ if [ $WORKER == 1 ]; then
print_out "# starting Federated worker on port $PORT"
print_out "###############################################################################"
CMD=" \
java $SYSTEMDS_STANDALONE_OPTS \
-cp $CLASSPATH \
$LOG4JPROPFULL \
org.apache.sysds.api.DMLScript \
java $LOG4JPROPFULL \
-jar $SYSTEMDS_JAR_FILE \
-w $PORT \
$CONFIG_FILE \
$*"
Expand All @@ -446,10 +444,8 @@ elif [ "$FEDMONITORING" == 1 ]; then
print_out "# starting Federated backend monitoring on port $PORT"
print_out "###############################################################################"
CMD=" \
java $SYSTEMDS_STANDALONE_OPTS \
-cp $CLASSPATH \
$LOG4JPROPFULL \
org.apache.sysds.api.DMLScript \
java $LOG4JPROPFULL \
-jar $SYSTEMDS_JAR_FILE \
-fedMonitoring $PORT \
$CONFIG_FILE \
$*"
Expand All @@ -461,10 +457,8 @@ elif [ $SYSDS_DISTRIBUTED == 0 ]; then
print_out "# Running script $SCRIPT_FILE locally with opts: $*"
print_out "###############################################################################"
CMD=" \
java $SYSTEMDS_STANDALONE_OPTS \
-cp $CLASSPATH \
$LOG4JPROPFULL \
org.apache.sysds.api.DMLScript \
java $LOG4JPROPFULL \
-jar $SYSTEMDS_JAR_FILE \
-f $SCRIPT_FILE \
-exec $SYSDS_EXEC_MODE \
$CONFIG_FILE \
Expand Down
3 changes: 0 additions & 3 deletions pom.xml
Expand Up @@ -225,9 +225,6 @@
<classpathPrefix>lib/</classpathPrefix>
<mainClass>org.apache.sysds.api.DMLScript</mainClass>
</manifest>
<manifestEntries>
<Class-Path>SystemDS.jar ${project.artifactId}-${project.version}.jar</Class-Path>
</manifestEntries>
</archive>
</configuration>
</execution>
Expand Down

0 comments on commit 9d5002e

Please sign in to comment.