You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2013/11/15 18:54:37 UTC

svn commit: r1542346 - in /uima/sandbox/uima-ducc/trunk/src/main: config/activemq-ducc.xml resources/ducc.properties

Author: cwiklik
Date: Fri Nov 15 17:54:37 2013
New Revision: 1542346

URL: http://svn.apache.org/r1542346
Log:
UIMA-2881 - added comments

Modified:
    uima/sandbox/uima-ducc/trunk/src/main/config/activemq-ducc.xml
    uima/sandbox/uima-ducc/trunk/src/main/resources/ducc.properties

Modified: uima/sandbox/uima-ducc/trunk/src/main/config/activemq-ducc.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/src/main/config/activemq-ducc.xml?rev=1542346&r1=1542345&r2=1542346&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/src/main/config/activemq-ducc.xml (original)
+++ uima/sandbox/uima-ducc/trunk/src/main/config/activemq-ducc.xml Fri Nov 15 17:54:37 2013
@@ -58,12 +58,17 @@
         <systemUsage>
             <systemUsage>
                 <memoryUsage>
+                    <!-- Memory for incoming messages before going to broker's Store -->
                     <memoryUsage limit="500 mb"/>
                 </memoryUsage>
                 <storeUsage>
+                    <!-- Broker's memory where messages are stored -->
+                    <!-- before being dispatched to consumers      -->
                     <storeUsage limit="1 gb" name="foo"/>
                 </storeUsage>
                 <tempUsage>
+                    <!-- Disk space dedicated to persistent messages -->
+                    <!-- Currently not used by Ducc                  -->
                     <tempUsage limit="500 mb"/>
                </tempUsage>
            </systemUsage>

Modified: uima/sandbox/uima-ducc/trunk/src/main/resources/ducc.properties
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/src/main/resources/ducc.properties?rev=1542346&r1=1542345&r2=1542346&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/src/main/resources/ducc.properties (original)
+++ uima/sandbox/uima-ducc/trunk/src/main/resources/ducc.properties Fri Nov 15 17:54:37 2013
@@ -68,11 +68,15 @@ ducc.jms.provider=activemq
 ducc.broker.protocol=tcp
 ducc.broker.hostname=${ducc.head}
 ducc.broker.port=61617
-# Broker deocrations: JERRY JERRY JERRY
-#    maxInactivityDuration: 
-#    useCompression:
-#    closeAsync:
+
+# Broker decorations: 
+#    maxInactivityDuration: 0, turn off broker detection of inactive connections
+#    useCompression: true, compress JMS cargo 
+#    closeAsync: false, block waiting until the JMS connection is closed. This
+#                 setting reduces number of open sockets. 
 ducc.broker.url.decoration=wireFormat.maxInactivityDuration=0&jms.useCompression=true&closeAsync=false
+
+
 ducc.broker.name=localhost
 ducc.broker.jmx.port=1100
 #
@@ -92,11 +96,11 @@ ducc.broker.credentials.file=${DUCC_HOME
 
 ducc.broker.automanage = true
 ducc.broker.memory.options = -Xmx1G
-#JERRY JERRY JERRY pls verify the systemUsage part of activemq-ducc.xml
+
 ducc.broker.configuration = conf/activemq-ducc.xml
 ducc.broker.home = ${DUCC_HOME}/activemq
 
-# JERRY JERRY JERRY check this out
+# transport.soWriteTimeout=45000, 45sec timeout on write operations to the socket.
 ducc.broker.server.url.decoration = transport.soWriteTimeout=45000
 
 # To enable tracing of RM messages arriving in OR and NodeMetrics arriving in WS.
@@ -121,9 +125,8 @@ ducc.locale.country=us
 # If an agent detects free swap space dipping below the value defined
 # below, it will find the fattest (in terms of memory) process in its
 # inventory and kill it. The value of the parameter below is expressed
-# in Megabytes.
+# in MB.
 # Initially disabled by setting the threshold at 0.
-# JERRY JERRY JERRY Check units - MB or other
 #   Set this to 1GB equiv
 ducc.node.min.swap.threshold=0
 
@@ -345,10 +348,10 @@ ducc.agent.node.inventory.publish.rate.s
 ducc.agent.node.inventory.endpoint=ducc.node.inventory
 # endpoint type choices[topic]
 ducc.agent.node.inventory.endpoint.type=topic
-# JERRY JERRY JERRY Check this out
+# ducc.agent.launcher.thread.pool.size - Deprecated
 ducc.agent.launcher.thread.pool.size=10
 # enable/disable use of ducc_ling
-# JERRY JERRY JERRY what is the default
+# ducc.agent.launcher.use.ducc_spawn: true, use ducc_ling. Default: false
 ducc.agent.launcher.use.ducc_spawn=true
 # specify location of ducc_ling in the filesystem
 ducc.agent.launcher.ducc_spawn_path=${DUCC_HOME}/admin/ducc_ling
@@ -402,8 +405,13 @@ ducc.uima-as.endpoint.type=socket
 #  - synch=false - use socket transport for one-way messaging (no replies neeeded)
 ducc.uima-as.endpoint.params=transferExchange=true&sync=false
 
-# JERRY JERRY JERRY Document these
+# saxon8.jar - Saxon is an XSLT and XQuery processor. It is used by UIMA-AS
+#              when deploying a service.
 ducc.uima-as.saxon.jar.path=file:${DUCC_HOME}/lib/saxon/saxon8.jar
+
+# dd2spring.xsl - contains a set of rules used when transforming 
+#                 UIMA-AS deployment descriptor into SpringFramework's 
+#                 context file used to deploy UIMA-AS based service.
 ducc.uima-as.dd2spring.xsl.path=${DUCC_HOME}/resources/dd2spring.xsl
 
 # Custom Flow Controller to use for Ducc Job Processes