You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ki...@apache.org on 2013/09/03 18:43:56 UTC

svn commit: r1519752 [42/46] - in /incubator/helix/site-content: ./ apidocs/assets/ apidocs/reference/ apidocs/reference/org/apache/helix/ apidocs/reference/org/apache/helix/agent/ apidocs/reference/org/apache/helix/alerts/ apidocs/reference/org/apache...

Added: incubator/helix/site-content/recipes/user-defined-rebalancer/plugins.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/user-defined-rebalancer/plugins.html?rev=1519752&view=auto
==============================================================================
--- incubator/helix/site-content/recipes/user-defined-rebalancer/plugins.html (added)
+++ incubator/helix/site-content/recipes/user-defined-rebalancer/plugins.html Tue Sep  3 16:43:37 2013
@@ -0,0 +1,148 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at Sep 3, 2013
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20130903" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Helix :: Recipes :: user-defined-rebalancer - Project Build Plugins</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+
+      
+    <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-3211522-12']);
+        _gaq.push(['_trackPageview']);
+
+        (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+        })();</script>
+          
+            </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                            </ul>
+          
+                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="helix.incubator.apache.org/recipes/user-defined-rebalancer" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                    
+        
+        
+        <ul class="nav pull-right"><li>
+    
+    <a href="https://twitter.com/ApacheHelix" class="twitter-follow-button" data-show-count="false" data-align="right" data-size="large" data-show-screen-name="true" data-lang="en">Follow ApacheHelix</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </li></ul>
+                
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../" id="bannerLeft">
+                                                                                                <img src="../../images/helix-logo.jpg" />
+                </a>
+                      </div>
+        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
+                                                                                        <img src="http://incubator.apache.org/images/egg-logo.png" />
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+            
+                  <li id="projectVersion">Version: 0.6.2-incubating-SNAPSHOT</li>
+                  |             <li class="">
+                    <a href="../../" title="Apache Helix">
+        Apache Helix</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="../" title="Apache Helix :: Recipes">
+        Apache Helix :: Recipes</a>
+        </li>
+      <li class="divider ">/</li>
+                <li class="">
+                    <a href="./" title="Apache Helix :: Recipes :: user-defined-rebalancer">
+        Apache Helix :: Recipes :: user-defined-rebalancer</a>
+        </li>
+      <li class="divider ">/</li>
+        <li class="">Project Build Plugins</li>
+                
+                
+            
+                  <li id="publishDate" class="pull-right">Last Published: 2013-09-03</li> 
+            
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <div class="section"><h2>Project Build Plugins<a name="Project_Build_Plugins"></a></h2><a name="Project_Build_Plugins"></a><table border="0" class="table table-striped"><tr class="a"><th>GroupId</th><th>ArtifactId</th><th>Version</th></tr><tr class="b"><td>org.apache.felix</td><td><a class="externalLink" href="http://felix.apache.org/maven-bundle-plugin/">maven-bundle-plugin</a></td><td>2.3.7</td></tr><tr class="a"><td>org.apache.maven.plugins</td><td><a class="externalLink" href="http://maven.apache.org/plugins/maven-clean-plugin/">maven-clean-plugin</a></td><td>2.5</td></tr><tr class="b"><td>org.apache.maven.plugins</td><td><a class="externalLink" href="http://maven.apache.org/plugins/maven-compiler-plugin/">maven-compiler-plugin</a></td><td>2.5.1</td></tr><tr class="a"><td>org.apache.maven.plugins</td><td><a class="externalLink" href="http://maven.apache.org/plugins/maven-deploy-plugin/">maven-deploy-plugin</a></td><td>2.7</td></tr><tr class="b"><td>org.apache.maven.p
 lugins</td><td><a class="externalLink" href="http://maven.apache.org/plugins/maven-install-plugin/">maven-install-plugin</a></td><td>2.3.1</td></tr><tr class="a"><td>org.apache.maven.plugins</td><td><a class="externalLink" href="http://maven.apache.org/plugins/maven-remote-resources-plugin/">maven-remote-resources-plugin</a></td><td>1.4</td></tr><tr class="b"><td>org.apache.maven.plugins</td><td><a class="externalLink" href="http://maven.apache.org/plugins/maven-resources-plugin/">maven-resources-plugin</a></td><td>2.6</td></tr><tr class="a"><td>org.apache.maven.plugins</td><td><a class="externalLink" href="http://maven.apache.org/plugins/maven-site-plugin/">maven-site-plugin</a></td><td>3.2</td></tr><tr class="b"><td>org.apache.maven.plugins</td><td><a class="externalLink" href="http://maven.apache.org/plugins/maven-source-plugin/">maven-source-plugin</a></td><td>2.2.1</td></tr><tr class="a"><td>org.apache.maven.plugins</td><td><a class="externalLink" href="http://maven.apache.org/
 surefire/maven-surefire-plugin">maven-surefire-plugin</a></td><td>2.14</td></tr><tr class="b"><td>org.codehaus.mojo</td><td><a class="externalLink" href="http://mojo.codehaus.org/appassembler/appassembler-maven-plugin">appassembler-maven-plugin</a></td><td>1.1.1</td></tr><tr class="a"><td>org.codehaus.mojo</td><td><a class="externalLink" href="http://mojo.codehaus.org/license-maven-plugin">license-maven-plugin</a></td><td>1.3</td></tr></table></div><div class="section"><h2>Project Report Plugins<a name="Project_Report_Plugins"></a></h2><a name="Project_Report_Plugins"></a><table border="0" class="table table-striped"><tr class="a"><th>GroupId</th><th>ArtifactId</th><th>Version</th></tr><tr class="b"><td>org.apache.maven.plugins</td><td><a class="externalLink" href="http://maven.apache.org/jxr/maven-jxr-plugin/">maven-jxr-plugin</a></td><td>2.3</td></tr><tr class="a"><td>org.apache.maven.plugins</td><td><a class="externalLink" href="http://maven.apache.org/plugins/maven-project-info-
 reports-plugin/">maven-project-info-reports-plugin</a></td><td>2.7</td></tr><tr class="b"><td>org.codehaus.sonar-plugins</td><td><a class="externalLink" href="http://sonar-plugins.codehaus.org/maven-report">maven-report</a></td><td>0.1</td></tr></table></div>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+              <div class="row span12">Copyright &copy;                    2013
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+            
+      </div>
+
+                                                                  <?xml version="1.0" encoding="UTF-8"?>
+<div class="row span16">
+  <div>Apache Helix, Apache, the Apache feather logo, and the Apache Helix project logos are trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+  <a href="http://helix.incubator.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                  
+                <p id="poweredBy" class="pull-right">
+                          <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+      </a>
+              </p>
+        
+                </div>
+    </footer>
+  </body>
+</html>
\ No newline at end of file

Added: incubator/helix/site-content/recipes/user-defined-rebalancer/project-info.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/user-defined-rebalancer/project-info.html?rev=1519752&view=auto
==============================================================================
--- incubator/helix/site-content/recipes/user-defined-rebalancer/project-info.html (added)
+++ incubator/helix/site-content/recipes/user-defined-rebalancer/project-info.html Tue Sep  3 16:43:37 2013
@@ -0,0 +1,148 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at Sep 3, 2013
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20130903" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Helix :: Recipes :: user-defined-rebalancer - Project Information</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+
+      
+    <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-3211522-12']);
+        _gaq.push(['_trackPageview']);
+
+        (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+        })();</script>
+          
+            </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                            </ul>
+          
+                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="helix.incubator.apache.org/recipes/user-defined-rebalancer" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                    
+        
+        
+        <ul class="nav pull-right"><li>
+    
+    <a href="https://twitter.com/ApacheHelix" class="twitter-follow-button" data-show-count="false" data-align="right" data-size="large" data-show-screen-name="true" data-lang="en">Follow ApacheHelix</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </li></ul>
+                
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../" id="bannerLeft">
+                                                                                                <img src="../../images/helix-logo.jpg" />
+                </a>
+                      </div>
+        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
+                                                                                        <img src="http://incubator.apache.org/images/egg-logo.png" />
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+            
+                  <li id="projectVersion">Version: 0.6.2-incubating-SNAPSHOT</li>
+                  |             <li class="">
+                    <a href="../../" title="Apache Helix">
+        Apache Helix</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="../" title="Apache Helix :: Recipes">
+        Apache Helix :: Recipes</a>
+        </li>
+      <li class="divider ">/</li>
+                <li class="">
+                    <a href="./" title="Apache Helix :: Recipes :: user-defined-rebalancer">
+        Apache Helix :: Recipes :: user-defined-rebalancer</a>
+        </li>
+      <li class="divider ">/</li>
+        <li class="">Project Information</li>
+                
+                
+            
+                  <li id="publishDate" class="pull-right">Last Published: 2013-09-03</li> 
+            
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <div class="section"><h2>Project Information<a name="Project_Information"></a></h2><p>This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by <a class="externalLink" href="http://maven.apache.org">Maven</a> on behalf of the project.</p><div class="section"><h3>Overview<a name="Overview"></a></h3><table border="0" class="table table-striped"><tr class="a"><th>Document</th><th>Description</th></tr><tr class="b"><td><a href="index.html">About</a></td><td>Helix is a generic cluster management framework used for the automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes.</td></tr><tr class="a"><td><a href="plugin-management.html">Plugin Management</a></td><td>This document lists the plugins that are defined through pluginManagement.</td></tr><tr class="b"><td><a href="distribution-management.html">Distribution Man
 agement</a></td><td>This document provides informations on the distribution management of this project.</td></tr><tr class="a"><td><a href="dependency-info.html">Dependency Information</a></td><td>This document describes how to to include this project as a dependency using various dependency management tools.</td></tr><tr class="b"><td><a href="dependency-convergence.html">Dependency Convergence</a></td><td>This document presents the convergence of dependency versions across the entire project, and its sub modules.</td></tr><tr class="a"><td><a href="source-repository.html">Source Repository</a></td><td>This is a link to the online source repository that can be viewed via a web browser.</td></tr><tr class="b"><td><a href="mail-lists.html">Mailing Lists</a></td><td>This document provides subscription and archive information for this project's mailing lists.</td></tr><tr class="a"><td><a href="issue-tracking.html">Issue Tracking</a></td><td>This is a link to the issue management syste
 m for this project. Issues (bugs, features, change requests) can be created and queried using this link.</td></tr><tr class="b"><td><a href="integration.html">Continuous Integration</a></td><td>This is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.</td></tr><tr class="a"><td><a href="plugins.html">Project Plugins</a></td><td>This document lists the build plugins and the report plugins used by this project.</td></tr><tr class="b"><td><a href="license.html">Project License</a></td><td>This is a link to the definitions of project licenses.</td></tr><tr class="a"><td><a href="dependency-management.html">Dependency Management</a></td><td>This document lists the dependencies that are defined through dependencyManagement.</td></tr><tr class="b"><td><a href="team-list.html">Project Team</a></td><td>This document provides information on the members of this project. These are the individuals who have contributed to th
 e project in one form or another.</td></tr><tr class="a"><td><a href="project-summary.html">Project Summary</a></td><td>This document lists other related information of this project</td></tr><tr class="b"><td><a href="dependencies.html">Dependencies</a></td><td>This document lists the project's dependencies and provides information on each dependency.</td></tr></table></div></div>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+              <div class="row span12">Copyright &copy;                    2013
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+            
+      </div>
+
+                                                                  <?xml version="1.0" encoding="UTF-8"?>
+<div class="row span16">
+  <div>Apache Helix, Apache, the Apache feather logo, and the Apache Helix project logos are trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+  <a href="http://helix.incubator.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                  
+                <p id="poweredBy" class="pull-right">
+                          <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+      </a>
+              </p>
+        
+                </div>
+    </footer>
+  </body>
+</html>
\ No newline at end of file

Added: incubator/helix/site-content/recipes/user-defined-rebalancer/project-reports.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/user-defined-rebalancer/project-reports.html?rev=1519752&view=auto
==============================================================================
--- incubator/helix/site-content/recipes/user-defined-rebalancer/project-reports.html (added)
+++ incubator/helix/site-content/recipes/user-defined-rebalancer/project-reports.html Tue Sep  3 16:43:37 2013
@@ -0,0 +1,148 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at Sep 3, 2013
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20130903" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Helix :: Recipes :: user-defined-rebalancer - Generated Reports</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+
+      
+    <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-3211522-12']);
+        _gaq.push(['_trackPageview']);
+
+        (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+        })();</script>
+          
+            </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                            </ul>
+          
+                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="helix.incubator.apache.org/recipes/user-defined-rebalancer" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                    
+        
+        
+        <ul class="nav pull-right"><li>
+    
+    <a href="https://twitter.com/ApacheHelix" class="twitter-follow-button" data-show-count="false" data-align="right" data-size="large" data-show-screen-name="true" data-lang="en">Follow ApacheHelix</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </li></ul>
+                
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../" id="bannerLeft">
+                                                                                                <img src="../../images/helix-logo.jpg" />
+                </a>
+                      </div>
+        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
+                                                                                        <img src="http://incubator.apache.org/images/egg-logo.png" />
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+            
+                  <li id="projectVersion">Version: 0.6.2-incubating-SNAPSHOT</li>
+                  |             <li class="">
+                    <a href="../../" title="Apache Helix">
+        Apache Helix</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="../" title="Apache Helix :: Recipes">
+        Apache Helix :: Recipes</a>
+        </li>
+      <li class="divider ">/</li>
+                <li class="">
+                    <a href="./" title="Apache Helix :: Recipes :: user-defined-rebalancer">
+        Apache Helix :: Recipes :: user-defined-rebalancer</a>
+        </li>
+      <li class="divider ">/</li>
+        <li class="">Generated Reports</li>
+                
+                
+            
+                  <li id="publishDate" class="pull-right">Last Published: 2013-09-03</li> 
+            
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <div class="section"><h2>Generated Reports<a name="Generated_Reports"></a></h2><p>This document provides an overview of the various reports that are automatically generated by <a class="externalLink" href="http://maven.apache.org">Maven</a> . Each report is briefly described below.</p><div class="section"><h3>Overview<a name="Overview"></a></h3><table border="0" class="table table-striped"><tr class="a"><th>Document</th><th>Description</th></tr><tr class="b"><td><a href="sonar.html">Sonar</a></td><td>Quality analysis dashboard.</td></tr></table></div></div>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+              <div class="row span12">Copyright &copy;                    2013
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+            
+      </div>
+
+                                                                  <?xml version="1.0" encoding="UTF-8"?>
+<div class="row span16">
+  <div>Apache Helix, Apache, the Apache feather logo, and the Apache Helix project logos are trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+  <a href="http://helix.incubator.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                  
+                <p id="poweredBy" class="pull-right">
+                          <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+      </a>
+              </p>
+        
+                </div>
+    </footer>
+  </body>
+</html>
\ No newline at end of file

Added: incubator/helix/site-content/recipes/user-defined-rebalancer/project-summary.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/user-defined-rebalancer/project-summary.html?rev=1519752&view=auto
==============================================================================
--- incubator/helix/site-content/recipes/user-defined-rebalancer/project-summary.html (added)
+++ incubator/helix/site-content/recipes/user-defined-rebalancer/project-summary.html Tue Sep  3 16:43:37 2013
@@ -0,0 +1,148 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at Sep 3, 2013
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20130903" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Helix :: Recipes :: user-defined-rebalancer - Project Summary</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+
+      
+    <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-3211522-12']);
+        _gaq.push(['_trackPageview']);
+
+        (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+        })();</script>
+          
+            </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                            </ul>
+          
+                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="helix.incubator.apache.org/recipes/user-defined-rebalancer" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                    
+        
+        
+        <ul class="nav pull-right"><li>
+    
+    <a href="https://twitter.com/ApacheHelix" class="twitter-follow-button" data-show-count="false" data-align="right" data-size="large" data-show-screen-name="true" data-lang="en">Follow ApacheHelix</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </li></ul>
+                
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../" id="bannerLeft">
+                                                                                                <img src="../../images/helix-logo.jpg" />
+                </a>
+                      </div>
+        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
+                                                                                        <img src="http://incubator.apache.org/images/egg-logo.png" />
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+            
+                  <li id="projectVersion">Version: 0.6.2-incubating-SNAPSHOT</li>
+                  |             <li class="">
+                    <a href="../../" title="Apache Helix">
+        Apache Helix</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="../" title="Apache Helix :: Recipes">
+        Apache Helix :: Recipes</a>
+        </li>
+      <li class="divider ">/</li>
+                <li class="">
+                    <a href="./" title="Apache Helix :: Recipes :: user-defined-rebalancer">
+        Apache Helix :: Recipes :: user-defined-rebalancer</a>
+        </li>
+      <li class="divider ">/</li>
+        <li class="">Project Summary</li>
+                
+                
+            
+                  <li id="publishDate" class="pull-right">Last Published: 2013-09-03</li> 
+            
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <div class="section"><h2>Project Summary<a name="Project_Summary"></a></h2><a name="Project_Summary"></a><div class="section"><h3>Project Information<a name="Project_Information"></a></h3><a name="Project_Information"></a><table border="0" class="table table-striped"><tr class="a"><th>Field</th><th>Value</th></tr><tr class="b"><td>Name</td><td>Apache Helix :: Recipes :: user-defined-rebalancer</td></tr><tr class="a"><td>Description</td><td>Helix is a generic cluster management framework used for the automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes.</td></tr><tr class="b"><td>Homepage</td><td><a class="externalLink" href="http://helix.incubator.apache.org/recipes/user-defined-rebalancer">http://helix.incubator.apache.org/recipes/user-defined-rebalancer</a></td></tr></table></div><div class="section"><h3>Project Organization<a name="Project_Organization"></a></h3><a name="Project_Organization"></a><table border="0" clas
 s="table table-striped"><tr class="a"><th>Field</th><th>Value</th></tr><tr class="b"><td>Name</td><td>The Apache Software Foundation</td></tr><tr class="a"><td>URL</td><td><a class="externalLink" href="http://www.apache.org/">http://www.apache.org/</a></td></tr></table></div><div class="section"><h3>Build Information<a name="Build_Information"></a></h3><a name="Build_Information"></a><table border="0" class="table table-striped"><tr class="a"><th>Field</th><th>Value</th></tr><tr class="b"><td>GroupId</td><td>org.apache.helix.recipes</td></tr><tr class="a"><td>ArtifactId</td><td>user-defined-rebalancer</td></tr><tr class="b"><td>Version</td><td>0.6.2-incubating-SNAPSHOT</td></tr><tr class="a"><td>Type</td><td>bundle</td></tr><tr class="b"><td>JDK Rev</td><td>1.6</td></tr></table></div></div>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+              <div class="row span12">Copyright &copy;                    2013
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+            
+      </div>
+
+                                                                  <?xml version="1.0" encoding="UTF-8"?>
+<div class="row span16">
+  <div>Apache Helix, Apache, the Apache feather logo, and the Apache Helix project logos are trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+  <a href="http://helix.incubator.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                  
+                <p id="poweredBy" class="pull-right">
+                          <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+      </a>
+              </p>
+        
+                </div>
+    </footer>
+  </body>
+</html>
\ No newline at end of file

Added: incubator/helix/site-content/recipes/user-defined-rebalancer/sonar.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/user-defined-rebalancer/sonar.html?rev=1519752&view=auto
==============================================================================
--- incubator/helix/site-content/recipes/user-defined-rebalancer/sonar.html (added)
+++ incubator/helix/site-content/recipes/user-defined-rebalancer/sonar.html Tue Sep  3 16:43:37 2013
@@ -0,0 +1,148 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at Sep 3, 2013
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20130903" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Helix :: Recipes :: user-defined-rebalancer - Sonar</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+
+      
+    <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-3211522-12']);
+        _gaq.push(['_trackPageview']);
+
+        (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+        })();</script>
+          
+            </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                            </ul>
+          
+                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="helix.incubator.apache.org/recipes/user-defined-rebalancer" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                    
+        
+        
+        <ul class="nav pull-right"><li>
+    
+    <a href="https://twitter.com/ApacheHelix" class="twitter-follow-button" data-show-count="false" data-align="right" data-size="large" data-show-screen-name="true" data-lang="en">Follow ApacheHelix</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </li></ul>
+                
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../" id="bannerLeft">
+                                                                                                <img src="../../images/helix-logo.jpg" />
+                </a>
+                      </div>
+        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
+                                                                                        <img src="http://incubator.apache.org/images/egg-logo.png" />
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+            
+                  <li id="projectVersion">Version: 0.6.2-incubating-SNAPSHOT</li>
+                  |             <li class="">
+                    <a href="../../" title="Apache Helix">
+        Apache Helix</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="../" title="Apache Helix :: Recipes">
+        Apache Helix :: Recipes</a>
+        </li>
+      <li class="divider ">/</li>
+                <li class="">
+                    <a href="./" title="Apache Helix :: Recipes :: user-defined-rebalancer">
+        Apache Helix :: Recipes :: user-defined-rebalancer</a>
+        </li>
+      <li class="divider ">/</li>
+        <li class="">Sonar</li>
+                
+                
+            
+                  <li id="publishDate" class="pull-right">Last Published: 2013-09-03</li> 
+            
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <h2>Sonar<a name="Sonar"></a></h2>Redirecting to <a class="externalLink" href="https://analysis.apache.org/project/index/org.apache.helix.recipes:user-defined-rebalancer">https://analysis.apache.org/project/index/org.apache.helix.recipes:user-defined-rebalancer</a><script type='text/javascript'> window.location='https://analysis.apache.org/project/index/org.apache.helix.recipes:user-defined-rebalancer'</script>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+              <div class="row span12">Copyright &copy;                    2013
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+            
+      </div>
+
+                                                                  <?xml version="1.0" encoding="UTF-8"?>
+<div class="row span16">
+  <div>Apache Helix, Apache, the Apache feather logo, and the Apache Helix project logos are trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+  <a href="http://helix.incubator.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                  
+                <p id="poweredBy" class="pull-right">
+                          <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+      </a>
+              </p>
+        
+                </div>
+    </footer>
+  </body>
+</html>
\ No newline at end of file

Added: incubator/helix/site-content/recipes/user-defined-rebalancer/source-repository.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/user-defined-rebalancer/source-repository.html?rev=1519752&view=auto
==============================================================================
--- incubator/helix/site-content/recipes/user-defined-rebalancer/source-repository.html (added)
+++ incubator/helix/site-content/recipes/user-defined-rebalancer/source-repository.html Tue Sep  3 16:43:37 2013
@@ -0,0 +1,148 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at Sep 3, 2013
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20130903" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Helix :: Recipes :: user-defined-rebalancer - Source Repository</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+
+      
+    <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-3211522-12']);
+        _gaq.push(['_trackPageview']);
+
+        (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+        })();</script>
+          
+            </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                            </ul>
+          
+                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="helix.incubator.apache.org/recipes/user-defined-rebalancer" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                    
+        
+        
+        <ul class="nav pull-right"><li>
+    
+    <a href="https://twitter.com/ApacheHelix" class="twitter-follow-button" data-show-count="false" data-align="right" data-size="large" data-show-screen-name="true" data-lang="en">Follow ApacheHelix</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </li></ul>
+                
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../" id="bannerLeft">
+                                                                                                <img src="../../images/helix-logo.jpg" />
+                </a>
+                      </div>
+        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
+                                                                                        <img src="http://incubator.apache.org/images/egg-logo.png" />
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+            
+                  <li id="projectVersion">Version: 0.6.2-incubating-SNAPSHOT</li>
+                  |             <li class="">
+                    <a href="../../" title="Apache Helix">
+        Apache Helix</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="../" title="Apache Helix :: Recipes">
+        Apache Helix :: Recipes</a>
+        </li>
+      <li class="divider ">/</li>
+                <li class="">
+                    <a href="./" title="Apache Helix :: Recipes :: user-defined-rebalancer">
+        Apache Helix :: Recipes :: user-defined-rebalancer</a>
+        </li>
+      <li class="divider ">/</li>
+        <li class="">Source Repository</li>
+                
+                
+            
+                  <li id="publishDate" class="pull-right">Last Published: 2013-09-03</li> 
+            
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <div class="section"><h2>Overview<a name="Overview"></a></h2><a name="Overview"></a><p>This project uses <a class="externalLink" href="http://git-scm.com/">GIT</a> to manage its source code. Instructions on GIT use can be found at <a class="externalLink" href="http://git-scm.com/documentation">http://git-scm.com/documentation</a>.</p></div><div class="section"><h2>Web Access<a name="Web_Access"></a></h2><a name="Web_Access"></a><p>The following is a link to the online source repository.</p><div class="source"><pre class="prettyprint"><a class="externalLink" href="https://git-wip-us.apache.org/repos/asf?p=incubator-helix.git;a=summary/recipes/user-defined-rebalancer">https://git-wip-us.apache.org/repos/asf?p=incubator-helix.git;a=summary/recipes/user-defined-rebalancer</a></pre></div></div><div class="section"><h2>Anonymous access<a name="Anonymous_access"></a></h2><a name="Anonymous_access"></a><p>The source can be checked out anonymously from GIT with this command (See 
 <a class="externalLink" href="http://git-scm.com/docs/git-clone">http://git-scm.com/docs/git-clone</a>):</p><div class="source"><pre class="prettyprint">$ git clone https://git-wip-us.apache.org/repos/asf/incubator-helix.git/recipes/user-defined-rebalancer</pre></div></div><div class="section"><h2>Developer access<a name="Developer_access"></a></h2><a name="Developer_access"></a><p>Only project developers can access the GIT tree via this method (See <a class="externalLink" href="http://git-scm.com/docs/git-clone">http://git-scm.com/docs/git-clone</a>).</p><div class="source"><pre class="prettyprint">$ git clone https://git-wip-us.apache.org/repos/asf/incubator-helix.git/recipes/user-defined-rebalancer</pre></div></div><div class="section"><h2>Access from behind a firewall<a name="Access_from_behind_a_firewall"></a></h2><a name="Access_from_behind_a_firewall"></a><p>Refer to the documentation of the SCM used for more information about access behind a firewall.</p></div>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+              <div class="row span12">Copyright &copy;                    2013
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+            
+      </div>
+
+                                                                  <?xml version="1.0" encoding="UTF-8"?>
+<div class="row span16">
+  <div>Apache Helix, Apache, the Apache feather logo, and the Apache Helix project logos are trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+  <a href="http://helix.incubator.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                  
+                <p id="poweredBy" class="pull-right">
+                          <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+      </a>
+              </p>
+        
+                </div>
+    </footer>
+  </body>
+</html>
\ No newline at end of file

Added: incubator/helix/site-content/recipes/user-defined-rebalancer/team-list.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/user-defined-rebalancer/team-list.html?rev=1519752&view=auto
==============================================================================
--- incubator/helix/site-content/recipes/user-defined-rebalancer/team-list.html (added)
+++ incubator/helix/site-content/recipes/user-defined-rebalancer/team-list.html Tue Sep  3 16:43:37 2013
@@ -0,0 +1,171 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at Sep 3, 2013
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20130903" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Helix :: Recipes :: user-defined-rebalancer - Team list</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+
+      
+    <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-3211522-12']);
+        _gaq.push(['_trackPageview']);
+
+        (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+        })();</script>
+          
+            </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                            </ul>
+          
+                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="helix.incubator.apache.org/recipes/user-defined-rebalancer" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                    
+        
+        
+        <ul class="nav pull-right"><li>
+    
+    <a href="https://twitter.com/ApacheHelix" class="twitter-follow-button" data-show-count="false" data-align="right" data-size="large" data-show-screen-name="true" data-lang="en">Follow ApacheHelix</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </li></ul>
+                
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../../" id="bannerLeft">
+                                                                                                <img src="../../images/helix-logo.jpg" />
+                </a>
+                      </div>
+        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
+                                                                                        <img src="http://incubator.apache.org/images/egg-logo.png" />
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+            
+                  <li id="projectVersion">Version: 0.6.2-incubating-SNAPSHOT</li>
+                  |             <li class="">
+                    <a href="../../" title="Apache Helix">
+        Apache Helix</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="../" title="Apache Helix :: Recipes">
+        Apache Helix :: Recipes</a>
+        </li>
+      <li class="divider ">/</li>
+                <li class="">
+                    <a href="./" title="Apache Helix :: Recipes :: user-defined-rebalancer">
+        Apache Helix :: Recipes :: user-defined-rebalancer</a>
+        </li>
+      <li class="divider ">/</li>
+        <li class="">Team list</li>
+                
+                
+            
+                  <li id="publishDate" class="pull-right">Last Published: 2013-09-03</li> 
+            
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <div class="section"><h2>The Team<a name="The_Team"></a></h2><a name="The_Team"></a><p>A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.</p><p>The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.</p><div class="section"><h3>Members<a name="Members"></a></h3><a name="Members"></a><p>The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.</p><table border="0" class="table table-striped"><tr class="a"><th>Image</th><th>Id</th><th>Name</th><th>Email</th><th>Roles</th
 ><th>Time Zone</th><th>Actual Time (GMT)</th></tr><tr class="b"><td><img src="http://www.gravatar.com/avatar/bab29f762bea8e578505424443d8cd41?d=mm&amp;s=60" alt="" /></td><td><a name="olamy"></a>olamy</td><td>Olivier Lamy</td><td><a class="externalLink" href="mailto:olamy@apache.org">olamy@apache.org</a></td><td>PMC Member</td><td>Australia/Melbourne</td><td><span id="developer-0">Australia/Melbourne</span></td></tr><tr class="a"><td><img src="http://www.gravatar.com/avatar/ef58a72a284f2d71bf6faab818d610f7?d=mm&amp;s=60" alt="" /></td><td><a name="phunt"></a>phunt</td><td>Patrick Hunt</td><td><a class="externalLink" href="mailto:phunt@apache.org">phunt@apache.org</a></td><td>PMC Member</td><td>-8</td><td><span id="developer-1">-8</span></td></tr><tr class="b"><td><img src="http://www.gravatar.com/avatar/36a55537043f9e71bb68a9a4c3bf7921?d=mm&amp;s=60" alt="" /></td><td><a name="Mahadev"></a>Mahadev</td><td>Mahadev Konar</td><td><a class="externalLink" href="mailto:mahadev@apache.org"
 >mahadev@apache.org</a></td><td>PMC Member</td><td>-8</td><td><span id="developer-2">-8</span></td></tr><tr class="a"><td><img src="http://www.gravatar.com/avatar/028a4e648dc71a05947bd17c595673c2?d=mm&amp;s=60" alt="" /></td><td><a name="omalley"></a>omalley</td><td>Owen O'Malley</td><td><a class="externalLink" href="mailto:omalley@apache.org">omalley@apache.org</a></td><td>PMC Member</td><td>-8</td><td><span id="developer-3">-8</span></td></tr><tr class="b"><td><img src="http://www.gravatar.com/avatar/4903094887bc01789baecc53cb24cf82?d=mm&amp;s=60" alt="" /></td><td><a name="kishoreg"></a>kishoreg</td><td>Kishore Gopalakrishna</td><td><a class="externalLink" href="mailto:kishoreg@apache.org">kishoreg@apache.org</a></td><td>Committer</td><td>-8</td><td><span id="developer-4">-8</span></td></tr><tr class="a"><td><img src="http://www.gravatar.com/avatar/30cf491f75094622e636256add9ca203?d=mm&amp;s=60" alt="" /></td><td><a name="zzhang"></a>zzhang</td><td>Zhen Zhang</td><td><a class="ex
 ternalLink" href="mailto:zzhang@apache.org">zzhang@apache.org</a></td><td>Committer</td><td>-8</td><td><span id="developer-5">-8</span></td></tr><tr class="b"><td><img src="http://www.gravatar.com/avatar/d89273e0bf595b2aedf334ed74443fcf?d=mm&amp;s=60" alt="" /></td><td><a name="slu"></a>slu</td><td>Shi Lu</td><td><a class="externalLink" href="mailto:slu@apache.org">slu@apache.org</a></td><td>Committer</td><td>-8</td><td><span id="developer-6">-8</span></td></tr><tr class="a"><td><img src="http://www.gravatar.com/avatar/c3ade9a125d644a15d544b2955bf08d2?d=mm&amp;s=60" alt="" /></td><td><a name="ksurlaker"></a>ksurlaker</td><td>Kapil Surlaker</td><td><a class="externalLink" href="mailto:ksurlaker@apache.org">ksurlaker@apache.org</a></td><td>Committer</td><td>-8</td><td><span id="developer-7">-8</span></td></tr></table></div><div class="section"><h3>Contributors<a name="Contributors"></a></h3><a name="Contributors"></a><p>There are no contributors listed for this project. Please check b
 ack again later.</p><script type="text/javascript">
+function offsetDate(id, offset) {
+    var now = new Date();
+    var nowTime = now.getTime();
+    var localOffset = now.getTimezoneOffset();
+    var developerTime = nowTime + ( offset * 60 * 60 * 1000 )+ ( localOffset * 60 * 1000 );
+    var developerDate = new Date(developerTime);
+
+    document.getElementById(id).innerHTML = developerDate;
+}
+
+function init(){
+    offsetDate('developer-0', '10');
+    offsetDate('developer-1', '-8');
+    offsetDate('developer-2', '-8');
+    offsetDate('developer-3', '-8');
+    offsetDate('developer-4', '-8');
+    offsetDate('developer-5', '-8');
+    offsetDate('developer-6', '-8');
+    offsetDate('developer-7', '-8');
+}
+
+window.onLoad = init();
+</script></div></div>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+              <div class="row span12">Copyright &copy;                    2013
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+            
+      </div>
+
+                                                                  <?xml version="1.0" encoding="UTF-8"?>
+<div class="row span16">
+  <div>Apache Helix, Apache, the Apache feather logo, and the Apache Helix project logos are trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+  <a href="http://helix.incubator.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                  
+                <p id="poweredBy" class="pull-right">
+                          <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+      </a>
+              </p>
+        
+                </div>
+    </footer>
+  </body>
+</html>
\ No newline at end of file

Added: incubator/helix/site-content/recipes/user_def_rebalancer.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/user_def_rebalancer.html?rev=1519752&view=auto
==============================================================================
--- incubator/helix/site-content/recipes/user_def_rebalancer.html (added)
+++ incubator/helix/site-content/recipes/user_def_rebalancer.html Tue Sep  3 16:43:37 2013
@@ -0,0 +1,443 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at Sep 3, 2013
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20130903" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Helix - </title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+
+      
+    <script type="text/javascript" src="../js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<script type="text/javascript">var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-3211522-12']);
+        _gaq.push(['_trackPageview']);
+
+        (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+        })();</script>
+          
+            </head>
+        <body class="topBarEnabled">
+          
+                        
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top ">
+      <div class="navbar-inner">
+                                  <div class="container"><div class="nav-collapse">
+            
+                
+                                <ul class="nav">
+                          <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Helix <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../index.html"  title="Introduction">Introduction</a>
+</li>
+                  
+                      <li>      <a href="../Concepts.html"  title="Core concepts">Core concepts</a>
+</li>
+                  
+                      <li>      <a href="../Architecture.html"  title="Architecture">Architecture</a>
+</li>
+                  
+                      <li>      <a href="../Quickstart.html"  title="Quick Start">Quick Start</a>
+</li>
+                  
+                      <li>      <a href="../Tutorial.html"  title="Tutorial">Tutorial</a>
+</li>
+                  
+                      <li>      <a href="../releasenotes/release-0.6.1-incubating.html"  title="release 0.6.1-incubating">release 0.6.1-incubating</a>
+</li>
+                  
+                      <li>      <a href="../download.html"  title="Download">Download</a>
+</li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Recipes <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../recipes/lock_manager.html"  title="Distributed lock manager">Distributed lock manager</a>
+</li>
+                  
+                      <li>      <a href="../recipes/rabbitmq_consumer_group.html"  title="Rabbit MQ consumer group">Rabbit MQ consumer group</a>
+</li>
+                  
+                      <li>      <a href="../recipes/rsync_replicated_file_store.html"  title="Rsync replicated file store">Rsync replicated file store</a>
+</li>
+                  
+                      <li>      <a href="../recipes/service_discovery.html"  title="Service Discovery">Service Discovery</a>
+</li>
+                  
+                      <li>      <a href="../recipes/task_dag_execution.html"  title="Distributed task DAG Execution">Distributed task DAG Execution</a>
+</li>
+                  
+                      <li>      <a href="../recipes/user_def_rebalancer.html"  title="User-Defined Rebalancer Example">User-Defined Rebalancer Example</a>
+</li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Get Involved <b class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
+</li>
+                  
+                      <li>      <a href="../issue-tracking.html"  title="Issues">Issues</a>
+</li>
+                  
+                      <li>      <a href="../team-list.html"  title="Team">Team</a>
+</li>
+                  
+                      <li>      <a href="../source-repository.html"  title="Sources">Sources</a>
+</li>
+                  
+                      <li>      <a href="../integration.html"  title="Continuous Integration">Continuous Integration</a>
+</li>
+                  
+                      <li>      <a href="../involved/building.html"  title="Building Guide">Building Guide</a>
+</li>
+                  
+                      <li>      <a href="../releasing.html"  title="Release Guide">Release Guide</a>
+</li>
+                          </ul>
+      </li>
+                  </ul>
+          
+                      <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
+    
+  <input value="helix.incubator.apache.org" name="sitesearch" type="hidden"/>
+  <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=search-form"></script>
+          
+                                                    
+        
+        
+        <ul class="nav pull-right"><li>
+    
+    <a href="https://twitter.com/ApacheHelix" class="twitter-follow-button" data-show-count="false" data-align="right" data-size="large" data-show-screen-name="true" data-lang="en">Follow ApacheHelix</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </li></ul>
+                
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href=".././" id="bannerLeft">
+                                                                                                <img src="../images/helix-logo.jpg" />
+                </a>
+                      </div>
+        <div class="pull-right">                  <a href="http://incubator.apache.org/" id="bannerRight">
+                                                                                        <img src="http://incubator.apache.org/images/egg-logo.png" />
+                </a>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+            
+                  <li id="projectVersion">Version: 0.6.2-incubating-SNAPSHOT</li>
+                  |             <li class="">
+                    <a href=".././" title="Apache Helix">
+        Apache Helix</a>
+        </li>
+      <li class="divider ">/</li>
+        <li class=""></li>
+                
+                
+            
+                  <li id="publishDate" class="pull-right">Last Published: 2013-09-03</li> 
+            
+                            </ul>
+      </div>
+
+      
+                
+        <div id="bodyColumn" >
+                                  
+            <!-- -
+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. --><div class="section"><h2>Lock Manager with a User-Defined Rebalancer<a name="Lock_Manager_with_a_User-Defined_Rebalancer"></a></h2><p>Helix is able to compute node preferences and state assignments automatically using general-purpose algorithms. In many cases, a distributed system implementer may choose to instead define a customized approach to computing the location of replicas, the state mapping, or both in response to the addition or removal of participants. The following is an implementation of the <a href="./lock_manager.html">Distributed Lock Manager</a> that includes a user-defined rebalancer.</p><div class="section"><h3>Define the cluster and locks<a name="Define_the_cluster_and_locks"></a></h3><p>The YAML file below fully defines the cluster and the locks. A lock can be in one of two states: locked and unlocked. Transitions can happen in either direction, and the locked is preferred. A resource in this example is the entire collection of locks to dist
 ribute. A partition is mapped to a lock; in this case that means there are 12 locks. These 12 locks will be distributed across 3 nodes. The constraints indicate that only one replica of a lock can be in the locked state at any given time. These locks can each only have a single holder, defined by a replica count of 1.</p><p>Notice the rebalancer section of the definition. The mode is set to USER_DEFINED and the class name refers to the plugged-in rebalancer implementation. This implementation is called whenever the state of the cluster changes, as is the case when participants are added or removed from the system.</p><p>Location: incubator-helix/recipes/user-defined-rebalancer/src/main/resources/lock-manager-config.yaml</p>
+<div class="source"><pre class="prettyprint">clusterName: lock-manager-custom-rebalancer # unique name for the cluster
+resources:
+  - name: lock-group # unique resource name
+    rebalancer: # we will provide our own rebalancer
+      mode: USER_DEFINED
+      class: org.apache.helix.userdefinedrebalancer.LockManagerRebalancer
+    partitions:
+      count: 12 # number of locks
+      replicas: 1 # number of simultaneous holders for each lock
+    stateModel:
+      name: lock-unlock # unique model name
+      states: [LOCKED, RELEASED, DROPPED] # the list of possible states
+      transitions: # the list of possible transitions
+        - name: Unlock
+          from: LOCKED
+          to: RELEASED
+        - name: Lock
+          from: RELEASED
+          to: LOCKED
+        - name: DropLock
+          from: LOCKED
+          to: DROPPED
+        - name: DropUnlock
+          from: RELEASED
+          to: DROPPED
+        - name: Undrop
+          from: DROPPED
+          to: RELEASED
+      initialState: RELEASED
+    constraints:
+      state:
+        counts: # maximum number of replicas of a partition that can be in each state
+          - name: LOCKED
+            count: &quot;1&quot;
+          - name: RELEASED
+            count: &quot;-1&quot;
+          - name: DROPPED
+            count: &quot;-1&quot;
+        priorityList: [LOCKED, RELEASED, DROPPED] # states in order of priority
+      transition: # transitions priority to enforce order that transitions occur
+        priorityList: [Unlock, Lock, Undrop, DropUnlock, DropLock]
+participants: # list of nodes that can acquire locks
+  - name: localhost_12001
+    host: localhost
+    port: 12001
+  - name: localhost_12002
+    host: localhost
+    port: 12002
+  - name: localhost_12003
+    host: localhost
+    port: 12003
+</pre></div><p>Then, Helix's YAMLClusterSetup tool can read in the configuration and bootstrap the cluster immediately:</p>
+<div class="source"><pre class="prettyprint">YAMLClusterSetup setup = new YAMLClusterSetup(zkAddress);
+InputStream input =
+    Thread.currentThread().getContextClassLoader()
+        .getResourceAsStream(&quot;lock-manager-config.yaml&quot;);
+YAMLClusterSetup.YAMLClusterConfig config = setup.setupCluster(input);
+</pre></div></div><div class="section"><h3>Write a rebalancer<a name="Write_a_rebalancer"></a></h3><p>Below is a full implementation of a rebalancer. In this case, it simply throws out the previous ideal state, computes the target node for as many partition replicas as can hold a lock in the LOCKED state (in this example, one), and assigns them the LOCKED state (which is at the head of the state preference list). Clearly a more robust implementation would likely examine the current ideal state to maintain current assignments, and the full state list to handle models more complicated than this one. However, for a simple lock holder implementation, this is sufficient.</p><p>Location: incubator-helix/recipes/user-rebalanced-lock-manager/src/main/java/org/apache/helix/userdefinedrebalancer/LockManagerRebalancer.java</p>
+<div class="source"><pre class="prettyprint">public class LockManagerRebalancer implements Rebalancer {
+  @Override
+  public void init(HelixManager manager) {
+    // do nothing; this rebalancer is independent of the manager
+  }
+
+  @Override
+  public ResourceAssignment computeResourceMapping(Resource resource, IdealState currentIdealState,
+      CurrentStateOutput currentStateOutput, ClusterDataCache clusterData) {
+    // Initialize an empty mapping of locks to participants
+    ResourceAssignment assignment = new ResourceAssignment(resource.getResourceName());
+
+    // Get the list of live participants in the cluster
+    List&lt;String&gt; liveParticipants = new ArrayList&lt;String&gt;(clusterData.getLiveInstances().keySet());
+
+    // Get the state model (should be a simple lock/unlock model) and the highest-priority state
+    String stateModelName = currentIdealState.getStateModelDefRef();
+    StateModelDefinition stateModelDef = clusterData.getStateModelDef(stateModelName);
+    if (stateModelDef.getStatesPriorityList().size() &lt; 1) {
+      LOG.error(&quot;Invalid state model definition. There should be at least one state.&quot;);
+      return assignment;
+    }
+    String lockState = stateModelDef.getStatesPriorityList().get(0);
+
+    // Count the number of participants allowed to lock each lock
+    String stateCount = stateModelDef.getNumInstancesPerState(lockState);
+    int lockHolders = 0;
+    try {
+      // a numeric value is a custom-specified number of participants allowed to lock the lock
+      lockHolders = Integer.parseInt(stateCount);
+    } catch (NumberFormatException e) {
+      LOG.error(&quot;Invalid state model definition. The lock state does not have a valid count&quot;);
+      return assignment;
+    }
+
+    // Fairly assign the lock state to the participants using a simple mod-based sequential
+    // assignment. For instance, if each lock can be held by 3 participants, lock 0 would be held
+    // by participants (0, 1, 2), lock 1 would be held by (1, 2, 3), and so on, wrapping around the
+    // number of participants as necessary.
+    // This assumes a simple lock-unlock model where the only state of interest is which nodes have
+    // acquired each lock.
+    int i = 0;
+    for (Partition partition : resource.getPartitions()) {
+      Map&lt;String, String&gt; replicaMap = new HashMap&lt;String, String&gt;();
+      for (int j = i; j &lt; i + lockHolders; j++) {
+        int participantIndex = j % liveParticipants.size();
+        String participant = liveParticipants.get(participantIndex);
+        // enforce that a participant can only have one instance of a given lock
+        if (!replicaMap.containsKey(participant)) {
+          replicaMap.put(participant, lockState);
+        }
+      }
+      assignment.addReplicaMap(partition, replicaMap);
+      i++;
+    }
+    return assignment;
+  }
+}
+</pre></div></div><div class="section"><h3>Start up the participants<a name="Start_up_the_participants"></a></h3><p>Here is a lock class based on the newly defined lock-unlock state model so that the participant can receive callbacks on state transitions.</p><p>Location: incubator-helix/recipes/user-rebalanced-lock-manager/src/main/java/org/apache/helix/userdefinedrebalancer/Lock.java</p>
+<div class="source"><pre class="prettyprint">public class Lock extends StateModel {
+  private String lockName;
+
+  public Lock(String lockName) {
+    this.lockName = lockName;
+  }
+
+  @Transition(from = &quot;RELEASED&quot;, to = &quot;LOCKED&quot;)
+  public void lock(Message m, NotificationContext context) {
+    System.out.println(context.getManager().getInstanceName() + &quot; acquired lock:&quot; + lockName);
+  }
+
+  @Transition(from = &quot;LOCKED&quot;, to = &quot;RELEASED&quot;)
+  public void release(Message m, NotificationContext context) {
+    System.out.println(context.getManager().getInstanceName() + &quot; releasing lock:&quot; + lockName);
+  }
+}
+</pre></div><p>Here is the factory to make the Lock class accessible.</p><p>Location: incubator-helix/recipes/user-rebalanced-lock-manager/src/main/java/org/apache/helix/userdefinedrebalancer/LockFactory.java</p>
+<div class="source"><pre class="prettyprint">public class LockFactory extends StateModelFactory&lt;Lock&gt; {
+  @Override
+  public Lock createNewStateModel(String lockName) {
+    return new Lock(lockName);
+  }
+}
+</pre></div><p>Finally, here is the factory registration and the start of the participant:</p>
+<div class="source"><pre class="prettyprint">participantManager =
+    HelixManagerFactory.getZKHelixManager(clusterName, participantName, InstanceType.PARTICIPANT,
+        zkAddress);
+participantManager.getStateMachineEngine().registerStateModelFactory(stateModelName,
+    new LockFactory());
+participantManager.connect();
+</pre></div></div><div class="section"><h3>Start up the controller<a name="Start_up_the_controller"></a></h3>
+<div class="source"><pre class="prettyprint">controllerManager =
+    HelixControllerMain.startHelixController(zkAddress, config.clusterName, &quot;controller&quot;,
+        HelixControllerMain.STANDALONE);
+</pre></div></div><div class="section"><h3>Try it out<a name="Try_it_out"></a></h3><div class="section"><h4>Building<a name="Building"></a></h4>
+<div class="source"><pre class="prettyprint">git clone https://git-wip-us.apache.org/repos/asf/incubator-helix.git
+cd incubator-helix
+mvn clean install package -DskipTests
+cd recipes/user-rebalanced-lock-manager/target/user-rebalanced-lock-manager-pkg/bin
+chmod +x *
+./lock-manager-demo.sh
+</pre></div></div><div class="section"><h4>Output<a name="Output"></a></h4>
+<div class="source"><pre class="prettyprint">./lock-manager-demo 
+STARTING localhost_12002
+STARTING localhost_12001
+STARTING localhost_12003
+STARTED localhost_12001
+STARTED localhost_12003
+STARTED localhost_12002
+localhost_12003 acquired lock:lock-group_4
+localhost_12002 acquired lock:lock-group_8
+localhost_12001 acquired lock:lock-group_10
+localhost_12001 acquired lock:lock-group_3
+localhost_12001 acquired lock:lock-group_6
+localhost_12003 acquired lock:lock-group_0
+localhost_12002 acquired lock:lock-group_5
+localhost_12001 acquired lock:lock-group_9
+localhost_12002 acquired lock:lock-group_2
+localhost_12003 acquired lock:lock-group_7
+localhost_12003 acquired lock:lock-group_11
+localhost_12002 acquired lock:lock-group_1
+lockName  acquired By
+======================================
+lock-group_0  localhost_12003
+lock-group_1  localhost_12002
+lock-group_10 localhost_12001
+lock-group_11 localhost_12003
+lock-group_2  localhost_12002
+lock-group_3  localhost_12001
+lock-group_4  localhost_12003
+lock-group_5  localhost_12002
+lock-group_6  localhost_12001
+lock-group_7  localhost_12003
+lock-group_8  localhost_12002
+lock-group_9  localhost_12001
+Stopping the first participant
+localhost_12001 Interrupted
+localhost_12002 acquired lock:lock-group_3
+localhost_12003 acquired lock:lock-group_6
+localhost_12003 acquired lock:lock-group_10
+localhost_12002 acquired lock:lock-group_9
+lockName  acquired By
+======================================
+lock-group_0  localhost_12003
+lock-group_1  localhost_12002
+lock-group_10 localhost_12003
+lock-group_11 localhost_12003
+lock-group_2  localhost_12002
+lock-group_3  localhost_12002
+lock-group_4  localhost_12003
+lock-group_5  localhost_12002
+lock-group_6  localhost_12003
+lock-group_7  localhost_12003
+lock-group_8  localhost_12002
+lock-group_9  localhost_12002
+</pre></div><p>Notice that the lock assignment directly follows the assignment generated by the user-defined rebalancer both initially and after a participant is removed from the system.</p></div></div></div>
+                  </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container">
+              <div class="row span12">Copyright &copy;                    2013
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+            
+      </div>
+
+                                                                  <?xml version="1.0" encoding="UTF-8"?>
+<div class="row span16">
+  <div>Apache Helix, Apache, the Apache feather logo, and the Apache Helix project logos are trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+  <a href="http://helix.incubator.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+                  
+                <p id="poweredBy" class="pull-right">
+                          <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
+      </a>
+              </p>
+        
+                </div>
+    </footer>
+  </body>
+</html>
\ No newline at end of file

Modified: incubator/helix/site-content/releasenotes/release-0.6.0-incubating.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/releasenotes/release-0.6.0-incubating.html?rev=1519752&r1=1519751&r2=1519752&view=diff
==============================================================================
--- incubator/helix/site-content/releasenotes/release-0.6.0-incubating.html (original)
+++ incubator/helix/site-content/releasenotes/release-0.6.0-incubating.html Tue Sep  3 16:43:37 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at Aug 28, 2013
+ | Generated by Apache Maven Doxia at Sep 3, 2013
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130828" />
+    <meta name="Date-Revision-yyyymmdd" content="20130903" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache Helix - Release Notes for 0.6.0-incubating Apache Helix</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -86,6 +86,9 @@
                   
                       <li>      <a href="../recipes/task_dag_execution.html"  title="Distributed task DAG Execution">Distributed task DAG Execution</a>
 </li>
+                  
+                      <li>      <a href="../recipes/user_def_rebalancer.html"  title="User-Defined Rebalancer Example">User-Defined Rebalancer Example</a>
+</li>
                           </ul>
       </li>
                 <li class="dropdown">
@@ -168,7 +171,7 @@
                 
                 
             
-                  <li id="publishDate" class="pull-right">Last Published: 2013-08-28</li> 
+                  <li id="publishDate" class="pull-right">Last Published: 2013-09-03</li> 
             
                             </ul>
       </div>

Modified: incubator/helix/site-content/releasenotes/release-0.6.1-incubating.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/releasenotes/release-0.6.1-incubating.html?rev=1519752&r1=1519751&r2=1519752&view=diff
==============================================================================
--- incubator/helix/site-content/releasenotes/release-0.6.1-incubating.html (original)
+++ incubator/helix/site-content/releasenotes/release-0.6.1-incubating.html Tue Sep  3 16:43:37 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at Aug 28, 2013
+ | Generated by Apache Maven Doxia at Sep 3, 2013
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130828" />
+    <meta name="Date-Revision-yyyymmdd" content="20130903" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache Helix - Release Notes for 0.6.1-incubating Apache Helix</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -86,6 +86,9 @@
                   
                       <li>      <a href="../recipes/task_dag_execution.html"  title="Distributed task DAG Execution">Distributed task DAG Execution</a>
 </li>
+                  
+                      <li>      <a href="../recipes/user_def_rebalancer.html"  title="User-Defined Rebalancer Example">User-Defined Rebalancer Example</a>
+</li>
                           </ul>
       </li>
                 <li class="dropdown">
@@ -168,7 +171,7 @@
                 
                 
             
-                  <li id="publishDate" class="pull-right">Last Published: 2013-08-28</li> 
+                  <li id="publishDate" class="pull-right">Last Published: 2013-09-03</li> 
             
                             </ul>
       </div>