uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wahed Hemati <hem...@em.uni-frankfurt.de>
Subject Run Job with deployment discriptor
Date Fri, 14 Oct 2016 16:01:12 GMT
Hi,

I want to run a Job with a deployment discriptor.

My Job file looks like this:
description                     DUCC raw text sample application
driver_descriptor_CR de.tudarmstadt.ukp.dkpro.core.io.text.TextReader
process_descriptor_DD /home/ducc/ducc/ducctest/asJob/deploymentdescriptr.xml
service_dependency UIMA-AS:BreakIteratorSegmenter:tcp://alba:61617
process_memory_size             1
process_pipeline_count          2
process_jvm_args                -Xmx3G -XX:+UseCompressedOops 
-Djava.util.logging.config.file=/home/ducc/Desktop/ducctest/ConsoleLogger.properties
scheduling_class                normal
working_directory               ${DUCC_HOME}/ducctest
log_directory                   ${DUCC_HOME}/ducctest/logs
process_per_item_time_max       10
classpath 
${DUCC_HOME}/lib/uima-ducc/examples/*:${DUCC_HOME}/apache-uima/lib/*:${DUCC_HOME}/apache-uima/apache-activemq/lib/*:${DUCC_HOME}/apache-uima/apache-activemq/lib/optional/*:${DUCC_$
driver_descriptor_CR_overrides 
sourceLocation=${DUCC_HOME}/ducctest/Books patterns=[+]**/*.txt
wait_for_completion
cancel_on_interrupt
attach_console
debug

my process_descriptor_DD looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<analysisEngineDeploymentDescription 
xmlns="http://uima.apache.org/resourceSpecifier">
   <name>tmp1476430573219</name>
   <version>2.0</version>
   <deployment protocol="jms" provider="activemq">
     <service>
       <inputQueue endpoint="de_______BreakIteratorSegmenter" 
brokerURL="tcp://alba:61617" prefetch="0"/>
       <topDescriptor>
         <import location="/home/ducc/ducc/ducctest/asJob/descriptor.xml"/>
       </topDescriptor>
       <analysisEngine>
         <delegates>
           <remoteAnalysisEngine key="BreakIteratorSegmenter">
             <inputQueue brokerURL="tcp://alba:61617" 
endpoint="BreakIteratorSegmenter"/>
             <serializer method="xmi"/>
           </remoteAnalysisEngine>
         </delegates>
       </analysisEngine>
     </service>
   </deployment>
</analysisEngineDeploymentDescription>


When i ducc_submit the job, it gets stuck during Initializing.
Thanks in advance

-Wahed


Mime
View raw message