http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/5f289f89/docs/latest/start/download.html ---------------------------------------------------------------------- diff --git a/docs/latest/start/download.html b/docs/latest/start/download.html index bb34509..d2df57a 100644 --- a/docs/latest/start/download.html +++ b/docs/latest/start/download.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/start/download.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/start/download.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> @@ -360,7 +360,7 @@ under the License. <p>This is the first Apache release. Download <a class="reference external" href="https://dist.apache.org/repos/dist/release/incubator/distributedlog/0.4.0-incubating">here</a>.</p> <ul class="simple"> <li><a class="reference external" href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12320620&version=12337980">Release Notes</a></li> -<li><a class="reference external" href="/releases/2017/04/25/the-first-release.html">Announce Blog Post</a></li> +<li><a class="reference external" href="/releases/2017/04/23/the-first-release.html">Announce Blog Post</a></li> </ul> <p>The releases before Apache Incubating are also listed as below:</p> </div> @@ -420,6 +420,56 @@ under the License. <span class="line-number">12</span> </pre></td><td class="code"><pre><code class="xml"><span class="line"><span></span><span class="c"><!-- use core library to access DL storage --></span> </span><span class="line"><span class="nt"><dependency></span> +</span><span class="line"> <span class="nt"><groupId></span>org.apache.distributedlog<span class="nt"></groupId></span> +</span><span class="line"> <span class="nt"><artifactId></span>distributedlog-core_2.11<span class="nt"></artifactId></span> +</span><span class="line"> <span class="nt"><version></version></span> +</span><span class="line"><span class="nt"></dependency></span> +</span><span class="line"><span class="c"><!-- use thin proxy client to access DL via write proxy --></span> +</span><span class="line"><span class="nt"><dependency></span> +</span><span class="line"> <span class="nt"><groupId></span>org.apache.distributedlog<span class="nt"></groupId></span> +</span><span class="line"> <span class="nt"><artifactId></span>distributedlog-proxy-client_2.11<span class="nt"></artifactId></span> +</span><span class="line"> <span class="nt"><version></version></span> +</span><span class="line"><span class="nt"></dependency></span> +</span></code></pre></td></tr></table></div></figure><p>Version: 0.4.0 (the package is repackaged from com.twitter to org.apache.distributedlog)</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> +<span class="line-number">3</span> +<span class="line-number">4</span> +<span class="line-number">5</span> +<span class="line-number">6</span> +<span class="line-number">7</span> +<span class="line-number">8</span> +<span class="line-number">9</span> +<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="xml"><span class="line"><span></span><span class="c"><!-- use core library to access DL storage --></span> +</span><span class="line"><span class="nt"><dependency></span> +</span><span class="line"> <span class="nt"><groupId></span>org.apache.distributedlog<span class="nt"></groupId></span> +</span><span class="line"> <span class="nt"><artifactId></span>distributedlog-core_2.11<span class="nt"></artifactId></span> +</span><span class="line"> <span class="nt"><version></version></span> +</span><span class="line"><span class="nt"></dependency></span> +</span><span class="line"><span class="c"><!-- use thin proxy client to access DL via write proxy --></span> +</span><span class="line"><span class="nt"><dependency></span> +</span><span class="line"> <span class="nt"><groupId></span>org.apache.distributedlog<span class="nt"></groupId></span> +</span><span class="line"> <span class="nt"><artifactId></span>distributedlog-client_2.11<span class="nt"></artifactId></span> +</span><span class="line"> <span class="nt"><version></version></span> +</span><span class="line"><span class="nt"></dependency></span> +</span></code></pre></td></tr></table></div></figure><p>Version: 0.3.x</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> +<span class="line-number">3</span> +<span class="line-number">4</span> +<span class="line-number">5</span> +<span class="line-number">6</span> +<span class="line-number">7</span> +<span class="line-number">8</span> +<span class="line-number">9</span> +<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="xml"><span class="line"><span></span><span class="c"><!-- use core library to access DL storage --></span> +</span><span class="line"><span class="nt"><dependency></span> </span><span class="line"> <span class="nt"><groupId></span>com.twitter<span class="nt"></groupId></span> </span><span class="line"> <span class="nt"><artifactId></span>distributedlog-core_2.11<span class="nt"></artifactId></span> </span><span class="line"> <span class="nt"><version></version></span> @@ -448,7 +498,7 @@ under the License. <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/start/quickstart.html ---------------------------------------------------------------------- diff --git a/docs/latest/start/quickstart.html b/docs/latest/start/quickstart.html index 66d9125..5f22cf0 100644 --- a/docs/latest/start/quickstart.html +++ b/docs/latest/start/quickstart.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/start/quickstart.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/start/quickstart.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> @@ -371,11 +371,11 @@ for more details on how to deploy a production cluster.</p> <h3><a class="toc-backref" href="#id3">Step 2: Start ZooKeeper & BookKeeper</a></h3> <p>DistributedLog uses <cite>ZooKeeper</cite> as the metadata store and <cite>BookKeeper</cite> as the log segment store. So you need to first start a zookeeper server and a few bookies if you don't already have one. You can -use the <cite>dlog</cite> script in <cite>distributedlog-service</cite> package to get a standalone bookkeeper sandbox. It +use the <cite>dlog</cite> script in <cite>distributedlog-proxy-server</cite> package to get a standalone bookkeeper sandbox. It starts a zookeeper server and <cite>N</cite> bookies (N is 3 by default).</p> <pre class="literal-block"> // Start the local sandbox instance at port `7000` -> ./distributedlog-service/bin/dlog local 7000 +> ./distributedlog-proxy-server/bin/dlog local 7000 DistributedLog Sandbox is running now. You could access distributedlog://127.0.0.1:7000 </pre> </div> @@ -385,7 +385,7 @@ DistributedLog Sandbox is running now. You could access distributedlog://127.0.0 streams. The zkServer for the local sandbox is <cite>127.0.0.1:7000</cite> and the bookkeeper's ledgers path is <cite>/ledgers</cite>. You could create a namespace pointing to the corresponding bookkeeper cluster.</p> <pre class="literal-block"> -> ./distributedlog-service/bin/dlog admin bind -l /ledgers -s 127.0.0.1:7000 -c distributedlog://127.0.0.1:7000/messaging/my_namespace +> ./distributedlog-proxy-server/bin/dlog admin bind -l /ledgers -s 127.0.0.1:7000 -c distributedlog://127.0.0.1:7000/messaging/my_namespace No bookkeeper is bound to distributedlog://127.0.0.1:7000/messaging/my_namespace Created binding on distributedlog://127.0.0.1:7000/messaging/my_namespace. </pre> @@ -395,11 +395,11 @@ Created binding on distributedlog://127.0.0.1:7000/messaging/my_namespace. <h3><a class="toc-backref" href="#id5">Step 4: Create some log streams</a></h3> <p>Let's create 5 log streams, prefixed with <cite>messaging-stream-</cite>.</p> <pre class="literal-block"> -> ./distributedlog-service/bin/dlog tool create -u distributedlog://127.0.0.1:7000/messaging/my_namespace -r messaging-stream- -e 1-5 +> ./distributedlog-proxy-server/bin/dlog tool create -u distributedlog://127.0.0.1:7000/messaging/my_namespace -r messaging-stream- -e 1-5 </pre> <p>We can now see the streams if we run the <cite>list</cite> command from the tool.</p> <pre class="literal-block"> -> ./distributedlog-service/bin/dlog tool list -u distributedlog://127.0.0.1:7000/messaging/my_namespace +> ./distributedlog-proxy-server/bin/dlog tool list -u distributedlog://127.0.0.1:7000/messaging/my_namespace Streams under distributedlog://127.0.0.1:7000/messaging/my_namespace : -------------------------------- messaging-stream-1 @@ -414,11 +414,11 @@ messaging-stream-5 <h3><a class="toc-backref" href="#id6">Step 5: Start a write proxy</a></h3> <p>Now, lets start a write proxy server that serves writes to distributedlog namespace <cite>distributedlog://127.0.0.1/messaging/my_namespace</cite>. The server listens on 8000 to accept fan-in write requests.</p> <pre class="literal-block"> -> ./distributedlog-service/bin/dlog-daemon.sh start writeproxy -p 8000 --shard-id 1 -sp 8001 -u distributedlog://127.0.0.1:7000/messaging/my_namespace -mx -c `pwd`/distributedlog-service/conf/distributedlog_proxy.conf +> ./distributedlog-proxy-server/bin/dlog-daemon.sh start writeproxy -p 8000 --shard-id 1 -sp 8001 -u distributedlog://127.0.0.1:7000/messaging/my_namespace -mx -c `pwd`/distributedlog-proxy-server/conf/distributedlog_proxy.conf </pre> <p>From 0.3.51-RC1 and onwards, use the below command to start the write proxy</p> <pre class="literal-block"> -> WP_SHARD_ID=1 WP_SERVICE_PORT=8000 WP_STATS_PORT=8001 WP_NAMESPACE='distributedlog://127.0.0.1:7000/messaging/my_namespace' ./distributedlog-service/bin/dlog-daemon.sh start writeproxy +> WP_SHARD_ID=1 WP_SERVICE_PORT=8000 WP_STATS_PORT=8001 WP_NAMESPACE='distributedlog://127.0.0.1:7000/messaging/my_namespace' ./distributedlog-proxy-server/bin/dlog-daemon.sh start writeproxy </pre> </div> <div class="section" id="step-6-tail-reading-records"> @@ -456,7 +456,7 @@ as records to the distributedlog write proxy. Each line will be sent as a separa <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/tutorials/analytics-mapreduce.html ---------------------------------------------------------------------- diff --git a/docs/latest/tutorials/analytics-mapreduce.html b/docs/latest/tutorials/analytics-mapreduce.html index f2d073c..117750c 100644 --- a/docs/latest/tutorials/analytics-mapreduce.html +++ b/docs/latest/tutorials/analytics-mapreduce.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/tutorials/analytics-mapreduce.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/tutorials/analytics-mapreduce.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> @@ -547,7 +547,7 @@ implement distributedlog's InputFormat. Please check out the <a class="reference <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/tutorials/basic-1.html ---------------------------------------------------------------------- diff --git a/docs/latest/tutorials/basic-1.html b/docs/latest/tutorials/basic-1.html index 89b5e82..93a4352 100644 --- a/docs/latest/tutorials/basic-1.html +++ b/docs/latest/tutorials/basic-1.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/tutorials/basic-1.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/tutorials/basic-1.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> @@ -590,7 +590,7 @@ Exception in thread "main" org.apache.distributedlog.exceptions.Owners <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/tutorials/basic-2.html ---------------------------------------------------------------------- diff --git a/docs/latest/tutorials/basic-2.html b/docs/latest/tutorials/basic-2.html index 6d6403f..9221899 100644 --- a/docs/latest/tutorials/basic-2.html +++ b/docs/latest/tutorials/basic-2.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/tutorials/basic-2.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/tutorials/basic-2.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> @@ -458,7 +458,7 @@ distributedlog uri <em>distributedlog://127.0.0.1:7000/messaging/distributedlog< <p>Start the write proxy, listening on port 8000.</p> <pre class="literal-block"> // DistributedLogServerApp -p ${service-port} --shard-id ${shard-id} -sp ${stats-port} -u {distributedlog-uri} -mx -c ${conf-file} -./distributedlog-service/bin/dlog org.apache.distributedlog.service.DistributedLogServerApp -p 8000 --shard-id 1 -sp 8001 -u distributedlog://127.0.0.1:7000/messaging/distributedlog -mx -c ${distributedlog-repo}/distributedlog-service/conf/distributedlog_proxy.conf +./distributedlog-proxy-server/bin/dlog org.apache.distributedlog.service.DistributedLogServerApp -p 8000 --shard-id 1 -sp 8001 -u distributedlog://127.0.0.1:7000/messaging/distributedlog -mx -c ${distributedlog-repo}/distributedlog-proxy-server/conf/distributedlog_proxy.conf </pre> </div> <div class="section" id="create-the-stream"> @@ -558,7 +558,7 @@ May 08, 2016 10:31:54 AM com.twitter.finagle.Init$$anonfun$1 apply$mcV$sp <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>