Author: buildbot
Date: Tue Sep  2 20:05:02 2014
New Revision: 921056

Log:
Staging update by buildbot for slider

Modified:
    websites/staging/slider/trunk/content/   (props changed)
    websites/staging/slider/trunk/content/docs/manpage.html

Propchange: websites/staging/slider/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Sep  2 20:05:02 2014
@@ -1 +1 @@
-1622019
+1622109

Modified: websites/staging/slider/trunk/content/docs/manpage.html
==============================================================================
--- websites/staging/slider/trunk/content/docs/manpage.html (original)
+++ websites/staging/slider/trunk/content/docs/manpage.html Tue Sep  2 20:05:02 
2014
@@ -412,9 +412,13 @@ to succeed</p>
 
 
 <h3 id="flex-name-component-component-count"><code>flex &lt;name&gt; 
[--component component count]*</code></h3>
-<p>Flex the number of workers in an application instance to the new value. If 
greater than before, new copies of the component will be requested. If less, 
component instances will be destroyed.</p>
-<p>This operation has a return value of 0 if the size of a running instance 
was changed. </p>
-<p>It returns -1 if there is no running application instance, or the size of 
the flexed instance matches that of the original -in which case its state does 
not change.</p>
+<p>Flex the number of workers in an application instance to the new value. 
+If greater than before, new copies of the component will be requested.
+If less, component instances will be destroyed.</p>
+<p>This operation has a return value of 0 if the change was submitted. Changes
+are not immediate and depend on the availability of resources in the YARN
+cluster</p>
+<p>It returns -1 if there is no running application instance</p>
 <p>Example</p>
 <div class="codehilite"><pre><span class="n">slider</span> <span 
class="n">flex</span> <span class="n">instance1</span> <span 
class="o">--</span><span class="n">component</span> <span 
class="n">worker</span> 8 <span class="o">--</span><span 
class="n">filesystem</span> <span class="n">hdfs</span><span 
class="p">:</span><span class="o">//</span><span class="n">host</span><span 
class="p">:</span><span class="n">port</span>
 <span class="n">slider</span> <span class="n">flex</span> <span 
class="n">instance1</span> <span class="o">--</span><span 
class="n">component</span> <span class="n">master</span> 2 <span 
class="o">--</span><span class="n">filesystem</span> <span 
class="n">hdfs</span><span class="p">:</span><span class="o">//</span><span 
class="n">host</span><span class="p">:</span><span class="n">port</span>


Reply via email to