accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r951681 [3/9] - in /websites/staging/accumulo/trunk/content: ./ 1.7/ 1.7/examples/
Date Mon, 18 May 2015 04:27:54 GMT
Added: websites/staging/accumulo/trunk/content/1.7/examples/batch.html
==============================================================================
--- websites/staging/accumulo/trunk/content/1.7/examples/batch.html (added)
+++ websites/staging/accumulo/trunk/content/1.7/examples/batch.html Mon May 18 04:27:53 2015
@@ -0,0 +1,271 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+  <link href="/css/bootstrap.min.css" rel="stylesheet">
+  <link href="/css/bootstrap-theme.min.css" rel="stylesheet">
+  <link href="/css/dataTables.bootstrap.css" rel="stylesheet">
+  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+  <!--[if lt IE 9]>
+    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
+  <![endif]-->
+  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
+  <script src="/js/bootstrap.min.js"></script>
+  <script src="/js/jquery.dataTables.min.js"></script>
+  <script src="/js/dataTables.bootstrap.js"></script>
+  <link href="/css/accumulo.css" rel="stylesheet" type="text/css">
+  <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
+  <title>Apache Accumulo Batch Writing and Scanning Example</title>
+  
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-50934829-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+</head>
+
+<body>
+<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+<div class="container-fluid">
+  <div class="navbar-header">
+    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-items">
+      <span class="sr-only">Toggle navigation</span>
+      <span class="icon-bar"></span>
+      <span class="icon-bar"></span>
+      <span class="icon-bar"></span>
+    </button>
+    <a class="navbar-brand" href="/index.html">Accumulo</a>
+  </div>
+  <div class="collapse navbar-collapse" id="navbar-items">
+  <ul class="nav navbar-nav">
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Project <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li id="nav_index"><a href="/index.html">Home</a></li>
+<li id="nav_downloads"><a href="/downloads">Downloads</a></li>
+<li id="nav_features"><a href="/notable_features.html">Features</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0"><i class="fa fa-external-link"></i> License</a></li>
+</ul>
+</li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Community <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li id="nav_getinvolved"><a href="/get_involved.html">Get Involved</a></li>
+<li id="nav_mailinglists"><a href="/mailing_list.html">Mailing Lists</a></li>
+<li id="nav_people"><a href="/people.html">People</a></li>
+<li id="nav_blog"><a href="https://blogs.apache.org/accumulo/">Blog</a></li>
+<li class="divider"></li>
+<li class="dropdown-header">Governance</li>
+<li id="nav_bylaws"><a href="/bylaws.html">Bylaws</a></li>
+<li id="nav_consensusbuilding"><a href="/governance/consensusBuilding.html">Consensus Building</a></li>
+<li id="nav_lazyconsensus"><a href="/governance/lazyConsensus.html">Lazy Consensus</a></li>
+<li id="nav_releasing"><a href="/governance/releasing.html">Releasing</a></li>
+<li id="nav_voting"><a href="/governance/voting.html">Voting</a></li>
+</ul>
+</li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Development <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li id="nav_source"><a href="/source.html">Source &amp; Guide</a></li>
+<li id="nav_git"><a href="/git.html">Git Workflow</a></li>
+<li id="nav_versioning"><a href="/versioning.html">Versioning</a></li>
+<li id="nav_contrib"><a href="/contrib.html">Contrib Projects</a></li>
+<li id="nav_rb"><a href="/rb.html">Review Board</a></li>
+<li id="nav_releasing"><a href="/releasing.html">Making Releases</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo"><i class="fa fa-external-link"></i> Issues</a></li>
+<li><a href="https://builds.apache.org/view/A-D/view/Accumulo/"><i class="fa fa-external-link"></i> Builds</a></li>
+</ul>
+</li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Documentation <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li class="dropdown-header">Manual</li>
+<li><a href="/1.5/accumulo_user_manual.html">1.5</a></li>
+<li><a href="/1.6/accumulo_user_manual.html">1.6</a></li>
+<li class="divider"></li>
+<li class="dropdown-header">Javadoc</li>
+<li><a href="/1.5/apidocs">1.5</a></li>
+<li><a href="/1.6/apidocs">1.6</a></li>
+<li class="divider"></li>
+<li class="dropdown-header">Examples</li>
+<li id="nav_examples_1_5"><a href="/1.5/examples">1.5</a></li>
+<li id="nav_examples_1_6"><a href="/1.6/examples">1.6</a></li>
+<li class="divider"></li>
+<li id="old_documentation"><a href="/old_documentation.html">Docs for Older Verisons</a></li>
+<li id="nav_screenshots"><a href="/screenshots.html">Screenshots</a></li>
+<li id="nav_papers"><a href="/papers.html">Papers &amp; Other Links</a></li>
+<li id="nav_glossary"><a href="/glossary.html">Glossary</a></li>
+</ul>
+</li>
+	<li class="dropdown">
+	  <a class="dropdown-toggle" data-toggle="dropdown" href="#">Release Notes <span class="caret"></span></a>
+      <ul class="dropdown-menu">
+		  <li><a href="/release_notes/1.7.0.html">1.7.0</a></li>
+          <li class="divider"></li>
+		  <li><a href="/release_notes/1.6.2.html">1.6.2</a></li>
+		  <li><a href="/release_notes/1.6.1.html">1.6.1</a></li>
+          <li class="divider"></li>
+		  <li><a href="/release_notes/1.5.2.html">1.5.2</a></li>
+		  <li><a href="/release_notes/1.5.1.html">1.5.1</a></li>
+          <li class="divider"></li>
+		  <li><a href="/release_notes/">Archives</a></li>
+		</ul>
+    </li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        ASF Links <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li><a href="http://www.apache.org"><i class="fa fa-external-link"></i> Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html"><i class="fa fa-external-link"></i> Sponsorship</a></li>
+<li><a href="http://www.apache.org/security/"><i class="fa fa-external-link"></i> Security</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html"><i class="fa fa-external-link"></i> Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/policies/conduct.html"><i class="fa fa-external-link"></i> Code of Conduct</a></li>
+</ul>
+</li>
+</ul>
+
+<form method="GET" action="http://search-hadoop.com/" class="navbar-form navbar-right" role="search">
+  <div class="form-group">
+    <input type="text" name="q" class="form-control" placeholder="Search"/>
+    <input type="hidden" name="fc_project" value="Accumulo"/>
+  </div>
+  <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
+</form>
+  </div>
+
+</div>
+</nav>
+
+
+<div class="container-fluid">
+<div class="row">
+  <div class="col-md-2" id="sidebar">
+  <div style="text-align: center">
+    <a href="/index.html"><img id="logo" alt="Apache Accumulo &trade;" class="img-responsive" src="/images/accumulo-logo.png"/></a>
+    <br>
+Latest 1.6 release: <strong>1.6.2</strong><br>
+Latest 1.5 release: <strong>1.5.2</strong><br>
+    <br>
+    <a id="download-button-sidebar" class="btn btn-success btn-block" href="/downloads/" role="button">Download</a>
+  </div>
+    <hr>
+<table class="table" id="sociallinks">
+<tr><td><img src="/images/Twitter_logo_blue.png" style="height: 1em"></td><td><a href="https://twitter.com/apacheaccumulo">@ApacheAccumulo</a></td></tr>
+<tr><td><img src="/images/InBug-16px_0.png"></td><td><a href="https://www.linkedin.com/groups/Apache-Accumulo-Professionals-4554913">Apache Accumulo Professionals</a></td></tr>
+<tr><td><img src="/images/GitHub-Mark-32px.png" style="height: 1em"></td><td><a href="https://github.com/apache/accumulo">apache / accumulo</a></td></tr>
+<tr><td><span class="glyphicon glyphicon-comment"></span></td><td><a href="irc://chat.freenode.net/accumulo">#accumulo @ freenode</a></td></tr>
+<tr><td><img src="/favicon.png" width="16" /></td><td><a href="http://blogs.apache.org/accumulo">Apache Accumulo Blog</a></td></tr>
+</table>
+<hr>
+<a id="accumulo-summit-logo" href="http://accumulosummit.com/"><img alt="Accumulo Summit" class="img-responsive" src="/images/accumulo-summit.png"></a>
+  </div>
+  <div class="col-md-8 col-md-offset-1">
+<!--
+  <div id="bannertext">
+    <img id="logo" alt="Apache Accumulo &trade;" src="/images/accumulo-logo.png"/>
+  </div>
+-->
+
+  <div id="content">
+
+    <h1 class="title">Apache Accumulo Batch Writing and Scanning Example</h1>
+
+    <p>This tutorial uses the following Java classes, which can be found in org.apache.accumulo.examples.simple.client in the examples-simple module:</p>
+<ul>
+<li>SequentialBatchWriter.java - writes mutations with sequential rows and random values</li>
+<li>RandomBatchWriter.java - used by SequentialBatchWriter to generate random values</li>
+<li>RandomBatchScanner.java - reads random rows and verifies their values</li>
+</ul>
+<p>This is an example of how to use the batch writer and batch scanner. To compile
+the example, run maven and copy the produced jar into the accumulo lib dir.
+This is already done in the tar distribution.</p>
+<p>Below are commands that add 10000 entries to accumulo and then do 100 random
+queries. The write command generates random 50 byte values.</p>
+<p>Be sure to use the name of your instance (given as instance here) and the appropriate
+list of zookeeper nodes (given as zookeepers here).</p>
+<p>Before you run this, you must ensure that the user you are running has the
+"exampleVis" authorization. (you can set this in the shell with "setauths -u username -s exampleVis")</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">root</span> <span class="o">-</span><span class="n">e</span> &quot;<span class="n">setauths</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">s</span> <span class="n">exampleVis</span>&quot;
+</pre></div>
+
+
+<p>You must also create the table, batchtest1, ahead of time. (In the shell, use "createtable batchtest1")</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">e</span> &quot;<span class="n">createtable</span> <span class="n">batchtest1</span>&quot;
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">SequentialBatchWriter</span> <span class="o">-</span><span class="nb">i</span> <span class="n">instance</span> <span class="o">-</span><span class="n">z</span> <span class="n">zookeepers</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">t</span> <span class="n">batchtest1</span> <span class="o">--</span><span class="n">start</span> 0 <span class="o">--</span><span class="n">num</span> 10000 
 <span class="o">--</span><span class="nb">size</span> 50 <span class="o">--</span><span class="n">batchMemory</span> 20<span class="n">M</span> <span class="o">--</span><span class="n">batchLatency</span> 500 <span class="o">--</span><span class="n">batchThreads</span> 20 <span class="o">--</span><span class="n">vis</span> <span class="n">exampleVis</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchScanner</span> <span class="o">-</span><span class="nb">i</span> <span class="n">instance</span> <span class="o">-</span><span class="n">z</span> <span class="n">zookeepers</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">t</span> <span class="n">batchtest1</span> <span class="o">--</span><span class="n">num</span> 100 <span class="o">--</span><span class="n">min</span> 0 <span c
 lass="o">--</span><span class="n">max</span> 10000 <span class="o">--</span><span class="nb">size</span> 50 <span class="o">--</span><span class="n">scanThreads</span> 20 <span class="o">--</span><span class="n">auths</span> <span class="n">exampleVis</span>
+07 11<span class="p">:</span>33<span class="p">:</span>11<span class="p">,</span>103 <span class="p">[</span><span class="n">client</span><span class="p">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">Generating</span> 100 <span class="n">random</span> <span class="n">queries</span><span class="p">...</span>
+07 11<span class="p">:</span>33<span class="p">:</span>11<span class="p">,</span>112 <span class="p">[</span><span class="n">client</span><span class="p">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">finished</span>
+07 11<span class="p">:</span>33<span class="p">:</span>11<span class="p">,</span>260 <span class="p">[</span><span class="n">client</span><span class="p">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> 694<span class="p">.</span>44 <span class="n">lookups</span><span class="o">/</span><span class="nb">sec</span>   0<span class="p">.</span>14 <span class="n">secs</span>
+
+07 11<span class="p">:</span>33<span class="p">:</span>11<span class="p">,</span>260 <span class="p">[</span><span class="n">client</span><span class="p">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">num</span> <span class="n">results</span> <span class="p">:</span> 100
+
+07 11<span class="p">:</span>33<span class="p">:</span>11<span class="p">,</span>364 <span class="p">[</span><span class="n">client</span><span class="p">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">Generating</span> 100 <span class="n">random</span> <span class="n">queries</span><span class="p">...</span>
+07 11<span class="p">:</span>33<span class="p">:</span>11<span class="p">,</span>370 <span class="p">[</span><span class="n">client</span><span class="p">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">finished</span>
+07 11<span class="p">:</span>33<span class="p">:</span>11<span class="p">,</span>416 <span class="p">[</span><span class="n">client</span><span class="p">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> 2173<span class="p">.</span>91 <span class="n">lookups</span><span class="o">/</span><span class="nb">sec</span>   0<span class="p">.</span>05 <span class="n">secs</span>
+
+07 11<span class="p">:</span>33<span class="p">:</span>11<span class="p">,</span>416 <span class="p">[</span><span class="n">client</span><span class="p">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">num</span> <span class="n">results</span> <span class="p">:</span> 100
+</pre></div>
+  </div>
+
+  <div id="footer">
+    <a alt="Apache Software Foundation" href="http://www.apache.org">
+      <img id="asf-logo" alt="Apache Software Foundation" src="/images/feather-small.gif" width="100">
+    </a>
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011-2014 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        Apache Accumulo, Accumulo, Apache, the Apache feather logo, and the Apache Accumulo
+        project logo are trademarks of the <a href="http://www.apache.org">Apache Software Foundation</a>.<br />
+        Site created with <a href="http://getbootstrap.com/">Bootstrap</a> including icons from <a href="http://glyphicons.com/">GLYPHICONS</a> and <a href="http://fontawesome.io/">Font Awesome</a>.
+      </p>
+    </div> 
+  </div>
+  </div>
+
+</div>
+</div>
+
+<script type="text/javascript">
+
+</script>
+</body>
+</html>

Added: websites/staging/accumulo/trunk/content/1.7/examples/bloom.html
==============================================================================
--- websites/staging/accumulo/trunk/content/1.7/examples/bloom.html (added)
+++ websites/staging/accumulo/trunk/content/1.7/examples/bloom.html Mon May 18 04:27:53 2015
@@ -0,0 +1,444 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+  <link href="/css/bootstrap.min.css" rel="stylesheet">
+  <link href="/css/bootstrap-theme.min.css" rel="stylesheet">
+  <link href="/css/dataTables.bootstrap.css" rel="stylesheet">
+  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+  <!--[if lt IE 9]>
+    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
+  <![endif]-->
+  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
+  <script src="/js/bootstrap.min.js"></script>
+  <script src="/js/jquery.dataTables.min.js"></script>
+  <script src="/js/dataTables.bootstrap.js"></script>
+  <link href="/css/accumulo.css" rel="stylesheet" type="text/css">
+  <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
+  <title>Apache Accumulo Bloom Filter Example</title>
+  
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-50934829-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+</head>
+
+<body>
+<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+<div class="container-fluid">
+  <div class="navbar-header">
+    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-items">
+      <span class="sr-only">Toggle navigation</span>
+      <span class="icon-bar"></span>
+      <span class="icon-bar"></span>
+      <span class="icon-bar"></span>
+    </button>
+    <a class="navbar-brand" href="/index.html">Accumulo</a>
+  </div>
+  <div class="collapse navbar-collapse" id="navbar-items">
+  <ul class="nav navbar-nav">
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Project <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li id="nav_index"><a href="/index.html">Home</a></li>
+<li id="nav_downloads"><a href="/downloads">Downloads</a></li>
+<li id="nav_features"><a href="/notable_features.html">Features</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0"><i class="fa fa-external-link"></i> License</a></li>
+</ul>
+</li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Community <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li id="nav_getinvolved"><a href="/get_involved.html">Get Involved</a></li>
+<li id="nav_mailinglists"><a href="/mailing_list.html">Mailing Lists</a></li>
+<li id="nav_people"><a href="/people.html">People</a></li>
+<li id="nav_blog"><a href="https://blogs.apache.org/accumulo/">Blog</a></li>
+<li class="divider"></li>
+<li class="dropdown-header">Governance</li>
+<li id="nav_bylaws"><a href="/bylaws.html">Bylaws</a></li>
+<li id="nav_consensusbuilding"><a href="/governance/consensusBuilding.html">Consensus Building</a></li>
+<li id="nav_lazyconsensus"><a href="/governance/lazyConsensus.html">Lazy Consensus</a></li>
+<li id="nav_releasing"><a href="/governance/releasing.html">Releasing</a></li>
+<li id="nav_voting"><a href="/governance/voting.html">Voting</a></li>
+</ul>
+</li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Development <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li id="nav_source"><a href="/source.html">Source &amp; Guide</a></li>
+<li id="nav_git"><a href="/git.html">Git Workflow</a></li>
+<li id="nav_versioning"><a href="/versioning.html">Versioning</a></li>
+<li id="nav_contrib"><a href="/contrib.html">Contrib Projects</a></li>
+<li id="nav_rb"><a href="/rb.html">Review Board</a></li>
+<li id="nav_releasing"><a href="/releasing.html">Making Releases</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo"><i class="fa fa-external-link"></i> Issues</a></li>
+<li><a href="https://builds.apache.org/view/A-D/view/Accumulo/"><i class="fa fa-external-link"></i> Builds</a></li>
+</ul>
+</li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Documentation <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li class="dropdown-header">Manual</li>
+<li><a href="/1.5/accumulo_user_manual.html">1.5</a></li>
+<li><a href="/1.6/accumulo_user_manual.html">1.6</a></li>
+<li class="divider"></li>
+<li class="dropdown-header">Javadoc</li>
+<li><a href="/1.5/apidocs">1.5</a></li>
+<li><a href="/1.6/apidocs">1.6</a></li>
+<li class="divider"></li>
+<li class="dropdown-header">Examples</li>
+<li id="nav_examples_1_5"><a href="/1.5/examples">1.5</a></li>
+<li id="nav_examples_1_6"><a href="/1.6/examples">1.6</a></li>
+<li class="divider"></li>
+<li id="old_documentation"><a href="/old_documentation.html">Docs for Older Verisons</a></li>
+<li id="nav_screenshots"><a href="/screenshots.html">Screenshots</a></li>
+<li id="nav_papers"><a href="/papers.html">Papers &amp; Other Links</a></li>
+<li id="nav_glossary"><a href="/glossary.html">Glossary</a></li>
+</ul>
+</li>
+	<li class="dropdown">
+	  <a class="dropdown-toggle" data-toggle="dropdown" href="#">Release Notes <span class="caret"></span></a>
+      <ul class="dropdown-menu">
+		  <li><a href="/release_notes/1.7.0.html">1.7.0</a></li>
+          <li class="divider"></li>
+		  <li><a href="/release_notes/1.6.2.html">1.6.2</a></li>
+		  <li><a href="/release_notes/1.6.1.html">1.6.1</a></li>
+          <li class="divider"></li>
+		  <li><a href="/release_notes/1.5.2.html">1.5.2</a></li>
+		  <li><a href="/release_notes/1.5.1.html">1.5.1</a></li>
+          <li class="divider"></li>
+		  <li><a href="/release_notes/">Archives</a></li>
+		</ul>
+    </li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        ASF Links <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li><a href="http://www.apache.org"><i class="fa fa-external-link"></i> Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html"><i class="fa fa-external-link"></i> Sponsorship</a></li>
+<li><a href="http://www.apache.org/security/"><i class="fa fa-external-link"></i> Security</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html"><i class="fa fa-external-link"></i> Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/policies/conduct.html"><i class="fa fa-external-link"></i> Code of Conduct</a></li>
+</ul>
+</li>
+</ul>
+
+<form method="GET" action="http://search-hadoop.com/" class="navbar-form navbar-right" role="search">
+  <div class="form-group">
+    <input type="text" name="q" class="form-control" placeholder="Search"/>
+    <input type="hidden" name="fc_project" value="Accumulo"/>
+  </div>
+  <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
+</form>
+  </div>
+
+</div>
+</nav>
+
+
+<div class="container-fluid">
+<div class="row">
+  <div class="col-md-2" id="sidebar">
+  <div style="text-align: center">
+    <a href="/index.html"><img id="logo" alt="Apache Accumulo &trade;" class="img-responsive" src="/images/accumulo-logo.png"/></a>
+    <br>
+Latest 1.6 release: <strong>1.6.2</strong><br>
+Latest 1.5 release: <strong>1.5.2</strong><br>
+    <br>
+    <a id="download-button-sidebar" class="btn btn-success btn-block" href="/downloads/" role="button">Download</a>
+  </div>
+    <hr>
+<table class="table" id="sociallinks">
+<tr><td><img src="/images/Twitter_logo_blue.png" style="height: 1em"></td><td><a href="https://twitter.com/apacheaccumulo">@ApacheAccumulo</a></td></tr>
+<tr><td><img src="/images/InBug-16px_0.png"></td><td><a href="https://www.linkedin.com/groups/Apache-Accumulo-Professionals-4554913">Apache Accumulo Professionals</a></td></tr>
+<tr><td><img src="/images/GitHub-Mark-32px.png" style="height: 1em"></td><td><a href="https://github.com/apache/accumulo">apache / accumulo</a></td></tr>
+<tr><td><span class="glyphicon glyphicon-comment"></span></td><td><a href="irc://chat.freenode.net/accumulo">#accumulo @ freenode</a></td></tr>
+<tr><td><img src="/favicon.png" width="16" /></td><td><a href="http://blogs.apache.org/accumulo">Apache Accumulo Blog</a></td></tr>
+</table>
+<hr>
+<a id="accumulo-summit-logo" href="http://accumulosummit.com/"><img alt="Accumulo Summit" class="img-responsive" src="/images/accumulo-summit.png"></a>
+  </div>
+  <div class="col-md-8 col-md-offset-1">
+<!--
+  <div id="bannertext">
+    <img id="logo" alt="Apache Accumulo &trade;" src="/images/accumulo-logo.png"/>
+  </div>
+-->
+
+  <div id="content">
+
+    <h1 class="title">Apache Accumulo Bloom Filter Example</h1>
+
+    <p>This example shows how to create a table with bloom filters enabled.  It also
+shows how bloom filters increase query performance when looking for values that
+do not exist in a table.</p>
+<p>Below table named bloom_test is created and bloom filters are enabled.</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span>
+<span class="n">Shell</span> <span class="o">-</span> <span class="n">Apache</span> <span class="n">Accumulo</span> <span class="n">Interactive</span> <span class="n">Shell</span>
+<span class="o">-</span> <span class="n">version</span><span class="p">:</span> 1<span class="p">.</span>6<span class="p">.</span>0
+<span class="o">-</span> <span class="n">instance</span> <span class="n">name</span><span class="p">:</span> <span class="n">instance</span>
+<span class="o">-</span> <span class="n">instance</span> <span class="n">id</span><span class="p">:</span> 00000000<span class="o">-</span>0000<span class="o">-</span>0000<span class="o">-</span>0000<span class="o">-</span>000000000000
+<span class="o">-</span>
+<span class="o">-</span> <span class="n">type</span> <span class="s">&#39;help&#39;</span> <span class="k">for</span> <span class="n">a</span> <span class="n">list</span> <span class="n">of</span> <span class="n">available</span> <span class="n">commands</span>
+<span class="o">-</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span><span class="o">&gt;</span> <span class="n">setauths</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">s</span> <span class="n">exampleVis</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="n">bloom_test</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span> <span class="n">bloom_test</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test</span> <span class="o">-</span><span class="n">s</span> <span class="n">table</span><span class="p">.</span><span class="n">bloom</span><span class="p">.</span><span class="n">enabled</span><span class="p">=</span><span class="n">true</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span> <span class="n">bloom_test</span><span class="o">&gt;</span> <span class="n">exit</span>
+</pre></div>
+
+
+<p>Below 1 million random values are inserted into accumulo. The randomly
+generated rows range between 0 and 1 billion. The random number generator is
+initialized with the seed 7.</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchWriter</span> <span class="o">--</span><span class="n">seed</span> 7 <span class="o">-</span><span class="nb">i</span> <span class="n">instance</span> <span class="o">-</span><span class="n">z</span> <span class="n">zookeepers</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test</span> <span class="o">--</span><span cla
 ss="n">num</span> 1000000 <span class="o">--</span><span class="n">min</span> 0 <span class="o">--</span><span class="n">max</span> 1000000000 <span class="o">--</span><span class="nb">size</span> 50 <span class="o">--</span><span class="n">batchMemory</span> 2<span class="n">M</span> <span class="o">--</span><span class="n">batchLatency</span> 60<span class="n">s</span> <span class="o">--</span><span class="n">batchThreads</span> 3 <span class="o">--</span><span class="n">vis</span> <span class="n">exampleVis</span>
+</pre></div>
+
+
+<p>Below the table is flushed:</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">e</span> <span class="s">&#39;flush -t bloom_test -w&#39;</span>
+05 10<span class="p">:</span>40<span class="p">:</span>06<span class="p">,</span>069 <span class="p">[</span><span class="n">shell</span><span class="p">.</span><span class="n">Shell</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">Flush</span> <span class="n">of</span> <span class="n">table</span> <span class="n">bloom_test</span> <span class="n">completed</span><span class="p">.</span>
+</pre></div>
+
+
+<p>After the flush completes, 500 random queries are done against the table. The
+same seed is used to generate the queries, therefore everything is found in the
+table.</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchScanner</span> <span class="o">--</span><span class="n">seed</span> 7 <span class="o">-</span><span class="nb">i</span> <span class="n">instance</span> <span class="o">-</span><span class="n">z</span> <span class="n">zookeepers</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test</span> <span class="o">--</span><span cl
 ass="n">num</span> 500 <span class="o">--</span><span class="n">min</span> 0 <span class="o">--</span><span class="n">max</span> 1000000000 <span class="o">--</span><span class="nb">size</span> 50 <span class="o">--</span><span class="n">batchThreads</span> 20 <span class="o">--</span><span class="n">auths</span> <span class="n">exampleVis</span>
+<span class="n">Generating</span> 500 <span class="n">random</span> <span class="n">queries</span><span class="p">...</span><span class="n">finished</span>
+96<span class="p">.</span>19 <span class="n">lookups</span><span class="o">/</span><span class="nb">sec</span>   5<span class="p">.</span>20 <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> 500
+<span class="n">Generating</span> 500 <span class="n">random</span> <span class="n">queries</span><span class="p">...</span><span class="n">finished</span>
+102<span class="p">.</span>35 <span class="n">lookups</span><span class="o">/</span><span class="nb">sec</span>   4<span class="p">.</span>89 <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> 500
+</pre></div>
+
+
+<p>Below another 500 queries are performed, using a different seed which results
+in nothing being found. In this case the lookups are much faster because of
+the bloom filters.</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchScanner</span> <span class="o">--</span><span class="n">seed</span> 8 <span class="o">-</span><span class="nb">i</span> <span class="n">instance</span> <span class="o">-</span><span class="n">z</span> <span class="n">zookeepers</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test</span> <span class="o">--</span><span cl
 ass="n">num</span> 500 <span class="o">--</span><span class="n">min</span> 0 <span class="o">--</span><span class="n">max</span> 1000000000 <span class="o">--</span><span class="nb">size</span> 50 <span class="o">--</span><span class="n">batchThreads</span> 20 <span class="o">--</span><span class="n">auths</span> <span class="n">exampleVis</span>
+<span class="n">Generating</span> 500 <span class="n">random</span> <span class="n">queries</span><span class="p">...</span><span class="n">finished</span>
+2212<span class="p">.</span>39 <span class="n">lookups</span><span class="o">/</span><span class="nb">sec</span>   0<span class="p">.</span>23 <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> 0
+<span class="n">Did</span> <span class="n">not</span> <span class="nb">find</span> 500 <span class="n">rows</span>
+<span class="n">Generating</span> 500 <span class="n">random</span> <span class="n">queries</span><span class="p">...</span><span class="n">finished</span>
+4464<span class="p">.</span>29 <span class="n">lookups</span><span class="o">/</span><span class="nb">sec</span>   0<span class="p">.</span>11 <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> 0
+<span class="n">Did</span> <span class="n">not</span> <span class="nb">find</span> 500 <span class="n">rows</span>
+</pre></div>
+
+
+<hr />
+<p>Bloom filters can also speed up lookups for entries that exist. In accumulo
+data is divided into tablets and each tablet has multiple map files. Every
+lookup in accumulo goes to a specific tablet where a lookup is done on each
+map file in the tablet. So if a tablet has three map files, lookup performance
+can be three times slower than a tablet with one map file. However if the map
+files contain unique sets of data, then bloom filters can help eliminate map
+files that do not contain the row being looked up. To illustrate this two
+identical tables were created using the following process. One table had bloom
+filters, the other did not. Also the major compaction ratio was increased to
+prevent the files from being compacted into one file.</p>
+<ul>
+<li>Insert 1 million entries using  RandomBatchWriter with a seed of 7</li>
+<li>Flush the table using the shell</li>
+<li>Insert 1 million entries using  RandomBatchWriter with a seed of 8</li>
+<li>Flush the table using the shell</li>
+<li>Insert 1 million entries using  RandomBatchWriter with a seed of 9</li>
+<li>Flush the table using the shell</li>
+</ul>
+<p>After following the above steps, each table will have a tablet with three map
+files. Flushing the table after each batch of inserts will create a map file.
+Each map file will contain 1 million entries generated with a different seed.
+This is assuming that Accumulo is configured with enough memory to hold 1
+million inserts. If not, then more map files will be created.</p>
+<p>The commands for creating the first table without bloom filters are below.</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span>
+<span class="n">Shell</span> <span class="o">-</span> <span class="n">Apache</span> <span class="n">Accumulo</span> <span class="n">Interactive</span> <span class="n">Shell</span>
+<span class="o">-</span> <span class="n">version</span><span class="p">:</span> 1<span class="p">.</span>6<span class="p">.</span>0
+<span class="o">-</span> <span class="n">instance</span> <span class="n">name</span><span class="p">:</span> <span class="n">instance</span>
+<span class="o">-</span> <span class="n">instance</span> <span class="n">id</span><span class="p">:</span> 00000000<span class="o">-</span>0000<span class="o">-</span>0000<span class="o">-</span>0000<span class="o">-</span>000000000000
+<span class="o">-</span>
+<span class="o">-</span> <span class="n">type</span> <span class="s">&#39;help&#39;</span> <span class="k">for</span> <span class="n">a</span> <span class="n">list</span> <span class="n">of</span> <span class="n">available</span> <span class="n">commands</span>
+<span class="o">-</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span><span class="o">&gt;</span> <span class="n">setauths</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">s</span> <span class="n">exampleVis</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="n">bloom_test1</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span> <span class="n">bloom_test1</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test1</span> <span class="o">-</span><span class="n">s</span> <span class="n">table</span><span class="p">.</span><span class="n">compaction</span><span class="p">.</span><span class="n">major</span><span class="p">.</span><span class="n">ratio</span><span class="p">=</span>7
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span> <span class="n">bloom_test1</span><span class="o">&gt;</span> <span class="n">exit</span>
+
+$ <span class="n">ARGS</span><span class="p">=</span>&quot;<span class="o">-</span><span class="nb">i</span> <span class="n">instance</span> <span class="o">-</span><span class="n">z</span> <span class="n">zookeepers</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test1</span> <span class="o">--</span><span class="n">num</span> 1000000 <span class="o">--</span><span class="n">min</span> 0 <span class="o">--</span><span class="n">max</span> 1000000000 <span class="o">--</span><span class="nb">size</span> 50 <span class="o">--</span><span class="n">batchMemory</span> 2<span class="n">M</span> <span class="o">--</span><span class="n">batchLatency</span> 60<span class="n">s</span> <span class="o">--</span><span class="n">batchThreads</span> 3 <span class="o">--</span><span class="n">vis</span> <spa
 n class="n">exampleVis</span>&quot;
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchWriter</span> <span class="o">--</span><span class="n">seed</span> 7 $<span class="n">ARGS</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">e</span> <span class="s">&#39;flush -t bloom_test1 -w&#39;</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchWriter</span> <span class="o">--</span><span class="n">seed</span> 8 $<span class="n">ARGS</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">e</span> <span class="s">&#39;flush -t bloom_test1 -w&#39;</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchWriter</span> <span class="o">--</span><span class="n">seed</span> 9 $<span class="n">ARGS</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">e</span> <span class="s">&#39;flush -t bloom_test1 -w&#39;</span>
+</pre></div>
+
+
+<p>The commands for creating the second table with bloom filers are below.</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span>
+<span class="n">Shell</span> <span class="o">-</span> <span class="n">Apache</span> <span class="n">Accumulo</span> <span class="n">Interactive</span> <span class="n">Shell</span>
+<span class="o">-</span> <span class="n">version</span><span class="p">:</span> 1<span class="p">.</span>6<span class="p">.</span>0
+<span class="o">-</span> <span class="n">instance</span> <span class="n">name</span><span class="p">:</span> <span class="n">instance</span>
+<span class="o">-</span> <span class="n">instance</span> <span class="n">id</span><span class="p">:</span> 00000000<span class="o">-</span>0000<span class="o">-</span>0000<span class="o">-</span>0000<span class="o">-</span>000000000000
+<span class="o">-</span>
+<span class="o">-</span> <span class="n">type</span> <span class="s">&#39;help&#39;</span> <span class="k">for</span> <span class="n">a</span> <span class="n">list</span> <span class="n">of</span> <span class="n">available</span> <span class="n">commands</span>
+<span class="o">-</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span><span class="o">&gt;</span> <span class="n">setauths</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">s</span> <span class="n">exampleVis</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="n">bloom_test2</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span> <span class="n">bloom_test2</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test2</span> <span class="o">-</span><span class="n">s</span> <span class="n">table</span><span class="p">.</span><span class="n">compaction</span><span class="p">.</span><span class="n">major</span><span class="p">.</span><span class="n">ratio</span><span class="p">=</span>7
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span> <span class="n">bloom_test2</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test2</span> <span class="o">-</span><span class="n">s</span> <span class="n">table</span><span class="p">.</span><span class="n">bloom</span><span class="p">.</span><span class="n">enabled</span><span class="p">=</span><span class="n">true</span>
+<span class="n">username</span><span class="p">@</span><span class="n">instance</span> <span class="n">bloom_test2</span><span class="o">&gt;</span> <span class="n">exit</span>
+
+$ <span class="n">ARGS</span><span class="p">=</span>&quot;<span class="o">-</span><span class="nb">i</span> <span class="n">instance</span> <span class="o">-</span><span class="n">z</span> <span class="n">zookeepers</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test2</span> <span class="o">--</span><span class="n">num</span> 1000000 <span class="o">--</span><span class="n">min</span> 0 <span class="o">--</span><span class="n">max</span> 1000000000 <span class="o">--</span><span class="nb">size</span> 50 <span class="o">--</span><span class="n">batchMemory</span> 2<span class="n">M</span> <span class="o">--</span><span class="n">batchLatency</span> 60<span class="n">s</span> <span class="o">--</span><span class="n">batchThreads</span> 3 <span class="o">--</span><span class="n">vis</span> <spa
 n class="n">exampleVis</span>&quot;
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchWriter</span> <span class="o">--</span><span class="n">seed</span> 7 $<span class="n">ARGS</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">e</span> <span class="s">&#39;flush -t bloom_test2 -w&#39;</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchWriter</span> <span class="o">--</span><span class="n">seed</span> 8 $<span class="n">ARGS</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">e</span> <span class="s">&#39;flush -t bloom_test2 -w&#39;</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchWriter</span> <span class="o">--</span><span class="n">seed</span> 9 $<span class="n">ARGS</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">e</span> <span class="s">&#39;flush -t bloom_test2 -w&#39;</span>
+</pre></div>
+
+
+<p>Below 500 lookups are done against the table without bloom filters using random
+NG seed 7. Even though only one map file will likely contain entries for this
+seed, all map files will be interrogated.</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchScanner</span> <span class="o">--</span><span class="n">seed</span> 7 <span class="o">-</span><span class="nb">i</span> <span class="n">instance</span> <span class="o">-</span><span class="n">z</span> <span class="n">zookeepers</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test1</span> <span class="o">--</span><span c
 lass="n">num</span> 500 <span class="o">--</span><span class="n">min</span> 0 <span class="o">--</span><span class="n">max</span> 1000000000 <span class="o">--</span><span class="nb">size</span> 50 <span class="o">--</span><span class="n">scanThreads</span> 20 <span class="o">--</span><span class="n">auths</span> <span class="n">exampleVis</span>
+<span class="n">Generating</span> 500 <span class="n">random</span> <span class="n">queries</span><span class="p">...</span><span class="n">finished</span>
+35<span class="p">.</span>09 <span class="n">lookups</span><span class="o">/</span><span class="nb">sec</span>  14<span class="p">.</span>25 <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> 500
+<span class="n">Generating</span> 500 <span class="n">random</span> <span class="n">queries</span><span class="p">...</span><span class="n">finished</span>
+35<span class="p">.</span>33 <span class="n">lookups</span><span class="o">/</span><span class="nb">sec</span>  14<span class="p">.</span>15 <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> 500
+</pre></div>
+
+
+<p>Below the same lookups are done against the table with bloom filters. The
+lookups were 2.86 times faster because only one map file was used, even though three
+map files existed.</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">RandomBatchScanner</span> <span class="o">--</span><span class="n">seed</span> 7 <span class="o">-</span><span class="nb">i</span> <span class="n">instance</span> <span class="o">-</span><span class="n">z</span> <span class="n">zookeepers</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test2</span> <span class="o">--</span><span c
 lass="n">num</span> 500 <span class="o">--</span><span class="n">min</span> 0 <span class="o">--</span><span class="n">max</span> 1000000000 <span class="o">--</span><span class="nb">size</span> 50 <span class="o">--</span><span class="n">scanThreads</span> 20 <span class="o">--</span><span class="n">auths</span> <span class="n">exampleVis</span>
+<span class="n">Generating</span> 500 <span class="n">random</span> <span class="n">queries</span><span class="p">...</span><span class="n">finished</span>
+99<span class="p">.</span>03 <span class="n">lookups</span><span class="o">/</span><span class="nb">sec</span>   5<span class="p">.</span>05 <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> 500
+<span class="n">Generating</span> 500 <span class="n">random</span> <span class="n">queries</span><span class="p">...</span><span class="n">finished</span>
+101<span class="p">.</span>15 <span class="n">lookups</span><span class="o">/</span><span class="nb">sec</span>   4<span class="p">.</span>94 <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> 500
+</pre></div>
+
+
+<p>You can verify the table has three files by looking in HDFS. To look in HDFS
+you will need the table ID, because this is used in HDFS instead of the table
+name. The following command will show table ids.</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">shell</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span> <span class="o">-</span><span class="n">e</span> <span class="s">&#39;tables -l&#39;</span>
+<span class="n">accumulo</span><span class="p">.</span><span class="n">metadata</span>    <span class="p">=</span><span class="o">&gt;</span>        !0
+<span class="n">accumulo</span><span class="p">.</span><span class="n">root</span>        <span class="p">=</span><span class="o">&gt;</span>        <span class="o">+</span><span class="n">r</span>
+<span class="n">bloom_test1</span>          <span class="p">=</span><span class="o">&gt;</span>        <span class="n">o7</span>
+<span class="n">bloom_test2</span>          <span class="p">=</span><span class="o">&gt;</span>        <span class="n">o8</span>
+<span class="n">trace</span>                <span class="p">=</span><span class="o">&gt;</span>         1
+</pre></div>
+
+
+<p>So the table id for bloom_test2 is o8. The command below shows what files this
+table has in HDFS. This assumes Accumulo is at the default location in HDFS.</p>
+<div class="codehilite"><pre>$ <span class="n">hadoop</span> <span class="n">fs</span> <span class="o">-</span><span class="n">lsr</span> <span class="o">/</span><span class="n">accumulo</span><span class="o">/</span><span class="n">tables</span><span class="o">/</span><span class="n">o8</span>
+<span class="n">drwxr</span><span class="o">-</span><span class="n">xr</span><span class="o">-</span><span class="n">x</span>   <span class="o">-</span> <span class="n">username</span> <span class="n">supergroup</span>          0 2012<span class="o">-</span>01<span class="o">-</span>10 14<span class="p">:</span>02 <span class="o">/</span><span class="n">accumulo</span><span class="o">/</span><span class="n">tables</span><span class="o">/</span><span class="n">o8</span><span class="o">/</span><span class="n">default_tablet</span>
+<span class="o">-</span><span class="n">rw</span><span class="o">-</span><span class="n">r</span><span class="o">--</span><span class="n">r</span><span class="o">--</span>   3 <span class="n">username</span> <span class="n">supergroup</span>   52672650 2012<span class="o">-</span>01<span class="o">-</span>10 14<span class="p">:</span>01 <span class="o">/</span><span class="n">accumulo</span><span class="o">/</span><span class="n">tables</span><span class="o">/</span><span class="n">o8</span><span class="o">/</span><span class="n">default_tablet</span><span class="o">/</span><span class="n">F00000dj</span><span class="p">.</span><span class="n">rf</span>
+<span class="o">-</span><span class="n">rw</span><span class="o">-</span><span class="n">r</span><span class="o">--</span><span class="n">r</span><span class="o">--</span>   3 <span class="n">username</span> <span class="n">supergroup</span>   52436176 2012<span class="o">-</span>01<span class="o">-</span>10 14<span class="p">:</span>01 <span class="o">/</span><span class="n">accumulo</span><span class="o">/</span><span class="n">tables</span><span class="o">/</span><span class="n">o8</span><span class="o">/</span><span class="n">default_tablet</span><span class="o">/</span><span class="n">F00000dk</span><span class="p">.</span><span class="n">rf</span>
+<span class="o">-</span><span class="n">rw</span><span class="o">-</span><span class="n">r</span><span class="o">--</span><span class="n">r</span><span class="o">--</span>   3 <span class="n">username</span> <span class="n">supergroup</span>   52850173 2012<span class="o">-</span>01<span class="o">-</span>10 14<span class="p">:</span>02 <span class="o">/</span><span class="n">accumulo</span><span class="o">/</span><span class="n">tables</span><span class="o">/</span><span class="n">o8</span><span class="o">/</span><span class="n">default_tablet</span><span class="o">/</span><span class="n">F00000dl</span><span class="p">.</span><span class="n">rf</span>
+</pre></div>
+
+
+<p>Running the rfile-info command shows that one of the files has a bloom filter
+and its 1.5MB.</p>
+<div class="codehilite"><pre>$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">rfile</span><span class="o">-</span><span class="n">info</span> <span class="o">/</span><span class="n">accumulo</span><span class="o">/</span><span class="n">tables</span><span class="o">/</span><span class="n">o8</span><span class="o">/</span><span class="n">default_tablet</span><span class="o">/</span><span class="n">F00000dj</span><span class="p">.</span><span class="n">rf</span>
+<span class="n">Locality</span> <span class="n">group</span>         <span class="p">:</span> <span class="o">&lt;</span><span class="n">DEFAULT</span><span class="o">&gt;</span>
+<span class="n">Start</span> <span class="n">block</span>          <span class="p">:</span> 0
+<span class="n">Num</span>   <span class="n">blocks</span>         <span class="p">:</span> 752
+<span class="n">Index</span> <span class="n">level</span> 0        <span class="p">:</span> 43<span class="p">,</span>598 <span class="n">bytes</span>  1 <span class="n">blocks</span>
+<span class="n">First</span> <span class="n">key</span>            <span class="p">:</span> <span class="n">row_0000001169</span> <span class="n">foo</span><span class="p">:</span>1 <span class="p">[</span><span class="n">exampleVis</span><span class="p">]</span> 1326222052539 <span class="n">false</span>
+<span class="n">Last</span> <span class="n">key</span>             <span class="p">:</span> <span class="n">row_0999999421</span> <span class="n">foo</span><span class="p">:</span>1 <span class="p">[</span><span class="n">exampleVis</span><span class="p">]</span> 1326222052058 <span class="n">false</span>
+<span class="n">Num</span> <span class="n">entries</span>          <span class="p">:</span> 999<span class="p">,</span>536
+<span class="n">Column</span> <span class="n">families</span>      <span class="p">:</span> <span class="p">[</span><span class="n">foo</span><span class="p">]</span>
+
+<span class="n">Meta</span> <span class="n">block</span>     <span class="p">:</span> <span class="n">BCFile</span><span class="p">.</span><span class="n">index</span>
+  <span class="n">Raw</span> <span class="nb">size</span>             <span class="p">:</span> 4 <span class="n">bytes</span>
+  <span class="n">Compressed</span> <span class="nb">size</span>      <span class="p">:</span> 12 <span class="n">bytes</span>
+  <span class="n">Compression</span> <span class="n">type</span>     <span class="p">:</span> <span class="n">gz</span>
+
+<span class="n">Meta</span> <span class="n">block</span>     <span class="p">:</span> <span class="n">RFile</span><span class="p">.</span><span class="n">index</span>
+  <span class="n">Raw</span> <span class="nb">size</span>             <span class="p">:</span> 43<span class="p">,</span>696 <span class="n">bytes</span>
+  <span class="n">Compressed</span> <span class="nb">size</span>      <span class="p">:</span> 15<span class="p">,</span>592 <span class="n">bytes</span>
+  <span class="n">Compression</span> <span class="n">type</span>     <span class="p">:</span> <span class="n">gz</span>
+
+<span class="n">Meta</span> <span class="n">block</span>     <span class="p">:</span> <span class="n">acu_bloom</span>
+  <span class="n">Raw</span> <span class="nb">size</span>             <span class="p">:</span> 1<span class="p">,</span>540<span class="p">,</span>292 <span class="n">bytes</span>
+  <span class="n">Compressed</span> <span class="nb">size</span>      <span class="p">:</span> 1<span class="p">,</span>433<span class="p">,</span>115 <span class="n">bytes</span>
+  <span class="n">Compression</span> <span class="n">type</span>     <span class="p">:</span> <span class="n">gz</span>
+</pre></div>
+  </div>
+
+  <div id="footer">
+    <a alt="Apache Software Foundation" href="http://www.apache.org">
+      <img id="asf-logo" alt="Apache Software Foundation" src="/images/feather-small.gif" width="100">
+    </a>
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011-2014 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        Apache Accumulo, Accumulo, Apache, the Apache feather logo, and the Apache Accumulo
+        project logo are trademarks of the <a href="http://www.apache.org">Apache Software Foundation</a>.<br />
+        Site created with <a href="http://getbootstrap.com/">Bootstrap</a> including icons from <a href="http://glyphicons.com/">GLYPHICONS</a> and <a href="http://fontawesome.io/">Font Awesome</a>.
+      </p>
+    </div> 
+  </div>
+  </div>
+
+</div>
+</div>
+
+<script type="text/javascript">
+
+</script>
+</body>
+</html>

Added: websites/staging/accumulo/trunk/content/1.7/examples/bulkIngest.html
==============================================================================
--- websites/staging/accumulo/trunk/content/1.7/examples/bulkIngest.html (added)
+++ websites/staging/accumulo/trunk/content/1.7/examples/bulkIngest.html Mon May 18 04:27:53 2015
@@ -0,0 +1,251 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+  <link href="/css/bootstrap.min.css" rel="stylesheet">
+  <link href="/css/bootstrap-theme.min.css" rel="stylesheet">
+  <link href="/css/dataTables.bootstrap.css" rel="stylesheet">
+  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+  <!--[if lt IE 9]>
+    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
+  <![endif]-->
+  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
+  <script src="/js/bootstrap.min.js"></script>
+  <script src="/js/jquery.dataTables.min.js"></script>
+  <script src="/js/dataTables.bootstrap.js"></script>
+  <link href="/css/accumulo.css" rel="stylesheet" type="text/css">
+  <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
+  <title>Apache Accumulo Bulk Ingest Example</title>
+  
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-50934829-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+</head>
+
+<body>
+<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+<div class="container-fluid">
+  <div class="navbar-header">
+    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-items">
+      <span class="sr-only">Toggle navigation</span>
+      <span class="icon-bar"></span>
+      <span class="icon-bar"></span>
+      <span class="icon-bar"></span>
+    </button>
+    <a class="navbar-brand" href="/index.html">Accumulo</a>
+  </div>
+  <div class="collapse navbar-collapse" id="navbar-items">
+  <ul class="nav navbar-nav">
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Project <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li id="nav_index"><a href="/index.html">Home</a></li>
+<li id="nav_downloads"><a href="/downloads">Downloads</a></li>
+<li id="nav_features"><a href="/notable_features.html">Features</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0"><i class="fa fa-external-link"></i> License</a></li>
+</ul>
+</li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Community <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li id="nav_getinvolved"><a href="/get_involved.html">Get Involved</a></li>
+<li id="nav_mailinglists"><a href="/mailing_list.html">Mailing Lists</a></li>
+<li id="nav_people"><a href="/people.html">People</a></li>
+<li id="nav_blog"><a href="https://blogs.apache.org/accumulo/">Blog</a></li>
+<li class="divider"></li>
+<li class="dropdown-header">Governance</li>
+<li id="nav_bylaws"><a href="/bylaws.html">Bylaws</a></li>
+<li id="nav_consensusbuilding"><a href="/governance/consensusBuilding.html">Consensus Building</a></li>
+<li id="nav_lazyconsensus"><a href="/governance/lazyConsensus.html">Lazy Consensus</a></li>
+<li id="nav_releasing"><a href="/governance/releasing.html">Releasing</a></li>
+<li id="nav_voting"><a href="/governance/voting.html">Voting</a></li>
+</ul>
+</li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Development <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li id="nav_source"><a href="/source.html">Source &amp; Guide</a></li>
+<li id="nav_git"><a href="/git.html">Git Workflow</a></li>
+<li id="nav_versioning"><a href="/versioning.html">Versioning</a></li>
+<li id="nav_contrib"><a href="/contrib.html">Contrib Projects</a></li>
+<li id="nav_rb"><a href="/rb.html">Review Board</a></li>
+<li id="nav_releasing"><a href="/releasing.html">Making Releases</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo"><i class="fa fa-external-link"></i> Issues</a></li>
+<li><a href="https://builds.apache.org/view/A-D/view/Accumulo/"><i class="fa fa-external-link"></i> Builds</a></li>
+</ul>
+</li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        Documentation <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li class="dropdown-header">Manual</li>
+<li><a href="/1.5/accumulo_user_manual.html">1.5</a></li>
+<li><a href="/1.6/accumulo_user_manual.html">1.6</a></li>
+<li class="divider"></li>
+<li class="dropdown-header">Javadoc</li>
+<li><a href="/1.5/apidocs">1.5</a></li>
+<li><a href="/1.6/apidocs">1.6</a></li>
+<li class="divider"></li>
+<li class="dropdown-header">Examples</li>
+<li id="nav_examples_1_5"><a href="/1.5/examples">1.5</a></li>
+<li id="nav_examples_1_6"><a href="/1.6/examples">1.6</a></li>
+<li class="divider"></li>
+<li id="old_documentation"><a href="/old_documentation.html">Docs for Older Verisons</a></li>
+<li id="nav_screenshots"><a href="/screenshots.html">Screenshots</a></li>
+<li id="nav_papers"><a href="/papers.html">Papers &amp; Other Links</a></li>
+<li id="nav_glossary"><a href="/glossary.html">Glossary</a></li>
+</ul>
+</li>
+	<li class="dropdown">
+	  <a class="dropdown-toggle" data-toggle="dropdown" href="#">Release Notes <span class="caret"></span></a>
+      <ul class="dropdown-menu">
+		  <li><a href="/release_notes/1.7.0.html">1.7.0</a></li>
+          <li class="divider"></li>
+		  <li><a href="/release_notes/1.6.2.html">1.6.2</a></li>
+		  <li><a href="/release_notes/1.6.1.html">1.6.1</a></li>
+          <li class="divider"></li>
+		  <li><a href="/release_notes/1.5.2.html">1.5.2</a></li>
+		  <li><a href="/release_notes/1.5.1.html">1.5.1</a></li>
+          <li class="divider"></li>
+		  <li><a href="/release_notes/">Archives</a></li>
+		</ul>
+    </li>
+
+    <li class="dropdown">
+      <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+        ASF Links <span class="caret"></span>
+      </a>
+<ul class="dropdown-menu">
+<li><a href="http://www.apache.org"><i class="fa fa-external-link"></i> Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html"><i class="fa fa-external-link"></i> Sponsorship</a></li>
+<li><a href="http://www.apache.org/security/"><i class="fa fa-external-link"></i> Security</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html"><i class="fa fa-external-link"></i> Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/policies/conduct.html"><i class="fa fa-external-link"></i> Code of Conduct</a></li>
+</ul>
+</li>
+</ul>
+
+<form method="GET" action="http://search-hadoop.com/" class="navbar-form navbar-right" role="search">
+  <div class="form-group">
+    <input type="text" name="q" class="form-control" placeholder="Search"/>
+    <input type="hidden" name="fc_project" value="Accumulo"/>
+  </div>
+  <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
+</form>
+  </div>
+
+</div>
+</nav>
+
+
+<div class="container-fluid">
+<div class="row">
+  <div class="col-md-2" id="sidebar">
+  <div style="text-align: center">
+    <a href="/index.html"><img id="logo" alt="Apache Accumulo &trade;" class="img-responsive" src="/images/accumulo-logo.png"/></a>
+    <br>
+Latest 1.6 release: <strong>1.6.2</strong><br>
+Latest 1.5 release: <strong>1.5.2</strong><br>
+    <br>
+    <a id="download-button-sidebar" class="btn btn-success btn-block" href="/downloads/" role="button">Download</a>
+  </div>
+    <hr>
+<table class="table" id="sociallinks">
+<tr><td><img src="/images/Twitter_logo_blue.png" style="height: 1em"></td><td><a href="https://twitter.com/apacheaccumulo">@ApacheAccumulo</a></td></tr>
+<tr><td><img src="/images/InBug-16px_0.png"></td><td><a href="https://www.linkedin.com/groups/Apache-Accumulo-Professionals-4554913">Apache Accumulo Professionals</a></td></tr>
+<tr><td><img src="/images/GitHub-Mark-32px.png" style="height: 1em"></td><td><a href="https://github.com/apache/accumulo">apache / accumulo</a></td></tr>
+<tr><td><span class="glyphicon glyphicon-comment"></span></td><td><a href="irc://chat.freenode.net/accumulo">#accumulo @ freenode</a></td></tr>
+<tr><td><img src="/favicon.png" width="16" /></td><td><a href="http://blogs.apache.org/accumulo">Apache Accumulo Blog</a></td></tr>
+</table>
+<hr>
+<a id="accumulo-summit-logo" href="http://accumulosummit.com/"><img alt="Accumulo Summit" class="img-responsive" src="/images/accumulo-summit.png"></a>
+  </div>
+  <div class="col-md-8 col-md-offset-1">
+<!--
+  <div id="bannertext">
+    <img id="logo" alt="Apache Accumulo &trade;" src="/images/accumulo-logo.png"/>
+  </div>
+-->
+
+  <div id="content">
+
+    <h1 class="title">Apache Accumulo Bulk Ingest Example</h1>
+
+    <p>This is an example of how to bulk ingest data into Accumulo using MapReduce.</p>
+<p>The following commands show how to run this example. This example creates a
+table called test_bulk which has two initial split points. Then 1000 rows of
+test data are created in HDFS. After that the 1000 rows are ingested into
+Accumulo. Then we verify the 1000 rows are in Accumulo.</p>
+<div class="codehilite"><pre>$ <span class="n">PKG</span><span class="p">=</span><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">examples</span><span class="p">.</span><span class="n">simple</span><span class="p">.</span><span class="n">mapreduce</span><span class="p">.</span><span class="n">bulk</span>
+$ <span class="n">ARGS</span><span class="p">=</span>&quot;<span class="o">-</span><span class="nb">i</span> <span class="n">instance</span> <span class="o">-</span><span class="n">z</span> <span class="n">zookeepers</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span> <span class="o">-</span><span class="n">p</span> <span class="n">password</span>&quot;
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> $<span class="n">PKG</span><span class="p">.</span><span class="n">SetupTable</span> $<span class="n">ARGS</span> <span class="o">-</span><span class="n">t</span> <span class="n">test_bulk</span> <span class="n">row_00000333</span> <span class="n">row_00000666</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> $<span class="n">PKG</span><span class="p">.</span><span class="n">GenerateTestData</span> <span class="o">--</span><span class="n">start</span><span class="o">-</span><span class="n">row</span> 0 <span class="o">--</span><span class="n">count</span> 1000 <span class="o">--</span><span class="n">output</span> <span class="n">bulk</span><span class="o">/</span><span class="n">test_1</span><span class="p">.</span><span class="n">txt</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">tool</span><span class="p">.</span><span class="n">sh</span> <span class="n">lib</span><span class="o">/</span><span class="n">accumulo</span><span class="o">-</span><span class="n">examples</span><span class="o">-</span><span class="n">simple</span><span class="p">.</span><span class="n">jar</span> $<span class="n">PKG</span><span class="p">.</span><span class="n">BulkIngestExample</span> $<span class="n">ARGS</span> <span class="o">-</span><span class="n">t</span> <span class="n">test_bulk</span> <span class="o">--</span><span class="n">inputDir</span> <span class="n">bulk</span> <span class="o">--</span><span class="n">workDir</span> <span class="n">tmp</span><span class="o">/</span><span class="n">bulkWork</span>
+$ <span class="o">./</span><span class="n">bin</span><span class="o">/</span><span class="n">accumulo</span> $<span class="n">PKG</span><span class="p">.</span><span class="n">VerifyIngest</span> $<span class="n">ARGS</span> <span class="o">-</span><span class="n">t</span> <span class="n">test_bulk</span> <span class="o">--</span><span class="n">start</span><span class="o">-</span><span class="n">row</span> 0 <span class="o">--</span><span class="n">count</span> 1000
+</pre></div>
+
+
+<p>For a high level discussion of bulk ingest, see the docs dir.</p>
+  </div>
+
+  <div id="footer">
+    <a alt="Apache Software Foundation" href="http://www.apache.org">
+      <img id="asf-logo" alt="Apache Software Foundation" src="/images/feather-small.gif" width="100">
+    </a>
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011-2014 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        Apache Accumulo, Accumulo, Apache, the Apache feather logo, and the Apache Accumulo
+        project logo are trademarks of the <a href="http://www.apache.org">Apache Software Foundation</a>.<br />
+        Site created with <a href="http://getbootstrap.com/">Bootstrap</a> including icons from <a href="http://glyphicons.com/">GLYPHICONS</a> and <a href="http://fontawesome.io/">Font Awesome</a>.
+      </p>
+    </div> 
+  </div>
+  </div>
+
+</div>
+</div>
+
+<script type="text/javascript">
+
+</script>
+</body>
+</html>



Mime
View raw message