Modified: helix/site-content/trunk-docs/recipes/task_dag_execution.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/recipes/task_dag_execution.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/recipes/task_dag_execution.html (original)
+++ helix/site-content/trunk-docs/recipes/task_dag_execution.html Fri Jan 24 
00:56:51 2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="../" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>Distributed Task Execution</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/recipes/user_def_rebalancer.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/recipes/user_def_rebalancer.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/recipes/user_def_rebalancer.html (original)
+++ helix/site-content/trunk-docs/recipes/user_def_rebalancer.html Fri Jan 24 
00:56:51 2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="../" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>Lock Manager with a User-Defined 
Rebalancer</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/sonar.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/sonar.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/sonar.html (original)
+++ helix/site-content/trunk-docs/sonar.html Fri Jan 24 00:56:51 2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>Sonar</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/source-repository.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/source-repository.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/source-repository.html (original)
+++ helix/site-content/trunk-docs/source-repository.html Fri Jan 24 00:56:51 
2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>Source Repository</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/team-list.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/team-list.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/team-list.html (original)
+++ helix/site-content/trunk-docs/team-list.html Fri Jan 24 00:56:51 2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>Team list</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_accessors.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_accessors.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_accessors.html (original)
+++ helix/site-content/trunk-docs/tutorial_accessors.html Fri Jan 24 00:56:51 
2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - Logical Accessors</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_admin.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_admin.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_admin.html (original)
+++ helix/site-content/trunk-docs/tutorial_admin.html Fri Jan 24 00:56:51 2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - Admin Operations</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Added: helix/site-content/trunk-docs/tutorial_agent.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_agent.html?rev=1560862&view=auto
==============================================================================
--- helix/site-content/trunk-docs/tutorial_agent.html (added)
+++ helix/site-content/trunk-docs/tutorial_agent.html Fri Jan 24 00:56:51 2014
@@ -0,0 +1,382 @@
+
+<!DOCTYPE html>
+<!--
+ Generated by Apache Maven Doxia at 2014-01-23
+ Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
+-->
+<html  xml:lang="en" lang="en">
+
+       <head>
+               <meta charset="UTF-8" />
+               <title>Apache Helix -   Tutorial - Helix Agent</title>
+               <meta name="viewport" content="width=device-width, 
initial-scale=1.0" />
+               <meta name="description" content="" />
+               <meta http-equiv="content-language" content="en" />
+
+               <link 
href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap.min.css";
 rel="stylesheet" />
+               <link 
href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-responsive.min.css";
 rel="stylesheet" />
+               <link href="./css/docs.css" rel="stylesheet" />
+               <link href="./css/reflow-skin.css" rel="stylesheet" />
+               
+               
+               <link href="./css/lightbox.css" rel="stylesheet" />
+               
+               <link href="./css/site.css" rel="stylesheet" />
+               <link href="./css/print.css" rel="stylesheet" media="print" />
+               
+               <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
+               <!--[if lt IE 9]>
+                       <script 
src="http://html5shim.googlecode.com/svn/trunk/html5.js";></script>
+               <![endif]-->
+               
+<script type="text/javascript">var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-3211522-12']);
+        _gaq.push(['_trackPageview']);
+
+        (function() {
+        var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+        })();</script>
+       </head>
+
+       <body class="page-tutorial_agent project-trunk-docs" data-spy="scroll" 
data-offset="60" data-target="#toc-scroll-target">
+
+               <div class="navbar navbar-fixed-top">
+                       <div class="navbar-inner">
+                               <div class="container">
+                                       <a class="btn btn-navbar" 
data-toggle="collapse" data-target=".nav-collapse">
+                                               <span class="icon-bar"></span>
+                                               <span class="icon-bar"></span>
+                                               <span class="icon-bar"></span>
+                                       </a>
+                                       <a class="brand" href="..">Apache 
Helix</a>
+                                       <div class="nav-collapse">
+                                               <ul class="nav pull-right">
+                                                       <li><a 
href="index.html" title="Helix trunk">Helix trunk </a></li>
+                                                       <li class="dropdown">
+                                                               <a href="#" 
class="dropdown-toggle" data-toggle="dropdown">Get Helix <b 
class="caret"></b></a>
+                                                               <ul 
class="dropdown-menu">
+                                                                       <li><a 
href="Building.html" title="Building">Building </a></li>
+                                                               </ul>
+                                                       </li>
+                                                       <li class="dropdown">
+                                                               <a href="#" 
class="dropdown-toggle" data-toggle="dropdown">Hands-On <b 
class="caret"></b></a>
+                                                               <ul 
class="dropdown-menu">
+                                                                       <li><a 
href="Quickstart.html" title="Quick Start">Quick Start </a></li>
+                                                                       <li><a 
href="Tutorial.html" title="Tutorial">Tutorial </a></li>
+                                                                       <li><a 
href="../apidocs" title="Javadocs">Javadocs </a></li>
+                                                               </ul>
+                                                       </li>
+                                                       <li class="dropdown">
+                                                               <a href="#" 
class="dropdown-toggle" data-toggle="dropdown">Recipes <b class="caret"></b></a>
+                                                               <ul 
class="dropdown-menu">
+                                                                       <li><a 
href="recipes/lock_manager.html" title="Distributed lock manager">Distributed 
lock manager </a></li>
+                                                                       <li><a 
href="recipes/rabbitmq_consumer_group.html" title="Rabbit MQ consumer 
group">Rabbit MQ consumer group </a></li>
+                                                                       <li><a 
href="recipes/rsync_replicated_file_store.html" title="Rsync replicated file 
store">Rsync replicated file store </a></li>
+                                                                       <li><a 
href="recipes/service_discovery.html" title="Service Discovery">Service 
Discovery </a></li>
+                                                                       <li><a 
href="recipes/task_dag_execution.html" title="Distributed task DAG 
Execution">Distributed task DAG Execution </a></li>
+                                                                       <li><a 
href="recipes/user_def_rebalancer.html" title="User-defined 
rebalancer">User-defined rebalancer </a></li>
+                                                               </ul>
+                                                       </li>
+                                               </ul>
+                                       </div><!--/.nav-collapse -->
+                               </div>
+                       </div>
+               </div>
+               
+       <div class="container">
+       
+       <!-- Masthead
+       ================================================== -->
+       <header class="jumbotron subhead">
+               <div class="row" id="banner">
+                       <div class="span12">
+                               <div class="pull-left">
+                                       <a href="../" id="bannerLeft"><img 
src="../images/helix-logo.jpg" alt='"''"' /></a>
+                                       <p class="lead">A cluster management 
framework for partitioned and replicated distributed resources</p>
+                               </div>
+                               <div class="pull-right">
+                                       <a href="http://www.apache.org/"; 
id="bannerRight"><img src="../images/feather_small.gif" alt='"''"' /></a>
+                               </div>
+                       </div>
+               </div>
+               <div>
+                       <ul class="breadcrumb">
+                               <li><a href="../" title="Apache Helix">Apache 
Helix </a></li>
+                               <li class="divider">/</li>
+                               <li><a href="./" title="trunk">trunk </a></li>
+                               <li class="divider">/</li>
+                               <li>  Tutorial - Helix Agent</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
+                       </ul>
+               </div>
+       </header>
+
+       <div class="main-body">
+       <div class="row">
+               <div class="span12">
+                       <div class="body-content">
+<!-- -
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License. --> 
+<p></p> 
+<div class="section"> 
+ <div class="page-header">
+  <h2 id="Helix_Tutorial:_Helix_Agent_for_non-JVM_systems"><a 
href="./Tutorial.html">Helix Tutorial</a>: Helix Agent (for non-JVM 
systems)</h2>
+ </div> 
+ <p>Not every distributed system is written on the JVM, but many systems would 
benefit from the cluster management features that Helix provides. To make a 
non-JVM system work with Helix, you can use the Helix Agent module.</p> 
+ <div class="section"> 
+  <h3 id="What_is_Helix_Agent">What is Helix Agent?</h3> 
+  <p>Helix is built on the following assumption: if your distributed resource 
is modeled by a finite state machine, then Helix can tell participants when 
they should transition between states. In the Java API, this means implementing 
transition callbacks. In the Helix agent API, this means providing commands 
than can run for each transition.</p> 
+  <p>These commands could do anything behind the scenes; Helix only requires 
that they exit once the state transition is complete.</p> 
+ </div> 
+ <div class="section"> 
+  <h3 id="Configuring_Transition_Commands">Configuring Transition 
Commands</h3> 
+  <p>Here’s how to tell Helix which commands to run on state 
transitions:</p> 
+  <div class="section"> 
+   <h4 id="Java">Java</h4> 
+   <p>Using the Java API, first get a configuration scope (the Helix agent 
supports both cluster and resource scopes, picking resource first if it is 
available):</p> 
+   <div class="source"> 
+    <pre>// Cluster scope
+HelixConfigScope scope =
+    new 
HelixConfigScopeBuilder(ConfigScopeProperty.CLUSTER).forCluster(clusterName).build();
+
+// Resource scope
+HelixConfigScope scope =
+    new 
HelixConfigScopeBuilder(ConfigScopeProperty.RESOURCE).forCluster(clusterName).forResource(resourceName).build();
+</pre> 
+   </div> 
+   <p>Then, specify the command to run for each state transition:</p> 
+   <div class="source"> 
+    <pre>// Get the configuration accessor
+ConfigAccessor configAccessor = new ConfigAccessor(_gZkClient);
+
+// Specify the script for OFFLINE --&gt; ONLINE
+CommandConfig.Builder builder = new CommandConfig.Builder();
+CommandConfig cmdConfig =
+    builder.setTransition(&quot;OFFLINE&quot;, 
&quot;ONLINE&quot;).setCommand(&quot;simpleHttpClient.py OFFLINE-ONLINE&quot;)
+        .setCommandWorkingDir(workingDir)
+        .setCommandTimeout(&quot;5000L&quot;) // optional: ms to wait before 
failing
+        .setPidFile(pidFile) // optional: for daemon-like systems that will 
write the process id to a file
+        .build();
+configAccessor.set(scope, cmdConfig.toKeyValueMap());
+
+// Specify the script for ONLINE --&gt; OFFLINE
+builder = new CommandConfig.Builder();
+cmdConfig =
+    builder.setTransition(&quot;ONLINE&quot;, 
&quot;OFFLINE&quot;).setCommand(&quot;simpleHttpClient.py ONLINE-OFFLINE&quot;)
+        .setCommandWorkingDir(workingDir)
+        .build();
+configAccessor.set(scope, cmdConfig.toKeyValueMap());
+
+// Specify NOP for OFFLINE --&gt; DROPPED
+builder = new CommandConfig.Builder();
+cmdConfig =
+    builder.setTransition(&quot;OFFLINE&quot;, &quot;DROPPED&quot;)
+        .setCommand(CommandAttribute.NOP.getName())
+        .build();
+configAccessor.set(scope, cmdConfig.toKeyValueMap());
+</pre> 
+   </div> 
+   <p>In this example, we have a program called simpleHttpClient.py that we 
call for all transitions, only changing the arguments that are passed in. 
However, there is no requirement that each transition invoke the same program; 
this API allows running arbitrary commands in arbitrary directories with 
arbitrary arguments.</p> 
+   <p>Notice that that for the OFFLINE --&gt; DROPPED transition, we do not 
run any command (specifically, we specify the NOP command). This just tells 
Helix that the system doesn’t care about when things are dropped, and it can 
consider the transition already done.</p> 
+  </div> 
+  <div class="section"> 
+   <h4 id="Command_Line">Command Line</h4> 
+   <p>It is also possible to configure everything directly from the command 
line. Here’s how that would look for cluster-wide configuration:</p> 
+   <div class="source"> 
+    <pre># Specify the script for OFFLINE --&gt; ONLINE
+/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName 
OFFLINE-ONLINE.command=&quot;simpleHttpClient.py 
OFFLINE-ONLINE&quot;,OFFLINE-ONLINE.workingDir=&quot;/path/to/script&quot;, 
OFFLINE-ONLINE.command.pidfile=&quot;/path/to/pidfile&quot;
+
+# Specify the script for ONLINE --&gt; OFFLINE
+/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName 
ONLINE-OFFLINE.command=&quot;simpleHttpClient.py 
ONLINE-OFFLINE&quot;,ONLINE-OFFLINE.workingDir=&quot;/path/to/script&quot;, 
OFFLINE-ONLINE.command.pidfile=&quot;/path/to/pidfile&quot;
+
+# Specify NOP for OFFLINE --&gt; DROPPED
+/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName 
ONLINE-OFFLINE.command=&quot;nop&quot;
+</pre> 
+   </div> 
+   <p>Like in the Java configuration, it is also possible to specify a 
resource scope instead of a cluster scope:</p> 
+   <div class="source"> 
+    <pre># Specify the script for OFFLINE --&gt; ONLINE
+/helix-admin.sh --zkSvr localhost:2181 --setConfig RESOURCE 
clusterName,resourceName OFFLINE-ONLINE.command=&quot;simpleHttpClient.py 
OFFLINE-ONLINE&quot;,OFFLINE-ONLINE.workingDir=&quot;/path/to/script&quot;, 
OFFLINE-ONLINE.command.pidfile=&quot;/path/to/pidfile&quot;
+</pre> 
+   </div> 
+  </div> 
+ </div> 
+ <div class="section"> 
+  <h3 id="Starting_the_Agent">Starting the Agent</h3> 
+  <p>There should be an agent running for every participant you have running. 
Ideally, its lifecycle should match that of the participant. Here, we have a 
simple long-running participant called simpleHttpServer.py. Its only purpose is 
to record state transitions.</p> 
+  <p>Here are some ways that you can start the Helix agent:</p> 
+  <div class="section"> 
+   <h4 id="Java">Java</h4> 
+   <div class="source"> 
+    <pre>// Start your application process
+ExternalCommand serverCmd = ExternalCommand.start(workingDir + 
&quot;/simpleHttpServer.py&quot;);
+
+// Start the agent
+Thread agentThread = new Thread() {
+  @Override
+  public void run() {
+    while(!isInterrupted()) {
+      try {
+        HelixAgentMain.main(new String[] {
+            &quot;--zkSvr&quot;, zkAddr, &quot;--cluster&quot;, clusterName, 
&quot;--instanceName&quot;, instanceName,
+            &quot;--stateModel&quot;, &quot;OnlineOffline&quot;
+        });
+      } catch (InterruptedException e) {
+        LOG.info(&quot;Agent thread interrupted&quot;, e);
+        interrupt();
+      } catch (Exception e) {
+        LOG.error(&quot;Exception start helix-agent&quot;, e);
+      }
+    }
+  }
+};
+agentThread.start();
+
+// Wait for the process to terminate (either intentionally or unintentionally)
+serverCmd.waitFor();
+
+// Kill the agent
+agentThread.interrupt();
+</pre> 
+   </div> 
+  </div> 
+  <div class="section"> 
+   <h4 id="Command_Line">Command Line</h4> 
+   <div class="source"> 
+    <pre># Build Helix and start the agent
+mvn clean install -DskipTests
+chmod +x helix-agent/target/helix-agent-pkg/bin/*
+helix-agent/target/helix-agent-pkg/bin/start-helix-agent.sh --zkSvr 
zkAddr1,zkAddr2 --cluster clusterName --instanceName instanceName --stateModel 
OnlineOffline
+
+# Here, you can define your own logic to terminate this agent when your 
process terminates
+...
+</pre> 
+   </div> 
+  </div> 
+ </div> 
+ <div class="section"> 
+  <h3 id="Example">Example</h3> 
+  <p><a class="externalLink" 
href="https://git-wip-us.apache.org/repos/asf?p=helix.git;a=blob;f=helix-agent/src/test/java/org/apache/helix/agent/TestHelixAgent.java;h=ccf64ce5544207c7e48261682ea69945b71da7f1;hb=refs/heads/master";>Here</a>
 is a basic system that uses the Helix agent package.</p> 
+ </div> 
+ <div class="section"> 
+  <h3 id="Notes">Notes</h3> 
+  <p>As you may have noticed from the examples, the participant program and 
the state transition program are two different programs. The former is a 
<i>long-running</i> process that is directly tied to the Helix agent. The 
latter is a process that only exists while a state transition is underway. 
Despite this, these two processes should be intertwined. The transition command 
will need to communicate to the participant to actually complete the state 
transition and the participant will need to communicate whether or not this was 
successful. The implementation of this protocol is the responsibility of the 
system.</p> 
+ </div> 
+</div>
+                       </div>
+               </div>
+       </div>
+       </div>
+
+       </div><!-- /container -->
+       
+       <!-- Footer
+       ================================================== -->
+       <footer class="well">
+               <div class="container">
+                       <div class="row">
+                               <div class="span3 bottom-nav">
+                                       <ul class="nav nav-list">
+                                               <li class="nav-header">Get 
Helix</li>
+                                               <li>
+                                                       <a href="Building.html" 
title="Building">Building </a>
+                                               </li>
+                                       </ul>
+                               </div>
+                               <div class="span3 bottom-nav">
+                                       <ul class="nav nav-list">
+                                               <li 
class="nav-header">Hands-On</li>
+                                               <li>
+                                                       <a 
href="Quickstart.html" title="Quick Start">Quick Start </a>
+                                               </li>
+                                               <li>
+                                                       <a href="Tutorial.html" 
title="Tutorial">Tutorial </a>
+                                               </li>
+                                               <li>
+                                                       <a href="../apidocs" 
title="Javadocs">Javadocs </a>
+                                               </li>
+                                       </ul>
+                               </div>
+                               <div class="span3 bottom-nav">
+                                       <ul class="nav nav-list">
+                                               <li 
class="nav-header">Recipes</li>
+                                               <li>
+                                                       <a 
href="recipes/lock_manager.html" title="Distributed lock manager">Distributed 
lock manager </a>
+                                               </li>
+                                               <li>
+                                                       <a 
href="recipes/rabbitmq_consumer_group.html" title="Rabbit MQ consumer 
group">Rabbit MQ consumer group </a>
+                                               </li>
+                                               <li>
+                                                       <a 
href="recipes/rsync_replicated_file_store.html" title="Rsync replicated file 
store">Rsync replicated file store </a>
+                                               </li>
+                                               <li>
+                                                       <a 
href="recipes/service_discovery.html" title="Service Discovery">Service 
Discovery </a>
+                                               </li>
+                                               <li>
+                                                       <a 
href="recipes/task_dag_execution.html" title="Distributed task DAG 
Execution">Distributed task DAG Execution </a>
+                                               </li>
+                                               <li>
+                                                       <a 
href="recipes/user_def_rebalancer.html" title="User-defined 
rebalancer">User-defined rebalancer </a>
+                                               </li>
+                                       </ul>
+                               </div>
+                       </div>
+               </div>
+       </footer>
+               
+       <div class="container subfooter">
+               <div class="row">
+                       <div class="span12">
+                               <p class="pull-right"><a href="#">Back to 
top</a></p>
+                               <p class="copyright">Copyright &copy;2014 <a 
href="http://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
+                               <p><a 
href="http://github.com/andriusvelykis/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> by <a href="http://andrius.velykis.lt"; 
target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p>
+               
+<div class="row span16">
+  <div>Apache Helix, Apache, the Apache feather logo, and the Apache Helix 
project logos are trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks 
of their respective owners.</div>
+  <a href="http://helix.apache.org/trunk-docs/privacy-policy.html";>Privacy 
Policy</a>
+</div>                 </div>
+               </div>
+       </div>
+
+       <!-- Le javascript
+       ================================================== -->
+       <!-- Placed at the end of the document so the pages load faster -->
+
+       <!-- Fallback jQuery loading from Google CDN:
+            
http://stackoverflow.com/questions/1014203/best-way-to-use-googles-hosted-jquery-but-fall-back-to-my-hosted-library-on-go
 -->
+       <script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js";></script>
+       <script type="text/javascript">
+               if (typeof jQuery == 'undefined')
+               {
+                       document.write(unescape("%3Cscript 
src='./js/jquery-1.8.3.min.js' type='text/javascript'%3E%3C/script%3E"));
+               }
+       </script>
+       
+       <script 
src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js";></script>
+       <script src="./js/lightbox.js"></script>
+       <script src="./js/jquery.smooth-scroll.min.js"></script>
+       <!-- back button support for smooth scroll -->
+       <script src="./js/jquery.ba-bbq.min.js"></script>
+
+       <script src="./js/reflow-skin.js"></script>
+       
+       </body>
+</html>
\ No newline at end of file

Modified: helix/site-content/trunk-docs/tutorial_controller.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_controller.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_controller.html (original)
+++ helix/site-content/trunk-docs/tutorial_controller.html Fri Jan 24 00:56:51 
2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - Controller</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_health.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_health.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_health.html (original)
+++ helix/site-content/trunk-docs/tutorial_health.html Fri Jan 24 00:56:51 2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - Customizing Heath Checks</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_messaging.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_messaging.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_messaging.html (original)
+++ helix/site-content/trunk-docs/tutorial_messaging.html Fri Jan 24 00:56:51 
2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - Messaging</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_participant.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_participant.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_participant.html (original)
+++ helix/site-content/trunk-docs/tutorial_participant.html Fri Jan 24 00:56:51 
2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - Participant</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_propstore.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_propstore.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_propstore.html (original)
+++ helix/site-content/trunk-docs/tutorial_propstore.html Fri Jan 24 00:56:51 
2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - Application Property Store</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_rebalance.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_rebalance.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_rebalance.html (original)
+++ helix/site-content/trunk-docs/tutorial_rebalance.html Fri Jan 24 00:56:51 
2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - Rebalancing Algorithms</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_spectator.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_spectator.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_spectator.html (original)
+++ helix/site-content/trunk-docs/tutorial_spectator.html Fri Jan 24 00:56:51 
2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - Spectator</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_state.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_state.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_state.html (original)
+++ helix/site-content/trunk-docs/tutorial_state.html Fri Jan 24 00:56:51 2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - State Machine 
Configuration</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_throttling.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_throttling.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_throttling.html (original)
+++ helix/site-content/trunk-docs/tutorial_throttling.html Fri Jan 24 00:56:51 
2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - Throttling</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_user_def_rebalancer.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_user_def_rebalancer.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_user_def_rebalancer.html (original)
+++ helix/site-content/trunk-docs/tutorial_user_def_rebalancer.html Fri Jan 24 
00:56:51 2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - User-Defined Rebalancing</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/trunk-docs/tutorial_yaml.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/trunk-docs/tutorial_yaml.html?rev=1560862&r1=1560861&r2=1560862&view=diff
==============================================================================
--- helix/site-content/trunk-docs/tutorial_yaml.html (original)
+++ helix/site-content/trunk-docs/tutorial_yaml.html Fri Jan 24 00:56:51 2014
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2014-01-16
+ Generated by Apache Maven Doxia at 2014-01-23
  Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -108,7 +108,7 @@
                                <li><a href="./" title="trunk">trunk </a></li>
                                <li class="divider">/</li>
                                <li>  Tutorial - YAML Cluster Setup</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-16</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2014-01-23</li>
                        </ul>
                </div>
        </header>


Reply via email to