http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/5f289f89/docs/latest/admin_guide/zookeeper.html ---------------------------------------------------------------------- diff --git a/docs/latest/admin_guide/zookeeper.html b/docs/latest/admin_guide/zookeeper.html index d242e13..c95e768 100644 --- a/docs/latest/admin_guide/zookeeper.html +++ b/docs/latest/admin_guide/zookeeper.html @@ -10,13 +10,13 @@ <meta name="description" content="Apache DistributedLog is an high performance replicated log. "> - <link rel="stylesheet" href="/docs/latest/styles/site.css"> - <link rel="stylesheet" href="/docs/latest/css/theme.css"> + <link rel="stylesheet" href="/distributedlog/docs/latest/styles/site.css"> + <link rel="stylesheet" href="/distributedlog/docs/latest/css/theme.css"> <!-- JQuery --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> - <script src="/docs/latest/js/bootstrap.min.js"></script> - <link rel="canonical" href="http://distributedlog.incubator.apache.org/docs/latest/admin_guide/zookeeper.html" data-proofer-ignore> - <link rel="alternate" type="application/rss+xml" title="Apache DistributedLog (incubating)" href="http://distributedlog.incubator.apache.org/docs/latest/feed.xml"> + <script src="/distributedlog/docs/latest/js/bootstrap.min.js"></script> + <link rel="canonical" href="http://distributedlog.incubator.apache.org/distributedlog/docs/latest/admin_guide/zookeeper.html" data-proofer-ignore> + <link rel="alternate" type="application/rss+xml" title="Apache DistributedLog (incubating)" href="http://distributedlog.incubator.apache.org/distributedlog/docs/latest/feed.xml"> <!-- Font Awesome --> <script src="//cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.0/anchor.min.js"></script> <!-- Google Analytics --> @@ -41,7 +41,7 @@ <div class="container"> <div class="navbar-header"> <a href="/" class="navbar-brand" > - <img alt="Brand" style="height: 28px" src="/docs/latest/images/distributedlog_logo_navbar.png"> + <img alt="Brand" style="height: 28px" src="/distributedlog/docs/latest/images/distributedlog_logo_navbar.png"> </a> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> @@ -53,23 +53,23 @@ <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <!-- Overview --> - <li><a href="/docs/latest/">V0.5.0-incubating</a></li> + <li><a href="/distributedlog/docs/latest/">V0.5.0-incubating</a></li> <!-- Concepts --> - <li><a href="/docs/latest/basics/introduction">Concepts</a></li> + <li><a href="/distributedlog/docs/latest/basics/introduction">Concepts</a></li> <!-- Quick Start --> <li> - <a href="/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Start<span class="caret"></span></a> + <a href="/distributedlog/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Start<span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li> - <a href="/docs/latest/start/building.html"> + <a href="/distributedlog/docs/latest/start/building.html"> Build DistributedLog from Source </a> </li> <li> - <a href="/docs/latest/start/download.html"> + <a href="/distributedlog/docs/latest/start/download.html"> Download Releases </a> </li> @@ -79,25 +79,25 @@ <li> - <a href="/docs/latest/start/quickstart.html"> + <a href="/distributedlog/docs/latest/start/quickstart.html"> Setup & Run Example </a> </li> <li> - <a href="/docs/latest/tutorials/basic-1.html"> + <a href="/distributedlog/docs/latest/tutorials/basic-1.html"> API - Write Records (via core library) </a> </li> <li> - <a href="/docs/latest/tutorials/basic-2.html"> + <a href="/distributedlog/docs/latest/tutorials/basic-2.html"> API - Write Records (via write proxy) </a> </li> <li> - <a href="/docs/latest/tutorials/basic-5.html"> + <a href="/distributedlog/docs/latest/tutorials/basic-5.html"> API - Read Records </a> </li> @@ -107,19 +107,19 @@ <li> - <a href="/docs/latest/deployment/cluster.html"> + <a href="/distributedlog/docs/latest/deployment/cluster.html"> Cluster Setup </a> </li> <li> - <a href="/docs/latest/deployment/global-cluster.html"> + <a href="/distributedlog/docs/latest/deployment/global-cluster.html"> Global Cluster Setup </a> </li> <li> - <a href="/docs/latest/deployment/docker.html"> + <a href="/distributedlog/docs/latest/deployment/docker.html"> Docker </a> </li> @@ -128,9 +128,9 @@ </li> <!-- API --> <li> - <a href="/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">API<span class="caret"></span></a> + <a href="/distributedlog/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">API<span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> - <li><a href="/docs/latest/api/java">Java</a></li> + <li><a href="/distributedlog/docs/latest/api/java">Java</a></li> </ul> </li> <!-- User Guide --> @@ -140,55 +140,55 @@ <li> - <a href="/docs/latest/basics/introduction.html"> + <a href="/distributedlog/docs/latest/basics/introduction.html"> Introduction </a> </li> <li> - <a href="/docs/latest/user_guide/considerations/main.html"> + <a href="/distributedlog/docs/latest/user_guide/considerations/main.html"> Considerations </a> </li> <li> - <a href="/docs/latest/user_guide/architecture/main.html"> + <a href="/distributedlog/docs/latest/user_guide/architecture/main.html"> Architecture </a> </li> <li> - <a href="/docs/latest/user_guide/api/main.html"> + <a href="/distributedlog/docs/latest/user_guide/api/main.html"> API </a> </li> <li> - <a href="/docs/latest/user_guide/configuration/main.html"> + <a href="/distributedlog/docs/latest/user_guide/configuration/main.html"> Configuration </a> </li> <li> - <a href="/docs/latest/user_guide/design/main.html"> + <a href="/distributedlog/docs/latest/user_guide/design/main.html"> Detail Design </a> </li> <li> - <a href="/docs/latest/user_guide/globalreplicatedlog/main.html"> + <a href="/distributedlog/docs/latest/user_guide/globalreplicatedlog/main.html"> Global Replicated Log </a> </li> <li> - <a href="/docs/latest/user_guide/implementation/main.html"> + <a href="/distributedlog/docs/latest/user_guide/implementation/main.html"> Implementation </a> </li> <li> - <a href="/docs/latest/user_guide/references/main.html"> + <a href="/distributedlog/docs/latest/user_guide/references/main.html"> References </a> </li> @@ -199,47 +199,47 @@ <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Admin Guide<span class="caret"></span></a> <ul class="dropdown-menu"> - <li><a href="/docs/latest/deployment/cluster">Cluster Setup</a></li> + <li><a href="/distributedlog/docs/latest/deployment/cluster">Cluster Setup</a></li> <li> - <a href="/docs/latest/admin_guide/operations.html"> + <a href="/distributedlog/docs/latest/admin_guide/operations.html"> Operations </a> </li> <li> - <a href="/docs/latest/admin_guide/performance.html"> - Performance Tuning + <a href="/distributedlog/docs/latest/admin_guide/loadtest.html"> + Load Test </a> </li> <li> - <a href="/docs/latest/admin_guide/loadtest.html"> - Load Test + <a href="/distributedlog/docs/latest/admin_guide/performance.html"> + Performance Tuning </a> </li> <li> - <a href="/docs/latest/admin_guide/hardware.html"> + <a href="/distributedlog/docs/latest/admin_guide/hardware.html"> Hardware </a> </li> <li> - <a href="/docs/latest/admin_guide/monitoring.html"> + <a href="/distributedlog/docs/latest/admin_guide/monitoring.html"> Monitoring </a> </li> <li> - <a href="/docs/latest/admin_guide/zookeeper.html"> + <a href="/distributedlog/docs/latest/admin_guide/zookeeper.html"> ZooKeeper </a> </li> <li> - <a href="/docs/latest/admin_guide/bookkeeper.html"> + <a href="/distributedlog/docs/latest/admin_guide/bookkeeper.html"> BookKeeper </a> </li> @@ -251,42 +251,42 @@ <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Tutorials<span class="caret"></span></a> <ul class="dropdown-menu"> <li class="dropdown-header"><strong>Basic</strong></li> - <li><a href="/docs/latest/tutorials/basic-1">Write Records (via Core Library)</a></li> - <li><a href="/docs/latest/tutorials/basic-2">Write Records (via Write Proxy)</a></li> - <li><a href="/docs/latest/tutorials/basic-3">Write Records to multiple streams</a></li> - <li><a href="/docs/latest/tutorials/basic-4">Atomic Write Records</a></li> - <li><a href="/docs/latest/tutorials/basic-5">Tailing Read Records</a></li> - <li><a href="/docs/latest/tutorials/basic-6">Rewind Read Records</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-1">Write Records (via Core Library)</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-2">Write Records (via Write Proxy)</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-3">Write Records to multiple streams</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-4">Atomic Write Records</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-5">Tailing Read Records</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-6">Rewind Read Records</a></li> <li role="separator" class="divider"></li> <li class="dropdown-header"><strong>Messaging</strong></li> <li> - <a href="/docs/latest/tutorials/messaging-1.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-1.html"> Write records to partitioned streams </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-2.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-2.html"> Write records to multiple streams (load balancer) </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-3.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-3.html"> At-least-once Processing </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-4.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-4.html"> Exact-Once Processing </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-5.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-5.html"> Implement a kafka-like pub/sub system </a> </li> @@ -296,14 +296,14 @@ <li> - <a href="/docs/latest/tutorials/replicatedstatemachines.html"> + <a href="/distributedlog/docs/latest/tutorials/replicatedstatemachines.html"> Build replicated state machines </a> </li> <li role="separator" class="divider"></li> <li class="dropdown-header"><strong>Analytics</strong></li> - <li><a href="/docs/latest/tutorials/analytics-mapreduce">Process log streams using MapReduce</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/analytics-mapreduce">Process log streams using MapReduce</a></li> </ul> </li> </ul> @@ -347,14 +347,14 @@ under the License. - <li><a href="/docs/latest/admin_guide/main.html" class="">Admin Guide</a> + <li><a href="/distributedlog/docs/latest/admin_guide/main.html" class="">Admin Guide</a> <ul> <li> - <a href="/docs/latest/admin_guide/operations.html" class=""> - Operations + <a href="/distributedlog/docs/latest/deployment/cluster.html" class=""> + Cluster Setup </a> <ul> @@ -365,8 +365,8 @@ under the License. <li> - <a href="/docs/latest/deployment/cluster.html" class=""> - Cluster Setup + <a href="/distributedlog/docs/latest/admin_guide/operations.html" class=""> + Operations </a> <ul> @@ -377,7 +377,7 @@ under the License. <li> - <a href="/docs/latest/deployment/global-cluster.html" class=""> + <a href="/distributedlog/docs/latest/deployment/global-cluster.html" class=""> Global Cluster Setup </a> @@ -389,8 +389,8 @@ under the License. <li> - <a href="/docs/latest/admin_guide/performance.html" class=""> - Performance Tuning + <a href="/distributedlog/docs/latest/admin_guide/loadtest.html" class=""> + Load Test </a> <ul> @@ -401,8 +401,8 @@ under the License. <li> - <a href="/docs/latest/admin_guide/loadtest.html" class=""> - Load Test + <a href="/distributedlog/docs/latest/admin_guide/performance.html" class=""> + Performance Tuning </a> <ul> @@ -413,7 +413,7 @@ under the License. <li> - <a href="/docs/latest/admin_guide/hardware.html" class=""> + <a href="/distributedlog/docs/latest/admin_guide/hardware.html" class=""> Hardware </a> @@ -425,7 +425,7 @@ under the License. <li> - <a href="/docs/latest/admin_guide/monitoring.html" class=""> + <a href="/distributedlog/docs/latest/admin_guide/monitoring.html" class=""> Monitoring </a> @@ -437,7 +437,7 @@ under the License. <li> - <a href="/docs/latest/admin_guide/zookeeper.html" class="active"> + <a href="/distributedlog/docs/latest/admin_guide/zookeeper.html" class="active"> ZooKeeper </a> @@ -449,7 +449,7 @@ under the License. <li> - <a href="/docs/latest/admin_guide/bookkeeper.html" class=""> + <a href="/distributedlog/docs/latest/admin_guide/bookkeeper.html" class=""> BookKeeper </a> @@ -484,7 +484,7 @@ under the License. - <li><a href="/docs/latest/admin_guide/main.html">Admin Guide</a></li> + <li><a href="/distributedlog/docs/latest/admin_guide/main.html">Admin Guide</a></li> <li class="active">ZooKeeper</li> @@ -504,10 +504,10 @@ zookeeper version <cite>3.4.8</cite>.</p> </div> <div class="section" id="run-zookeeper-from-distributedlog-source"> <h2>Run ZooKeeper from distributedlog source</h2> -<p>Since <cite>zookeeper</cite> is one of the dependency of <cite>distributedlog-service</cite>. You could simply -run <cite>zookeeper</cite> servers using same set of scripts provided in <cite>distributedlog-service</cite>. +<p>Since <cite>zookeeper</cite> is one of the dependency of <cite>distributedlog-proxy-server</cite>. You could simply +run <cite>zookeeper</cite> servers using same set of scripts provided in <cite>distributedlog-proxy-server</cite>. In the following sections, we will describe how to run zookeeper using the scripts provided -in <cite>distributedlog-service</cite>.</p> +in <cite>distributedlog-proxy-server</cite>.</p> <div class="section" id="build"> <h3>Build</h3> <p>First of all, build DistributedLog:</p> @@ -516,7 +516,7 @@ in <cite>distributedlog-service</cite>.</p> </span></code></pre></td></tr></table></div></figure></div> <div class="section" id="configuration"> <h3>Configuration</h3> -<p>The configuration file <cite>zookeeper.conf.template</cite> under <cite>distributedlog-service/conf</cite> is a template of +<p>The configuration file <cite>zookeeper.conf.template</cite> under <cite>distributedlog-proxy-server/conf</cite> is a template of production configuration to run a zookeeper node. Most of the configuration settings are good for production usage. You might need to configure following settings according to your environment and hardware platform.</p> @@ -543,14 +543,14 @@ dataLogDir=/tmp/data/zookeeper/txlog </div> <div class="section" id="run"> <h3>Run</h3> -<p>As <cite>zookeeper</cite> is shipped as part of <cite>distributedlog-service</cite>, you could use the <cite>dlog-daemon.sh</cite> +<p>As <cite>zookeeper</cite> is shipped as part of <cite>distributedlog-proxy-server</cite>, you could use the <cite>dlog-daemon.sh</cite> script to start <cite>zookeeper</cite> as daemon thread.</p> <p>Start the zookeeper:</p> <figure class="code"><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class="line-number">1</span> -</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ ./distributedlog-service/bin/dlog-daemon.sh start zookeeper /path/to/zookeeper.conf +</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ ./distributedlog-proxy-server/bin/dlog-daemon.sh start zookeeper /path/to/zookeeper.conf </span></code></pre></td></tr></table></div></figure><p>Stop the zookeeper:</p> <figure class="code"><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class="line-number">1</span> -</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ ./distributedlog-service/bin/dlog-daemon.sh stop zookeeper +</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ ./distributedlog-proxy-server/bin/dlog-daemon.sh stop zookeeper </span></code></pre></td></tr></table></div></figure><p>Please check <a class="reference external" href="http://zookeeper.apache.org/">zookeeper</a> website for more details.</p> </div> </div> @@ -573,7 +573,7 @@ script to start <cite>zookeeper</cite> as daemon thread.</p> <a href="http://www.apache.org">The Apache Software Foundation.</a> All Rights Reserved. </p> <p class="text-center"> - <a href="/docs/latest/feed.xml">RSS Feed</a> + <a href="/distributedlog/docs/latest/feed.xml">RSS Feed</a> </p> </footer> </div>
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/5f289f89/docs/latest/basics/introduction.html ---------------------------------------------------------------------- diff --git a/docs/latest/basics/introduction.html b/docs/latest/basics/introduction.html index eec3ccd..b862453 100644 --- a/docs/latest/basics/introduction.html +++ b/docs/latest/basics/introduction.html @@ -10,13 +10,13 @@ <meta name="description" content="Apache DistributedLog is an high performance replicated log. "> - <link rel="stylesheet" href="/docs/latest/styles/site.css"> - <link rel="stylesheet" href="/docs/latest/css/theme.css"> + <link rel="stylesheet" href="/distributedlog/docs/latest/styles/site.css"> + <link rel="stylesheet" href="/distributedlog/docs/latest/css/theme.css"> <!-- JQuery --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> - <script src="/docs/latest/js/bootstrap.min.js"></script> - <link rel="canonical" href="http://distributedlog.incubator.apache.org/docs/latest/basics/introduction.html" data-proofer-ignore> - <link rel="alternate" type="application/rss+xml" title="Apache DistributedLog (incubating)" href="http://distributedlog.incubator.apache.org/docs/latest/feed.xml"> + <script src="/distributedlog/docs/latest/js/bootstrap.min.js"></script> + <link rel="canonical" href="http://distributedlog.incubator.apache.org/distributedlog/docs/latest/basics/introduction.html" data-proofer-ignore> + <link rel="alternate" type="application/rss+xml" title="Apache DistributedLog (incubating)" href="http://distributedlog.incubator.apache.org/distributedlog/docs/latest/feed.xml"> <!-- Font Awesome --> <script src="//cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.0/anchor.min.js"></script> <!-- Google Analytics --> @@ -41,7 +41,7 @@ <div class="container"> <div class="navbar-header"> <a href="/" class="navbar-brand" > - <img alt="Brand" style="height: 28px" src="/docs/latest/images/distributedlog_logo_navbar.png"> + <img alt="Brand" style="height: 28px" src="/distributedlog/docs/latest/images/distributedlog_logo_navbar.png"> </a> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> @@ -53,23 +53,23 @@ <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <!-- Overview --> - <li><a href="/docs/latest/">V0.5.0-incubating</a></li> + <li><a href="/distributedlog/docs/latest/">V0.5.0-incubating</a></li> <!-- Concepts --> - <li><a href="/docs/latest/basics/introduction">Concepts</a></li> + <li><a href="/distributedlog/docs/latest/basics/introduction">Concepts</a></li> <!-- Quick Start --> <li> - <a href="/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Start<span class="caret"></span></a> + <a href="/distributedlog/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Start<span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li> - <a href="/docs/latest/start/building.html"> + <a href="/distributedlog/docs/latest/start/building.html"> Build DistributedLog from Source </a> </li> <li> - <a href="/docs/latest/start/download.html"> + <a href="/distributedlog/docs/latest/start/download.html"> Download Releases </a> </li> @@ -79,25 +79,25 @@ <li> - <a href="/docs/latest/start/quickstart.html"> + <a href="/distributedlog/docs/latest/start/quickstart.html"> Setup & Run Example </a> </li> <li> - <a href="/docs/latest/tutorials/basic-1.html"> + <a href="/distributedlog/docs/latest/tutorials/basic-1.html"> API - Write Records (via core library) </a> </li> <li> - <a href="/docs/latest/tutorials/basic-2.html"> + <a href="/distributedlog/docs/latest/tutorials/basic-2.html"> API - Write Records (via write proxy) </a> </li> <li> - <a href="/docs/latest/tutorials/basic-5.html"> + <a href="/distributedlog/docs/latest/tutorials/basic-5.html"> API - Read Records </a> </li> @@ -107,19 +107,19 @@ <li> - <a href="/docs/latest/deployment/cluster.html"> + <a href="/distributedlog/docs/latest/deployment/cluster.html"> Cluster Setup </a> </li> <li> - <a href="/docs/latest/deployment/global-cluster.html"> + <a href="/distributedlog/docs/latest/deployment/global-cluster.html"> Global Cluster Setup </a> </li> <li> - <a href="/docs/latest/deployment/docker.html"> + <a href="/distributedlog/docs/latest/deployment/docker.html"> Docker </a> </li> @@ -128,9 +128,9 @@ </li> <!-- API --> <li> - <a href="/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">API<span class="caret"></span></a> + <a href="/distributedlog/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">API<span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> - <li><a href="/docs/latest/api/java">Java</a></li> + <li><a href="/distributedlog/docs/latest/api/java">Java</a></li> </ul> </li> <!-- User Guide --> @@ -140,55 +140,55 @@ <li> - <a href="/docs/latest/basics/introduction.html"> + <a href="/distributedlog/docs/latest/basics/introduction.html"> Introduction </a> </li> <li> - <a href="/docs/latest/user_guide/considerations/main.html"> + <a href="/distributedlog/docs/latest/user_guide/considerations/main.html"> Considerations </a> </li> <li> - <a href="/docs/latest/user_guide/architecture/main.html"> + <a href="/distributedlog/docs/latest/user_guide/architecture/main.html"> Architecture </a> </li> <li> - <a href="/docs/latest/user_guide/api/main.html"> + <a href="/distributedlog/docs/latest/user_guide/api/main.html"> API </a> </li> <li> - <a href="/docs/latest/user_guide/configuration/main.html"> + <a href="/distributedlog/docs/latest/user_guide/configuration/main.html"> Configuration </a> </li> <li> - <a href="/docs/latest/user_guide/design/main.html"> + <a href="/distributedlog/docs/latest/user_guide/design/main.html"> Detail Design </a> </li> <li> - <a href="/docs/latest/user_guide/globalreplicatedlog/main.html"> + <a href="/distributedlog/docs/latest/user_guide/globalreplicatedlog/main.html"> Global Replicated Log </a> </li> <li> - <a href="/docs/latest/user_guide/implementation/main.html"> + <a href="/distributedlog/docs/latest/user_guide/implementation/main.html"> Implementation </a> </li> <li> - <a href="/docs/latest/user_guide/references/main.html"> + <a href="/distributedlog/docs/latest/user_guide/references/main.html"> References </a> </li> @@ -199,47 +199,47 @@ <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Admin Guide<span class="caret"></span></a> <ul class="dropdown-menu"> - <li><a href="/docs/latest/deployment/cluster">Cluster Setup</a></li> + <li><a href="/distributedlog/docs/latest/deployment/cluster">Cluster Setup</a></li> <li> - <a href="/docs/latest/admin_guide/operations.html"> + <a href="/distributedlog/docs/latest/admin_guide/operations.html"> Operations </a> </li> <li> - <a href="/docs/latest/admin_guide/performance.html"> - Performance Tuning + <a href="/distributedlog/docs/latest/admin_guide/loadtest.html"> + Load Test </a> </li> <li> - <a href="/docs/latest/admin_guide/loadtest.html"> - Load Test + <a href="/distributedlog/docs/latest/admin_guide/performance.html"> + Performance Tuning </a> </li> <li> - <a href="/docs/latest/admin_guide/hardware.html"> + <a href="/distributedlog/docs/latest/admin_guide/hardware.html"> Hardware </a> </li> <li> - <a href="/docs/latest/admin_guide/monitoring.html"> + <a href="/distributedlog/docs/latest/admin_guide/monitoring.html"> Monitoring </a> </li> <li> - <a href="/docs/latest/admin_guide/zookeeper.html"> + <a href="/distributedlog/docs/latest/admin_guide/zookeeper.html"> ZooKeeper </a> </li> <li> - <a href="/docs/latest/admin_guide/bookkeeper.html"> + <a href="/distributedlog/docs/latest/admin_guide/bookkeeper.html"> BookKeeper </a> </li> @@ -251,42 +251,42 @@ <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Tutorials<span class="caret"></span></a> <ul class="dropdown-menu"> <li class="dropdown-header"><strong>Basic</strong></li> - <li><a href="/docs/latest/tutorials/basic-1">Write Records (via Core Library)</a></li> - <li><a href="/docs/latest/tutorials/basic-2">Write Records (via Write Proxy)</a></li> - <li><a href="/docs/latest/tutorials/basic-3">Write Records to multiple streams</a></li> - <li><a href="/docs/latest/tutorials/basic-4">Atomic Write Records</a></li> - <li><a href="/docs/latest/tutorials/basic-5">Tailing Read Records</a></li> - <li><a href="/docs/latest/tutorials/basic-6">Rewind Read Records</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-1">Write Records (via Core Library)</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-2">Write Records (via Write Proxy)</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-3">Write Records to multiple streams</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-4">Atomic Write Records</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-5">Tailing Read Records</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-6">Rewind Read Records</a></li> <li role="separator" class="divider"></li> <li class="dropdown-header"><strong>Messaging</strong></li> <li> - <a href="/docs/latest/tutorials/messaging-1.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-1.html"> Write records to partitioned streams </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-2.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-2.html"> Write records to multiple streams (load balancer) </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-3.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-3.html"> At-least-once Processing </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-4.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-4.html"> Exact-Once Processing </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-5.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-5.html"> Implement a kafka-like pub/sub system </a> </li> @@ -296,14 +296,14 @@ <li> - <a href="/docs/latest/tutorials/replicatedstatemachines.html"> + <a href="/distributedlog/docs/latest/tutorials/replicatedstatemachines.html"> Build replicated state machines </a> </li> <li role="separator" class="divider"></li> <li class="dropdown-header"><strong>Analytics</strong></li> - <li><a href="/docs/latest/tutorials/analytics-mapreduce">Process log streams using MapReduce</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/analytics-mapreduce">Process log streams using MapReduce</a></li> </ul> </li> </ul> @@ -347,13 +347,13 @@ under the License. - <li><a href="/docs/latest/user_guide/main.html" class="">User Guide</a> + <li><a href="/distributedlog/docs/latest/user_guide/main.html" class="">User Guide</a> <ul> <li> - <a href="/docs/latest/basics/introduction.html" class="active"> + <a href="/distributedlog/docs/latest/basics/introduction.html" class="active"> Introduction </a> @@ -365,7 +365,7 @@ under the License. <li> - <a href="/docs/latest/user_guide/considerations/main.html" class=""> + <a href="/distributedlog/docs/latest/user_guide/considerations/main.html" class=""> Considerations </a> @@ -377,7 +377,7 @@ under the License. <li> - <a href="/docs/latest/user_guide/architecture/main.html" class=""> + <a href="/distributedlog/docs/latest/user_guide/architecture/main.html" class=""> Architecture </a> @@ -389,7 +389,7 @@ under the License. <li> - <a href="/docs/latest/user_guide/api/main.html" class=""> + <a href="/distributedlog/docs/latest/user_guide/api/main.html" class=""> API </a> @@ -397,21 +397,21 @@ under the License. <li> - <a href="/docs/latest/user_guide/api/core.html" class="active"> + <a href="/distributedlog/docs/latest/user_guide/api/core.html" class="active"> Core Library API </a> </li> <li> - <a href="/docs/latest/user_guide/api/proxy.html" class="active"> + <a href="/distributedlog/docs/latest/user_guide/api/proxy.html" class="active"> Proxy Client API </a> </li> <li> - <a href="/docs/latest/user_guide/api/practice.html" class="active"> + <a href="/distributedlog/docs/latest/user_guide/api/practice.html" class="active"> Best Practise </a> </li> @@ -422,7 +422,7 @@ under the License. <li> - <a href="/docs/latest/user_guide/configuration/main.html" class=""> + <a href="/distributedlog/docs/latest/user_guide/configuration/main.html" class=""> Configuration </a> @@ -430,28 +430,28 @@ under the License. <li> - <a href="/docs/latest/user_guide/configuration/core.html" class="active"> + <a href="/distributedlog/docs/latest/user_guide/configuration/core.html" class="active"> Core Library Configuration </a> </li> <li> - <a href="/docs/latest/user_guide/configuration/proxy.html" class="active"> + <a href="/distributedlog/docs/latest/user_guide/configuration/proxy.html" class="active"> Write Proxy Configuration </a> </li> <li> - <a href="/docs/latest/user_guide/configuration/client.html" class="active"> + <a href="/distributedlog/docs/latest/user_guide/configuration/client.html" class="active"> Client Configuration </a> </li> <li> - <a href="/docs/latest/user_guide/configuration/perlog.html" class="active"> + <a href="/distributedlog/docs/latest/user_guide/configuration/perlog.html" class="active"> Per Stream Configuration </a> </li> @@ -462,7 +462,7 @@ under the License. <li> - <a href="/docs/latest/user_guide/design/main.html" class=""> + <a href="/distributedlog/docs/latest/user_guide/design/main.html" class=""> Detail Design </a> @@ -474,7 +474,7 @@ under the License. <li> - <a href="/docs/latest/user_guide/globalreplicatedlog/main.html" class=""> + <a href="/distributedlog/docs/latest/user_guide/globalreplicatedlog/main.html" class=""> Global Replicated Log </a> @@ -486,7 +486,7 @@ under the License. <li> - <a href="/docs/latest/user_guide/implementation/main.html" class=""> + <a href="/distributedlog/docs/latest/user_guide/implementation/main.html" class=""> Implementation </a> @@ -494,7 +494,7 @@ under the License. <li> - <a href="/docs/latest/user_guide/implementation/storage.html" class="active"> + <a href="/distributedlog/docs/latest/user_guide/implementation/storage.html" class="active"> Storage </a> </li> @@ -505,7 +505,7 @@ under the License. <li> - <a href="/docs/latest/user_guide/references/main.html" class=""> + <a href="/distributedlog/docs/latest/user_guide/references/main.html" class=""> References </a> @@ -513,14 +513,14 @@ under the License. <li> - <a href="/docs/latest/user_guide/references/metrics.html" class="active"> + <a href="/distributedlog/docs/latest/user_guide/references/metrics.html" class="active"> Metrics </a> </li> <li> - <a href="/docs/latest/user_guide/references/features.html" class="active"> + <a href="/distributedlog/docs/latest/user_guide/references/features.html" class="active"> Available Features </a> </li> @@ -554,7 +554,7 @@ under the License. - <li><a href="/docs/latest/user_guide/main.html">User Guide</a></li> + <li><a href="/distributedlog/docs/latest/user_guide/main.html">User Guide</a></li> <li class="active">Introduction</li> @@ -702,7 +702,7 @@ thousands of readers are consuming a same log stream.</p> <a href="http://www.apache.org">The Apache Software Foundation.</a> All Rights Reserved. </p> <p class="text-center"> - <a href="/docs/latest/feed.xml">RSS Feed</a> + <a href="/distributedlog/docs/latest/feed.xml">RSS Feed</a> </p> </footer> </div> http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/5f289f89/docs/latest/deployment/cluster.html ---------------------------------------------------------------------- diff --git a/docs/latest/deployment/cluster.html b/docs/latest/deployment/cluster.html index 02add21..d63a0c1 100644 --- a/docs/latest/deployment/cluster.html +++ b/docs/latest/deployment/cluster.html @@ -10,13 +10,13 @@ <meta name="description" content="Apache DistributedLog is an high performance replicated log. "> - <link rel="stylesheet" href="/docs/latest/styles/site.css"> - <link rel="stylesheet" href="/docs/latest/css/theme.css"> + <link rel="stylesheet" href="/distributedlog/docs/latest/styles/site.css"> + <link rel="stylesheet" href="/distributedlog/docs/latest/css/theme.css"> <!-- JQuery --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> - <script src="/docs/latest/js/bootstrap.min.js"></script> - <link rel="canonical" href="http://distributedlog.incubator.apache.org/docs/latest/deployment/cluster.html" data-proofer-ignore> - <link rel="alternate" type="application/rss+xml" title="Apache DistributedLog (incubating)" href="http://distributedlog.incubator.apache.org/docs/latest/feed.xml"> + <script src="/distributedlog/docs/latest/js/bootstrap.min.js"></script> + <link rel="canonical" href="http://distributedlog.incubator.apache.org/distributedlog/docs/latest/deployment/cluster.html" data-proofer-ignore> + <link rel="alternate" type="application/rss+xml" title="Apache DistributedLog (incubating)" href="http://distributedlog.incubator.apache.org/distributedlog/docs/latest/feed.xml"> <!-- Font Awesome --> <script src="//cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.0/anchor.min.js"></script> <!-- Google Analytics --> @@ -41,7 +41,7 @@ <div class="container"> <div class="navbar-header"> <a href="/" class="navbar-brand" > - <img alt="Brand" style="height: 28px" src="/docs/latest/images/distributedlog_logo_navbar.png"> + <img alt="Brand" style="height: 28px" src="/distributedlog/docs/latest/images/distributedlog_logo_navbar.png"> </a> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> @@ -53,23 +53,23 @@ <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <!-- Overview --> - <li><a href="/docs/latest/">V0.5.0-incubating</a></li> + <li><a href="/distributedlog/docs/latest/">V0.5.0-incubating</a></li> <!-- Concepts --> - <li><a href="/docs/latest/basics/introduction">Concepts</a></li> + <li><a href="/distributedlog/docs/latest/basics/introduction">Concepts</a></li> <!-- Quick Start --> <li> - <a href="/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Start<span class="caret"></span></a> + <a href="/distributedlog/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Start<span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li> - <a href="/docs/latest/start/building.html"> + <a href="/distributedlog/docs/latest/start/building.html"> Build DistributedLog from Source </a> </li> <li> - <a href="/docs/latest/start/download.html"> + <a href="/distributedlog/docs/latest/start/download.html"> Download Releases </a> </li> @@ -79,25 +79,25 @@ <li> - <a href="/docs/latest/start/quickstart.html"> + <a href="/distributedlog/docs/latest/start/quickstart.html"> Setup & Run Example </a> </li> <li> - <a href="/docs/latest/tutorials/basic-1.html"> + <a href="/distributedlog/docs/latest/tutorials/basic-1.html"> API - Write Records (via core library) </a> </li> <li> - <a href="/docs/latest/tutorials/basic-2.html"> + <a href="/distributedlog/docs/latest/tutorials/basic-2.html"> API - Write Records (via write proxy) </a> </li> <li> - <a href="/docs/latest/tutorials/basic-5.html"> + <a href="/distributedlog/docs/latest/tutorials/basic-5.html"> API - Read Records </a> </li> @@ -107,19 +107,19 @@ <li> - <a href="/docs/latest/deployment/cluster.html"> + <a href="/distributedlog/docs/latest/deployment/cluster.html"> Cluster Setup </a> </li> <li> - <a href="/docs/latest/deployment/global-cluster.html"> + <a href="/distributedlog/docs/latest/deployment/global-cluster.html"> Global Cluster Setup </a> </li> <li> - <a href="/docs/latest/deployment/docker.html"> + <a href="/distributedlog/docs/latest/deployment/docker.html"> Docker </a> </li> @@ -128,9 +128,9 @@ </li> <!-- API --> <li> - <a href="/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">API<span class="caret"></span></a> + <a href="/distributedlog/docs/latest/start" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">API<span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> - <li><a href="/docs/latest/api/java">Java</a></li> + <li><a href="/distributedlog/docs/latest/api/java">Java</a></li> </ul> </li> <!-- User Guide --> @@ -140,55 +140,55 @@ <li> - <a href="/docs/latest/basics/introduction.html"> + <a href="/distributedlog/docs/latest/basics/introduction.html"> Introduction </a> </li> <li> - <a href="/docs/latest/user_guide/considerations/main.html"> + <a href="/distributedlog/docs/latest/user_guide/considerations/main.html"> Considerations </a> </li> <li> - <a href="/docs/latest/user_guide/architecture/main.html"> + <a href="/distributedlog/docs/latest/user_guide/architecture/main.html"> Architecture </a> </li> <li> - <a href="/docs/latest/user_guide/api/main.html"> + <a href="/distributedlog/docs/latest/user_guide/api/main.html"> API </a> </li> <li> - <a href="/docs/latest/user_guide/configuration/main.html"> + <a href="/distributedlog/docs/latest/user_guide/configuration/main.html"> Configuration </a> </li> <li> - <a href="/docs/latest/user_guide/design/main.html"> + <a href="/distributedlog/docs/latest/user_guide/design/main.html"> Detail Design </a> </li> <li> - <a href="/docs/latest/user_guide/globalreplicatedlog/main.html"> + <a href="/distributedlog/docs/latest/user_guide/globalreplicatedlog/main.html"> Global Replicated Log </a> </li> <li> - <a href="/docs/latest/user_guide/implementation/main.html"> + <a href="/distributedlog/docs/latest/user_guide/implementation/main.html"> Implementation </a> </li> <li> - <a href="/docs/latest/user_guide/references/main.html"> + <a href="/distributedlog/docs/latest/user_guide/references/main.html"> References </a> </li> @@ -199,47 +199,47 @@ <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Admin Guide<span class="caret"></span></a> <ul class="dropdown-menu"> - <li><a href="/docs/latest/deployment/cluster">Cluster Setup</a></li> + <li><a href="/distributedlog/docs/latest/deployment/cluster">Cluster Setup</a></li> <li> - <a href="/docs/latest/admin_guide/operations.html"> + <a href="/distributedlog/docs/latest/admin_guide/operations.html"> Operations </a> </li> <li> - <a href="/docs/latest/admin_guide/performance.html"> - Performance Tuning + <a href="/distributedlog/docs/latest/admin_guide/loadtest.html"> + Load Test </a> </li> <li> - <a href="/docs/latest/admin_guide/loadtest.html"> - Load Test + <a href="/distributedlog/docs/latest/admin_guide/performance.html"> + Performance Tuning </a> </li> <li> - <a href="/docs/latest/admin_guide/hardware.html"> + <a href="/distributedlog/docs/latest/admin_guide/hardware.html"> Hardware </a> </li> <li> - <a href="/docs/latest/admin_guide/monitoring.html"> + <a href="/distributedlog/docs/latest/admin_guide/monitoring.html"> Monitoring </a> </li> <li> - <a href="/docs/latest/admin_guide/zookeeper.html"> + <a href="/distributedlog/docs/latest/admin_guide/zookeeper.html"> ZooKeeper </a> </li> <li> - <a href="/docs/latest/admin_guide/bookkeeper.html"> + <a href="/distributedlog/docs/latest/admin_guide/bookkeeper.html"> BookKeeper </a> </li> @@ -251,42 +251,42 @@ <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Tutorials<span class="caret"></span></a> <ul class="dropdown-menu"> <li class="dropdown-header"><strong>Basic</strong></li> - <li><a href="/docs/latest/tutorials/basic-1">Write Records (via Core Library)</a></li> - <li><a href="/docs/latest/tutorials/basic-2">Write Records (via Write Proxy)</a></li> - <li><a href="/docs/latest/tutorials/basic-3">Write Records to multiple streams</a></li> - <li><a href="/docs/latest/tutorials/basic-4">Atomic Write Records</a></li> - <li><a href="/docs/latest/tutorials/basic-5">Tailing Read Records</a></li> - <li><a href="/docs/latest/tutorials/basic-6">Rewind Read Records</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-1">Write Records (via Core Library)</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-2">Write Records (via Write Proxy)</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-3">Write Records to multiple streams</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-4">Atomic Write Records</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-5">Tailing Read Records</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/basic-6">Rewind Read Records</a></li> <li role="separator" class="divider"></li> <li class="dropdown-header"><strong>Messaging</strong></li> <li> - <a href="/docs/latest/tutorials/messaging-1.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-1.html"> Write records to partitioned streams </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-2.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-2.html"> Write records to multiple streams (load balancer) </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-3.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-3.html"> At-least-once Processing </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-4.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-4.html"> Exact-Once Processing </a> </li> <li> - <a href="/docs/latest/tutorials/messaging-5.html"> + <a href="/distributedlog/docs/latest/tutorials/messaging-5.html"> Implement a kafka-like pub/sub system </a> </li> @@ -296,14 +296,14 @@ <li> - <a href="/docs/latest/tutorials/replicatedstatemachines.html"> + <a href="/distributedlog/docs/latest/tutorials/replicatedstatemachines.html"> Build replicated state machines </a> </li> <li role="separator" class="divider"></li> <li class="dropdown-header"><strong>Analytics</strong></li> - <li><a href="/docs/latest/tutorials/analytics-mapreduce">Process log streams using MapReduce</a></li> + <li><a href="/distributedlog/docs/latest/tutorials/analytics-mapreduce">Process log streams using MapReduce</a></li> </ul> </li> </ul> @@ -347,14 +347,14 @@ under the License. - <li><a href="/docs/latest/admin_guide/main.html" class="">Admin Guide</a> + <li><a href="/distributedlog/docs/latest/admin_guide/main.html" class="">Admin Guide</a> <ul> <li> - <a href="/docs/latest/admin_guide/operations.html" class=""> - Operations + <a href="/distributedlog/docs/latest/deployment/cluster.html" class="active"> + Cluster Setup </a> <ul> @@ -365,8 +365,8 @@ under the License. <li> - <a href="/docs/latest/deployment/cluster.html" class="active"> - Cluster Setup + <a href="/distributedlog/docs/latest/admin_guide/operations.html" class=""> + Operations </a> <ul> @@ -377,7 +377,7 @@ under the License. <li> - <a href="/docs/latest/deployment/global-cluster.html" class=""> + <a href="/distributedlog/docs/latest/deployment/global-cluster.html" class=""> Global Cluster Setup </a> @@ -389,8 +389,8 @@ under the License. <li> - <a href="/docs/latest/admin_guide/performance.html" class=""> - Performance Tuning + <a href="/distributedlog/docs/latest/admin_guide/loadtest.html" class=""> + Load Test </a> <ul> @@ -401,8 +401,8 @@ under the License. <li> - <a href="/docs/latest/admin_guide/loadtest.html" class=""> - Load Test + <a href="/distributedlog/docs/latest/admin_guide/performance.html" class=""> + Performance Tuning </a> <ul> @@ -413,7 +413,7 @@ under the License. <li> - <a href="/docs/latest/admin_guide/hardware.html" class=""> + <a href="/distributedlog/docs/latest/admin_guide/hardware.html" class=""> Hardware </a> @@ -425,7 +425,7 @@ under the License. <li> - <a href="/docs/latest/admin_guide/monitoring.html" class=""> + <a href="/distributedlog/docs/latest/admin_guide/monitoring.html" class=""> Monitoring </a> @@ -437,7 +437,7 @@ under the License. <li> - <a href="/docs/latest/admin_guide/zookeeper.html" class=""> + <a href="/distributedlog/docs/latest/admin_guide/zookeeper.html" class=""> ZooKeeper </a> @@ -449,7 +449,7 @@ under the License. <li> - <a href="/docs/latest/admin_guide/bookkeeper.html" class=""> + <a href="/distributedlog/docs/latest/admin_guide/bookkeeper.html" class=""> BookKeeper </a> @@ -484,7 +484,7 @@ under the License. - <li><a href="/docs/latest/admin_guide/main.html">Admin Guide</a></li> + <li><a href="/distributedlog/docs/latest/admin_guide/main.html">Admin Guide</a></li> <li class="active">Cluster Setup</li> @@ -534,7 +534,7 @@ To run a cluster with DistributedLog, you need a Zookeeper cluster and a Bookkee <figure class="code"><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class="line-number">1</span> </pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>mvn clean install -DskipTests </span></code></pre></td></tr></table></div></figure><p>Or run <cite>./scripts/snapshot</cite> to build the release packages from current source. The released -packages contain the binaries for running <cite>distributedlog-service</cite>, <cite>distributedlog-benchmark</cite> +packages contain the binaries for running <cite>distributedlog-proxy-server</cite>, <cite>distributedlog-benchmark</cite> and <cite>distributedlog-tutorials</cite>.</p> <p>NOTE: we run the following instructions from distributedlog source code after running <cite>mvn clean install</cite>. And assume <cite>DL_HOME</cite> is the directory of @@ -547,7 +547,7 @@ distributedlog source.</p> zookeeper ensemble locally.</p> <p>Create a <cite>zookeeper.conf</cite> from the <cite>zookeeper.conf.template</cite>.</p> <figure class="code"><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class="line-number">1</span> -</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ cp distributedlog-service/conf/zookeeper.conf.template distributedlog-service/conf/zookeeper.conf +</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ cp distributedlog-proxy-server/conf/zookeeper.conf.template distributedlog-proxy-server/conf/zookeeper.conf </span></code></pre></td></tr></table></div></figure><p>Configure the settings in <cite>zookeeper.conf</cite>. By default, it will use <cite>/tmp/data/zookeeper</cite> for storing the zookeeper data. Let's create the data directories for zookeeper.</p> <figure class="code"><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class="line-number">1</span> @@ -557,7 +557,7 @@ the zookeeper data. Let's create the data directories for zookeeper.</p> </pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ <span class="nb">echo</span> <span class="s2">"1"</span> > /tmp/data/zookeeper/myid </span></code></pre></td></tr></table></div></figure><p>Start the zookeeper daemon using <cite>dlog-daemon.sh</cite>.</p> <figure class="code"><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class="line-number">1</span> -</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ ./distributedlog-service/bin/dlog-daemon.sh start zookeeper <span class="si">${</span><span class="nv">DL_HOME</span><span class="si">}</span>/distributedlog-service/conf/zookeeper.conf +</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ ./distributedlog-proxy-server/bin/dlog-daemon.sh start zookeeper <span class="si">${</span><span class="nv">DL_HOME</span><span class="si">}</span>/distributedlog-proxy-server/conf/zookeeper.conf </span></code></pre></td></tr></table></div></figure><p>You could verify the zookeeper setup using <cite>zkshell</cite>.</p> <figure class="code"><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class="line-number">1</span> <span class="line-number">2</span> @@ -571,8 +571,8 @@ the zookeeper data. Let's create the data directories for zookeeper.</p> <span class="line-number">10</span> <span class="line-number">11</span> <span class="line-number">12</span> -</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>// ./distributedlog-service/bin/dlog zkshell <span class="si">${</span><span class="nv">zkservers</span><span class="si">}</span> -</span><span class="line">$ ./distributedlog-service/bin/dlog zkshell localhost:2181 +</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>// ./distributedlog-proxy-server/bin/dlog zkshell <span class="si">${</span><span class="nv">zkservers</span><span class="si">}</span> +</span><span class="line">$ ./distributedlog-proxy-server/bin/dlog zkshell localhost:2181 </span><span class="line">Connecting to localhost:2181 </span><span class="line">Welcome to ZooKeeper! </span><span class="line">JLine support is enabled @@ -595,9 +595,9 @@ bookkeeper cluster locally. Let's make three copies of <cite>bookie.conf.templat <figure class="code"><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class="line-number">1</span> <span class="line-number">2</span> <span class="line-number">3</span> -</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ cp distributedlog-service/conf/bookie.conf.template distributedlog-service/conf/bookie-1.conf -</span><span class="line">$ cp distributedlog-service/conf/bookie.conf.template distributedlog-service/conf/bookie-2.conf -</span><span class="line">$ cp distributedlog-service/conf/bookie.conf.template distributedlog-service/conf/bookie-3.conf +</pre></td><td class="code"><pre><code class="bash"><span class="line"><span></span>$ cp distributedlog-proxy-server/conf/bookie.conf.template distributedlog-proxy-server/conf/bookie-1.conf +</span><span class="line">$ cp distributedlog-proxy-server/conf/bookie.conf.template distributedlog-proxy-server/conf/bookie-2.conf +</span><span class="line">$ cp distributedlog-proxy-server/conf/bookie.conf.template distributedlog-proxy-server/conf/bookie-3.conf </span></code></pre></td></tr></table></div></figure><p>Configure the settings in the bookie configuraiont files.</p> <p>First of all, choose the zookeeper cluster that the bookies will use and set <cite>zkServers</cite> in the configuration files.</p> @@ -615,7 +615,7 @@ zkLedgersRootPath=/messaging/bookkeeper/ledgers <p>The bookkeeper shell doesn't automatically create the <cite>zkLedgersRootPath</cite> when running <cite>metaformat</cite>. So using <cite>zkshell</cite> to create the <cite>zkLedgersRootPath</cite>.</p> <pre class="literal-block"> -$ ./distributedlog-service/bin/dlog zkshell localhost:2181 +$ ./distributedlog-proxy-server/bin/dlog zkshell localhost:2181 Connecting to localhost:2181 Welcome to ZooKeeper! JLine support is enabled @@ -633,7 +633,7 @@ Created /messaging/bookkeeper/ledgers </pre> <p>If the <cite>zkLedgersRootPath</cite>, run <cite>metaformat</cite> to format the bookkeeper metadata.</p> <pre class="literal-block"> -$ BOOKIE_CONF=${DL_HOME}/distributedlog-service/conf/bookie-1.conf ./distributedlog-service/bin/dlog bkshell metaformat +$ BOOKIE_CONF=${DL_HOME}/distributedlog-proxy-server/conf/bookie-1.conf ./distributedlog-proxy-server/bin/dlog bkshell metaformat Are you sure to format bookkeeper metadata ? (Y or N) Y </pre> </div> @@ -710,23 +710,23 @@ indexDirectories=/tmp/data/bk-3/ledgers <p>Once the disk directories are configured correctly in the configuration file, use <cite>bkshell bookieformat</cite> to format the bookie.</p> <pre class="literal-block"> -BOOKIE_CONF=${DL_HOME}/distributedlog-service/conf/bookie-1.conf ./distributedlog-service/bin/dlog bkshell bookieformat -BOOKIE_CONF=${DL_HOME}/distributedlog-service/conf/bookie-2.conf ./distributedlog-service/bin/dlog bkshell bookieformat -BOOKIE_CONF=${DL_HOME}/distributedlog-service/conf/bookie-3.conf ./distributedlog-service/bin/dlog bkshell bookieformat +BOOKIE_CONF=${DL_HOME}/distributedlog-proxy-server/conf/bookie-1.conf ./distributedlog-proxy-server/bin/dlog bkshell bookieformat +BOOKIE_CONF=${DL_HOME}/distributedlog-proxy-server/conf/bookie-2.conf ./distributedlog-proxy-server/bin/dlog bkshell bookieformat +BOOKIE_CONF=${DL_HOME}/distributedlog-proxy-server/conf/bookie-3.conf ./distributedlog-proxy-server/bin/dlog bkshell bookieformat </pre> </div> <div class="section" id="start-bookie"> <h5><a class="toc-backref" href="#id10">Start bookie</a></h5> <p>Start the bookie using <cite>dlog-daemon.sh</cite>.</p> <pre class="literal-block"> -SERVICE_PORT=3181 ./distributedlog-service/bin/dlog-daemon.sh start bookie --conf ${DL_HOME}/distributedlog-service/conf/bookie-1.conf -SERVICE_PORT=3182 ./distributedlog-service/bin/dlog-daemon.sh start bookie --conf ${DL_HOME}/distributedlog-service/conf/bookie-2.conf -SERVICE_PORT=3183 ./distributedlog-service/bin/dlog-daemon.sh start bookie --conf ${DL_HOME}/distributedlog-service/conf/bookie-3.conf +SERVICE_PORT=3181 ./distributedlog-proxy-server/bin/dlog-daemon.sh start bookie --conf ${DL_HOME}/distributedlog-proxy-server/conf/bookie-1.conf +SERVICE_PORT=3182 ./distributedlog-proxy-server/bin/dlog-daemon.sh start bookie --conf ${DL_HOME}/distributedlog-proxy-server/conf/bookie-2.conf +SERVICE_PORT=3183 ./distributedlog-proxy-server/bin/dlog-daemon.sh start bookie --conf ${DL_HOME}/distributedlog-proxy-server/conf/bookie-3.conf </pre> <p>Verify whether the bookie is setup correctly. You could simply check whether the bookie is showed up in zookeeper <cite>zkLedgersRootPath</cite>/available znode.</p> <pre class="literal-block"> -$ ./distributedlog-service/bin/dlog zkshell localhost:2181 +$ ./distributedlog-proxy-server/bin/dlog zkshell localhost:2181 Connecting to localhost:2181 Welcome to ZooKeeper! JLine support is enabled @@ -751,9 +751,9 @@ curl localhost:9001/metrics?pretty=true <h5><a class="toc-backref" href="#id11">Stop bookie</a></h5> <p>Stop the bookie using <cite>dlog-daemon.sh</cite>.</p> <pre class="literal-block"> -$ ./distributedlog-service/bin/dlog-daemon.sh stop bookie +$ ./distributedlog-proxy-server/bin/dlog-daemon.sh stop bookie // Example: -$ SERVICE_PORT=3181 ./distributedlog-service/bin/dlog-daemon.sh stop bookie +$ SERVICE_PORT=3181 ./distributedlog-proxy-server/bin/dlog-daemon.sh stop bookie doing stop bookie ... stopping bookie Shutdown is in progress... Please wait... @@ -764,11 +764,11 @@ Shutdown completed. <h5><a class="toc-backref" href="#id12">Turn bookie to readonly</a></h5> <p>Start the bookie in <cite>readonly</cite> mode.</p> <pre class="literal-block"> -$ SERVICE_PORT=3181 ./distributedlog-service/bin/dlog-daemon.sh start bookie --conf ${DL_HOME}/distributedlog-service/conf/bookie-1.conf --readonly +$ SERVICE_PORT=3181 ./distributedlog-proxy-server/bin/dlog-daemon.sh start bookie --conf ${DL_HOME}/distributedlog-proxy-server/conf/bookie-1.conf --readonly </pre> <p>Verify if the bookie is running in <cite>readonly</cite> mode.</p> <pre class="literal-block"> -$ ./distributedlog-service/bin/dlog zkshell localhost:2181 +$ ./distributedlog-proxy-server/bin/dlog zkshell localhost:2181 Connecting to localhost:2181 Welcome to ZooKeeper! JLine support is enabled @@ -810,7 +810,7 @@ only affects streams under <cite>distributedlog://<zkservers>/messaging/di <cite>distributedlog://127.0.0.1:2181/messaging/distributedlog/mynamespace</cite> pointing to the bookkeeper cluster we just created above.</p> <pre class="literal-block"> -$ distributedlog-service/bin/dlog admin bind \\ +$ distributedlog-proxy-server/bin/dlog admin bind \\ -dlzr 127.0.0.1:2181 \\ -dlzw 127.0.0.1:2181 \\ -s 127.0.0.1:2181 \\ @@ -847,13 +847,13 @@ mostly stateless and can be run as many as you can.</p> <p>Different from bookkeeper, DistributedLog tries not to configure any environment related settings in configuration files. Any environment related settings are stored and configured via <cite>namespace binding</cite>. The configuration file should contain non-environment related settings.</p> -<p>There is a <cite>write_proxy.conf</cite> template file available under <cite>distributedlog-service</cite> module.</p> +<p>There is a <cite>write_proxy.conf</cite> template file available under <cite>distributedlog-proxy-server</cite> module.</p> </div> <div class="section" id="run-write-proxy"> <h4><a class="toc-backref" href="#id16">Run write proxy</a></h4> -<p>A write proxy could be started using <cite>dlog-daemon.sh</cite> script under <cite>distributedlog-service</cite>.</p> +<p>A write proxy could be started using <cite>dlog-daemon.sh</cite> script under <cite>distributedlog-proxy-server</cite>.</p> <pre class="literal-block"> -WP_SHARD_ID=${WP_SHARD_ID} WP_SERVICE_PORT=${WP_SERVICE_PORT} WP_STATS_PORT=${WP_STATS_PORT} ./distributedlog-service/bin/dlog-daemon.sh start writeproxy +WP_SHARD_ID=${WP_SHARD_ID} WP_SERVICE_PORT=${WP_SERVICE_PORT} WP_STATS_PORT=${WP_STATS_PORT} ./distributedlog-proxy-server/bin/dlog-daemon.sh start writeproxy </pre> <ul class="simple"> <li><cite>WP_SHARD_ID</cite>: A non-negative integer. You don't need to guarantee uniqueness of shard id, as it is just an @@ -862,21 +862,21 @@ like <cite>aurora</cite>, you could easily obtain a shard id and use that to con <li><cite>WP_SERVICE_PORT</cite>: The port that write proxy listens on.</li> <li><cite>WP_STATS_PORT</cite>: The port that write proxy exposes stats to a http endpoint.</li> </ul> -<p>Please check <cite>distributedlog-service/conf/dlogenv.sh</cite> for more environment variables on configuring write proxy.</p> +<p>Please check <cite>distributedlog-proxy-server/conf/dlogenv.sh</cite> for more environment variables on configuring write proxy.</p> <ul class="simple"> <li><cite>WP_CONF_FILE</cite>: The path to the write proxy configuration file.</li> <li><cite>WP_NAMESPACE</cite>: The distributedlog namespace that the write proxy is serving for.</li> </ul> <p>For example, we start 3 write proxies locally and point to the namespace created above.</p> <pre class="literal-block"> -$ WP_SHARD_ID=1 WP_SERVICE_PORT=4181 WP_STATS_PORT=20001 ./distributedlog-service/bin/dlog-daemon.sh start writeproxy -$ WP_SHARD_ID=2 WP_SERVICE_PORT=4182 WP_STATS_PORT=20002 ./distributedlog-service/bin/dlog-daemon.sh start writeproxy -$ WP_SHARD_ID=3 WP_SERVICE_PORT=4183 WP_STATS_PORT=20003 ./distributedlog-service/bin/dlog-daemon.sh start writeproxy +$ WP_SHARD_ID=1 WP_SERVICE_PORT=4181 WP_STATS_PORT=20001 ./distributedlog-proxy-server/bin/dlog-daemon.sh start writeproxy +$ WP_SHARD_ID=2 WP_SERVICE_PORT=4182 WP_STATS_PORT=20002 ./distributedlog-proxy-server/bin/dlog-daemon.sh start writeproxy +$ WP_SHARD_ID=3 WP_SERVICE_PORT=4183 WP_STATS_PORT=20003 ./distributedlog-proxy-server/bin/dlog-daemon.sh start writeproxy </pre> <p>The write proxy will announce itself to the zookeeper path <cite>.write_proxy</cite> under the dl namespace path.</p> <p>We could verify that the write proxy is running correctly by checking the zookeeper path or checking its stats port.</p> <pre class="literal-block"> -$ ./distributedlog-service/bin/dlog zkshell localhost:2181 +$ ./distributedlog-proxy-server/bin/dlog zkshell localhost:2181 Connecting to localhost:2181 Welcome to ZooKeeper! JLine support is enabled @@ -896,7 +896,7 @@ pong <h4><a class="toc-backref" href="#id17">Add and Remove Write Proxies</a></h4> <p>Removing a write proxy is pretty straightforward by just killing the process.</p> <pre class="literal-block"> -WP_SHARD_ID=1 WP_SERVICE_PORT=4181 WP_STATS_PORT=10001 ./distributedlog-service/bin/dlog-daemon.sh stop writeproxy +WP_SHARD_ID=1 WP_SERVICE_PORT=4181 WP_STATS_PORT=10001 ./distributedlog-proxy-server/bin/dlog-daemon.sh stop writeproxy </pre> <p>Adding a new write proxy is just adding a new host and starting the write proxy process as described above.</p> @@ -911,7 +911,7 @@ the dl namespace. So you could use uri in the distributedlog client builder to a <p>You could verify the write proxy cluster by running tutorials over the setup cluster.</p> <p>Create 10 streams.</p> <pre class="literal-block"> -$ ./distributedlog-service/bin/dlog tool create -u distributedlog://127.0.0.1:2181/messaging/distributedlog/mynamespace -r stream- -e 0-10 +$ ./distributedlog-proxy-server/bin/dlog tool create -u distributedlog://127.0.0.1:2181/messaging/distributedlog/mynamespace -r stream- -e 0-10 You are going to create streams : [stream-0, stream-1, stream-2, stream-3, stream-4, stream-5, stream-6, stream-7, stream-8, stream-9, stream-10] (Y or N) Y </pre> <p>Tail read from the 10 streams.</p> @@ -978,7 +978,7 @@ record-1464085079130 <a href="http://www.apache.org">The Apache Software Foundation.</a> All Rights Reserved. </p> <p class="text-center"> - <a href="/docs/latest/feed.xml">RSS Feed</a> + <a href="/distributedlog/docs/latest/feed.xml">RSS Feed</a> </p> </footer> </div>