Author: degenaro Date: Thu Nov 7 13:22:50 2013 New Revision: 1539629 URL: http://svn.apache.org/r1539629 Log: UIMA-3414 OR will not create lock file unless ducc.orchestrator.use.lock.file = true in ducc.properties file
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccPropertiesResolver.java Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccPropertiesResolver.java URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccPropertiesResolver.java?rev=1539629&r1=1539628&r2=1539629&view=diff ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccPropertiesResolver.java (original) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccPropertiesResolver.java Thu Nov 7 13:22:50 2013 @@ -78,6 +78,7 @@ public class DuccPropertiesResolver { public static final String ducc_orchestrator_maintenance_rate = "ducc.orchestrator.maintenance.rate"; public static final String ducc_orchestrator_job_factory_classpath_order = "ducc.orchestrator.job.factory.classpath.order"; public static final String ducc_orchestrator_unmanaged_reservations_accepted = "ducc.orchestrator.unmanaged.reservations.accepted"; + public static final String ducc_orchestrator_use_lock_file = "ducc.orchestrator.use.lock.file"; public static final String default_process_get_meta_time_max = "default.process.get.meta.time.max"; public static final String ducc_agent_launcher_process_init_timeout = "ducc.agent.launcher.process.init.timeout"; @@ -118,6 +119,7 @@ public class DuccPropertiesResolver { defaultProperties.put(ducc_rm_share_quantum,"10"); defaultProperties.put(ducc_jd_share_quantum,"300"); defaultProperties.put(ducc_orchestrator_unmanaged_reservations_accepted,"true"); + defaultProperties.put(ducc_orchestrator_use_lock_file,"false"); defaultProperties.put(ducc_ws_login_enabled,"true"); defaultProperties.put(ducc_jd_queue_timeout_minutes,"5"); defaultProperties.put(ducc_jd_queue_prefix,"ducc.jd.queue.");