You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by bu...@apache.org on 2015/07/23 17:27:32 UTC

svn commit: r1692405 - in /uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2: cli/ducc-process-submit.tex cli/ducc-reserve.tex cli/ducc-submit.tex ducc-uguide.tex

Author: burn
Date: Thu Jul 23 15:27:32 2015
New Revision: 1692405

URL: http://svn.apache.org/r1692405
Log:
UIMA-4529 Updated docs for ducc_reserve and corrected description of cancel_on_interrupt

Modified:
    uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-process-submit.tex
    uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-reserve.tex
    uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-submit.tex
    uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/ducc-uguide.tex

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-process-submit.tex
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-process-submit.tex?rev=1692405&r1=1692404&r2=1692405&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-process-submit.tex (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-process-submit.tex Thu Jul 23 15:27:32 2015
@@ -47,11 +47,9 @@
         \item[$--$attach\_console] If specified, remote process stdout and stderr are 
           redirected to, and stdin redirected from, the local submitting console.
           
-        \begin{sloppypar}
-        \item[$--$cancel\_on\_interrupt ] Cancel managed reservation on interrupt
-          (Ctrl-C).  If running with {\em $--$wait\_for\_completion} and this flag is specified,
-          terminating the submit process will result in the remote process being terminated.
-        \end{sloppypar}
+        \item[$--$cancel\_on\_interrupt] If specified, the remote process is monitored 
+           and will be canceled if the submit command is interrupted, e.g. with CTRL-C. 
+           This option always implies $--$wait\_for\_completion.
         
         \item[$--$description {[text]}] The text is any string used to describe the process. It is
           displayed in the Web Server. When specified on a command-line the text usually must be
@@ -137,10 +135,16 @@ process_memory_size = 15
         \item[$--$suppress\_console\_log] If specified, suppress creation of the log files that 
           normally hold the redirected stdout and stderr.
 
-        \item[$--$wait\_for\_completion ] If specified, the submit command does not return control to
-          the console immediately, and instead monitors the DUCC state traffic and prints
-          information about the process as it progresses.
-          
+        \item[$--$timestamp ]
+          If specified, messages from the submit process are timestamped. This is intended primarily 
+          for use with a monitor with --wait\_for\_completion. 
+
+        \item[$--$wait\_for\_completion ]             
+          If specified, the submit command monitors the remote process and prints periodic
+          state and progress information to the console.  When the process completes, the monitor
+          is terminated and the submit command returns.  If the command is interrupted, e.g. with CTRL-C,
+          the request will not be canceled unless $--$cancel\_on\_interrupt is also specified.
+
         \item[$--$working\_directory ] This specifies the working directory to be set by the Job
           Driver and Job Process processes.  If not specified, the current directory is used.
 

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-reserve.tex
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-reserve.tex?rev=1692405&r1=1692404&r2=1692405&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-reserve.tex (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-reserve.tex Thu Jul 23 15:27:32 2015
@@ -44,6 +44,10 @@
     
         \begin{description}
 
+            \item[$--$cancel\_on\_interrupt] If specified, the request is monitored 
+              and will be canceled if the reserve command is interrupted, e.g. with CTRL-C. 
+              This option always implies $--$wait\_for\_completion.
+
             \item[$--$debug ]          
               Prints internal debugging information, intended for DUCC developers or extended problem determination.
               
@@ -68,11 +72,24 @@
               properties file. This file may then be used to submit the request (rather than providing all 
               the parameters directory to submit). 
 
+           \item[$--$timestamp ]
+             If specified, messages from the submit process are timestamped. This is intended primarily 
+             for use with a monitor with --wait\_for\_completion. 
+
+           \item[$--$wait\_for\_completion ]             
+             By default, the reserve command monitors the request and prints periodic
+             state and progress information to the console.  When the reservation completes, the monitor
+             is terminated and the reserve command returns.  If the command is interrupted, e.g. with CTRL-C,
+             the request will not be canceled unless $--$cancel\_on\_interrupt is also specified.
+             If this option is disabled by specifying a value of ``false'', the command returns as
+             soon as the request has been submitted.
+
+
         \end{description}
             
     \paragraph{Notes:}
     Reservations must be for full machines, in a job class implementing the RESERVE scheduling
     policy. The default DUCC distribution configures class {\em reserve} for full machine
-    reservations. 
-
-
+    reservations.  If there is no available machine in that class matching the requested size (after
+    rounding up) the request is queued.  The user may cancel the request with {\em ducc\_unreserve}
+    or with CTRL-C if $--$cancel\_on\_interrupt was specified.

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-submit.tex
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-submit.tex?rev=1692405&r1=1692404&r2=1692405&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-submit.tex (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/ducc-submit.tex Thu Jul 23 15:27:32 2015
@@ -48,12 +48,9 @@
            \item[$--$attach\_console] If specified, redirect remote stdout and stderr
              to the local submitting console.
 
-           \item[$--$cancel\_on\_interrupt].  If the job is started with $--$wait\_for\_completion, this
-             option causes the job to be canceled if the submit command is terminated,
-             e.g., with CTL-C. If $--$cancel\_job\_on\_interrupt is not
-             specified, the job monitor will be terminated but the job will continue to run.
-
-             If $--$wait\_for\_completion is not specified this option is ignored. 
+           \item[$--$cancel\_on\_interrupt] If specified, the job is monitored 
+             and will be canceled if the submit command is interrupted, e.g. with CTRL-C. 
+             This option always implies $--$wait\_for\_completion.
 
            \item[$--$classpath {[path-string]}] The CLASSPATH used for the job.  If specified, this is used
              for both the Job Driver and each Job Process. If not specified, the CLASSPATH of the
@@ -357,15 +354,15 @@ process_memory_size                 = 15
            \item[$--$suppress\_console\_log] If specified, suppress creation of the log files that 
              normally hold the redirected stdout and stderr.
 
-           \item[$--$time-stamp ]
-
+           \item[$--$timestamp ]
              If specified, messages from the submit process are timestamped. This is intended primarily 
              for use with a monitor with --wait\_for\_completion. 
 
            \item[$--$wait\_for\_completion ]             
              If specified, the submit command monitors the job and prints periodic
              state and progress information to the console.  When the job completes, the monitor
-             is terminated and the submit command returns.
+             is terminated and the submit command returns.  If the command is interrupted, e.g. with CTRL-C,
+             the job will not be canceled unless $--$cancel\_on\_interrupt is also specified.
              
            \item[$--$working\_directory ]             
              This specifies the working directory to be set by the Job Driver and Job Process processes. 

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/ducc-uguide.tex
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/ducc-uguide.tex?rev=1692405&r1=1692404&r2=1692405&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/ducc-uguide.tex (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/ducc-uguide.tex Thu Jul 23 15:27:32 2015
@@ -60,7 +60,7 @@ process_deployments_max        999
 
     This can be submitted, overriding the scheduling class and memory, thus:
 \begin{verbatim}
-ducc_job_submit --specification 1.job --process_memory_size 16 --scheduling_class high
+ducc_submit --specification 1.job --process_memory_size 16 --scheduling_class high
 \end{verbatim}    
 
     The DUCC CLI parameters are now described in detail.
@@ -106,7 +106,7 @@ ducc_job_submit --specification 1.job --
     For example, to set the maximum number of open files allowed in any job process, specify 
     an environment similar to this when submitting the job:
 \begin{verbatim}
-     ducc_job_submit .... --environment="DUCC_RLIMT_NOFILE=1024" ...
+     ducc_submit .... --environment="DUCC_RLIMT_NOFILE=1024" ...
 \end{verbatim}
     
     \section{Command  Line Forms}