helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject [04/11] [HELIX-515] Prepare website for 0.6.4 and 0.7.1 releases
Date Tue, 16 Sep 2014 03:49:27 GMT
http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/0.7.1/src/site/markdown/tutorial_yaml.md
----------------------------------------------------------------------
diff --git a/website/0.7.1/src/site/markdown/tutorial_yaml.md b/website/0.7.1/src/site/markdown/tutorial_yaml.md
new file mode 100644
index 0000000..1e4772e
--- /dev/null
+++ b/website/0.7.1/src/site/markdown/tutorial_yaml.md
@@ -0,0 +1,102 @@
+<!---
+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.
+-->
+
+<head>
+  <title>Tutorial - YAML Cluster Setup</title>
+</head>
+
+## [Helix Tutorial](./Tutorial.html): YAML Cluster Setup
+
+As an alternative to using Helix Admin to set up the cluster, its resources, constraints, and the state model, Helix supports bootstrapping a cluster configuration based on a YAML file. Below is an annotated example of such a file for a simple distributed lock manager where a lock can only be LOCKED or RELEASED, and each lock only allows a single participant to hold it in the LOCKED state.
+
+```
+clusterName: lock-manager-custom-rebalancer # unique name for the cluster (required)
+resources:
+  - name: lock-group # unique resource name (required)
+    rebalancer: # required
+      mode: USER_DEFINED # required - USER_DEFINED means we will provide our own rebalancer
+      class: org.apache.helix.userdefinedrebalancer.LockManagerRebalancer # required for USER_DEFINED
+    partitions:
+      count: 12 # number of partitions for the resource (default is 1)
+      replicas: 1 # number of replicas per partition (default is 1)
+    stateModel:
+      name: lock-unlock # model name (required)
+      states: [LOCKED, RELEASED, DROPPED] # the list of possible states (required if model not built-in)
+      transitions: # the list of possible transitions (required if model not built-in)
+        - 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 # (required if model not built-in)
+    constraints:
+      state:
+        counts: # maximum number of replicas of a partition that can be in each state (required if model not built-in)
+          - name: LOCKED
+            count: "1"
+          - name: RELEASED
+            count: "-1"
+          - name: DROPPED
+            count: "-1"
+        priorityList: [LOCKED, RELEASED, DROPPED] # states in order of priority (all priorities equal if not specified)
+      transition: # transitions priority to enforce order that transitions occur
+        priorityList: [Unlock, Lock, Undrop, DropUnlock, DropLock] # all priorities equal if not specified
+participants: # list of nodes that can serve replicas (optional if dynamic joining is active, required otherwise)
+  - name: localhost_12001
+    host: localhost
+    port: 12001
+  - name: localhost_12002
+    host: localhost
+    port: 12002
+  - name: localhost_12003
+    host: localhost
+    port: 12003
+```
+
+Using a file like the one above, the cluster can be set up either with the command line:
+
+```
+helix/helix-core/target/helix-core/pkg/bin/YAMLClusterSetup.sh localhost:2199 lock-manager-config.yaml
+```
+
+or with code:
+
+```
+YAMLClusterSetup setup = new YAMLClusterSetup(zkAddress);
+InputStream input =
+    Thread.currentThread().getContextClassLoader()
+        .getResourceAsStream("lock-manager-config.yaml");
+YAMLClusterSetup.YAMLClusterConfig config = setup.setupCluster(input);
+```
+
+Some notes:
+
+- A rebalancer class is only required for the USER_DEFINED mode. It is ignored otherwise.
+
+- Built-in state models, like OnlineOffline, LeaderStandby, and MasterSlave, or state models that have already been added only require a name for stateModel. If partition and/or replica counts are not provided, a value of 1 is assumed.

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/0.7.1/src/site/resources/.htaccess
----------------------------------------------------------------------
diff --git a/website/0.7.1/src/site/resources/.htaccess b/website/0.7.1/src/site/resources/.htaccess
new file mode 100644
index 0000000..d5c7bf3
--- /dev/null
+++ b/website/0.7.1/src/site/resources/.htaccess
@@ -0,0 +1,20 @@
+#
+# 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.
+#
+
+Redirect /download.html /download.cgi

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/0.7.1/src/site/resources/download.cgi
----------------------------------------------------------------------
diff --git a/website/0.7.1/src/site/resources/download.cgi b/website/0.7.1/src/site/resources/download.cgi
new file mode 100644
index 0000000..f9a0e30
--- /dev/null
+++ b/website/0.7.1/src/site/resources/download.cgi
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Just call the standard mirrors.cgi script. It will use download.html
+# as the input template.
+#
+# 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.
+#
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/0.7.1/src/site/resources/images/PFS-Generic.png
----------------------------------------------------------------------
diff --git a/website/0.7.1/src/site/resources/images/PFS-Generic.png b/website/0.7.1/src/site/resources/images/PFS-Generic.png
new file mode 100644
index 0000000..7eea3a0
Binary files /dev/null and b/website/0.7.1/src/site/resources/images/PFS-Generic.png differ

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/0.7.1/src/site/resources/images/RSYNC_BASED_PFS.png
----------------------------------------------------------------------
diff --git a/website/0.7.1/src/site/resources/images/RSYNC_BASED_PFS.png b/website/0.7.1/src/site/resources/images/RSYNC_BASED_PFS.png
new file mode 100644
index 0000000..0cc55ae
Binary files /dev/null and b/website/0.7.1/src/site/resources/images/RSYNC_BASED_PFS.png differ

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/0.7.1/src/site/site.xml
----------------------------------------------------------------------
diff --git a/website/0.7.1/src/site/site.xml b/website/0.7.1/src/site/site.xml
new file mode 100644
index 0000000..23cebc6
--- /dev/null
+++ b/website/0.7.1/src/site/site.xml
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  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.
+-->
+<project name="Apache Helix">
+  <bannerLeft>
+    <src>../images/helix-logo.jpg</src>
+    <href>http://helix.apache.org/</href>
+  </bannerLeft>
+  <bannerRight>
+    <src>../images/feather_small.gif</src>
+    <href>http://www.apache.org/</href>
+  </bannerRight>
+  <version position="none"/>
+
+  <publishDate position="right"/>
+
+  <skin>
+    <groupId>lt.velykis.maven.skins</groupId>
+    <artifactId>reflow-maven-skin</artifactId>
+    <version>1.0.0</version>
+  </skin>
+
+  <body>
+
+    <head>
+      <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>
+
+    <breadcrumbs position="left">
+      <item name="Apache Helix" href="http://helix.apache.org/"/>
+      <item name="Release 0.7.1 (beta)" href="http://helix.apache.org/0.7.1-docs/"/>
+    </breadcrumbs>
+
+    <links>
+      <item name="Helix 0.7.1 (beta)" href="./index.html"/>
+    </links>
+
+    <menu name="Get Helix">
+      <item name="Download" href="./download.html"/>
+      <item name="Building" href="./Building.html"/>
+      <item name="Release Notes" href="./releasenotes/release-0.7.1.html"/>
+    </menu>
+
+    <menu name="Hands-On">
+      <item name="Quick Start" href="./Quickstart.html"/>
+      <item name="Tutorial" href="./Tutorial.html"/>
+      <item name="Javadocs" href="http://helix.apache.org/javadocs/0.7.1"/>
+    </menu>
+
+    <menu name="Recipes">
+      <item name="Distributed lock manager" href="./recipes/lock_manager.html"/>
+      <item name="Rabbit MQ consumer group" href="./recipes/rabbitmq_consumer_group.html"/>
+      <item name="Rsync replicated file store" href="./recipes/rsync_replicated_file_store.html"/>
+      <item name="Service Discovery" href="./recipes/service_discovery.html"/>
+      <item name="Distributed task DAG Execution" href="./recipes/task_dag_execution.html"/>
+      <item name="User-defined rebalancer" href="./recipes/user_def_rebalancer.html"/>
+    </menu>
+<!--
+    <menu ref="reports" inherit="bottom"/>
+    <menu ref="modules" inherit="bottom"/>
+
+
+    <menu name="ASF">
+      <item name="How Apache Works" href="http://www.apache.org/foundation/how-it-works.html"/>
+      <item name="Foundation" href="http://www.apache.org/foundation/"/>
+      <item name="Sponsoring Apache" href="http://www.apache.org/foundation/sponsorship.html"/>
+      <item name="Thanks" href="http://www.apache.org/foundation/thanks.html"/>
+    </menu>
+-->
+    <footer>
+      <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="${project.url}/privacy-policy.html">Privacy Policy</a>
+      </div>
+    </footer>
+
+
+  </body>
+
+  <custom>
+    <reflowSkin>
+      <theme>default</theme>
+      <highlightJs>false</highlightJs>
+      <brand>
+        <name>Apache Helix</name>
+        <href>http://helix.apache.org</href>
+      </brand>
+      <slogan>A cluster management framework for partitioned and replicated distributed resources</slogan>
+      <bottomNav>
+        <column>Get Helix</column>
+        <column>Hands-On</column>
+        <column>Recipes</column>
+      </bottomNav>
+      <pages>
+        <index>
+          <sections>
+            <columns>3</columns>
+          </sections>
+        </index>
+      </pages>
+    </reflowSkin>
+    <!--fluidoSkin>
+      <topBarEnabled>true</topBarEnabled>
+      <sideBarEnabled>true</sideBarEnabled>
+      <googleSearch></googleSearch>
+      <twitter>
+        <user>ApacheHelix</user>
+        <showUser>true</showUser>
+        <showFollowers>false</showFollowers>
+      </twitter>
+    </fluidoSkin-->
+  </custom>
+
+</project>

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/0.7.1/src/site/xdoc/download.xml.vm
----------------------------------------------------------------------
diff --git a/website/0.7.1/src/site/xdoc/download.xml.vm b/website/0.7.1/src/site/xdoc/download.xml.vm
new file mode 100644
index 0000000..e219302
--- /dev/null
+++ b/website/0.7.1/src/site/xdoc/download.xml.vm
@@ -0,0 +1,250 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+
+-->
+#set( $releaseName = "0.7.1" )
+#set( $releaseDate = "09/03/2014" )
+<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>Apache Helix Downloads</title>
+    <author email="dev@helix.apache.org">Apache Helix Documentation Team</author>
+  </properties>
+
+  <body>
+    <div class="toc_container">
+      <macro name="toc">
+        <param name="class" value="toc"/>
+      </macro>
+    </div>
+
+    <section name="Introduction">
+      <p>Apache Helix artifacts are distributed in source and binary form under the terms of the
+        <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        See the included <tt>LICENSE</tt> and <tt>NOTICE</tt> files included in each artifact for additional license
+        information.
+      </p>
+      <p>Use the links below to download a source distribution of Apache Helix.
+      It is good practice to <a href="#Verifying_Releases">verify the integrity</a> of the distribution files.</p>
+    </section>
+
+    <section name="Release">
+      <p>Release date: ${releaseDate} </p>
+      <p><a href="releasenotes/release-${releaseName}.html">${releaseName} Release notes</a></p>
+      <a name="mirror"/>
+      <subsection name="Mirror">
+
+        <p>
+          [if-any logo]
+          <a href="[link]">
+            <img align="right" src="[logo]" border="0"
+                 alt="logo"/>
+          </a>
+          [end]
+          The currently selected mirror is
+          <b>[preferred]</b>.
+          If you encounter a problem with this mirror,
+          please select another mirror.
+          If all mirrors are failing, there are
+          <i>backup</i>
+          mirrors
+          (at the end of the mirrors list) that should be available.
+        </p>
+
+        <form action="[location]" method="get" id="SelectMirror" class="form-inline">
+          Other mirrors:
+          <select name="Preferred" class="input-xlarge">
+            [if-any http]
+            [for http]
+            <option value="[http]">[http]</option>
+            [end]
+            [end]
+            [if-any ftp]
+            [for ftp]
+            <option value="[ftp]">[ftp]</option>
+            [end]
+            [end]
+            [if-any backup]
+            [for backup]
+            <option value="[backup]">[backup] (backup)</option>
+            [end]
+            [end]
+          </select>
+          <input type="submit" value="Change" class="btn"/>
+        </form>
+
+        <p>
+          You may also consult the
+          <a href="http://www.apache.org/mirrors/">complete list of mirrors.</a>
+        </p>
+
+      </subsection>
+      <subsection name="${releaseName} Sources">
+        <table>
+          <thead>
+            <tr>
+              <th>Artifact</th>
+              <th>Signatures</th>
+              <th>Hashes</th>
+            </tr>
+          </thead>
+          <tbody>
+            <tr>
+              <td>
+                <a href="[preferred]/helix/${releaseName}/src/helix-${releaseName}-src.zip">helix-${releaseName}-src.zip</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/src/helix-${releaseName}-src.zip.asc">asc</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/src/helix-${releaseName}-src.zip.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/src/helix-${releaseName}-src.zip.sha1">sha1</a>
+              </td>
+            </tr>
+          </tbody>
+        </table>
+      </subsection>
+      <subsection name="${releaseName} Binaries">
+        <table>
+          <thead>
+            <tr>
+              <th>Artifact</th>
+              <th>Signatures</th>
+              <th>Hashes</th>
+            </tr>
+          </thead>
+          <tbody>
+            <tr>
+              <td>
+                <a href="[preferred]/helix/${releaseName}/binaries/helix-core-${releaseName}-pkg.tar">helix-core-${releaseName}-pkg.tar</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-core-${releaseName}-pkg.tar.asc">asc</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-core-${releaseName}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-core-${releaseName}-pkg.tar.sha1">sha1</a>
+              </td>
+            </tr>
+            <tr>
+              <td>
+                <a href="[preferred]/helix/${releaseName}/binaries/helix-admin-webapp-${releaseName}-pkg.tar">helix-admin-webapp-${releaseName}-pkg.tar</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-admin-webapp-${releaseName}-pkg.tar.asc">asc</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-admin-webapp-${releaseName}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-admin-webapp-${releaseName}-pkg.tar.sha1">sha1</a>
+              </td>
+            </tr>
+            <tr>
+              <td>
+                <a href="[preferred]/helix/${releaseName}/binaries/helix-agent-${releaseName}-pkg.tar">helix-agent-${releaseName}-pkg.tar</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-agent-${releaseName}-pkg.tar.asc">asc</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-agent-${releaseName}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-agent-${releaseName}-pkg.tar.sha1">sha1</a>
+              </td>
+            </tr>
+            <tr>
+              <td>
+                <a href="[preferred]/helix/${releaseName}/binaries/helix-provisioning-${releaseName}-pkg.tar">helix-provisioning-${releaseName}-pkg.tar</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-provisioning-${releaseName}-pkg.tar.asc">asc</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-provisioning-${releaseName}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-provisioning-${releaseName}-pkg.tar.sha1">sha1</a>
+              </td>
+            </tr>
+            <tr>
+              <td>
+                <a href="[preferred]/helix/${releaseName}/binaries/helix-ipc-${releaseName}-pkg.tar">helix-ipc-${releaseName}-pkg.tar</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-ipc-${releaseName}-pkg.tar.asc">asc</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-ipc-${releaseName}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-ipc-${releaseName}-pkg.tar.sha1">sha1</a>
+              </td>
+            </tr>
+            <tr>
+              <td>
+                <a href="[preferred]/helix/${releaseName}/binaries/helix-examples-${releaseName}-pkg.tar">helix-examples-${releaseName}-pkg.tar</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-examples-${releaseName}-pkg.tar.asc">asc</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-examples-${releaseName}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${releaseName}/binaries/helix-examples-${releaseName}-pkg.tar.sha1">sha1</a>
+              </td>
+            </tr>
+          </tbody>
+        </table>
+      </subsection>
+    </section>
+
+<!--    <section name="Older Releases">
+    </section>-->
+
+    <section name="Verifying Releases">
+      <p>It is essential that you verify the integrity of the downloaded file using the PGP signature (<tt>.asc</tt> file) or a hash (<tt>.md5</tt> or <tt>.sha1</tt> file). Please read <a href="http://www.apache.org/info/verification.html">Verifying Apache Software Foundation Releases</a> for more information on why you should verify our releases.</p>
+      <p>The PGP signature can be verified using <a href="http://www.pgpi.org/">PGP</a> or <a href="http://www.gnupg.org/">GPG</a>. First download the <a href="http://www.apache.org/dist/helix/KEYS">KEYS</a> as well as the <tt>*.asc</tt> signature files for the relevant distribution. Make sure you get these files from the main distribution site, rather than from a mirror. Then verify the signatures using one of the following sets of commands:
+
+        <source>% pgpk -a KEYS
+% pgpv downloaded_file.asc</source>
+
+      or<br/>
+
+        <source>% pgp -ka KEYS
+% pgp downloaded_file.asc</source>
+
+      or<br/>
+
+        <source>% gpg --import KEYS
+% gpg --verify downloaded_file.asc</source>
+       </p>
+    <p>Alternatively, you can verify the MD5 signature on the files. A Unix/Linux program called
+      <code>md5</code> or
+      <code>md5sum</code> is included in most distributions.  It is also available as part of
+      <a href="http://www.gnu.org/software/textutils/textutils.html">GNU Textutils</a>.
+      Windows users can get binary md5 programs from these (and likely other) places:
+      <ul>
+        <li>
+          <a href="http://www.md5summer.org/">http://www.md5summer.org/</a>
+        </li>
+        <li>
+          <a href="http://www.fourmilab.ch/md5/">http://www.fourmilab.ch/md5/</a>
+        </li>
+        <li>
+          <a href="http://www.pc-tools.net/win32/md5sums/">http://www.pc-tools.net/win32/md5sums/</a>
+        </li>
+      </ul>
+    </p>
+    </section>
+  </body>
+</document>

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/0.7.1/src/test/conf/testng.xml
----------------------------------------------------------------------
diff --git a/website/0.7.1/src/test/conf/testng.xml b/website/0.7.1/src/test/conf/testng.xml
new file mode 100644
index 0000000..58f0803
--- /dev/null
+++ b/website/0.7.1/src/test/conf/testng.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+-->
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Suite" parallel="none">
+  <test name="Test" preserve-order="false">
+    <packages>
+      <package name="org.apache.helix"/>
+    </packages>
+  </test>
+</suite>

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/pom.xml
----------------------------------------------------------------------
diff --git a/website/pom.xml b/website/pom.xml
index c19f8f4..00cb524 100644
--- a/website/pom.xml
+++ b/website/pom.xml
@@ -35,8 +35,9 @@ under the License.
     <module>0.6.1-incubating</module>
     <module>0.6.2-incubating</module>
     <module>0.6.3</module>
+    <module>0.6.4</module>
     <module>0.7.0-incubating</module>
-    <module>trunk</module>
+    <module>0.7.1</module>
   </modules>
 
   <properties>

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/src/site/apt/releasenotes/release-0.6.4.apt
----------------------------------------------------------------------
diff --git a/website/src/site/apt/releasenotes/release-0.6.4.apt b/website/src/site/apt/releasenotes/release-0.6.4.apt
new file mode 100644
index 0000000..43aea0f
--- /dev/null
+++ b/website/src/site/apt/releasenotes/release-0.6.4.apt
@@ -0,0 +1,164 @@
+ -----
+ Release Notes for Apache Helix 0.6.4
+ -----
+
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+Release Notes for Apache Helix 0.6.4
+
+  The Apache Helix team would like to announce the release of Apache Helix 0.6.4.
+
+  This is the sixth release under the Apache umbrella, and the second as a top-level project.
+
+  Helix is a generic cluster management framework used for the automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features:
+
+  * Automatic assignment of resource/partition to nodes
+
+  * Node failure detection and recovery
+
+  * Dynamic addition of Resources
+
+  * Dynamic addition of nodes to the cluster
+
+  * Pluggable distributed state machine to manage the state of a resource via state transitions
+
+  * Automatic load balancing and throttling of transitions
+
+  []
+
+* Changes
+
+** Sub-task
+
+    * [HELIX-171] - handleNewSession() should wait on all left-over tasks to be cancelled successfully before start new session
+
+    * [HELIX-178] - Flapping detection
+
+    * [HELIX-353] - Write an independent task rebalancer
+
+    * [HELIX-417] - Support arbitrary-named target partitions in the task framework
+
+    * [HELIX-422] - Simplify creation of single jobs
+
+    * [HELIX-437] - Configurations at task, job, and cluster level
+
+    * [HELIX-438] - Improve task framework retry logic
+
+    * [HELIX-439] - Support thresholding for job success/failure
+
+    * [HELIX-440] - Add scheduling layer to task framework
+
+    * [HELIX-455] - Add REST API for submitting jobs
+
+    * [HELIX-459] - Job context should include the instance that completed the job
+
+    * [HELIX-460] - Add back healthcheck interfaces for compatibility
+
+    * [HELIX-468] - TaskDriver list should be more robust
+
+    * [HELIX-482] - Support "smarter" task failure strategies
+
+    * [HELIX-492] - Task should be its own rebalance mode
+
+    * [HELIX-497] - Support named queues of jobs
+
+    * [HELIX-506] - Ensure that tasks are not placed on targets with pending transitions
+
+
+
+
+** Bug
+
+    * [HELIX-132] - current-state and external-view are not cleaned up when a resource has been removed
+
+    * [HELIX-350] - cluster status monitor should not be reset in FINALIZE type pipeline
+
+    * [HELIX-394] - Shutdown GenericHelixController#_eventThread when HelixManager disconnects
+
+    * [HELIX-395] - Remove old Helix alert/stat modules
+
+    * [HELIX-413] - ClusterStateVerifier should always return true if called with 0 resources
+
+    * [HELIX-423] - Code duplication in controller leader election
+
+    * [HELIX-425] - 0.7 does not honor partition transition throttling correctly
+
+    * [HELIX-429] - Upgrade restlet to 2.2.0
+
+    * [HELIX-430] - Restlet 2.2.0 causes failures
+
+    * [HELIX-433] - Untagging may fail in FULL_AUTO mode
+
+    * [HELIX-443] - Race condition in Helix register/unregister MessageHandlerFactory
+
+    * [HELIX-445] - NPE in ZkPathDataDumpTask
+
+    * [HELIX-448] - Call onCallback for CustomCodeCallbackHandler for FINALIZE type
+
+    * [HELIX-453] - On session expiry/recovery, not all message types are re-registered
+
+    * [HELIX-464] - rabbitmq recipe is broken
+
+    * [HELIX-465] - ZkCopy skips paths already exist in destination namespace
+
+    * [HELIX-466] - Speed up zkcopy by using asyn read/write
+
+    * [HELIX-471] - ResourceMonitor never unregistered even if the resource is dropped
+
+    * [HELIX-472] - Errors should be cleaned up less frequently
+
+    * [HELIX-476] - ZNRecordStreamingSerializer.deserialize throw NullPointerException when 'id' property is not the first item in JSON
+
+    * [HELIX-491] - ZKHelixManager#waitUntilConnected() bug
+
+    * [HELIX-495] - TestPreferenceListAsQueue is flaky
+
+** Improvement
+
+    * [HELIX-426] - 0.6 doesn't support partition constraints
+
+    * [HELIX-444] - add per-participant partition count gauges to helix
+
+    * [HELIX-446] - Remove ZkPropertyTransfer and restlet dependency from helix-core
+
+    * [HELIX-452] - Increase frequency of status update cleanup
+
+** New Feature
+
+    * [HELIX-130] - ZkDumper should provide a copy option
+
+    * [HELIX-245] - New Recipe: Auto-Scaling with Apache Helix and Apache Hadoop YARN
+
+    * [HELIX-336] - Add support for task framework
+
+    * [HELIX-461] - Add a partitions without top state metric
+
+    * [HELIX-463] - Add gauges for participant and controller message queue sizes
+
+** Task
+
+    * [HELIX-427] - Write a test for using preference lists as execution queues
+
+[]
+
+Cheers,
+--
+The Apache Helix Team

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/src/site/apt/releasenotes/release-0.7.1.apt
----------------------------------------------------------------------
diff --git a/website/src/site/apt/releasenotes/release-0.7.1.apt b/website/src/site/apt/releasenotes/release-0.7.1.apt
new file mode 100644
index 0000000..c01eb32
--- /dev/null
+++ b/website/src/site/apt/releasenotes/release-0.7.1.apt
@@ -0,0 +1,258 @@
+ -----
+ Release Notes for Apache Helix 0.7.1
+ -----
+
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+Release Notes for Apache Helix 0.7.1
+
+  The Apache Helix team would like to announce the release of Apache Helix 0.7.1.
+
+  This is the seventh release under the Apache umbrella, and the third as a top-level project.
+
+  Helix is a generic cluster management framework used for the automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features:
+
+  * Automatic assignment of resource/partition to nodes
+
+  * Node failure detection and recovery
+
+  * Dynamic addition of Resources
+
+  * Dynamic addition of nodes to the cluster
+
+  * Pluggable distributed state machine to manage the state of a resource via state transitions
+
+  * Automatic load balancing and throttling of transitions
+
+  []
+
+* Changes
+
+** Sub-task
+
+    * [HELIX-171] - handleNewSession() should wait on all left-over tasks to be cancelled successfully before start new session
+
+    * [HELIX-178] - Flapping detection
+
+    * [HELIX-311] - Run stress tests on Riemann
+
+    * [HELIX-312] - Start Riemann as a thread within an existing Java process
+
+    * [HELIX-319] - Manage monitoring configs for Helix and apps
+
+    * [HELIX-329] - HelixAutoController isn't a very clear name, consider renaming
+
+    * [HELIX-353] - Write an independent task rebalancer
+
+    * [HELIX-360] - ClusterAccessor#initClusterStructure uses (incorrect) duplicated code
+
+    * [HELIX-373] - Make it easier to do crud operations on high-level config classes
+
+    * [HELIX-374] - Rebalancer config should be a complete user-specified concept
+
+    * [HELIX-376] - Remove HelixConnection/HelixManager duplicate code
+
+    * [HELIX-389] - Unify (Cluster|Resource|Participant)Accessor classes into a single Administrator class
+
+    * [HELIX-417] - Support arbitrary-named target partitions in the task framework
+
+    * [HELIX-422] - Simplify creation of single jobs
+
+    * [HELIX-437] - Configurations at task, job, and cluster level
+
+    * [HELIX-438] - Improve task framework retry logic
+
+    * [HELIX-439] - Support thresholding for job success/failure
+
+    * [HELIX-440] - Add scheduling layer to task framework
+
+    * [HELIX-455] - Add REST API for submitting jobs
+
+    * [HELIX-458] - Evaluate task recipe in a real YARN cluster
+
+    * [HELIX-459] - Job context should include the instance that completed the job
+
+    * [HELIX-468] - TaskDriver list should be more robust
+
+    * [HELIX-477] - Some YARN container start requests fail
+
+    * [HELIX-481] - Update cluster cache when the provisioning stage updates configs
+
+    * [HELIX-482] - Support "smarter" task failure strategies
+
+    * [HELIX-483] - Simplify logical config classes
+
+    * [HELIX-484] - Remove CallbackHandler/ZkCallbackHandler code duplication
+
+    * [HELIX-485] - Remove controller leader election duplicate code
+
+    * [HELIX-486] - Remove StateModelFactory/HelixStateModelFactory code duplication
+
+    * [HELIX-492] - Task should be its own rebalance mode
+
+    * [HELIX-497] - Support named queues of jobs
+
+    * [HELIX-499] - Helix controller should listen for resource config changes
+
+    * [HELIX-501] - Skip website module in build
+
+    * [HELIX-502] - App master and containers run out of memory
+
+    * [HELIX-503] - ivy files are out of sync with dependencies
+
+    * [HELIX-506] - Ensure that tasks are not placed on targets with pending transitions
+
+** Bug
+
+    * [HELIX-132] - current-state and external-view are not cleaned up when a resource has been removed
+
+    * [HELIX-164] - need a better name for STORAGE_DEFAULT_SM_SCHEMATA state model definition
+
+    * [HELIX-320] - Some files have unresolved conflicts in comments
+
+    * [HELIX-321] - Controller forgets that it's the leader
+
+    * [HELIX-343] - fix trivial bugs
+
+    * [HELIX-345] - Speed up the controller pipelines
+
+    * [HELIX-350] - cluster status monitor should not be reset in FINALIZE type pipeline
+
+    * [HELIX-356] - add a tool for grep zk transaction/snapshot logs based on time
+
+    * [HELIX-363] - hpost-review.sh stopped working after graduation
+
+    * [HELIX-364] - Controller current state change registration fails if two participants share a connection
+
+    * [HELIX-382] - GenericHelixController should implement InstanceConfigChangeListener instead of ConfigChangeListener
+
+    * [HELIX-383] - Javadoc for HelixManager references nonexistent start() method
+
+    * [HELIX-390] - Race condition: Checking HelixManager#isConnected is unreliable
+
+    * [HELIX-394] - Shutdown GenericHelixController#_eventThread when HelixManager disconnects
+
+    * [HELIX-395] - Remove old Helix alert/stat modules
+
+    * [HELIX-398] - Some helix-core tests are running again in the helix-admin-webapp set
+
+    * [HELIX-399] - Make TestConsecutiveZkSessionExpiry less flaky
+
+    * [HELIX-413] - ClusterStateVerifier should always return true if called with 0 resources
+
+    * [HELIX-423] - Code duplication in controller leader election
+
+    * [HELIX-425] - 0.7 does not honor partition transition throttling correctly
+
+    * [HELIX-429] - Upgrade restlet to 2.2.0
+
+    * [HELIX-430] - Restlet 2.2.0 causes failures
+
+    * [HELIX-433] - Untagging may fail in FULL_AUTO mode
+
+    * [HELIX-443] - Race condition in Helix register/unregister MessageHandlerFactory
+
+    * [HELIX-445] - NPE in ZkPathDataDumpTask
+
+    * [HELIX-448] - Call onCallback for CustomCodeCallbackHandler for FINALIZE type
+
+    * [HELIX-453] - On session expiry/recovery, not all message types are re-registered
+
+    * [HELIX-464] - rabbitmq recipe is broken
+
+    * [HELIX-465] - ZkCopy skips paths already exist in destination namespace
+
+    * [HELIX-466] - Speed up zkcopy by using asyn read/write
+
+    * [HELIX-471] - ResourceMonitor never unregistered even if the resource is dropped
+
+    * [HELIX-473] - TestLocalContainerProvider is slow and flaky
+
+    * [HELIX-476] - ZNRecordStreamingSerializer.deserialize throw NullPointerException when 'id' property is not the first item in JSON
+
+    * [HELIX-491] - ZKHelixManager#waitUntilConnected() bug
+
+    * [HELIX-495] - TestPreferenceListAsQueue is flaky
+
+    * [HELIX-498] - Remove "incubator" name from the pom files
+
+** Improvement
+    * [HELIX-22] - Remove dependency on josql
+
+    * [HELIX-327] - Simplify RebalancerConfig/RebalancerContext
+
+    * [HELIX-333] - Support remove in ControllerContextProvider
+
+    * [HELIX-334] - Refactor website code
+
+    * [HELIX-335] - Minor improvements to docs, link to pyhelix
+
+    * [HELIX-344] - Add app-specific ideal state validation
+
+    * [HELIX-348] - Simplify website layout
+
+    * [HELIX-349] - Coalesce different types of callbacks
+
+    * [HELIX-381] - ClusterStateVerifier should support verifying a subset of resources
+
+    * [HELIX-396] - Make REST api for /instances parseable
+
+    * [HELIX-397] - Add tagging information to the REST GET response on /resourceGroups
+
+    * [HELIX-444] - add per-participant partition count gauges to helix
+
+    * [HELIX-446] - Remove ZkPropertyTransfer and restlet dependency from helix-core
+
+    * [HELIX-452] - Increase frequency of status update cleanup
+
+    * [HELIX-470] - Add performant IPC (Helix actors)
+
+    * [HELIX-475] - Remove code duplication for Zk tests
+
+** New Feature
+
+    * [HELIX-130] - ZkDumper should provide a copy option
+
+    * [HELIX-245] - New Recipe: Auto-Scaling with Apache Helix and Apache Hadoop YARN
+
+    * [HELIX-336] - Add support for task framework
+
+    * [HELIX-378] - Add instance gauges to ClusterStatusMonitor
+
+    * [HELIX-461] - Add a partitions without top state metric
+
+    * [HELIX-463] - Add gauges for participant and controller message queue sizes
+
+** Task
+
+    * [HELIX-347] - Write a test for restarting nodes with a paused controller
+
+    * [HELIX-377] - Ensure admin APIs work well with tagging
+
+    * [HELIX-392] - Write a test to ensure that ZK connection loss is silent
+
+    * [HELIX-427] - Write a test for using preference lists as execution queues
+
+[]
+
+Cheers,
+--
+The Apache Helix Team

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/src/site/apt/releasing.apt
----------------------------------------------------------------------
diff --git a/website/src/site/apt/releasing.apt b/website/src/site/apt/releasing.apt
index 87897ed..82490a4 100644
--- a/website/src/site/apt/releasing.apt
+++ b/website/src/site/apt/releasing.apt
@@ -84,8 +84,8 @@ Helix Release Process
    Run the release
 
 +-------------
-mvn release:prepare
-mvn release:perform
+mvn -Pwebsite-modules release:prepare
+mvn -Pwebsite-modules release:perform
 +-------------
 
  [[5]] Go to https://repository.apache.org and close your staged repository. Log in, click on Staging Repositories, check your repository, and click Close. Note the repository url (format https://repository.apache.org/content/repositories/orgapachehelix-[NNNN])

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/src/site/markdown/Concepts.md
----------------------------------------------------------------------
diff --git a/website/src/site/markdown/Concepts.md b/website/src/site/markdown/Concepts.md
index 49da9a3..7df3ae3 100644
--- a/website/src/site/markdown/Concepts.md
+++ b/website/src/site/markdown/Concepts.md
@@ -268,7 +268,7 @@ Helix allows various granularities of control for adjusting the ideal state. Whe
 * __SEMI\_AUTO__: Helix will take in a \"preference list\" representing the location each replica can live at, and automatically determine the state based on constraints
 * __CUSTOMIZED__: Helix will take in a map of location to state and fire transitions to get the external view to match
 
-Helix comes with a few algorithms to automatically compute the IdealState based on the constraints. For example, if you have a resource of 3 partitions and 2 replicas, Helix can automatically compute the IdealState based on the nodes that are currently active. See the [tutorial](./0.6.3-docs/tutorial_rebalance.html) to find out more about various execution modes of Helix like FULL_AUTO, SEMI_AUTO and CUSTOMIZED.
+Helix comes with a few algorithms to automatically compute the IdealState based on the constraints. For example, if you have a resource of 3 partitions and 2 replicas, Helix can automatically compute the IdealState based on the nodes that are currently active. See the [tutorial](./0.6.4-docs/tutorial_rebalance.html) to find out more about various execution modes of Helix like FULL_AUTO, SEMI_AUTO and CUSTOMIZED.
 
 
 

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/src/site/markdown/index.md
----------------------------------------------------------------------
diff --git a/website/src/site/markdown/index.md b/website/src/site/markdown/index.md
index 291b4e3..1ee552f 100644
--- a/website/src/site/markdown/index.md
+++ b/website/src/site/markdown/index.md
@@ -75,17 +75,21 @@ Modeling a distributed system as a state machine with constraints on states and
 
 ### News
 
-Apache Helix has a new release:
+Apache Helix has two new releases:
 
-* [0.6.3](./0.6.3-docs/index.html) - A release focused on stability improvements and performance.
+* [0.6.4](./0.6.4-docs/index.html) - A release that includes stability improvements, and ad-hoc task management.
 
-    [\[Quick Start\]](./0.6.3-docs/Quickstart.html) [\[Release Notes\]](./releasenotes/release-0.6.3.html)
+    [\[Quick Start\]](./0.6.4-docs/Quickstart.html) [\[Release Notes\]](./releasenotes/release-0.6.4.html)
+
+* [0.7.1 (beta)](./0.7.1-docs/index.html) - A release that includes YARN integration, ad-hoc task management, and performant IPC.
+
+    [\[Quick Start\]](./0.7.1-docs/Quickstart.html) [\[Release Notes\]](./releasenotes/release-0.7.1.html)
 
 ### Download
 
-<a href="./0.6.3-docs/download.html" class="btn btn-primary btn-small">0.6.3</a>
+<a href="./0.6.4-docs/download.html" class="btn btn-primary btn-small">0.6.4</a>
 
-<a href="./0.7.0-incubating-docs/download.html" class="btn btn-primary btn-small">0.7.0-incubating (alpha)</a>
+<a href="./0.7.1-docs/download.html" class="btn btn-primary btn-small">0.7.1 (beta)</a>
 
 ### Maven Dependency
 
@@ -93,7 +97,7 @@ Apache Helix has a new release:
 <dependency>
   <groupId>org.apache.helix</groupId>
   <artifactId>helix-core</artifactId>
-  <version>0.6.3</version>
+  <version>0.6.4</version>
 </dependency>
 ```
 
@@ -104,6 +108,6 @@ Requirements: JDK 1.6+, Maven 2.0.8+
 ```
 git clone https://git-wip-us.apache.org/repos/asf/helix.git
 cd helix
-git checkout helix-0.6.3
+git checkout helix-0.6.4
 mvn install package -DskipTests
 ```

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/src/site/resources/.htaccess
----------------------------------------------------------------------
diff --git a/website/src/site/resources/.htaccess b/website/src/site/resources/.htaccess
index 9aa0345..649a66f 100644
--- a/website/src/site/resources/.htaccess
+++ b/website/src/site/resources/.htaccess
@@ -22,3 +22,5 @@ Redirect /0.6.1-incubating-docs/download.html /0.6.1-incubating-docs/download.cg
 Redirect /0.6.2-incubating-docs/download.html /0.6.2-incubating-docs/download.cgi
 Redirect /0.7.0-incubating-docs/download.html /0.7.0-incubating-docs/download.cgi
 Redirect /0.6.3-docs/download.html /0.6.3-docs/download.cgi
+Redirect /0.6.4-docs/download.html /0.6.4-docs/download.cgi
+Redirect /0.7.1-docs/download.html /0.7.1-docs/download.cgi

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/src/site/site.xml
----------------------------------------------------------------------
diff --git a/website/src/site/site.xml b/website/src/site/site.xml
index 0756917..2de3a8d 100644
--- a/website/src/site/site.xml
+++ b/website/src/site/site.xml
@@ -65,18 +65,27 @@
     </menu>
 
     <menu name="Documentation">
-      <item name="0.6.3 (stable)" href="./0.6.3-docs/index.html"/>
+      <item name="0.6.4 (stable)" href="./0.6.4-docs/index.html"/>
+      <item name="0.7.1 (beta)" href="./0.7.1-docs/index.html"/>
+      <item name="0.6.3" href="./0.6.3-docs/index.html"/>
       <item name="0.7.0-incubating (alpha)" href="./0.7.0-incubating-docs/index.html"/>
       <item name="0.6.2-incubating" href="./0.6.2-incubating-docs/index.html"/>
       <item name="0.6.1-incubating" href="./0.6.1-incubating-docs/index.html"/>
       <item name="trunk" href="./trunk-docs/index.html"/>
     </menu>
 
-    <menu name="Helix 0.6.3">
-      <item name="Documentation" href="./0.6.3-docs/index.html"/>
-      <item name="Quick Start" href="./0.6.3-docs/Quickstart.html"/>
-      <item name="Tutorial" href="./0.6.3-docs/Tutorial.html"/>
-      <item name="Download" href="./0.6.3-docs/download.html"/>
+    <menu name="Helix 0.6.4">
+      <item name="Documentation" href="./0.6.4-docs/index.html"/>
+      <item name="Quick Start" href="./0.6.4-docs/Quickstart.html"/>
+      <item name="Tutorial" href="./0.6.4-docs/Tutorial.html"/>
+      <item name="Download" href="./0.6.4-docs/download.html"/>
+    </menu>
+
+    <menu name="Helix 0.7.1 (beta)">
+      <item name="Documentation" href="./0.7.1-docs/index.html"/>
+      <item name="Quick Start" href="./0.7.1-docs/Quickstart.html"/>
+      <item name="Tutorial" href="./0.7.1-docs/Tutorial.html"/>
+      <item name="Download" href="./0.7.1-docs/download.html"/>
     </menu>
 
     <menu name="Get Involved">
@@ -133,7 +142,7 @@
       <slogan>A cluster management framework for partitioned and replicated distributed resources</slogan>
       <bottomNav>
         <column>Learn</column>
-        <column>Documentation|Helix 0.6.3</column>
+        <column>Documentation|Helix 0.6.4|Helix 0.7.1 (beta)</column>
         <column>Get Involved</column>
         <column>ASF</column>
       </bottomNav>

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/src/site/xdoc/download.xml.vm
----------------------------------------------------------------------
diff --git a/website/src/site/xdoc/download.xml.vm b/website/src/site/xdoc/download.xml.vm
index 49d8f25..659b1cb 100644
--- a/website/src/site/xdoc/download.xml.vm
+++ b/website/src/site/xdoc/download.xml.vm
@@ -44,7 +44,7 @@ under the License.
     </section>
 
     <section name="Current Release">
-      <p>Release date: 11/22/2013 </p>
+      <p>Release date: 09/03/2014 </p>
       <p><a href="releasenotes/release-${currentRelease}.html">${currentRelease} Release notes</a></p>
       <a name="mirror"/>
       <subsection name="Mirror">
@@ -106,14 +106,14 @@ under the License.
           <tbody>
             <tr>
               <td>
-                <a href="[preferred]incubator/helix/${currentRelease}/src/helix-${currentRelease}-src.zip">helix-${currentRelease}-src.zip</a>
+                <a href="[preferred]/helix/${currentRelease}/src/helix-${currentRelease}-src.zip">helix-${currentRelease}-src.zip</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/src/helix-${currentRelease}-src.zip.asc">asc</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/src/helix-${currentRelease}-src.zip.asc">asc</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/src/helix-${currentRelease}-src.zip.md5">md5</a>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/src/helix-${currentRelease}-src.zip.sha1">sha1</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/src/helix-${currentRelease}-src.zip.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/src/helix-${currentRelease}-src.zip.sha1">sha1</a>
               </td>
             </tr>
           </tbody>
@@ -131,50 +131,74 @@ under the License.
           <tbody>
             <tr>
               <td>
-                <a href="[preferred]incubator/helix/${currentRelease}/binaries/helix-core-${currentRelease}-pkg.tar">helix-core-${currentRelease}-pkg.tar</a>
+                <a href="[preferred]/helix/${currentRelease}/binaries/helix-core-${currentRelease}-pkg.tar">helix-core-${currentRelease}-pkg.tar</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-core-${currentRelease}-pkg.tar.asc">asc</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-core-${currentRelease}-pkg.tar.asc">asc</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-core-${currentRelease}-pkg.tar.md5">md5</a>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-core-${currentRelease}-pkg.tar.sha1">sha1</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-core-${currentRelease}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-core-${currentRelease}-pkg.tar.sha1">sha1</a>
               </td>
             </tr>
             <tr>
               <td>
-                <a href="[preferred]incubator/helix/${currentRelease}/binaries/helix-admin-webapp-${currentRelease}-pkg.tar">helix-admin-webapp-${currentRelease}-pkg.tar</a>
+                <a href="[preferred]/helix/${currentRelease}/binaries/helix-admin-webapp-${currentRelease}-pkg.tar">helix-admin-webapp-${currentRelease}-pkg.tar</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-admin-webapp-${currentRelease}-pkg.tar.asc">asc</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-admin-webapp-${currentRelease}-pkg.tar.asc">asc</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-admin-webapp-${currentRelease}-pkg.tar.md5">md5</a>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-admin-webapp-${currentRelease}-pkg.tar.sha1">sha1</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-admin-webapp-${currentRelease}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-admin-webapp-${currentRelease}-pkg.tar.sha1">sha1</a>
               </td>
             </tr>
             <tr>
               <td>
-                <a href="[preferred]incubator/helix/${currentRelease}/binaries/helix-agent-${currentRelease}-pkg.tar">helix-agent-${currentRelease}-pkg.tar</a>
+                <a href="[preferred]/helix/${currentRelease}/binaries/helix-agent-${currentRelease}-pkg.tar">helix-agent-${currentRelease}-pkg.tar</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-agent-${currentRelease}-pkg.tar.asc">asc</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-agent-${currentRelease}-pkg.tar.asc">asc</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-agent-${currentRelease}-pkg.tar.md5">md5</a>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-agent-${currentRelease}-pkg.tar.sha1">sha1</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-agent-${currentRelease}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-agent-${currentRelease}-pkg.tar.sha1">sha1</a>
               </td>
             </tr>
             <tr>
               <td>
-                <a href="[preferred]incubator/helix/${currentRelease}/binaries/helix-examples-${currentRelease}-pkg.tar">helix-examples-${currentRelease}-pkg.tar</a>
+                <a href="[preferred]/helix/${currentRelease}/binaries/helix-provisioning-${currentRelease}-pkg.tar">helix-provisioning-${currentRelease}-pkg.tar</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-examples-${currentRelease}-pkg.tar.asc">asc</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-provisioning-${currentRelease}-pkg.tar.asc">asc</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-examples-${currentRelease}-pkg.tar.md5">md5</a>
-                <a href="http://www.apache.org/dist/incubator/helix/${currentRelease}/binaries/helix-examples-${currentRelease}-pkg.tar.sha1">sha1</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-provisioning-${currentRelease}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-provisioning-${currentRelease}-pkg.tar.sha1">sha1</a>
+              </td>
+            </tr>
+            <tr>
+              <td>
+                <a href="[preferred]/helix/${currentRelease}/binaries/helix-ipc-${currentRelease}-pkg.tar">helix-ipc-${currentRelease}-pkg.tar</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-ipc-${currentRelease}-pkg.tar.asc">asc</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-ipc-${currentRelease}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-ipc-${currentRelease}-pkg.tar.sha1">sha1</a>
+              </td>
+            </tr>
+            <tr>
+              <td>
+                <a href="[preferred]/helix/${currentRelease}/binaries/helix-examples-${currentRelease}-pkg.tar">helix-examples-${currentRelease}-pkg.tar</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-examples-${currentRelease}-pkg.tar.asc">asc</a>
+              </td>
+              <td>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-examples-${currentRelease}-pkg.tar.md5">md5</a>
+                <a href="http://www.apache.org/dist/helix/${currentRelease}/binaries/helix-examples-${currentRelease}-pkg.tar.sha1">sha1</a>
               </td>
             </tr>
           </tbody>
@@ -187,7 +211,7 @@ under the License.
 
     <section name="Verifying Releases">
       <p>It is essential that you verify the integrity of the downloaded file using the PGP signature (<tt>.asc</tt> file) or a hash (<tt>.md5</tt> or <tt>.sha1</tt> file). Please read <a href="http://www.apache.org/info/verification.html">Verifying Apache Software Foundation Releases</a> for more information on why you should verify our releases.</p>
-      <p>The PGP signature can be verified using <a href="http://www.pgpi.org/">PGP</a> or <a href="http://www.gnupg.org/">GPG</a>. First download the <a href="http://www.apache.org/dist/incubator/helix/KEYS">KEYS</a> as well as the <tt>*.asc</tt> signature files for the relevant distribution. Make sure you get these files from the main distribution site, rather than from a mirror. Then verify the signatures using one of the following sets of commands:
+      <p>The PGP signature can be verified using <a href="http://www.pgpi.org/">PGP</a> or <a href="http://www.gnupg.org/">GPG</a>. First download the <a href="http://www.apache.org/dist/helix/KEYS">KEYS</a> as well as the <tt>*.asc</tt> signature files for the relevant distribution. Make sure you get these files from the main distribution site, rather than from a mirror. Then verify the signatures using one of the following sets of commands:
 
         <source>% pgpk -a KEYS
 % pgpv downloaded_file.asc</source>

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/trunk/pom.xml
----------------------------------------------------------------------
diff --git a/website/trunk/pom.xml b/website/trunk/pom.xml
deleted file mode 100644
index 2d5ab1f..0000000
--- a/website/trunk/pom.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.apache.helix</groupId>
-    <artifactId>website</artifactId>
-    <version>0.7.2-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>trunk-docs</artifactId>
-  <packaging>bundle</packaging>
-  <name>Apache Helix :: Website :: trunk</name>
-
-  <properties>
-  </properties>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.testng</groupId>
-      <artifactId>testng</artifactId>
-      <version>6.0.1</version>
-    </dependency>
-  </dependencies>
-  <build>
-    <pluginManagement>
-      <plugins>
-      </plugins>
-    </pluginManagement>
-    <plugins>
-    </plugins>
-  </build>
-</project>

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/trunk/src/site/apt/privacy-policy.apt
----------------------------------------------------------------------
diff --git a/website/trunk/src/site/apt/privacy-policy.apt b/website/trunk/src/site/apt/privacy-policy.apt
deleted file mode 100644
index ada9363..0000000
--- a/website/trunk/src/site/apt/privacy-policy.apt
+++ /dev/null
@@ -1,52 +0,0 @@
- ----
- Privacy Policy
- -----
- Olivier Lamy
- -----
- 2013-02-04
- -----
-
-~~ 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.
-
-Privacy Policy
-
-  Information about your use of this website is collected using server access logs and a tracking cookie. The 
-  collected information consists of the following:
-
-  [[1]] The IP address from which you access the website;
-  
-  [[2]] The type of browser and operating system you use to access our site;
-  
-  [[3]] The date and time you access our site;
-  
-  [[4]] The pages you visit; and
-  
-  [[5]] The addresses of pages from where you followed a link to our site.
-
-  []
-
-  Part of this information is gathered using a tracking cookie set by the 
-  {{{http://www.google.com/analytics/}Google Analytics}} service and handled by Google as described in their 
-  {{{http://www.google.com/privacy.html}privacy policy}}. See your browser documentation for instructions on how to 
-  disable the cookie if you prefer not to share this data with Google.
-
-  We use the gathered information to help us make our site more useful to visitors and to better understand how and 
-  when our site is used. We do not track or collect personally identifiable information or associate gathered data 
-  with any personally identifying information from other sources.
-
-  By using this website, you consent to the collection of this data in the manner and for the purpose described above.

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/trunk/src/site/markdown/Building.md
----------------------------------------------------------------------
diff --git a/website/trunk/src/site/markdown/Building.md b/website/trunk/src/site/markdown/Building.md
deleted file mode 100644
index 6f4fae8..0000000
--- a/website/trunk/src/site/markdown/Building.md
+++ /dev/null
@@ -1,31 +0,0 @@
-<!---
-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.
--->
-
-Build Instructions
-------------------
-
-### From Source
-
-Requirements: JDK 1.6+, Maven 2.0.8+
-
-```
-git clone https://git-wip-us.apache.org/repos/asf/helix.git
-cd helix
-mvn install package -DskipTests
-```

http://git-wip-us.apache.org/repos/asf/helix/blob/de9197fa/website/trunk/src/site/markdown/Features.md
----------------------------------------------------------------------
diff --git a/website/trunk/src/site/markdown/Features.md b/website/trunk/src/site/markdown/Features.md
deleted file mode 100644
index e710b0d..0000000
--- a/website/trunk/src/site/markdown/Features.md
+++ /dev/null
@@ -1,313 +0,0 @@
-<!---
-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.
--->
-
-<head>
-  <title>Features</title>
-</head>
-
-Features
-----------------------------
-
-
-### CONFIGURING IDEALSTATE
-
-
-Read the [concepts page](./Concepts.html) for definition of IdealState.
-
-The placement of partitions in a DDS is very critical for reliability and scalability of the system. 
-For example, when a node fails, it is important that the partitions hosted on that node are reallocated evenly among the remaining nodes. Consistent hashing is one such algorithm that can guarantee this.
-Helix by default comes with a variant of consistent hashing based of the RUSH algorithm. 
-
-This means given a number of partitions, replicas and number of nodes Helix does the automatic assignment of partition to nodes such that
-
-* Each node has the same number of partitions and replicas of the same partition do not stay on the same node.
-* When a node fails, the partitions will be equally distributed among the remaining nodes
-* When new nodes are added, the number of partitions moved will be minimized along with satisfying the above two criteria.
-
-
-Helix provides multiple ways to control the placement and state of a replica. 
-
-```
-
-            |AUTO REBALANCE|   AUTO     |   CUSTOM  |       
-            -----------------------------------------
-   LOCATION | HELIX        |  APP       |  APP      |
-            -----------------------------------------
-      STATE | HELIX        |  HELIX     |  APP      |
-            -----------------------------------------
-```
-
-#### HELIX EXECUTION MODE 
-
-
-IdealState is defined as the state of the DDS when all nodes are up and running and healthy. 
-Helix uses this as the target state of the system and computes the appropriate transitions needed in the system to bring it to a stable state. 
-
-Helix supports 3 different execution modes which allows application to explicitly control the placement and state of the replica.
-
-##### AUTO_REBALANCE
-
-When the IdealState mode is set to AUTO_REBALANCE, Helix controls both the location of the replica along with the state. This option is useful for applications where creation of a replica is not expensive. Example
-
-```
-{
-  "id" : "MyResource",
-  "simpleFields" : {
-    "IDEAL_STATE_MODE" : "AUTO_REBALANCE",
-    "NUM_PARTITIONS" : "3",
-    "REPLICAS" : "2",
-    "STATE_MODEL_DEF_REF" : "MasterSlave",
-  }
-  "listFields" : {
-    "MyResource_0" : [],
-    "MyResource_1" : [],
-    "MyResource_2" : []
-  },
-  "mapFields" : {
-  }
-}
-```
-
-If there are 3 nodes in the cluster, then Helix will internally compute the ideal state as 
-
-```
-{
-  "id" : "MyResource",
-  "simpleFields" : {
-    "NUM_PARTITIONS" : "3",
-    "REPLICAS" : "2",
-    "STATE_MODEL_DEF_REF" : "MasterSlave",
-  },
-  "mapFields" : {
-    "MyResource_0" : {
-      "N1" : "MASTER",
-      "N2" : "SLAVE",
-    },
-    "MyResource_1" : {
-      "N2" : "MASTER",
-      "N3" : "SLAVE",
-    },
-    "MyResource_2" : {
-      "N3" : "MASTER",
-      "N1" : "SLAVE",
-    }
-  }
-}
-```
-
-Another typical example is evenly distributing a group of tasks among the currently alive processes. For example, if there are 60 tasks and 4 nodes, Helix assigns 15 tasks to each node. 
-When one node fails Helix redistributes its 15 tasks to the remaining 3 nodes. Similarly, if a node is added, Helix re-allocates 3 tasks from each of the 4 nodes to the 5th node. 
-
-#### AUTO
-
-When the IdealState mode is set to AUTO, Helix only controls STATE of the replicas where as the location of the partition is controlled by application. Example: The below IdealState indicates thats 'MyResource_0' must be only on node1 and node2.  But gives the control of assigning the STATE to Helix.
-
-```
-{
-  "id" : "MyResource",
-  "simpleFields" : {
-    "IDEAL_STATE_MODE" : "AUTO",
-    "NUM_PARTITIONS" : "3",
-    "REPLICAS" : "2",
-    "STATE_MODEL_DEF_REF" : "MasterSlave",
-  }
-  "listFields" : {
-    "MyResource_0" : [node1, node2],
-    "MyResource_1" : [node2, node3],
-    "MyResource_2" : [node3, node1]
-  },
-  "mapFields" : {
-  }
-}
-```
-In this mode when node1 fails, unlike in AUTO-REBALANCE mode the partition is not moved from node1 to others nodes in the cluster. Instead, Helix will decide to change the state of MyResource_0 in N2 based on the system constraints. For example, if a system constraint specified that there should be 1 Master and if the Master failed, then node2 will be made the new master. 
-
-#### CUSTOM
-
-Helix offers a third mode called CUSTOM, in which application can completely control the placement and state of each replica. Applications will have to implement an interface that Helix will invoke when the cluster state changes. 
-Within this callback, the application can recompute the IdealState. Helix will then issue appropriate transitions such that IdealState and CurrentState converges.
-
-```
-{
-  "id" : "MyResource",
-  "simpleFields" : {
-      "IDEAL_STATE_MODE" : "CUSTOM",
-    "NUM_PARTITIONS" : "3",
-    "REPLICAS" : "2",
-    "STATE_MODEL_DEF_REF" : "MasterSlave",
-  },
-  "mapFields" : {
-    "MyResource_0" : {
-      "N1" : "MASTER",
-      "N2" : "SLAVE",
-    },
-    "MyResource_1" : {
-      "N2" : "MASTER",
-      "N3" : "SLAVE",
-    },
-    "MyResource_2" : {
-      "N3" : "MASTER",
-      "N1" : "SLAVE",
-    }
-  }
-}
-```
-
-For example, the current state of the system might be 'MyResource_0' -> {N1:MASTER,N2:SLAVE} and the application changes the ideal state to 'MyResource_0' -> {N1:SLAVE,N2:MASTER}. Helix will not blindly issue MASTER-->SLAVE to N1 and SLAVE-->MASTER to N2 in parallel since it might result in a transient state where both N1 and N2 are masters.
-Helix will first issue MASTER-->SLAVE to N1 and after its completed it will issue SLAVE-->MASTER to N2. 
- 
-
-### State Machine Configuration
-
-Helix comes with 3 default state models that are most commonly used. Its possible to have multiple state models in a cluster. 
-Every resource that is added should have a reference to the state model. 
-
-* MASTER-SLAVE: Has 3 states OFFLINE,SLAVE,MASTER. Max masters is 1. Slaves will be based on the replication factor. Replication factor can be specified while adding the resource
-* ONLINE-OFFLINE: Has 2 states OFFLINE and ONLINE. Very simple state model and most applications start off with this state model.
-* LEADER-STANDBY:1 Leader and many stand bys. In general the standby's are idle.
-
-Apart from providing the state machine configuration, one can specify the constraints of states and transitions.
-
-For example one can say
-Master:1. Max number of replicas in Master state at any time is 1.
-OFFLINE-SLAVE:5 Max number of Offline-Slave transitions that can happen concurrently in the system
-
-STATE PRIORITY
-Helix uses greedy approach to satisfy the state constraints. For example if the state machine configuration says it needs 1 master and 2 slaves but only 1 node is active, Helix must promote it to master. This behavior is achieved by providing the state priority list as MASTER,SLAVE.
-
-STATE TRANSITION PRIORITY
-Helix tries to fire as many transitions as possible in parallel to reach the stable state without violating constraints. By default Helix simply sorts the transitions alphabetically and fires as many as it can without violating the constraints. 
-One can control this by overriding the priority order.
- 
-### Config management
-
-Helix allows applications to store application specific properties. The configuration can have different scopes.
-
-* Cluster
-* Node specific
-* Resource specific
-* Partition specific
-
-Helix also provides notifications when any configs are changed. This allows applications to support dynamic configuration changes.
-
-See HelixManager.getConfigAccessor for more info
-
-### Intra cluster messaging api
-
-This is an interesting feature which is quite useful in practice. Often times, nodes in DDS requires a mechanism to interact with each other. One such requirement is a process of bootstrapping a replica.
-
-Consider a search system use case where the index replica starts up and it does not have an index. One of the commonly used solutions is to get the index from a common location or to copy the index from another replica.
-Helix provides a messaging api, that can be used to talk to other nodes in the system. The value added that Helix provides here is, message recipient can be specified in terms of resource, 
-partition, state and Helix ensures that the message is delivered to all of the required recipients. In this particular use case, the instance can specify the recipient criteria as all replicas of P1. 
-Since Helix is aware of the global state of the system, it can send the message to appropriate nodes. Once the nodes respond Helix provides the bootstrapping replica with all the responses.
-
-This is a very generic api and can also be used to schedule various periodic tasks in the cluster like data backups etc. 
-System Admins can also perform adhoc tasks like on demand backup or execute a system command(like rm -rf ;-)) across all nodes.
-
-```
-      ClusterMessagingService messagingService = manager.getMessagingService();
-      //CONSTRUCT THE MESSAGE
-      Message requestBackupUriRequest = new Message(
-          MessageType.USER_DEFINE_MSG, UUID.randomUUID().toString());
-      requestBackupUriRequest
-          .setMsgSubType(BootstrapProcess.REQUEST_BOOTSTRAP_URL);
-      requestBackupUriRequest.setMsgState(MessageState.NEW);
-      //SET THE RECIPIENT CRITERIA, All nodes that satisfy the criteria will receive the message
-      Criteria recipientCriteria = new Criteria();
-      recipientCriteria.setInstanceName("%");
-      recipientCriteria.setRecipientInstanceType(InstanceType.PARTICIPANT);
-      recipientCriteria.setResource("MyDB");
-      recipientCriteria.setPartition("");
-      //Should be processed only the process that is active at the time of sending the message. 
-      //This means if the recipient is restarted after message is sent, it will not be processed.
-      recipientCriteria.setSessionSpecific(true);
-      // wait for 30 seconds
-      int timeout = 30000;
-      //The handler that will be invoked when any recipient responds to the message.
-      BootstrapReplyHandler responseHandler = new BootstrapReplyHandler();
-      //This will return only after all recipients respond or after timeout.
-      int sentMessageCount = messagingService.sendAndWait(recipientCriteria,
-          requestBackupUriRequest, responseHandler, timeout);
-```
-
-See HelixManager.getMessagingService for more info.
-
-
-### Application specific property storage
-
-There are several usecases where applications needs support for distributed data structures. Helix uses Zookeeper to store the application data and hence provides notifications when the data changes. 
-One value add Helix provides is the ability to specify cache the data and also write through cache. This is more efficient than reading from ZK every time.
-
-See HelixManager.getHelixPropertyStore
-
-### Throttling
-
-Since all state changes in the system are triggered through transitions, Helix can control the number of transitions that can happen in parallel. Some of the transitions may be light weight but some might involve moving data around which is quite expensive.
-Helix allows applications to set threshold on transitions. The threshold can be set at the multiple scopes.
-
-* MessageType e.g STATE_TRANSITION
-* TransitionType e.g SLAVE-MASTER
-* Resource e.g database
-* Node i.e per node max transitions in parallel.
-
-See HelixManager.getHelixAdmin.addMessageConstraint() 
-
-### Health monitoring and alerting
-
-This in currently in development mode, not yet productionized.
-
-Helix provides ability for each node in the system to report health metrics on a periodic basis. 
-Helix supports multiple ways to aggregate these metrics like simple SUM, AVG, EXPONENTIAL DECAY, WINDOW. Helix will only persist the aggregated value.
-Applications can define threshold on the aggregate values according to the SLA's and when the SLA is violated Helix will fire an alert. 
-Currently Helix only fires an alert but eventually we plan to use this metrics to either mark the node dead or load balance the partitions. 
-This feature will be valuable in for distributed systems that support multi-tenancy and have huge variation in work load patterns. Another place this can be used is to detect skewed partitions and rebalance the cluster.
-
-This feature is not yet stable and do not recommend to be used in production.
-
-
-### Controller deployment modes
-
-Read Architecture wiki for more details on the Role of a controller. In simple words, it basically controls the participants in the cluster by issuing transitions.
-
-Helix provides multiple options to deploy the controller.
-
-#### STANDALONE
-
-Controller can be started as a separate process to manage a cluster. This is the recommended approach. How ever since one controller can be a single point of failure, multiple controller processes are required for reliability.
-Even if multiple controllers are running only one will be actively managing the cluster at any time and is decided by a leader election process. If the leader fails, another leader will resume managing the cluster.
-
-Even though we recommend this method of deployment, it has the drawback of having to manage an additional service for each cluster. See Controller As a Service option.
-
-#### EMBEDDED
-
-If setting up a separate controller process is not viable, then it is possible to embed the controller as a library in each of the participant. 
-
-#### CONTROLLER AS A SERVICE
-
-One of the cool feature we added in helix was use a set of controllers to manage a large number of clusters. 
-For example if you have X clusters to be managed, instead of deploying X*3(3 controllers for fault tolerance) controllers for each cluster, one can deploy only 3 controllers. Each controller can manage X/3 clusters. 
-If any controller fails the remaining two will manage X/2 clusters. At LinkedIn, we always deploy controllers in this mode. 
-
-
-
-
-
-
-
- 


Mime
View raw message