Modified: helix/site-content/1.0.2-docs/recipes/task_dag_execution.html URL: http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/recipes/task_dag_execution.html?rev=1906412&r1=1906411&r2=1906412&view=diff ============================================================================== --- helix/site-content/1.0.2-docs/recipes/task_dag_execution.html (original) +++ helix/site-content/1.0.2-docs/recipes/task_dag_execution.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-recipes-task_dag_execution 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 active"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Recipes <b class="caret"></b></a> <ul class="dropdown-menu"> - <li ><a href="lock_manager.html" title="Distributed lock manager">Distributed lock manager</a></li> - <li ><a href="rabbitmq_consumer_group.html" title="Rabbit MQ consumer group">Rabbit MQ consumer group</a></li> - <li ><a href="rsync_replicated_file_store.html" title="Rsync replicated file store">Rsync replicated file store</a></li> - <li ><a href="service_discovery.html" title="Service discovery">Service discovery</a></li> - <li class="active"><a href="" 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>Distributed Task Execution</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,286 +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="Distributed_Task_Execution">Distributed Task Execution</h2> - </div> - <p>This recipe is intended to demonstrate how task dependencies can be modeled using primitives provided by Helix. A given task can be run with the desired amount of parallelism and will start only when upstream dependencies are met. The demo executes the task DAG described below using 10 workers. Although the demo starts the workers as threads, there is no requirement that all the workers need to run in the same process. In reality, these workers run on many different boxes on a cluster. When worker fails, Helix takes care of re-assigning a failed task partition to a new worker.</p> - <p>Redis is used as a result store. Any other suitable implementation for TaskResultStore can be plugged in.</p> - <section> - <h3 id="Workflow">Workflow</h3> - <section> - <h4 id="Input">Input</h4> - <p>10000 impression events and around 100 click events are pre-populated in task result store (redis).</p> - <ul> - <li> <p><b>ImpEvent</b>: format: id,isFraudulent,country,gender</p> </li> - <li> <p><b>ClickEvent</b>: format: id,isFraudulent,impEventId</p> </li> - </ul> - </section> - <section> - <h4 id="Stages">Stages</h4> - <ul> - <li> <p><b>FilterImps</b>: Filters impression where isFraudulent=true.</p> </li> - <li> <p><b>FilterClicks</b>: Filters clicks where isFraudulent=true</p> </li> - <li> <p><b>impCountsByGender</b>: Generates impression counts grouped by gender. It does this by incrementing the count for âimpression_gender_counts:<gender_value>â in the task result store (redis hash). Depends on: <b>FilterImps</b></p> </li> - <li> <p><b>impCountsByCountry</b>: Generates impression counts grouped by country. It does this by incrementing the count for âimpression_country_counts:<country_value>â in the task result store (redis hash). Depends on: <b>FilterClicks</b></p> </li> - <li> <p><b>impClickJoin</b>: Joins clicks with corresponding impression event using impEventId as the join key. Join is needed to pull dimensions not present in click event. Depends on: <b>FilterImps, FilterClicks</b></p> </li> - <li> <p><b>clickCountsByGender</b>: Generates click counts grouped by gender. It does this by incrementing the count for click_gender_counts:<gender_value> in the task result store (redis hash). Depends on: <b>impClickJoin</b></p> </li> - <li> <p><b>clickCountsByGender</b>: Generates click counts grouped by country. It does this by incrementing the count for click_country_counts:<country_value> in the task result store (redis hash). Depends on: <b>impClickJoin</b></p> </li> - <li> <p><b>report</b>: Reads from all aggregates generated by previous stages and prints them. Depends on: <b>impCountsByGender, impCountsByCountry, clickCountsByGender,clickCountsByGender</b></p> </li> - </ul> - </section> - </section> - <section> - <h3 id="Creating_a_DAG">Creating a DAG</h3> - <p>Each stage is represented as a Node along with the upstream dependency and desired parallelism. Each stage is modeled as a resource in Helix using OnlineOffline state model. As part of an Offline to Online transition, we watch the external view of upstream resources and wait for them to transition to the online state. See Task.java for additional info.</p> - <div class="source"> - <pre><code>Dag dag = new Dag(); -dag.addNode(new Node("filterImps", 10, "")); -dag.addNode(new Node("filterClicks", 5, "")); -dag.addNode(new Node("impClickJoin", 10, "filterImps,filterClicks")); -dag.addNode(new Node("impCountsByGender", 10, "filterImps")); -dag.addNode(new Node("impCountsByCountry", 10, "filterImps")); -dag.addNode(new Node("clickCountsByGender", 5, "impClickJoin")); -dag.addNode(new Node("clickCountsByCountry", 5, "impClickJoin")); -dag.addNode(new Node("report",1,"impCountsByGender,impCountsByCountry,clickCountsByGender,clickCountsByCountry")); -</code></pre> - </div> - </section> - <section> - <h3 id="Demo">Demo</h3> - <p>In order to run the demo, use the following steps</p> - <p>See <a class="externalLink" href="http://redis.io/topics/quickstart">http://redis.io/topics/quickstart</a> on how to install redis server</p> - <div class="source"> - <pre><code>Start redis e.g: -./redis-server --port 6379 - -git clone https://git-wip-us.apache.org/repos/asf/helix.git -cd helix -git checkout helix-1.0.2 -cd recipes/task-execution -mvn clean install package -DskipTests -cd target/task-execution-pkg/bin -chmod +x task-execution-demo.sh -./task-execution-demo.sh 2181 localhost 6379 - -</code></pre> - </div> - <p>Here's a visual representation of the DAG.</p> - <div class="source"> - <pre><code> - - - - - +-----------------+ +----------------+ - | filterImps | | filterClicks | - | (parallelism=10)| | (parallelism=5)| - +----------+-----++ +-------+--------+ - | | | | - | | | | - | | | | - | | +------->--------v------------+ - +--------------<-+ +------v-------+ | impClickJoin | - |impCountsByGender |impCountsByCountry | (parallelism=10) | - |(parallelism=10) |(parallelism=10) ++-------------------+-+ - +-----------+--+ +---+----------+ | | - | | | | - | | | | - | | +--------v---------+ +-v-------------------+ - | | |clickCountsByGender |clickCountsByCountry | - | | |(parallelism=5) | |(parallelism=5) | - | | +----+-------------+ +---------------------+ - | | | | - | | | | - | | | | - +----->+-----+>-----------v----+<---------------+ - | report | - |(parallelism=1) | - +-----------------------+ - -</code></pre> - </div> - <p>(credit for above ascii art: <a class="externalLink" href="http://www.asciiflow.com">http://www.asciiflow.com</a>)</p> - <section> - <h4 id="Output">Output</h4> - <div class="source"> - <pre><code>Done populating dummy data -Executing filter task for filterImps_3 for impressions_demo -Executing filter task for filterImps_2 for impressions_demo -Executing filter task for filterImps_0 for impressions_demo -Executing filter task for filterImps_1 for impressions_demo -Executing filter task for filterImps_4 for impressions_demo -Executing filter task for filterClicks_3 for clicks_demo -Executing filter task for filterClicks_1 for clicks_demo -Executing filter task for filterImps_8 for impressions_demo -Executing filter task for filterImps_6 for impressions_demo -Executing filter task for filterClicks_2 for clicks_demo -Executing filter task for filterClicks_0 for clicks_demo -Executing filter task for filterImps_7 for impressions_demo -Executing filter task for filterImps_5 for impressions_demo -Executing filter task for filterClicks_4 for clicks_demo -Executing filter task for filterImps_9 for impressions_demo -Running AggTask for impCountsByGender_3 for filtered_impressions_demo gender -Running AggTask for impCountsByGender_2 for filtered_impressions_demo gender -Running AggTask for impCountsByGender_0 for filtered_impressions_demo gender -Running AggTask for impCountsByGender_9 for filtered_impressions_demo gender -Running AggTask for impCountsByGender_1 for filtered_impressions_demo gender -Running AggTask for impCountsByGender_4 for filtered_impressions_demo gender -Running AggTask for impCountsByCountry_4 for filtered_impressions_demo country -Running AggTask for impCountsByGender_5 for filtered_impressions_demo gender -Executing JoinTask for impClickJoin_2 -Running AggTask for impCountsByCountry_3 for filtered_impressions_demo country -Running AggTask for impCountsByCountry_1 for filtered_impressions_demo country -Running AggTask for impCountsByCountry_0 for filtered_impressions_demo country -Running AggTask for impCountsByCountry_2 for filtered_impressions_demo country -Running AggTask for impCountsByGender_6 for filtered_impressions_demo gender -Executing JoinTask for impClickJoin_1 -Executing JoinTask for impClickJoin_0 -Executing JoinTask for impClickJoin_3 -Running AggTask for impCountsByGender_8 for filtered_impressions_demo gender -Executing JoinTask for impClickJoin_4 -Running AggTask for impCountsByGender_7 for filtered_impressions_demo gender -Running AggTask for impCountsByCountry_5 for filtered_impressions_demo country -Running AggTask for impCountsByCountry_6 for filtered_impressions_demo country -Executing JoinTask for impClickJoin_9 -Running AggTask for impCountsByCountry_8 for filtered_impressions_demo country -Running AggTask for impCountsByCountry_7 for filtered_impressions_demo country -Executing JoinTask for impClickJoin_5 -Executing JoinTask for impClickJoin_6 -Running AggTask for impCountsByCountry_9 for filtered_impressions_demo country -Executing JoinTask for impClickJoin_8 -Executing JoinTask for impClickJoin_7 -Running AggTask for clickCountsByCountry_1 for joined_clicks_demo country -Running AggTask for clickCountsByCountry_0 for joined_clicks_demo country -Running AggTask for clickCountsByCountry_2 for joined_clicks_demo country -Running AggTask for clickCountsByCountry_3 for joined_clicks_demo country -Running AggTask for clickCountsByGender_1 for joined_clicks_demo gender -Running AggTask for clickCountsByCountry_4 for joined_clicks_demo country -Running AggTask for clickCountsByGender_3 for joined_clicks_demo gender -Running AggTask for clickCountsByGender_2 for joined_clicks_demo gender -Running AggTask for clickCountsByGender_4 for joined_clicks_demo gender -Running AggTask for clickCountsByGender_0 for joined_clicks_demo gender -Running reports task -Impression counts per country -{CANADA=1940, US=1958, CHINA=2014, UNKNOWN=2022, UK=1946} -Click counts per country -{US=24, CANADA=14, CHINA=26, UNKNOWN=14, UK=22} -Impression counts per gender -{F=3325, UNKNOWN=3259, M=3296} -Click counts per gender -{F=33, UNKNOWN=32, M=35} -</code></pre> - </div> - </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="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="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="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="service_discovery.html" title="Service discovery">Service discovery</a> + <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> + <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 ©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/releasenotes/release-1.0.2.html URL: http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/releasenotes/release-1.0.2.html?rev=1906412&r1=1906411&r2=1906412&view=diff ============================================================================== --- helix/site-content/1.0.2-docs/releasenotes/release-1.0.2.html (original) +++ helix/site-content/1.0.2-docs/releasenotes/release-1.0.2.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-releasenotes-release-102 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="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 class="active"><a href="" 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>Release Notes for Apache Helix 1.0.2</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,154 +107,94 @@ <div class="row"> <div class="span12"> <div class="body-content"> -<section> - <div class="page-header"> - <h2 id="Release_Notes_for_Apache_Helix_1.0.2">Release Notes for Apache Helix 1.0.2</h2> - </div> - <p>The Apache Helix team would like to announce the release of Apache Helix 1.0.2.</p> - <p>This is the tweenty second release under the Apache umbrella, and the eighteenth as a top-level project.</p> - <p>Helix is a generic cluster management framework used for the automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes.</p> - <p>In this release, Helix provides several performance improvements for rebalance pipeline:</p> - <section> - <h3 id="Key_Note_for_Helix_Release">Key Note for Helix Release</h3> - <section> - <h4 id="Task_Current_State_Migration">Task Current State Migration</h4> - <p>Helix tried to move the task current state out of the existing current state folder. That could be help isolating the traffic and callback fan out to the clients, which are not interested with tasks.</p> - </section> - <section> - <h4 id="Dynamic_Task_Add.2FDelete">Dynamic Task Add/Delete</h4> - <p>This new feature helps the long running job queues can dynamically add/delete jobs without pause the queue to avoid the cancelling existing jobs.</p> - </section> - <section> - <h4 id="WAGED_rebalancer_improvements">WAGED rebalancer improvements</h4> - <p>Improvements we have done for WAGED are:</p> - <ul> - <li>Weight-aware evenly distribute top state replicas.</li> - <li>Gracefully handle large partitions to prevent rebalance failure by properly sorting.</li> - <li>Design the workflow to enforce baseline convergency to unblock the stuck rebalance.</li> - </ul> - </section> - </section> - <section> - <h3 id="Detailed_Changes">Detailed Changes</h3> - <section> - <h4 id="Bug_Fixes">Bug Fixes</h4> - <ul> - <li>Remove a potential deadlock when shutting down a RoutingTableProvider. (#1751)</li> - <li>Improve auto enter maintenance mode (#1650)</li> - <li>Fix the IdealStateBuilder to set the correct instance group tag. (#1607)</li> - <li>Fix targeted job quota calculation for given up tasks (#1548)</li> - <li>Fix periodicalRebalanceExecutor (#1544)</li> - <li>Double check if the HelixTaskExecutor is shutting down before make Partition in ERROR state when schedule task fails. (#1515)</li> - <li></li> - </ul> - </section> - <section> - <h4 id="Improvements">Improvements</h4> - <ul> - <li>Use 1 min sliding window size for Helix rest metrics (#1749)</li> - <li>Correct getAssignmentForWagedFullAutoImpl snapshot behavior (#1730)</li> - <li>Improve WAGED simulation API by throwing exception on FAILED_TO_CALCULATE (#1701)</li> - <li>Disable CORS by default in Helix REST (#1705)</li> - <li>Validate data write size limit in ZkClient (#1072)</li> - <li>Prevent parallel controller pipelines run causing two master replicas (#1066)</li> - <li>Catch exception in group commit (#1441)</li> - <li>Clarify error for ZkSessionMismatchedException in ZkAsyncCallbacks (#1718)</li> - </ul> - </section> - </section> -</section> -<section> - <h2 id="Cheers.2C_--_The_Apache_Helix_Team">Cheers, -- The Apache Helix Team</h2> -</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 class="active"> - <a href="#" title="Release Notes">Release Notes</a> + <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 ©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 Added: helix/site-content/1.0.2-docs/sonar.html URL: http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/sonar.html?rev=1906412&view=auto ============================================================================== --- helix/site-content/1.0.2-docs/sonar.html (added) +++ helix/site-content/1.0.2-docs/sonar.html Thu Jan 5 19:48:20 2023 @@ -0,0 +1,200 @@ + +<!DOCTYPE html> +<!-- + Generated by Apache Maven Doxia at 2022-04-22 + Rendered using Maven Reflow Skin 1.0.0 (http://andriusvelykis.github.com/reflow-maven-skin) +--> +<html xml:lang="en" lang="en"> + + <head> + <meta charset="UTF-8" /> + <title>Apache Helix – Sonar</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="description" content="" /> + <meta http-equiv="content-language" content="en" /> + + <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap.min.css" rel="stylesheet" /> + <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-responsive.min.css" rel="stylesheet" /> + <link href="./css/docs.css" rel="stylesheet" /> + <link href="./css/reflow-skin.css" rel="stylesheet" /> + + + <link href="./css/lightbox.css" rel="stylesheet" /> + + <link href="./css/site.css" rel="stylesheet" /> + <link href="./css/print.css" rel="stylesheet" media="print" /> + + <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> + <!--[if lt IE 9]> + <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + + </head> + + <body class="page-$config.fileId project-$config.projectId" data-spy="scroll" data-offset="60" data-target="#toc-scroll-target"> + + <div class="navbar navbar-fixed-top"> + <div class="navbar-inner"> + <div class="container"> + <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </a> + <div class="nav-collapse"> + <ul class="nav pull-right"> + <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 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 active"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">Hands-On <b class="caret"></b></a> + <ul class="dropdown-menu"> + <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 active"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">Recipes <b class="caret"></b></a> + <ul class="dropdown-menu"> + <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> + </div><!--/.nav-collapse --> + </div> + </div> + </div> + + <div class="container"> + + <!-- Masthead + ================================================== --> + <header class="jumbotron subhead"> + <div class="row" id="banner"> + <div class="span12"> + <div class="pull-left"> + <a href="" id="bannerLeft"><img src="" alt='"''"' /></a> + </div> + <div class="pull-right"> + <a href="http://www.apache.org/" id="bannerRight"><img src="" alt='"''"' /></a> + </div> + </div> + </div> + <div> + <ul class="breadcrumb"> + <li><a href="" title="Apache Helix">Apache Helix </a></li> + <li class="divider">/</li> + <li><a href="" title="Release 1.0.2">Release 1.0.2 </a></li> + <li class="divider">/</li> + <li>Sonar</li> + <li class="publishDate version-date pull-right">Last Published: 2022-04-22</li> + </ul> + </div> + </header> + + <div class="main-body"> + <div class="row"> + <div class="span12"> + <div class="body-content"> +$bodyWithHeader + </div> + </div> + </div> + </div> + + </div><!-- /container --> + + <!-- Footer + ================================================== --> + <footer class="well"> + <div class="container"> + <div class="row"> + <div class="span9 bottom-nav"> + <ul class="nav nav-list"> + <li class="nav-header">Get Helix</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> + <li class="nav-header">Hands-On</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> + <li class="nav-header">Recipes</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> + </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 ©2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</p> + <p><a href="http://github.com/andriusvelykis/reflow-maven-skin" title="Reflow Maven skin">Reflow Maven skin</a> by <a href="http://andrius.velykis.lt" target="_blank" title="Andrius Velykis">Andrius Velykis</a>.</p> + </div> + </div> + </div> + + <!-- Le javascript + ================================================== --> + <!-- Placed at the end of the document so the pages load faster --> + + <!-- Fallback jQuery loading from Google CDN: + http://stackoverflow.com/questions/1014203/best-way-to-use-googles-hosted-jquery-but-fall-back-to-my-hosted-library-on-go --> + <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> + <script type="text/javascript"> + if (typeof jQuery == 'undefined') + { + document.write(unescape("%3Cscript src='./js/jquery-1.8.3.min.js' type='text/javascript'%3E%3C/script%3E")); + } + </script> + + <script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js"></script> + <script src="./js/lightbox.js"></script> + <script src="./js/jquery.smooth-scroll.min.js"></script> + <!-- back button support for smooth scroll --> + <script src="./js/jquery.ba-bbq.min.js"></script> + + <script src="./js/reflow-skin.js"></script> + + </body> +</html> \ No newline at end of file Modified: helix/site-content/1.0.2-docs/source-repository.html URL: http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/source-repository.html?rev=1906412&r1=1906411&r2=1906412&view=diff ============================================================================== --- helix/site-content/1.0.2-docs/source-repository.html (original) +++ helix/site-content/1.0.2-docs/source-repository.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>Source Code Management</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/team-list.html URL: http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/team-list.html?rev=1906412&r1=1906411&r2=1906412&view=diff ============================================================================== --- helix/site-content/1.0.2-docs/team-list.html (original) +++ helix/site-content/1.0.2-docs/team-list.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>Project Team</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> @@ -163,26 +163,15 @@ <tr class="b"> <td align="left"> <figure> - <img src="http://www.gravatar.com/avatar/6415bdedaad2b4fc66f15dcdebdbf490?d=mm&s=60" alt=""> - </figure></td> - <td><a name="jxue"></a>jxue</td> - <td>Junkai Xue</td> - <td><a class="externalLink" href="mailto:[email protected]">[email protected]</a></td> - <td>PMC Chair</td> - <td>-8</td> - </tr> - <tr class="a"> - <td align="left"> - <figure> <img src="http://www.gravatar.com/avatar/4903094887bc01789baecc53cb24cf82?d=mm&s=60" alt=""> </figure></td> <td><a name="kishoreg"></a>kishoreg</td> <td>Kishore Gopalakrishna</td> <td><a class="externalLink" href="mailto:[email protected]">[email protected]</a></td> - <td>PMC Member</td> + <td>PMC Chair</td> <td>-8</td> </tr> - <tr class="b"> + <tr class="a"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/bab29f762bea8e578505424443d8cd41?d=mm&s=60" alt=""> @@ -193,7 +182,7 @@ <td>Mentor / PMC Member</td> <td>Australia/Melbourne</td> </tr> - <tr class="a"> + <tr class="b"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/ef58a72a284f2d71bf6faab818d610f7?d=mm&s=60" alt=""> @@ -204,7 +193,7 @@ <td>Mentor / PMC Member</td> <td>-8</td> </tr> - <tr class="b"> + <tr class="a"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/36a55537043f9e71bb68a9a4c3bf7921?d=mm&s=60" alt=""> @@ -215,7 +204,7 @@ <td>Mentor / PMC Member</td> <td>-8</td> </tr> - <tr class="a"> + <tr class="b"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/028a4e648dc71a05947bd17c595673c2?d=mm&s=60" alt=""> @@ -226,7 +215,7 @@ <td>Mentor / PMC Member</td> <td>-8</td> </tr> - <tr class="b"> + <tr class="a"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/30cf491f75094622e636256add9ca203?d=mm&s=60" alt=""> @@ -237,7 +226,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="a"> + <tr class="b"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/d89273e0bf595b2aedf334ed74443fcf?d=mm&s=60" alt=""> @@ -248,7 +237,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="b"> + <tr class="a"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/399e0bd07703d371628ea8c347f86122?d=mm&s=60" alt=""> @@ -259,7 +248,7 @@ <td>Committer</td> <td>-8</td> </tr> - <tr class="a"> + <tr class="b"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/c3ade9a125d644a15d544b2955bf08d2?d=mm&s=60" alt=""> @@ -270,7 +259,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="b"> + <tr class="a"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/aebf332939b13414787886164242ea72?d=mm&s=60" alt=""> @@ -281,7 +270,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="a"> + <tr class="b"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/2335c7d04906cdb6faaaed243196ff17?d=mm&s=60" alt=""> @@ -292,7 +281,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="b"> + <tr class="a"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/076465e4f0f2e46f046eb480c81882af?d=mm&s=60" alt=""> @@ -303,7 +292,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="a"> + <tr class="b"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/a54814084ea011aa38b9d3940a18e1ed?d=mm&s=60" alt=""> @@ -314,7 +303,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="b"> + <tr class="a"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/f600151c02af78ce6a2c96eaa905db98?d=mm&s=60" alt=""> @@ -325,7 +314,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="a"> + <tr class="b"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/2b15c6b77ae7adc0424cd6a0d73c465f?d=mm&s=60" alt=""> @@ -336,7 +325,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="b"> + <tr class="a"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/2ac5e1b278819214ced1b7ff577eccf5?d=mm&s=60" alt=""> @@ -347,7 +336,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="a"> + <tr class="b"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/aca35ccbcd6e67c8fdb140693928229d?d=mm&s=60" alt=""> @@ -358,7 +347,7 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> - <tr class="b"> + <tr class="a"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/10fa0ccc9368a3228bdfc194ffa83d33?d=mm&s=60" alt=""> @@ -369,7 +358,7 @@ <td>Committer</td> <td>-8</td> </tr> - <tr class="a"> + <tr class="b"> <td align="left"> <figure> <img src="http://www.gravatar.com/avatar/916811f65401599f738751fad033acad?d=mm&s=60" alt=""> @@ -380,6 +369,17 @@ <td>Committer / PMC Member</td> <td>-8</td> </tr> + <tr class="a"> + <td align="left"> + <figure> + <img src="http://www.gravatar.com/avatar/6415bdedaad2b4fc66f15dcdebdbf490?d=mm&s=60" alt=""> + </figure></td> + <td><a name="jxue"></a>jxue</td> + <td>Junkai Xue</td> + <td><a class="externalLink" href="mailto:[email protected]">[email protected]</a></td> + <td>Committer / PMC Member</td> + <td>-8</td> + </tr> <tr class="b"> <td align="left"> <figure> @@ -435,17 +435,6 @@ <td>Committer</td> <td>-8</td> </tr> - <tr class="a"> - <td align="left"> - <figure> - <img src="http://www.gravatar.com/avatar/a273eef06da4daf039ebe65f08107a96?d=mm&s=60" alt=""> - </figure></td> - <td><a name="nealsun"></a>nealsun</td> - <td>Neal Sun</td> - <td><a class="externalLink" href="mailto:[email protected]">[email protected]</a></td> - <td>Committer</td> - <td>-8</td> - </tr> </tbody> </table> </section> Modified: helix/site-content/1.0.2-docs/tutorial_admin.html URL: http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_admin.html?rev=1906412&r1=1906411&r2=1906412&view=diff ============================================================================== --- helix/site-content/1.0.2-docs/tutorial_admin.html (original) +++ helix/site-content/1.0.2-docs/tutorial_admin.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 - Admin Operations</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_agent.html URL: http://svn.apache.org/viewvc/helix/site-content/1.0.2-docs/tutorial_agent.html?rev=1906412&r1=1906411&r2=1906412&view=diff ============================================================================== --- helix/site-content/1.0.2-docs/tutorial_agent.html (original) +++ helix/site-content/1.0.2-docs/tutorial_agent.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_agent 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 - Helix Agent</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,257 +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:_Helix_Agent_.28for_non-JVM_systems.29"><a href="./Tutorial.html">Helix Tutorial</a>: Helix Agent (for non-JVM systems)</h2> - </div> - <p>Not every distributed system is written on the JVM, but many systems would benefit from the cluster management features that Helix provides. To make a non-JVM system work with Helix, you can use the Helix Agent module.</p> - <section> - <h3 id="What_is_Helix_Agent.3F">What is Helix Agent?</h3> - <p>Helix is built on the following assumption: if your distributed resource is modeled by a finite state machine, then Helix can tell participants when they should transition between states. In the Java API, this means implementing transition callbacks. In the Helix agent API, this means providing commands than can run for each transition.</p> - <p>These commands could do anything behind the scenes; Helix only requires that they exit once the state transition is complete.</p> - </section> - <section> - <h3 id="Configuring_Transition_Commands">Configuring Transition Commands</h3> - <p>Here's how to tell Helix which commands to run on state transitions:</p> - <section> - <h4 id="Java">Java</h4> - <p>Using the Java API, first get a configuration scope (the Helix agent supports both cluster and resource scopes, picking resource first if it is available):</p> - <div class="source"> - <pre><code>// Cluster scope -HelixConfigScope scope = - new HelixConfigScopeBuilder(ConfigScopeProperty.CLUSTER).forCluster(clusterName).build(); - -// Resource scope -HelixConfigScope scope = - new HelixConfigScopeBuilder(ConfigScopeProperty.RESOURCE).forCluster(clusterName).forResource(resourceName).build(); -</code></pre> - </div> - <p>Then, specify the command to run for each state transition:</p> - <div class="source"> - <pre><code>// Get the configuration accessor -ConfigAccessor configAccessor = new ConfigAccessor(_gZkClient); - -// Specify the script for OFFLINE --> ONLINE -CommandConfig.Builder builder = new CommandConfig.Builder(); -CommandConfig cmdConfig = - builder.setTransition("OFFLINE", "ONLINE").setCommand("simpleHttpClient.py OFFLINE-ONLINE") - .setCommandWorkingDir(workingDir) - .setCommandTimeout("5000L") // optional: ms to wait before failing - .setPidFile(pidFile) // optional: for daemon-like systems that will write the process id to a file - .build(); -configAccessor.set(scope, cmdConfig.toKeyValueMap()); - -// Specify the script for ONLINE --> OFFLINE -builder = new CommandConfig.Builder(); -cmdConfig = - builder.setTransition("ONLINE", "OFFLINE").setCommand("simpleHttpClient.py ONLINE-OFFLINE") - .setCommandWorkingDir(workingDir) - .build(); -configAccessor.set(scope, cmdConfig.toKeyValueMap()); - -// Specify NOP for OFFLINE --> DROPPED -builder = new CommandConfig.Builder(); -cmdConfig = - builder.setTransition("OFFLINE", "DROPPED") - .setCommand(CommandAttribute.NOP.getName()) - .build(); -configAccessor.set(scope, cmdConfig.toKeyValueMap()); -</code></pre> - </div> - <p>In this example, we have a program called simpleHttpClient.py that we call for all transitions, only changing the arguments that are passed in. However, there is no requirement that each transition invoke the same program; this API allows running arbitrary commands in arbitrary directories with arbitrary arguments.</p> - <p>Notice that that for the OFFLINE --> DROPPED transition, we do not run any command (specifically, we specify the NOP command). This just tells Helix that the system doesn't care about when things are dropped, and it can consider the transition already done.</p> - </section> - <section> - <h4 id="Command_Line">Command Line</h4> - <p>It is also possible to configure everything directly from the command line. Here's how that would look for cluster-wide configuration:</p> - <div class="source"> - <pre><code># Specify the script for OFFLINE --> ONLINE -/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName OFFLINE-ONLINE.command="simpleHttpClient.py OFFLINE-ONLINE",OFFLINE-ONLINE.command.workingDir="/path/to/script", OFFLINE-ONLINE.command.pidfile="/path/to/pidfile" - -# Specify the script for ONLINE --> OFFLINE -/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName ONLINE-OFFLINE.command="simpleHttpClient.py ONLINE-OFFLINE",ONLINE-OFFLINE.workingDir="/path/to/script", OFFLINE-ONLINE.command.pidfile="/path/to/pidfile" - -# Specify NOP for OFFLINE --> DROPPED -/helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName ONLINE-OFFLINE.command="nop" -</code></pre> - </div> - <p>Like in the Java configuration, it is also possible to specify a resource scope instead of a cluster scope:</p> - <div class="source"> - <pre><code># Specify the script for OFFLINE --> ONLINE -/helix-admin.sh --zkSvr localhost:2181 --setConfig RESOURCE clusterName,resourceName OFFLINE-ONLINE.command="simpleHttpClient.py OFFLINE-ONLINE",OFFLINE-ONLINE.command.workingDir="/path/to/script", OFFLINE-ONLINE.command.pidfile="/path/to/pidfile" -</code></pre> - </div> - </section> - </section> - <section> - <h3 id="Starting_the_Agent">Starting the Agent</h3> - <p>There should be an agent running for every participant you have running. Ideally, its lifecycle should match that of the participant. Here, we have a simple long-running participant called simpleHttpServer.py. Its only purpose is to record state transitions.</p> - <p>Here are some ways that you can start the Helix agent:</p> - <section> - <h4 id="Java">Java</h4> - <div class="source"> - <pre><code>// Start your application process -ExternalCommand serverCmd = ExternalCommand.start(workingDir + "/simpleHttpServer.py"); - -// Start the agent -Thread agentThread = new Thread() { - @Override - public void run() { - while(!isInterrupted()) { - try { - HelixAgentMain.main(new String[] { - "--zkSvr", zkAddr, "--cluster", clusterName, "--instanceName", instanceName, - "--stateModel", "OnlineOffline" - }); - } catch (InterruptedException e) { - LOG.info("Agent thread interrupted", e); - interrupt(); - } catch (Exception e) { - LOG.error("Exception start helix-agent", e); - } - } - } -}; -agentThread.start(); - -// Wait for the process to terminate (either intentionally or unintentionally) -serverCmd.waitFor(); - -// Kill the agent -agentThread.interrupt(); -</code></pre> - </div> - </section> - <section> - <h4 id="Command_Line">Command Line</h4> - <div class="source"> - <pre><code># Build Helix and start the agent -mvn clean install -DskipTests -chmod +x helix-agent/target/helix-agent-pkg/bin/* -helix-agent/target/helix-agent-pkg/bin/start-helix-agent.sh --zkSvr zkAddr1,zkAddr2 --cluster clusterName --instanceName instanceName --stateModel OnlineOffline - -# Here, you can define your own logic to terminate this agent when your process terminates -... -</code></pre> - </div> - </section> - </section> - <section> - <h3 id="Example">Example</h3> - <p><a class="externalLink" href="https://git-wip-us.apache.org/repos/asf?p=helix.git;a=blob;f=helix-agent/src/test/java/org/apache/helix/agent/TestHelixAgent.java;h=ccf64ce5544207c7e48261682ea69945b71da7f1;hb=refs/heads/master">Here</a> is a basic system that uses the Helix agent package.</p> - </section> - <section> - <h3 id="Notes">Notes</h3> - <p>As you may have noticed from the examples, the participant program and the state transition program are two different programs. The former is a <i>long-running</i> process that is directly tied to the Helix agent. The latter is a process that only exists while a state transition is underway. Despite this, these two processes should be intertwined. The transition command will need to communicate to the participant to actually complete the state transition and the participant will need to communicate whether or not this was successful. The implementation of this protocol is the responsibility of the system.</p> - </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 ©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
