Modified: helix/site-content/1.0.2-docs/tutorial_propstore.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_propstore.html?rev=1906412&r1=1906411&r2=1906412&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_propstore.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_propstore.html Thu Jan  5 19:48:20 
2023
@@ -1,13 +1,8 @@
 
 <!DOCTYPE html>
-
-
-
-
-
-
 <!--
- Generated by Apache Maven Doxia at 2022-10-19  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-15
+ Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -18,84 +13,61 @@
                <meta name="description" content="" />
                <meta http-equiv="content-language" content="en" />
 
-               <link href="./css/bootstrap.min.css" rel="stylesheet" />
-               <link href="./css/bootstrap-responsive.min.css" 
rel="stylesheet" />
+               <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="./js/html5.js"></script>
+                       <script 
src="http://html5shim.googlecode.com/svn/trunk/html5.js";></script>
                <![endif]-->
+               
+       </head>
 
+       <body class="page-$config.fileId project-$config.projectId" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
-
-
-
-    
-<!-- Matomo -->
-<script>
-    var _paq = window._paq = window._paq || [];
-                        _paq.push(['disableCookies']);
-                                    _paq.push(['trackPageView']);
-                                    _paq.push(['enableLinkTracking']);
-                    
-    (function() {
-        var u="https://analytics.apache.org";;
-        _paq.push(['setTrackerUrl', u+'/matomo.php']);
-        _paq.push(['setSiteId', '15']);
-        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
-        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
-    })();
-</script>
-<!-- End Matomo Code -->
-       </head>
-
-       <body class="page-tutorial_propstore project-102-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="#top-nav-collapse">
+                                       <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 collapse" 
id="top-nav-collapse">
+                                       <div class="nav-collapse">
                                                <ul class="nav pull-right">
-                                                       <li ><a 
href="index.html" title="Helix 1.0.2">Helix 1.0.2</a></li>
-                                                       <li class="dropdown">
+                                                       <li class="active"><a 
href="" title="Helix 1.0.2">Helix 1.0.2 </a></li>
+                                                       <li class="dropdown 
active">
                                                                <a href="#" 
class="dropdown-toggle" data-toggle="dropdown">Get Helix <b 
class="caret"></b></a>
                                                                <ul 
class="dropdown-menu">
-                                                                       <li ><a 
href="download.html" title="Download">Download</a></li>
-                                                                       <li ><a 
href="Building.html" title="Building">Building</a></li>
-                                                                       <li ><a 
href="releasenotes/release-1.0.2.html" title="Release Notes">Release 
Notes</a></li>
+                                                                       <li 
class="active"><a href="" title="Download">Download </a></li>
+                                                                       <li 
class="active"><a href="" title="Building">Building </a></li>
+                                                                       <li 
class="active"><a href="" title="Release Notes">Release Notes </a></li>
                                                                </ul>
                                                        </li>
-                                                       <li class="dropdown">
+                                                       <li class="dropdown 
active">
                                                                <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="../javadocs/1.0.2" title="Javadocs">Javadocs</a></li>
+                                                                       <li 
class="active"><a href="" title="Quick Start">Quick Start </a></li>
+                                                                       <li 
class="active"><a href="" title="Tutorial">Tutorial </a></li>
+                                                                       <li 
class="active"><a href="" title="Javadocs">Javadocs </a></li>
                                                                </ul>
                                                        </li>
-                                                       <li class="dropdown">
+                                                       <li class="dropdown 
active">
                                                                <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 
class="active"><a href="" title="Distributed lock manager">Distributed lock 
manager </a></li>
+                                                                       <li 
class="active"><a href="" title="Rabbit MQ consumer group">Rabbit MQ consumer 
group </a></li>
+                                                                       <li 
class="active"><a href="" title="Rsync replicated file store">Rsync replicated 
file store </a></li>
+                                                                       <li 
class="active"><a href="" title="Service discovery">Service discovery </a></li>
+                                                                       <li 
class="active"><a href="" title="Distributed task DAG execution">Distributed 
task DAG execution </a></li>
                                                                </ul>
                                                        </li>
                                                </ul>
@@ -103,36 +75,30 @@
                                </div>
                        </div>
                </div>
-
+               
        <div class="container">
-
+       
        <!-- Masthead
        ================================================== -->
-
-       <header>
-       <div class="jumbotron subhead">
+       <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>
+                                       <a href="" id="bannerLeft"><img src="" 
alt='"''"' /></a>
                                </div>
                                <div class="pull-right">
-                                       <a href="https://www.apache.org/"; 
id="bannerRight"><img src="../images/feather_small.gif" alt='"''"' /></a>
+                                       <a href="http://www.apache.org/"; 
id="bannerRight"><img src="" alt='"''"' /></a>
                                </div>
                        </div>
                </div>
-       </div>
                <div>
                        <ul class="breadcrumb">
-                               <li><a href="http://helix.apache.org/"; 
title="Apache Helix" class="externalLink">Apache Helix</a></li>
+                               <li><a href="" title="Apache Helix">Apache 
Helix </a></li>
                                <li class="divider">/</li>
-                               <li><a href="../" title="Apache Helix">Apache 
Helix</a></li>
-                               <li class="divider">/</li>
-                               <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
+                               <li><a href="" title="Release 1.0.2">Release 
1.0.2 </a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Application Property Store</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-10-19</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-15</li>
                        </ul>
                </div>
        </header>
@@ -141,124 +107,94 @@
        <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.
---> 
-<section> 
- <div class="page-header">
-  <h2 id="Helix_Tutorial:_Application_Property_Store"><a 
href="./Tutorial.html">Helix Tutorial</a>: Application Property Store</h2>
- </div> 
- <p>In this chapter, we'll learn how to use the application property 
store.</p> 
- <section> 
-  <h3 id="Property_Store">Property Store</h3> 
-  <p>It is common that an application needs support for distributed, shared 
data structures. Helix uses ZooKeeper to store the application data and hence 
provides notifications when the data changes.</p> 
-  <p>While you could use ZooKeeper directly, Helix supports caching the data 
with a write-through cache. This is far more efficient than reading from 
ZooKeeper for every access.</p> 
-  <p>See <a class="externalLink" 
href="http://helix.apache.org/javadocs/1.0.2/reference/org/apache/helix/store/package-summary.html";>HelixManager.getHelixPropertyStore</a>
 for details.</p> 
- </section> 
-</section>
+$bodyWithHeader
                        </div>
                </div>
        </div>
        </div>
 
        </div><!-- /container -->
-
+       
        <!-- Footer
        ================================================== -->
        <footer class="well">
                <div class="container">
                        <div class="row">
-                               <div class="span3 bottom-nav">
+                               <div class="span9 bottom-nav">
                                        <ul class="nav nav-list">
                                                <li class="nav-header">Get 
Helix</li>
-                                               <li >
-                                                       <a href="download.html" 
title="Download">Download</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Download">Download </a>
                                                </li>
-                                               <li >
-                                                       <a href="Building.html" 
title="Building">Building</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Building">Building </a>
                                                </li>
-                                               <li >
-                                                       <a 
href="releasenotes/release-1.0.2.html" title="Release Notes">Release Notes</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Release Notes">Release Notes </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 class="active">
+                                                       <a href="#" 
title="Quick Start">Quick Start </a>
                                                </li>
-                                               <li >
-                                                       <a href="Tutorial.html" 
title="Tutorial">Tutorial</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Tutorial">Tutorial </a>
                                                </li>
-                                               <li >
-                                                       <a 
href="../javadocs/1.0.2" title="Javadocs">Javadocs</a>
+                                               <li class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
title="Distributed task DAG execution">Distributed task DAG execution </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;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</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="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>
-      </div>
-                       </div>
+                               <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>
                </div>
        </div>
 
        <!-- Le javascript
        ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
-       <script src="./js/jquery.min.js"></script>
 
-       <script src="./js/bootstrap.min.js"></script>
-       <script src="./js/lightbox.min.js"></script>
-       <script src="./js/reflow-scroll.js"></script>
+       <!-- 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/1.0.2-docs/tutorial_rebalance.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_rebalance.html?rev=1906412&r1=1906411&r2=1906412&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_rebalance.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_rebalance.html Thu Jan  5 19:48:20 
2023
@@ -7,7 +7,7 @@
 
 
 <!--
- Generated by Apache Maven Doxia at 2022-10-19  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-05-12  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -132,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Rebalancing Algorithms</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-10-19</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-05-12</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/1.0.2-docs/tutorial_rest_service.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_rest_service.html?rev=1906412&r1=1906411&r2=1906412&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_rest_service.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_rest_service.html Thu Jan  5 
19:48:20 2023
@@ -7,7 +7,7 @@
 
 
 <!--
- Generated by Apache Maven Doxia at 2022-10-19  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-05-12  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -132,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - REST Service 2.0</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-10-19</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-05-12</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/1.0.2-docs/tutorial_spectator.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_spectator.html?rev=1906412&r1=1906411&r2=1906412&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_spectator.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_spectator.html Thu Jan  5 19:48:20 
2023
@@ -1,13 +1,8 @@
 
 <!DOCTYPE html>
-
-
-
-
-
-
 <!--
- Generated by Apache Maven Doxia at 2022-10-19  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-15
+ Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -18,84 +13,61 @@
                <meta name="description" content="" />
                <meta http-equiv="content-language" content="en" />
 
-               <link href="./css/bootstrap.min.css" rel="stylesheet" />
-               <link href="./css/bootstrap-responsive.min.css" 
rel="stylesheet" />
+               <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="./js/html5.js"></script>
+                       <script 
src="http://html5shim.googlecode.com/svn/trunk/html5.js";></script>
                <![endif]-->
+               
+       </head>
 
+       <body class="page-$config.fileId project-$config.projectId" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
-
-
-
-    
-<!-- Matomo -->
-<script>
-    var _paq = window._paq = window._paq || [];
-                        _paq.push(['disableCookies']);
-                                    _paq.push(['trackPageView']);
-                                    _paq.push(['enableLinkTracking']);
-                    
-    (function() {
-        var u="https://analytics.apache.org";;
-        _paq.push(['setTrackerUrl', u+'/matomo.php']);
-        _paq.push(['setSiteId', '15']);
-        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
-        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
-    })();
-</script>
-<!-- End Matomo Code -->
-       </head>
-
-       <body class="page-tutorial_spectator project-102-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="#top-nav-collapse">
+                                       <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 collapse" 
id="top-nav-collapse">
+                                       <div class="nav-collapse">
                                                <ul class="nav pull-right">
-                                                       <li ><a 
href="index.html" title="Helix 1.0.2">Helix 1.0.2</a></li>
-                                                       <li class="dropdown">
+                                                       <li class="active"><a 
href="" title="Helix 1.0.2">Helix 1.0.2 </a></li>
+                                                       <li class="dropdown 
active">
                                                                <a href="#" 
class="dropdown-toggle" data-toggle="dropdown">Get Helix <b 
class="caret"></b></a>
                                                                <ul 
class="dropdown-menu">
-                                                                       <li ><a 
href="download.html" title="Download">Download</a></li>
-                                                                       <li ><a 
href="Building.html" title="Building">Building</a></li>
-                                                                       <li ><a 
href="releasenotes/release-1.0.2.html" title="Release Notes">Release 
Notes</a></li>
+                                                                       <li 
class="active"><a href="" title="Download">Download </a></li>
+                                                                       <li 
class="active"><a href="" title="Building">Building </a></li>
+                                                                       <li 
class="active"><a href="" title="Release Notes">Release Notes </a></li>
                                                                </ul>
                                                        </li>
-                                                       <li class="dropdown">
+                                                       <li class="dropdown 
active">
                                                                <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="../javadocs/1.0.2" title="Javadocs">Javadocs</a></li>
+                                                                       <li 
class="active"><a href="" title="Quick Start">Quick Start </a></li>
+                                                                       <li 
class="active"><a href="" title="Tutorial">Tutorial </a></li>
+                                                                       <li 
class="active"><a href="" title="Javadocs">Javadocs </a></li>
                                                                </ul>
                                                        </li>
-                                                       <li class="dropdown">
+                                                       <li class="dropdown 
active">
                                                                <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 
class="active"><a href="" title="Distributed lock manager">Distributed lock 
manager </a></li>
+                                                                       <li 
class="active"><a href="" title="Rabbit MQ consumer group">Rabbit MQ consumer 
group </a></li>
+                                                                       <li 
class="active"><a href="" title="Rsync replicated file store">Rsync replicated 
file store </a></li>
+                                                                       <li 
class="active"><a href="" title="Service discovery">Service discovery </a></li>
+                                                                       <li 
class="active"><a href="" title="Distributed task DAG execution">Distributed 
task DAG execution </a></li>
                                                                </ul>
                                                        </li>
                                                </ul>
@@ -103,36 +75,30 @@
                                </div>
                        </div>
                </div>
-
+               
        <div class="container">
-
+       
        <!-- Masthead
        ================================================== -->
-
-       <header>
-       <div class="jumbotron subhead">
+       <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>
+                                       <a href="" id="bannerLeft"><img src="" 
alt='"''"' /></a>
                                </div>
                                <div class="pull-right">
-                                       <a href="https://www.apache.org/"; 
id="bannerRight"><img src="../images/feather_small.gif" alt='"''"' /></a>
+                                       <a href="http://www.apache.org/"; 
id="bannerRight"><img src="" alt='"''"' /></a>
                                </div>
                        </div>
                </div>
-       </div>
                <div>
                        <ul class="breadcrumb">
-                               <li><a href="http://helix.apache.org/"; 
title="Apache Helix" class="externalLink">Apache Helix</a></li>
-                               <li class="divider">/</li>
-                               <li><a href="../" title="Apache Helix">Apache 
Helix</a></li>
+                               <li><a href="" title="Apache Helix">Apache 
Helix </a></li>
                                <li class="divider">/</li>
-                               <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
+                               <li><a href="" title="Release 1.0.2">Release 
1.0.2 </a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Spectator</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-10-19</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-15</li>
                        </ul>
                </div>
        </header>
@@ -141,165 +107,94 @@
        <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.
---> 
-<section> 
- <div class="page-header">
-  <h2 id="Helix_Tutorial:_Spectator"><a href="./Tutorial.html">Helix 
Tutorial</a>: Spectator</h2>
- </div> 
- <p>Next, we'll learn how to implement a <b>spectator</b>. Typically, a 
spectator needs to react to changes within the distributed system. Examples: a 
client that needs to know where to send a request, a topic consumer in a 
consumer group. The spectator is automatically informed of changes in the 
<i>external state</i> of the cluster, but it does not have to add any code to 
keep track of other components in the system.</p> 
- <section> 
-  <h3 id="Start_a_Connection">Start a Connection</h3> 
-  <p>Same as for a participant, The Helix manager is the common component that 
connects each system component with the cluster.</p> 
-  <p>It requires the following parameters:</p> 
-  <ul> 
-   <li>clusterName: A logical name to represent the group of nodes</li> 
-   <li>instanceName: A logical name of the process creating the manager 
instance. Generally this is host:port</li> 
-   <li>instanceType: Type of the process. This can be one of the following 
types, in this case, use SPECTATOR: 
-    <ul> 
-     <li>CONTROLLER: Process that controls the cluster, any number of 
controllers can be started but only one will be active at any given time</li> 
-     <li>PARTICIPANT: Process that performs the actual task in the distributed 
system</li> 
-     <li>SPECTATOR: Process that observes the changes in the cluster</li> 
-     <li>ADMIN: To carry out system admin actions</li> 
-    </ul> </li> 
-   <li>zkConnectString: Connection string to ZooKeeper. This is of the form 
host1:port1,host2:port2,host3:port3</li> 
-  </ul> 
-  <p>After the Helix manager instance is created, the only thing that needs to 
be registered is the listener. When the ExternalView changes, the listener is 
notified.</p> 
-  <p>A spectator observes the cluster and is notified when the state of the 
system changes. Helix consolidates the state of entire cluster in one Znode 
called ExternalView. Helix provides a default implementation 
RoutingTableProvider that caches the cluster state and updates it when there is 
a change in the cluster.</p> 
-  <div class="source"> 
-   <pre><code>manager = HelixManagerFactory.getZKHelixManager(clusterName,
-                                                instanceName,
-                                                InstanceType.SPECTATOR,
-                                                zkConnectString);
-manager.connect();
-RoutingTableProvider routingTableProvider = new RoutingTableProvider();
-manager.addExternalViewChangeListener(routingTableProvider);
-</code></pre> 
-  </div> 
- </section> 
- <section> 
-  <h3 id="Spectator_Code">Spectator Code</h3> 
-  <p>In the following code snippet, the application sends the request to a 
valid instance by interrogating the external view. Suppose the desired resource 
for this request is in the partition myDB_1.</p> 
-  <div class="source"> 
-   <pre><code>// instances = routingTableProvider.getInstances(, 
"PARTITION_NAME", "PARTITION_STATE");
-instances = routingTableProvider.getInstances("myDB", "myDB_1", "ONLINE");
-
-////////////////////////////////////////////////////////////////////////////////////////////////
-// Application-specific code to send a request to one of the instances         
               //
-////////////////////////////////////////////////////////////////////////////////////////////////
-
-theInstance = instances.get(0);  // should choose an instance and throw an 
exception if none are available
-result = theInstance.sendRequest(yourApplicationRequest, responseObject);
-
-</code></pre> 
-  </div> 
-  <p>When the external view changes, the application needs to react by sending 
requests to a different instance.</p> 
- </section> 
-</section>
+$bodyWithHeader
                        </div>
                </div>
        </div>
        </div>
 
        </div><!-- /container -->
-
+       
        <!-- Footer
        ================================================== -->
        <footer class="well">
                <div class="container">
                        <div class="row">
-                               <div class="span3 bottom-nav">
+                               <div class="span9 bottom-nav">
                                        <ul class="nav nav-list">
                                                <li class="nav-header">Get 
Helix</li>
-                                               <li >
-                                                       <a href="download.html" 
title="Download">Download</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Download">Download </a>
                                                </li>
-                                               <li >
-                                                       <a href="Building.html" 
title="Building">Building</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Building">Building </a>
                                                </li>
-                                               <li >
-                                                       <a 
href="releasenotes/release-1.0.2.html" title="Release Notes">Release Notes</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Release Notes">Release Notes </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 class="active">
+                                                       <a href="#" 
title="Quick Start">Quick Start </a>
                                                </li>
-                                               <li >
-                                                       <a href="Tutorial.html" 
title="Tutorial">Tutorial</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Tutorial">Tutorial </a>
                                                </li>
-                                               <li >
-                                                       <a 
href="../javadocs/1.0.2" title="Javadocs">Javadocs</a>
+                                               <li class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
title="Distributed task DAG execution">Distributed task DAG execution </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;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</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="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>
-      </div>
-                       </div>
+                               <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>
                </div>
        </div>
 
        <!-- Le javascript
        ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
-       <script src="./js/jquery.min.js"></script>
 
-       <script src="./js/bootstrap.min.js"></script>
-       <script src="./js/lightbox.min.js"></script>
-       <script src="./js/reflow-scroll.js"></script>
+       <!-- 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/1.0.2-docs/tutorial_state.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_state.html?rev=1906412&r1=1906411&r2=1906412&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_state.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_state.html Thu Jan  5 19:48:20 2023
@@ -7,7 +7,7 @@
 
 
 <!--
- Generated by Apache Maven Doxia at 2022-10-19  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-05-12  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -132,7 +132,7 @@
                                <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - State Machine Configuration</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-10-19</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-05-12</li>
                        </ul>
                </div>
        </header>

Modified: helix/site-content/1.0.2-docs/tutorial_task_framework.html
URL: 
http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_task_framework.html?rev=1906412&r1=1906411&r2=1906412&view=diff
==============================================================================
--- helix/site-content/1.0.2-docs/tutorial_task_framework.html (original)
+++ helix/site-content/1.0.2-docs/tutorial_task_framework.html Thu Jan  5 
19:48:20 2023
@@ -1,13 +1,8 @@
 
 <!DOCTYPE html>
-
-
-
-
-
-
 <!--
- Generated by Apache Maven Doxia at 2022-10-19  Rendered using Reflow Maven 
Skin 2.0.0 (https://olamy.github.io/reflow-maven-skin)
+ Generated by Apache Maven Doxia at 2022-04-15
+ Rendered using Maven Reflow Skin 1.0.0 
(http://andriusvelykis.github.com/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
 
@@ -18,84 +13,61 @@
                <meta name="description" content="" />
                <meta http-equiv="content-language" content="en" />
 
-               <link href="./css/bootstrap.min.css" rel="stylesheet" />
-               <link href="./css/bootstrap-responsive.min.css" 
rel="stylesheet" />
+               <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="./js/html5.js"></script>
+                       <script 
src="http://html5shim.googlecode.com/svn/trunk/html5.js";></script>
                <![endif]-->
+               
+       </head>
 
+       <body class="page-$config.fileId project-$config.projectId" 
data-spy="scroll" data-offset="60" data-target="#toc-scroll-target">
 
-
-
-
-    
-<!-- Matomo -->
-<script>
-    var _paq = window._paq = window._paq || [];
-                        _paq.push(['disableCookies']);
-                                    _paq.push(['trackPageView']);
-                                    _paq.push(['enableLinkTracking']);
-                    
-    (function() {
-        var u="https://analytics.apache.org";;
-        _paq.push(['setTrackerUrl', u+'/matomo.php']);
-        _paq.push(['setSiteId', '15']);
-        var d=document, g=d.createElement('script'), 
s=d.getElementsByTagName('script')[0];
-        g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
-    })();
-</script>
-<!-- End Matomo Code -->
-       </head>
-
-       <body class="page-tutorial_task_framework project-102-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="#top-nav-collapse">
+                                       <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 collapse" 
id="top-nav-collapse">
+                                       <div class="nav-collapse">
                                                <ul class="nav pull-right">
-                                                       <li ><a 
href="index.html" title="Helix 1.0.2">Helix 1.0.2</a></li>
-                                                       <li class="dropdown">
+                                                       <li class="active"><a 
href="" title="Helix 1.0.2">Helix 1.0.2 </a></li>
+                                                       <li class="dropdown 
active">
                                                                <a href="#" 
class="dropdown-toggle" data-toggle="dropdown">Get Helix <b 
class="caret"></b></a>
                                                                <ul 
class="dropdown-menu">
-                                                                       <li ><a 
href="download.html" title="Download">Download</a></li>
-                                                                       <li ><a 
href="Building.html" title="Building">Building</a></li>
-                                                                       <li ><a 
href="releasenotes/release-1.0.2.html" title="Release Notes">Release 
Notes</a></li>
+                                                                       <li 
class="active"><a href="" title="Download">Download </a></li>
+                                                                       <li 
class="active"><a href="" title="Building">Building </a></li>
+                                                                       <li 
class="active"><a href="" title="Release Notes">Release Notes </a></li>
                                                                </ul>
                                                        </li>
-                                                       <li class="dropdown">
+                                                       <li class="dropdown 
active">
                                                                <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="../javadocs/1.0.2" title="Javadocs">Javadocs</a></li>
+                                                                       <li 
class="active"><a href="" title="Quick Start">Quick Start </a></li>
+                                                                       <li 
class="active"><a href="" title="Tutorial">Tutorial </a></li>
+                                                                       <li 
class="active"><a href="" title="Javadocs">Javadocs </a></li>
                                                                </ul>
                                                        </li>
-                                                       <li class="dropdown">
+                                                       <li class="dropdown 
active">
                                                                <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 
class="active"><a href="" title="Distributed lock manager">Distributed lock 
manager </a></li>
+                                                                       <li 
class="active"><a href="" title="Rabbit MQ consumer group">Rabbit MQ consumer 
group </a></li>
+                                                                       <li 
class="active"><a href="" title="Rsync replicated file store">Rsync replicated 
file store </a></li>
+                                                                       <li 
class="active"><a href="" title="Service discovery">Service discovery </a></li>
+                                                                       <li 
class="active"><a href="" title="Distributed task DAG execution">Distributed 
task DAG execution </a></li>
                                                                </ul>
                                                        </li>
                                                </ul>
@@ -103,36 +75,30 @@
                                </div>
                        </div>
                </div>
-
+               
        <div class="container">
-
+       
        <!-- Masthead
        ================================================== -->
-
-       <header>
-       <div class="jumbotron subhead">
+       <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>
+                                       <a href="" id="bannerLeft"><img src="" 
alt='"''"' /></a>
                                </div>
                                <div class="pull-right">
-                                       <a href="https://www.apache.org/"; 
id="bannerRight"><img src="../images/feather_small.gif" alt='"''"' /></a>
+                                       <a href="http://www.apache.org/"; 
id="bannerRight"><img src="" alt='"''"' /></a>
                                </div>
                        </div>
                </div>
-       </div>
                <div>
                        <ul class="breadcrumb">
-                               <li><a href="http://helix.apache.org/"; 
title="Apache Helix" class="externalLink">Apache Helix</a></li>
+                               <li><a href="" title="Apache Helix">Apache 
Helix </a></li>
                                <li class="divider">/</li>
-                               <li><a href="../" title="Apache Helix">Apache 
Helix</a></li>
-                               <li class="divider">/</li>
-                               <li><a href="./" title="Release 1.0.2">Release 
1.0.2</a></li>
+                               <li><a href="" title="Release 1.0.2">Release 
1.0.2 </a></li>
                                <li class="divider">/</li>
                                <li>Tutorial - Task Framework</li>
-                               <li class="publishDate version-date 
pull-right">Last Published: 2022-10-19</li>
+                               <li class="publishDate version-date 
pull-right">Last Published: 2022-04-15</li>
                        </ul>
                </div>
        </header>
@@ -141,577 +107,94 @@
        <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.
---> 
-<section> 
- <div class="page-header">
-  <h2 id="Helix_Tutorial:_Task_Framework"><a href="./Tutorial.html">Helix 
Tutorial</a>: Task Framework</h2>
- </div> 
- <p>Task framework, in Helix, provides executable task scheduling and workflow 
management. In Helix, three layers of task abstraction have been offered to 
user for defining their logics of dependencies. The graph shows the 
relationships between three layers. Workflow can contain multiple jobs. One job 
can depend on other one. Multiple tasks, including same task different 
partition and different task different partition, can be added in one job. Task 
framework not only can abstract three layers task logics but also helps doing 
task assignment and rebalancing. User can create a workflow (or a job queue) at 
first beginning. Then jobs can be added into workflow. Those jobs contain the 
executable tasks implemented by user. Once workflow is completed, Helix will 
schedule the works based on the condition user provided.</p> 
- <p><img src="./images/TaskFrameworkLayers.png" alt="Task Framework flow 
chart"></p> 
- <section> 
-  <h3 id="Key_Concepts">Key Concepts</h3> 
-  <ul> 
-   <li>Task is the smallest unit of work in Helix Task Framework. It 
represents a single runnable logics that user prefer to execute for each 
partition (distributed units).</li> 
-   <li>Job defines one time operation across all the partitions. It contains 
multiple Tasks and configuration of tasks, such as how many tasks, timeout per 
task and so on.</li> 
-   <li>Workflow is a directed acyclic graph that represents the relationships 
and running orders of Jobs. In addition, a workflow can also provide customized 
configuration, for example, Job dependencies.</li> 
-   <li>JobQueue is another type of Workflow. Different from normal one, 
JobQueue is not terminated until user kill it. Also JobQueue can keep accepting 
newly coming jobs.</li> 
-  </ul> 
- </section> 
- <section> 
-  <h3 id="Implement_Your_Task">Implement Your Task</h3> 
-  <section> 
-   <h4 id="Task_Interface"><a class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/task/Task.java";>Task
 Interface</a></h4> 
-   <p>The task interface contains two methods: run and cancel. User can 
implement his or her own logic in run function and cancel / roll back logic in 
cancel function.</p> 
-   <div class="source"> 
-    <pre><code>public class MyTask implements Task {
-  @Override
-  TaskResult run() {
-    // Task logic
-  }
- 
-  @Override
-  void cancel() {
-    // Cancel logic
-  }
-}
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="TaskConfig"><a class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/task/TaskConfig.java";>TaskConfig</a></h4>
 
-   <p>In helix, usually an object config represents the abstraction of that 
object, such as TaskConfig, JobConfig and WorkflowConfig. TaskConfig contains 
configurable task conditions. TaskConfig does not require to have any input to 
create a new object:</p> 
-   <div class="source"> 
-    <pre><code>TaskConfig taskConfig = new TaskConfig(null, null, null, null);
-</code></pre> 
-   </div> 
-   <p>For these four fields:</p> 
-   <ul> 
-    <li>Command: The task command, will use Job command if this is null</li> 
-    <li>ID: Task unique id, will generate a new ID for this task if input is 
null</li> 
-    <li>TaskTargetPartition: Target partition of a target. Could be null</li> 
-    <li>ConfigMap: Task property key-value map containing all other property 
stated above, such as command, ID.</li> 
-   </ul> 
-  </section> 
-  <section> 
-   <h4 id="Share_Content_Across_Tasks_and_Jobs">Share Content Across Tasks and 
Jobs</h4> 
-   <p>Task framework also provides a feature that user can store the key-value 
data per task, job and workflow. The content stored at workflow layer can 
shared by different jobs belong to this workflow. Similarly, content persisted 
at job layer can shared by different tasks nested in this job. Currently, user 
can extend the abstract class <a class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/task/UserContentStore.java";>UserContentStore</a>
 and use two methods putUserContent and getUserContent. It's similar to HashMap 
put and get method except for the additional param Scope. The Scope defines 
which layer this key-value pair to be persisted.</p> 
-   <div class="source"> 
-    <pre><code>public class MyTask extends UserContentStore implements Task {
-  @Override
-  TaskResult run() {
-    putUserContent("KEY", "WORKFLOWVALUE", SCOPE.WORKFLOW);
-    putUserContent("KEY", "JOBVALUE", SCOPE.JOB);
-    putUserContent("KEY", "TASKVALUE", SCOPE.TASK);
-    String taskValue = getUserContent("KEY", SCOPE.TASK);
-  }
- ...
-}
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Return_Task_Results">Return <a class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/task/TaskResult.java";>Task
 Results</a></h4> 
-   <p>User can define the TaskResult for a task once it is at final stage 
(complete or failed). The TaskResult contains two fields: status and info. 
Status is current Task Status including COMPLETED, CANCELLED, FAILED and 
FATAL_FAILED. The difference between FAILED and FATAL_FAILED is that once the 
task defined as FATAL_FAILED, helix will not do the retry for this task and 
abort it. The other field is information, which is a String type. User can pass 
any information including error message, description and so on.</p> 
-   <div class="source"> 
-    <pre><code>TaskResult run() {
-    ....
-    return new TaskResult(TaskResult.Status.FAILED, "ERROR MESSAGE OR OTHER 
INFORMATION");
-}
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Task_Retry_and_Abort">Task Retry and Abort</h4> 
-   <p>Helix provides retry logics to users. User can specify the number of 
task failures to allow under a job. It is a method will be introduced in 
Following Job Section. Another choice offered to user that if user thinks a 
task is very critical and do not want to do the retry once it is failed, user 
can return a TaskResult stated above with FATAL_FAILED status. Then Helix will 
not do the retry for that task.</p> 
-   <div class="source"> 
-    <pre><code>return new TaskResult(TaskResult.Status.FATAL_FAILED, "DO NOT 
WANT TO RETRY, ERROR MESSAGE");
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="TaskDriver"><a class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java";>TaskDriver</a></h4>
 
-   <p>All the control operation related to workflow and job are based on 
TaskDriver object. TaskDriver offers several APIs to controller, modify and 
track the tasks. Those APIs will be introduced in each section when they are 
necessary. TaskDriver object can be created either by <a class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/HelixManager.java";>HelixManager</a>
 or <a class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/manager/zk/ZkClient.java";>ZkClient</a>
 with cluster name:</p> 
-   <div class="source"> 
-    <pre><code>HelixManager manager = new ZKHelixManager(CLUSTER_NAME, 
INSTANCE_NAME, InstanceType.PARTICIPANT, ZK_ADDRESS);
-TaskDriver taskDriver1 = new TaskDriver(manager);
- 
-TaskDriver taskDriver2 = new TaskDriver(zkclient, CLUSTER_NAME);
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Propagate_Task_Error_Message_to_Helix">Propagate Task Error Message 
to Helix</h4> 
-   <p>When task encounter an error, it could be returned by TaskResult. 
Unfortunately, user can not get this TaskResult object directly. But Helix 
provides error messages persistent. Thus user can fetch the error messages from 
Helix via TaskDriver, which introduced above. The error messages will be stored 
in Info field per Job. Thus user have to get JobContext, which is the job 
status and result object.</p> 
-   <div class="source"> 
-    <pre><code>taskDriver.getJobContext("JOBNAME").getInfo();
-</code></pre> 
-   </div> 
-  </section> 
- </section> 
- <section> 
-  <h3 id="Creating_a_Workflow">Creating a Workflow</h3> 
-  <section> 
-   <h4 id="One-time_Workflow">One-time Workflow</h4> 
-   <p>As common use, one-time workflow will be the default workflow as user 
created. The first step is to create a WorkflowConfig.Builder object with 
workflow name. Then all configs can be set in WorkflowConfig.Builder. Once the 
configuration is done, <a class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/task/WorkflowConfig.java";>WorkflowConfig</a>
 object can be got from WorkflowConfig.Builder object. We have two rules to 
validate the Workflow configuration:</p> 
-   <ul> 
-    <li>Expiry time should not be less than 0</li> 
-    <li>Schedule config should be valid either one-time or a positive interval 
magnitude (Recurrent workflow)</li> 
-   </ul> 
-   <p>Example:</p> 
-   <div class="source"> 
-    <pre><code>Workflow.Builder myWorkflowBuilder = new 
Workflow.Builder("MyWorkflow");
-myWorkflowBuilder.setExpiry(5000L);
-Workflow myWorkflow = myWorkflowBuilder.build();
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Recurrent_Workflow">Recurrent Workflow</h4> 
-   <p>Recurrent workflow is the workflow scheduled periodically. The only 
config different from One-time workflow is to set a recurrent <a 
class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/task/ScheduleConfig.java";>ScheduleConfig</a>.
 There two methods in ScheduleConfig can help you to create a ScheduleConfig 
object: recurringFromNow and recurringFromDate. Both of them needs recurUnit 
(time unit for recurrent) and recurInteval (magnitude of recurrent interval). 
Here's the example:</p> 
-   <div class="source"> 
-    <pre><code>ScheduleConfig myConfig1 = 
ScheduleConfig.recurringFFromNow(TimeUnit.MINUTES, 5L);
-ScheduleConfig myConfig2 = 
ScheduleConfig.recurringFFromDate(Calendar.getInstance.getTime, TimeUnit.HOURS, 
10L);
-</code></pre> 
-   </div> 
-   <p>Once this schedule config is created. It could be set in the workflow 
config:</p> 
-   <div class="source"> 
-    <pre><code>Workflow.Builder myWorkflowBuilder = new 
Workflow.Builder("MyWorkflow");
-myWorkflowBuilder.setExpiry(2000L)
-                 
.setScheduleConfig(ScheduleConfig.recurringFromNow(TimeUnit.DAYS, 5));
-Workflow myWorkflow = myWorkflowBuilder.build();
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Start_a_Workflow">Start a Workflow</h4> 
-   <p>Start a workflow is just using taskdrive to start it. Since this is an 
async call, after start the workflow, user can keep doing actions.</p> 
-   <div class="source"> 
-    <pre><code>taskDriver.start(myWorkflow);
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Stop_a_Workflow">Stop a Workflow</h4> 
-   <p>Stop workflow can be executed via TaskDriver:</p> 
-   <div class="source"> 
-    <pre><code>taskDriver.stop(myWorkflow);
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Resume_a_Workflow">Resume a Workflow</h4> 
-   <p>Once the workflow is stopped, it does not mean the workflow is gone. 
Thus user can resume the workflow that has been stopped. Using TaskDriver 
resume the workflow:</p> 
-   <div class="source"> 
-    <pre><code>taskDriver.resume(myWorkflow);
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Delete_a_Workflow">Delete a Workflow</h4> 
-   <p>Similar to start, stop and resume, delete operation is supported by 
TaskDriver.</p> 
-   <div class="source"> 
-    <pre><code>taskDriver.delete(myWorkflow);
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Add_a_Job">Add a Job</h4> 
-   <p>WARNING: Job can only be added to WorkflowConfig.Builder. Once 
WorkflowConfig is built, no job can be added! For creating a Job, please refer 
to the following section (Create a Job)</p> 
-   <div class="source"> 
-    <pre><code>myWorkflowBuilder.addJob("JobName", jobConfigBuilder);
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Add_a_Job_dependency">Add a Job dependency</h4> 
-   <p>Jobs can have dependencies. If one job2 depends on job1, job2 will not 
be scheduled until job1 finished.</p> 
-   <div class="source"> 
-    <pre><code>myWorkflowBuilder.addParentChildDependency(ParentJobName, 
ChildJobName);
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Schedule_a_workflow_for_executing_in_a_future_time">Schedule a 
workflow for executing in a future time</h4> 
-   <p>Application can create a workflow with a ScheduleConfig so as to 
schedule it to be executed in a future time.</p> 
-   <div class="source"> 
-    
<pre><code>myWorkflowBuilder.setScheduleConfig(ScheduleConfig.oneTimeDelayedStart(new
 Date(inFiveSeconds)));
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Additional_Workflow_Options">Additional Workflow Options</h4> 
-   <table border="0" class="bodyTable table table-striped table-hover"> 
-    <thead> 
-     <tr class="a"> 
-      <th>Additional Config Options</th> 
-      <th>Detail</th> 
-     </tr> 
-    </thead> 
-    <tbody> 
-     <tr class="b"> 
-      <td align="left"><i>setJobDag(JobDag v)</i></td> 
-      <td>If user already defined the job DAG, it could be set with this 
method.</td> 
-     </tr> 
-     <tr class="a"> 
-      <td align="left"><i>setExpiry(long v, TimeUnit unit)</i></td> 
-      <td>Set the expiration time for this workflow.</td> 
-     </tr> 
-     <tr class="b"> 
-      <td align="left"><i>setFailureThreshold(int failureThreshold)</i></td> 
-      <td>Set the failure threshold for this workflow, once job failures reach 
this number, the workflow will be failed.</td> 
-     </tr> 
-     <tr class="a"> 
-      <td align="left"><i>setWorkflowType(String workflowType)</i></td> 
-      <td>Set the user defined workflowType for this workflow.</td> 
-     </tr> 
-     <tr class="b"> 
-      <td align="left"><i>setTerminable(boolean isTerminable)</i></td> 
-      <td>Specify whether this workflow is terminable or not.</td> 
-     </tr> 
-     <tr class="a"> 
-      <td align="left"><i>setCapacity(int capacity)</i></td> 
-      <td>Set the number of jobs that workflow can hold before reject further 
jobs. Only used when workflow is not terminable.</td> 
-     </tr> 
-     <tr class="b"> 
-      <td align="left"><i>setTargetState(TargetState v)</i></td> 
-      <td>Set the final state of this workflow.</td> 
-     </tr> 
-    </tbody> 
-   </table> 
-  </section> 
- </section> 
- <section> 
-  <h3 id="Creating_a_Queue">Creating a Queue</h3> 
-  <p><a class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/task/JobQueue.java";>Job
 queue</a> is another shape of workflow. Here listed different between a job 
queue and workflow:</p> 
-  <table border="0" class="bodyTable table table-striped table-hover"> 
-   <thead> 
-    <tr class="a"> 
-     <th>Property</th> 
-     <th>Workflow</th> 
-     <th>Job Queue</th> 
-    </tr> 
-   </thead> 
-   <tbody> 
-    <tr class="b"> 
-     <td align="left">Existing time</td> 
-     <td>Workflow will be deleted after it is done.</td> 
-     <td>Job queue will be there until user delete it.</td> 
-    </tr> 
-    <tr class="a"> 
-     <td align="left">Add jobs</td> 
-     <td>Once workflow is build, no job can be added.</td> 
-     <td>Job queue can keep accepting jobs.</td> 
-    </tr> 
-    <tr class="b"> 
-     <td align="left">Parallel run</td> 
-     <td>Allows parallel run for jobs without dependencies</td> 
-     <td>No parallel run allowed except setting <i>ParallelJobs</i></td> 
-    </tr> 
-   </tbody> 
-  </table> 
-  <p>For creating a job queue, user have to provide queue name and workflow 
config (please refer above Create a Workflow). Similar to other task object, 
create a JobQueue.Builder first. Then JobQueue can be validated and generated 
via build function.</p> 
-  <div class="source"> 
-   <pre><code>WorkflowConfig.Builder myWorkflowCfgBuilder = new 
WorkflowConfig.Builder().setWorkFlowType("MyType");
-JobQueue jobQueue = new 
JobQueue.Builder("MyQueueName").setWorkflowConfig(myWorkflowCfgBuilder.build()).build();
-</code></pre> 
-  </div> 
-  <p>####Append Job to Queue</p> 
-  <p>WARNING:Different from normal workflow, job for JobQueue can be append 
even in anytime. Similar to workflow add a job, job can be appended via 
enqueueJob function via TaskDriver.</p> 
-  <div class="source"> 
-   <pre><code>jobQueueBuilder.enqueueJob("JobName", jobConfigBuilder);
-</code></pre> 
-  </div> 
-  <p>####Delete Job from Queue</p> 
-  <p>Helix allowed user to delete a job from existing queue. We offer delete 
API in TaskDriver to do this. The queue has to be stopped in order for a job to 
be deleted. User can resume the queue once deletion succeeds.</p> 
-  <div class="source"> 
-   <pre><code>taskDriver.stop("QueueName");
-taskDriver.deleteJob("QueueName", "JobName");
-taskDriver.resume("QueueName");
-</code></pre> 
-  </div> 
-  <p>####Additional Option for JobQueue</p> 
-  <p><i>setParallelJobs(int parallelJobs)</i> : Set the how many jobs can 
parallel running, except there is any dependencies.</p> 
-  <p>###Create a Job</p> 
-  <p>Before generate a <a class="externalLink" 
href="https://github.com/apache/helix/blob/helix-0.6.x/helix-core/src/main/java/org/apache/helix/task/JobConfig.java";>JobConfig</a>
 object, user still have to use JobConfig.Builder to build JobConfig.</p> 
-  <div class="source"> 
-   <pre><code>JobConfig.Builder myJobCfgBuilder = new JobConfig.Builder();
-JobConfig myJobCfg = myJobCfgBuilder.build();
-</code></pre> 
-  </div> 
-  <p>Helix has couple rules to validate a job:</p> 
-  <ul> 
-   <li>Each job must at least have one task to execute. For adding tasks and 
task rules please refer following section Add Tasks.</li> 
-   <li>Task timeout should not less than zero.</li> 
-   <li>Number of concurrent tasks per instances should not less than one.</li> 
-   <li>Maximum attempts per task should not less than one</li> 
-   <li>There must be a workflow name</li> 
-  </ul> 
-  <section> 
-   <h4 id="Add_Tasks">Add Tasks</h4> 
-   <p>There are two ways of adding tasks:</p> 
-   <ul> 
-    <li>Add by TaskConfig. Tasks can be added via adding TaskConfigs. User can 
create a List of TaskConfigs or add TaskConfigMap, which is a task id to 
TaskConfig mapping.</li> 
-   </ul> 
-   <div class="source"> 
-    <pre><code>TaskConfig taskCfg = new TaskConfig(null, null, null, null);
-List&lt;TaskConfig&gt; taskCfgs = new ArrayList&lt;TaskConfig&gt;();
-myJobCfg.addTaskConfigs(taskCfgs);
- 
-Map&lt;String, TaskConfig&gt; taskCfgMap = new HashMap&lt;String, 
TaskConfig&gt;();
-taskCfgMap.put(taskCfg.getId(), taskCfg);
-myJobCfg.addTaskConfigMap(taskCfgMap);
-</code></pre> 
-   </div> 
-   <ul> 
-    <li>Add by Job command. If user does not want to specify each TaskConfig, 
we can create identical tasks based on Job command with number of tasks.</li> 
-   </ul> 
-   <div class="source"> 
-    <pre><code>myJobCfg.setCommand("JobCommand").setNumberOfTasks(10);
-</code></pre> 
-   </div> 
-   <p>WARNING: Either user provides TaskConfigs / TaskConfigMap or both of Job 
command and number tasks (except Targeted Job, refer following section) . 
Otherwise, validation will be failed.</p> 
-  </section> 
-  <section> 
-   <h4 id="Generic_Job">Generic Job</h4> 
-   <p>Generic Job is the default job created. It does not have targeted 
resource. Thus this generic job could be assigned to one of eligble 
instances.</p> 
-  </section> 
-  <section> 
-   <h4 id="Targeted_Job">Targeted Job</h4> 
-   <p>Targeted Job has set up the target resource. For this kind of job, Job 
command is necessary, but number of tasks is not. The tasks will depends on the 
partion number of targeted resource. To set target resource, just put target 
resource name to JobConfig.Builder.</p> 
-   <div class="source"> 
-    <pre><code>myJobCfgBuilder.setTargetResource("TargetResourceName");
-</code></pre> 
-   </div> 
-   <p>In addition, user can specify the instance target state. For example, if 
user want to run the Task on “Master” state instance, 
setTargetPartitionState method can help to set the partition to assign to 
specific instance.</p> 
-   <div class="source"> 
-    <pre><code>myJobCfgBuilder.setTargetPartitionState(Arrays.asList(new 
String[]{"Master", "Slave"}));
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Instance_Group">Instance Group</h4> 
-   <p>Grouping jobs with targeted group of instances feature has been 
supported. User firstly have to define the instance group tag for instances, 
which means label some instances with specific tag. Then user can put those 
tags to a job that only would like to assigned to those instances. For example, 
customer data only available on instance 1, 2, 3. These three instances can be 
tagged as “CUSTOMER” and customer data related jobs can set the instance 
group tag “CUSTOMER”. Thus customer data related jobs will only assign to 
instance 1, 2, 3. To add instance group tag, just set it in 
JobConfig.Builder:</p> 
-   <div class="source"> 
-    <pre><code>jobCfg.setInstanceGroupTag("INSTANCEGROUPTAG");
-</code></pre> 
-   </div> 
-  </section> 
-  <section> 
-   <h4 id="Delayed_scheduling_job">Delayed scheduling job</h4> 
-   <p>Set up a schedule plan for the job. If both items are set, Helix will 
calculate and use the later one.</p> 
-   <div class="source"> 
-    <pre><code>myJobCfgBuilder.setExecutionDelay(delayMs);
-myJobCfgBuilder.setExecutionStart(startTimeMs);
-</code></pre> 
-   </div> 
-   <p>Note that the scheduled job needs to be runnable first. Then Helix will 
start checking it's configuration for scheduling. If any parent jobs are not 
finished, the job won't be scheduled even the scheduled timestamp has already 
passed.</p> 
-  </section> 
-  <section> 
-   <h4 id="Additional_Job_Options">Additional Job Options</h4> 
-   <table border="0" class="bodyTable table table-striped table-hover"> 
-    <thead> 
-     <tr class="a"> 
-      <th>Operation</th> 
-      <th>Detail</th> 
-     </tr> 
-    </thead> 
-    <tbody> 
-     <tr class="b"> 
-      <td align="left"><i>setWorkflow(String workflowName)</i></td> 
-      <td>Set the workflow that this job belongs to</td> 
-     </tr> 
-     <tr class="a"> 
-      <td align="left"><i>setTargetPartions(List&lt;String&gt; 
targetPartionNames)</i></td> 
-      <td>Set list of partition names</td> 
-     </tr> 
-     <tr class="b"> 
-      <td align="left"><i>setTargetPartionStates(Set&lt;String&gt;)</i></td> 
-      <td>Set the partition states</td> 
-     </tr> 
-     <tr class="a"> 
-      <td align="left"><i>setCommand(String command)</i></td> 
-      <td>Set the job command</td> 
-     </tr> 
-     <tr class="b"> 
-      <td align="left"><i>setJobCommandConfigMap(Map&lt;String, String&gt; 
v)</i></td> 
-      <td>Set the job command config maps</td> 
-     </tr> 
-     <tr class="a"> 
-      <td align="left"><i>setTimeoutPerTask(long v)</i></td> 
-      <td>Set the timeout for each task</td> 
-     </tr> 
-     <tr class="b"> 
-      <td align="left"><i>setNumConcurrentTasksPerInstance(int v)</i></td> 
-      <td>Set number of tasks can concurrent run on same instance</td> 
-     </tr> 
-     <tr class="a"> 
-      <td align="left"><i>setMaxAttemptsPerTask(int v)</i></td> 
-      <td>Set times of retry for a task</td> 
-     </tr> 
-     <tr class="b"> 
-      <td align="left"><i>setFailureThreshold(int v)</i></td> 
-      <td>Set failure tolerance of tasks for this job</td> 
-     </tr> 
-     <tr class="a"> 
-      <td align="left"><i>setTaskRetryDelay(long v)</i></td> 
-      <td>Set the delay time before a task retry</td> 
-     </tr> 
-     <tr class="b"> 
-      <td align="left"><i>setIgnoreDependentJobFailure(boolean 
ignoreDependentJobFailure)</i></td> 
-      <td>Set whether ignore the job failure of parent job of this job</td> 
-     </tr> 
-     <tr class="a"> 
-      <td align="left"><i>setJobType(String jobType)</i></td> 
-      <td>Set the job type of this job</td> 
-     </tr> 
-     <tr class="b"> 
-      <td align="left"><i>setExecutionDelay(String delay)</i></td> 
-      <td>Set the delay time to schedule job execution</td> 
-     </tr> 
-     <tr class="a"> 
-      <td align="left"><i>setExecutionStart(String start)</i></td> 
-      <td>Set the start time to schedule job execution</td> 
-     </tr> 
-    </tbody> 
-   </table> 
-  </section> 
- </section> 
- <section> 
-  <h3 id="Monitor_the_status_of_your_job">Monitor the status of your job</h3> 
-  <p>As we introduced the excellent util TaskDriver in Workflow Section, we 
have extra more functionality that provided to user. The user can synchronized 
wait Job or Workflow until it reaches certain STATES. The function Helix have 
API pollForJobState and pollForWorkflowState. For pollForJobState, it accepts 
arguments:</p> 
-  <ul> 
-   <li>Workflow name, required</li> 
-   <li>Job name, required</li> 
-   <li>Timeout, not required, will be three minutes if user choose function 
without timeout argument. Time unit is milisecond.</li> 
-   <li>TaskStates, at least one state. This function can accept multiple 
TaskState, will end function until one of those TaskState reaches.</li> 
-  </ul> 
-  <p>For example:</p> 
-  <div class="source"> 
-   <pre><code>taskDriver.pollForJobState("MyWorkflowName", "MyJobName", 
180000L, TaskState.FAILED, TaskState.FATAL_FAILED);
-taskDriver.pollForJobState("MyWorkflowName", "MyJobName", TaskState.COMPLETED);
-</code></pre> 
-  </div> 
-  <p>For pollForWorkflowState, it accepts similar arguments except Job name. 
For example:</p> 
-  <div class="source"> 
-   <pre><code>taskDriver.pollForWorkflowState("MyWorkflowName", 180000L, 
TaskState.FAILED, TaskState.FATAL_FAILED);
-taskDriver.pollForWorkflowState("MyWorkflowName", TaskState.COMPLETED);
-</code></pre> 
-  </div> 
-  <section> 
-   <h4 id="Task_framework_monitoring_metrics">Task framework monitoring 
metrics</h4> 
-   <p>Please refer to following links.</p> 
-   <ul> 
-    <li><a href="./Metrics.html#MBean_JobMonitor">Job Monitor</a></li> 
-    <li><a href="./Metrics.html#MBean_WorkflowMonitor">Workflow 
Monitor</a></li> 
-   </ul> 
-  </section> 
- </section> 
-</section>
+$bodyWithHeader
                        </div>
                </div>
        </div>
        </div>
 
        </div><!-- /container -->
-
+       
        <!-- Footer
        ================================================== -->
        <footer class="well">
                <div class="container">
                        <div class="row">
-                               <div class="span3 bottom-nav">
+                               <div class="span9 bottom-nav">
                                        <ul class="nav nav-list">
                                                <li class="nav-header">Get 
Helix</li>
-                                               <li >
-                                                       <a href="download.html" 
title="Download">Download</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Download">Download </a>
                                                </li>
-                                               <li >
-                                                       <a href="Building.html" 
title="Building">Building</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Building">Building </a>
                                                </li>
-                                               <li >
-                                                       <a 
href="releasenotes/release-1.0.2.html" title="Release Notes">Release Notes</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Release Notes">Release Notes </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 class="active">
+                                                       <a href="#" 
title="Quick Start">Quick Start </a>
                                                </li>
-                                               <li >
-                                                       <a href="Tutorial.html" 
title="Tutorial">Tutorial</a>
+                                               <li class="active">
+                                                       <a href="#" 
title="Tutorial">Tutorial </a>
                                                </li>
-                                               <li >
-                                                       <a 
href="../javadocs/1.0.2" title="Javadocs">Javadocs</a>
+                                               <li class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
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 class="active">
+                                                       <a href="#" 
title="Distributed task DAG execution">Distributed task DAG execution </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;2022 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</p>
-                               <p><a 
href="https://github.com/olamy/reflow-maven-skin"; title="Reflow Maven 
skin">Reflow Maven skin</a> maintained by <a href="https://twitter.com/olamy"; 
target="_blank" title="Olivier Lamy">Olivier Lamy</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="https://helix.apache.org/1.0.2-docs/privacy-policy.html";>Privacy 
Policy</a>
-      </div>
-                       </div>
+                               <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>
                </div>
        </div>
 
        <!-- Le javascript
        ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
-       <script src="./js/jquery.min.js"></script>
 
-       <script src="./js/bootstrap.min.js"></script>
-       <script src="./js/lightbox.min.js"></script>
-       <script src="./js/reflow-scroll.js"></script>
+       <!-- 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


Reply via email to