From 65155fcdd0050449bb3bd47ec0fabb92079d008e Mon Sep 17 00:00:00 2001 From: Evan Heisman Date: Tue, 1 Mar 2022 15:28:33 -0800 Subject: [PATCH] WAT-204 bug fix fixes WAT-204 bug by leaving previously computed jobs in /runs/ directory of watershed --- computenode.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/computenode.bat b/computenode.bat index 4e112f5..2239f7a 100644 --- a/computenode.bat +++ b/computenode.bat @@ -27,6 +27,10 @@ set JVM_OPTS=%JVM_OPTS% -Djava.util.logging.config.file="%wat_home%/config/prope set JVM_OPTS=%JVM_OPTS% -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl set JVM_OPTS=%JVM_OPTS% -DWriteFilesToDelete=true +rem IMPORTANT this patches over WAT-204 bug where WAT tries to delete runs after each lifecycle and fails +rem leaving this out will cause the compute node to fail when starting the 2nd job. +set JVM_OPTS=%JVM_OPTS% -DGridGainComputePlugin.DontDeleteRuns=true + rem -verbose:class set USER_LIBS=C:\Programs\DC\Plugin\gridgaincompute.jar;%WAT_HOME%\jar\*;%WAT_HOME%\jar\rmi\*;%WAT_HOME%\jar\sys\*;%WAT_HOME%\jar\ext\*;%WAT_HOME%\jar\sys\excel\*;%WAT_HOME%\jar\sys\akka\*;%WAT_HOME%\jar\sys\ratingEditor\*;%WAT_HOME%\..\apps\HEC-HMS\*;%WAT_HOME%\jar\sys\geotools\* rem this isn't a mistake, its supposed to clear the variable so that the path doesn't keep growing