accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r809758 [1/9] - in /websites/staging/accumulo/trunk/content: ./ accumulo/ accumulo/1.4/ accumulo/1.4/examples/ accumulo/1.4/user_manual/ accumulo/downloads/ accumulo/downloads/1.3.5/ accumulo/example/ accumulo/governance/ accumulo/user_manu...
Date Fri, 23 Mar 2012 19:08:14 GMT
Author: buildbot
Date: Fri Mar 23 19:08:12 2012
New Revision: 809758

Log:
Staging update by buildbot for accumulo

Added:
    websites/staging/accumulo/trunk/content/accumulo/1.4/
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/batch.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/bloom.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/bulkIngest.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/combiner.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/constraints.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/dirlist.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/filedata.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/filter.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/helloworld.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/index.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/isolation.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/mapred.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/shard.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/examples/visibility.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Accumulo_Design.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Accumulo_Shell.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Administration.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Analytics.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Contents.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/High_Speed_Ingest.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Introduction.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Security.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Shell_Commands.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Table_Configuration.html   (with props)
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Table_Design.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/Writing_Accumulo_Clients.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/accumulo_user_manual.html
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/data_distribution.png   (with props)
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/failure_handling.png   (with props)
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/img1.png   (with props)
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/img2.png   (with props)
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/img3.png   (with props)
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/img4.png   (with props)
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/img5.png   (with props)
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/img6.png   (with props)
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/img7.png   (with props)
    websites/staging/accumulo/trunk/content/accumulo/1.4/user_manual/index.html
    websites/staging/accumulo/trunk/content/accumulo/glossary.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/index.html
Removed:
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.4-incubating/
Modified:
    websites/staging/accumulo/trunk/content/   (props changed)
    websites/staging/accumulo/trunk/content/accumulo/downloads/1.3.5/accumulo-1.3.5-incubating-dist.html
    websites/staging/accumulo/trunk/content/accumulo/downloads/1.3.5/accumulo-1.3.5-incubating-src.html
    websites/staging/accumulo/trunk/content/accumulo/downloads/downloads.html
    websites/staging/accumulo/trunk/content/accumulo/example/wikisearch.html
    websites/staging/accumulo/trunk/content/accumulo/get_involved.html
    websites/staging/accumulo/trunk/content/accumulo/governance/consensusBuilding.html
    websites/staging/accumulo/trunk/content/accumulo/governance/lazyConsensus.html
    websites/staging/accumulo/trunk/content/accumulo/governance/releasing.html
    websites/staging/accumulo/trunk/content/accumulo/governance/voting.html
    websites/staging/accumulo/trunk/content/accumulo/index.html
    websites/staging/accumulo/trunk/content/accumulo/mailing_list.html
    websites/staging/accumulo/trunk/content/accumulo/notable_features.html
    websites/staging/accumulo/trunk/content/accumulo/papers.html
    websites/staging/accumulo/trunk/content/accumulo/screenshots.html
    websites/staging/accumulo/trunk/content/accumulo/source.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Accumulo_Design.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Accumulo_Shell.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Administration.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Analytics.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Contents.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/High_Speed_Ingest.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Introduction.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Security.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Shell_Commands.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Table_Configuration.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Table_Design.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/Writing_Accumulo_Clients.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/accumulo_user_manual.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/aggregation.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/batch.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/bloom.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/bulkIngest.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/constraints.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/dirlist.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/filter.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/helloworld.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/mapred.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/shard.html
    websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/index.html

Propchange: websites/staging/accumulo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Mar 23 19:08:12 2012
@@ -1 +1 @@
-1303393
+1304563

Added: websites/staging/accumulo/trunk/content/accumulo/1.4/examples/batch.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/1.4/examples/batch.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/1.4/examples/batch.html Fri Mar 23 19:08:12 2012
@@ -0,0 +1,140 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<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.
+-->
+  <link href="/accumulo/css/accumulo.css" rel="stylesheet" type="text/css">
+  <title>Apache Accumulo Batch Writing and Scanning Example</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-21103458-6']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+  </script>
+</head>
+
+<body>
+  <div id="banner">&nbsp;
+  </div>
+
+  <div id="navigation">
+  <h1 id="project">Project</h1>
+<ul>
+<li><a href="/accumulo">Home</a></li>
+<li><a href="http://incubator.apache.org/projects/accumulo.html">Incubator page</a></li>
+<li><a href="/accumulo/downloads/downloads.html">Downloads</a></li>
+<li><a href="/accumulo/notable_features.html">Features</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="/accumulo/get_involved.html">Get Involved</a></li>
+<li><a href="/accumulo/mailing_list.html">Mailing Lists</a></li>
+<li><a href="https://issues.apache.org/jira/secure/ConfigureReport.jspa?versionId=-2&amp;selectedProjectId=12312121&amp;reportKey=com.sourcelabs.jira.plugin.report.contributions%3Acontributionreport">People</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="/accumulo/source.html">Source &amp; Guide</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/view/A-F/view/Accumulo/">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/1.4/user_manual">Manual 1.4</a></li>
+<li><a href="/accumulo/1.4/apidocs">Javadoc 1.4</a></li>
+<li><a href="/accumulo/1.4/examples">Examples 1.4</a></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+<li><a href="/accumulo/papers.html">Papers &amp; Other Links</a></li>
+<li><a href="/accumulo/glossary.html">Glossary</a></li>
+</ul>
+<h1 id="asf-links">ASF links</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+</ul>
+  </div>
+
+  <div id="bannertext">
+    <img id="logo" alt="Apache Accumulo (Incubating)" src="/accumulo/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 simple-examples 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="nv">$</span> <span class="err">./</span><span class="nv">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> <span class="s">&quot;setauths -u username -s exampleVis&quot;</span>
+</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="nv">$</span> <span class="err">./</span><span class="nv">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> <span class="s">&quot;createtable batchtest1&quot;</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">SequentialBatchWriter</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">batchtest1</span> <span class="mi">0</span> <span class="mi">10000</span> <span class="mi">50</span> <span class="mi">20000000</span> <span class="mi">500</span> <span class="mi">20</span> <span class="n">exampleVis</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchScanner</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">batchtest1</span> <span class="mi">100</span> <span class="mi">0</span> <span class="mi">10000</span> <span class="mi">50</span> <span class="mi">20</span> <span class="n">exampleVis</span>
+<span class="mo">07</span> <span class="mi">11</span><span class="p">:</span><span class="mi">33</span><span class="p">:</span><span class="mi">11</span><span class="p">,</span><span class="mi">103</span> <span class="p">[</span><span class="n">client</span><span class="o">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">Generating</span> <span class="mi">100</span> <span class="n">random</span> <span class="n">queries</span><span class="o">...</span>
+<span class="mo">07</span> <span class="mi">11</span><span class="p">:</span><span class="mi">33</span><span class="p">:</span><span class="mi">11</span><span class="p">,</span><span class="mi">112</span> <span class="p">[</span><span class="n">client</span><span class="o">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">finished</span>
+<span class="mo">07</span> <span class="mi">11</span><span class="p">:</span><span class="mi">33</span><span class="p">:</span><span class="mi">11</span><span class="p">,</span><span class="mi">260</span> <span class="p">[</span><span class="n">client</span><span class="o">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="mf">694.44</span> <span class="n">lookups</span><span class="o">/</span><span class="n">sec</span>   <span class="mf">0.14</span> <span class="n">secs</span>
+
+<span class="mo">07</span> <span class="mi">11</span><span class="p">:</span><span class="mi">33</span><span class="p">:</span><span class="mi">11</span><span class="p">,</span><span class="mi">260</span> <span class="p">[</span><span class="n">client</span><span class="o">.</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> <span class="mi">100</span>
+
+<span class="mo">07</span> <span class="mi">11</span><span class="p">:</span><span class="mi">33</span><span class="p">:</span><span class="mi">11</span><span class="p">,</span><span class="mi">364</span> <span class="p">[</span><span class="n">client</span><span class="o">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">Generating</span> <span class="mi">100</span> <span class="n">random</span> <span class="n">queries</span><span class="o">...</span>
+<span class="mo">07</span> <span class="mi">11</span><span class="p">:</span><span class="mi">33</span><span class="p">:</span><span class="mi">11</span><span class="p">,</span><span class="mi">370</span> <span class="p">[</span><span class="n">client</span><span class="o">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="n">finished</span>
+<span class="mo">07</span> <span class="mi">11</span><span class="p">:</span><span class="mi">33</span><span class="p">:</span><span class="mi">11</span><span class="p">,</span><span class="mi">416</span> <span class="p">[</span><span class="n">client</span><span class="o">.</span><span class="n">CountingVerifyingReceiver</span><span class="p">]</span> <span class="n">INFO</span> <span class="p">:</span> <span class="mf">2173.91</span> <span class="n">lookups</span><span class="o">/</span><span class="n">sec</span>   <span class="mf">0.05</span> <span class="n">secs</span>
+
+<span class="mo">07</span> <span class="mi">11</span><span class="p">:</span><span class="mi">33</span><span class="p">:</span><span class="mi">11</span><span class="p">,</span><span class="mi">416</span> <span class="p">[</span><span class="n">client</span><span class="o">.</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> <span class="mi">100</span>
+</pre></div>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        <br />
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div> 
+    <a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/accumulo/images/apache-incubator-logo.png" width="150"/>
+    </a>
+
+  </div>
+
+</body>
+</html>

Added: websites/staging/accumulo/trunk/content/accumulo/1.4/examples/bloom.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/1.4/examples/bloom.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/1.4/examples/bloom.html Fri Mar 23 19:08:12 2012
@@ -0,0 +1,310 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<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.
+-->
+  <link href="/accumulo/css/accumulo.css" rel="stylesheet" type="text/css">
+  <title>Apache Accumulo Bloom Filter Example</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-21103458-6']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+  </script>
+</head>
+
+<body>
+  <div id="banner">&nbsp;
+  </div>
+
+  <div id="navigation">
+  <h1 id="project">Project</h1>
+<ul>
+<li><a href="/accumulo">Home</a></li>
+<li><a href="http://incubator.apache.org/projects/accumulo.html">Incubator page</a></li>
+<li><a href="/accumulo/downloads/downloads.html">Downloads</a></li>
+<li><a href="/accumulo/notable_features.html">Features</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="/accumulo/get_involved.html">Get Involved</a></li>
+<li><a href="/accumulo/mailing_list.html">Mailing Lists</a></li>
+<li><a href="https://issues.apache.org/jira/secure/ConfigureReport.jspa?versionId=-2&amp;selectedProjectId=12312121&amp;reportKey=com.sourcelabs.jira.plugin.report.contributions%3Acontributionreport">People</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="/accumulo/source.html">Source &amp; Guide</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/view/A-F/view/Accumulo/">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/1.4/user_manual">Manual 1.4</a></li>
+<li><a href="/accumulo/1.4/apidocs">Javadoc 1.4</a></li>
+<li><a href="/accumulo/1.4/examples">Examples 1.4</a></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+<li><a href="/accumulo/papers.html">Papers &amp; Other Links</a></li>
+<li><a href="/accumulo/glossary.html">Glossary</a></li>
+</ul>
+<h1 id="asf-links">ASF links</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+</ul>
+  </div>
+
+  <div id="bannertext">
+    <img id="logo" alt="Apache Accumulo (Incubating)" src="/accumulo/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="nv">$</span> <span class="err">./</span><span class="nv">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="mf">1.4</span><span class="o">.</span><span class="n">x</span>
+<span class="o">-</span> <span class="n">instance</span> <span class="n">name:</span> <span class="n">instance</span>
+<span class="o">-</span> <span class="n">instance</span> <span class="n">id:</span> <span class="mo">00000000</span><span class="o">-</span><span class="mo">0000</span><span class="o">-</span><span class="mo">0000</span><span class="o">-</span><span class="mo">0000</span><span class="o">-</span><span class="mo">000000000000</span>
+<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="nv">@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="nv">@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="nv">@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="o">.</span><span class="n">bloom</span><span class="o">.</span><span class="n">enabled</span><span class="o">=</span><span class="n">true</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">bloom_test</span><span class="o">&gt;</span> <span class="nb">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="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchWriter</span> <span class="o">-</span><span class="n">s</span> <span class="mi">7</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test</span> <span class="mi">1000000</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">2000000</span> <span class="mi">60000</span> <span class="mi">3</span> <span class="n">e
 xampleVis</span>
+</pre></div>
+
+
+<p>Below the table is flushed:</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="err">./</span><span class="nv">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>
+<span class="mo">05</span> <span class="mi">10</span><span class="p">:</span><span class="mi">40</span><span class="p">:</span><span class="mo">06</span><span class="p">,</span><span class="mo">06</span><span class="mi">9</span> <span class="p">[</span><span class="n">shell</span><span class="o">.</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="o">.</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="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchScanner</span> <span class="o">-</span><span class="n">s</span> <span class="mi">7</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test</span> <span class="mi">500</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">20</span> <span class="n">exampleVis</span>
+<span class="n">Generating</span> <span class="mi">500</span> <span class="n">random</span> <span class="n">queries</span><span class="o">...</span><span class="n">finished</span>
+<span class="mf">96.19</span> <span class="n">lookups</span><span class="o">/</span><span class="n">sec</span>   <span class="mf">5.20</span> <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> <span class="mi">500</span>
+<span class="n">Generating</span> <span class="mi">500</span> <span class="n">random</span> <span class="n">queries</span><span class="o">...</span><span class="n">finished</span>
+<span class="mf">102.35</span> <span class="n">lookups</span><span class="o">/</span><span class="n">sec</span>   <span class="mf">4.89</span> <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> <span class="mi">500</span>
+</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="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchScanner</span> <span class="o">-</span><span class="n">s</span> <span class="mi">8</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test</span> <span class="mi">500</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">20</span> <span class="n">exampleVis</span>
+<span class="n">Generating</span> <span class="mi">500</span> <span class="n">random</span> <span class="n">queries</span><span class="o">...</span><span class="n">finished</span>
+<span class="mf">2212.39</span> <span class="n">lookups</span><span class="o">/</span><span class="n">sec</span>   <span class="mf">0.23</span> <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> <span class="mi">0</span>
+<span class="n">Did</span> <span class="ow">not</span> <span class="n">find</span> <span class="mi">500</span> <span class="n">rows</span>
+<span class="n">Generating</span> <span class="mi">500</span> <span class="n">random</span> <span class="n">queries</span><span class="o">...</span><span class="n">finished</span>
+<span class="mf">4464.29</span> <span class="n">lookups</span><span class="o">/</span><span class="n">sec</span>   <span class="mf">0.11</span> <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> <span class="mi">0</span>
+<span class="n">Did</span> <span class="ow">not</span> <span class="n">find</span> <span class="mi">500</span> <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="nv">$</span> <span class="err">./</span><span class="nv">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="mf">1.4</span><span class="o">.</span><span class="n">x</span>
+<span class="o">-</span> <span class="n">instance</span> <span class="n">name:</span> <span class="n">instance</span>
+<span class="o">-</span> <span class="n">instance</span> <span class="n">id:</span> <span class="mo">00000000</span><span class="o">-</span><span class="mo">0000</span><span class="o">-</span><span class="mo">0000</span><span class="o">-</span><span class="mo">0000</span><span class="o">-</span><span class="mo">000000000000</span>
+<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="nv">@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="nv">@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="nv">@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="o">.</span><span class="n">compaction</span><span class="o">.</span><span class="n">major</span><span class="o">.</span><span class="n">ratio</span><span class="o">=</span><span class="mi">7</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">bloom_test1</span><span class="o">&gt;</span> <span class="nb">exit</span>
+
+<span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchWriter</span> <span class="o">-</span><span class="n">s</span> <span class="mi">7</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test1</span> <span class="mi">1000000</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">2000000</span> <span class="mi">60000</span> <span class="mi">3</span> <span class="n">exampleVis</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">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="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchWriter</span> <span class="o">-</span><span class="n">s</span> <span class="mi">8</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test1</span> <span class="mi">1000000</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">2000000</span> <span class="mi">60000</span> <span class="mi">3</span> <span class="n">exampleVis</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">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="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchWriter</span> <span class="o">-</span><span class="n">s</span> <span class="mi">9</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test1</span> <span class="mi">1000000</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">2000000</span> <span class="mi">60000</span> <span class="mi">3</span> <span class="n">exampleVis</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">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="nv">$</span> <span class="err">./</span><span class="nv">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="mf">1.4</span><span class="o">.</span><span class="n">x</span>
+<span class="o">-</span> <span class="n">instance</span> <span class="n">name:</span> <span class="n">instance</span>
+<span class="o">-</span> <span class="n">instance</span> <span class="n">id:</span> <span class="mo">00000000</span><span class="o">-</span><span class="mo">0000</span><span class="o">-</span><span class="mo">0000</span><span class="o">-</span><span class="mo">0000</span><span class="o">-</span><span class="mo">000000000000</span>
+<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="nv">@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="nv">@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="nv">@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="o">.</span><span class="n">compaction</span><span class="o">.</span><span class="n">major</span><span class="o">.</span><span class="n">ratio</span><span class="o">=</span><span class="mi">7</span>
+<span class="n">username</span><span class="nv">@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="o">.</span><span class="n">bloom</span><span class="o">.</span><span class="n">enabled</span><span class="o">=</span><span class="n">true</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">bloom_test2</span><span class="o">&gt;</span> <span class="nb">exit</span>
+
+<span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchWriter</span> <span class="o">-</span><span class="n">s</span> <span class="mi">7</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test2</span> <span class="mi">1000000</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">2000000</span> <span class="mi">60000</span> <span class="mi">3</span> <span class="n">exampleVis</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">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="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchWriter</span> <span class="o">-</span><span class="n">s</span> <span class="mi">8</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test2</span> <span class="mi">1000000</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">2000000</span> <span class="mi">60000</span> <span class="mi">3</span> <span class="n">exampleVis</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">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="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchWriter</span> <span class="o">-</span><span class="n">s</span> <span class="mi">9</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test2</span> <span class="mi">1000000</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">2000000</span> <span class="mi">60000</span> <span class="mi">3</span> <span class="n">exampleVis</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">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="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchScanner</span> <span class="o">-</span><span class="n">s</span> <span class="mi">7</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test1</span> <span class="mi">500</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">20</span> <span class="n">exampleVis</span>
+<span class="n">Generating</span> <span class="mi">500</span> <span class="n">random</span> <span class="n">queries</span><span class="o">...</span><span class="n">finished</span>
+<span class="mf">35.09</span> <span class="n">lookups</span><span class="o">/</span><span class="n">sec</span>  <span class="mf">14.25</span> <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> <span class="mi">500</span>
+<span class="n">Generating</span> <span class="mi">500</span> <span class="n">random</span> <span class="n">queries</span><span class="o">...</span><span class="n">finished</span>
+<span class="mf">35.33</span> <span class="n">lookups</span><span class="o">/</span><span class="n">sec</span>  <span class="mf">14.15</span> <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> <span class="mi">500</span>
+</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="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">RandomBatchScanner</span> <span class="o">-</span><span class="n">s</span> <span class="mi">7</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">bloom_test2</span> <span class="mi">500</span> <span class="mi">0</span> <span class="mi">1000000000</span> <span class="mi">50</span> <span class="mi">20</span> <span class="n">exampleVis</span>
+<span class="n">Generating</span> <span class="mi">500</span> <span class="n">random</span> <span class="n">queries</span><span class="o">...</span><span class="n">finished</span>
+<span class="mf">99.03</span> <span class="n">lookups</span><span class="o">/</span><span class="n">sec</span>   <span class="mf">5.05</span> <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> <span class="mi">500</span>
+<span class="n">Generating</span> <span class="mi">500</span> <span class="n">random</span> <span class="n">queries</span><span class="o">...</span><span class="n">finished</span>
+<span class="mf">101.15</span> <span class="n">lookups</span><span class="o">/</span><span class="n">sec</span>   <span class="mf">4.94</span> <span class="n">secs</span>
+<span class="n">num</span> <span class="n">results</span> <span class="p">:</span> <span class="mi">500</span>
+</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="nv">$</span> <span class="err">./</span><span class="nv">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="o">!</span><span class="n">METADATA</span>       <span class="o">=&gt;</span>         <span class="o">!</span><span class="mi">0</span>
+<span class="n">bloom_test1</span>     <span class="o">=&gt;</span>         <span class="n">o7</span>
+<span class="n">bloom_test2</span>     <span class="o">=&gt;</span>         <span class="n">o8</span>
+<span class="n">trace</span>           <span class="o">=&gt;</span>          <span class="mi">1</span>
+</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="nv">$</span> <span class="nv">hadoop</span> <span class="n">fs</span> <span class="o">-</span><span class="n">lsr</span> <span class="sr">/accumulo/</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>          <span class="mi">0</span> <span class="mi">2012</span><span class="o">-</span><span class="mo">01</span><span class="o">-</span><span class="mi">10</span> <span class="mi">14</span><span class="p">:</span><span class="mo">02</span> <span class="sr">/accumulo/</span><span class="n">tables</span><span class="sr">/o8/</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>   <span class="mi">3</span> <span class="n">username</span> <span class="n">supergroup</span>   <span class="mi">52672650</span> <span class="mi">2012</span><span class="o">-</span><span class="mo">01</span><span class="o">-</span><span class="mi">10</span> <span class="mi">14</span><span class="p">:</span><span class="mo">01</span> <span class="sr">/accumulo/</span><span class="n">tables</span><span class="sr">/o8/</span><span class="n">default_tablet</span><span class="o">/</span><span class="n">F00000dj</span><span class="o">.</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>   <span class="mi">3</span> <span class="n">username</span> <span class="n">supergroup</span>   <span class="mi">52436176</span> <span class="mi">2012</span><span class="o">-</span><span class="mo">01</span><span class="o">-</span><span class="mi">10</span> <span class="mi">14</span><span class="p">:</span><span class="mo">01</span> <span class="sr">/accumulo/</span><span class="n">tables</span><span class="sr">/o8/</span><span class="n">default_tablet</span><span class="o">/</span><span class="n">F00000dk</span><span class="o">.</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>   <span class="mi">3</span> <span class="n">username</span> <span class="n">supergroup</span>   <span class="mi">52850173</span> <span class="mi">2012</span><span class="o">-</span><span class="mo">01</span><span class="o">-</span><span class="mi">10</span> <span class="mi">14</span><span class="p">:</span><span class="mo">02</span> <span class="sr">/accumulo/</span><span class="n">tables</span><span class="sr">/o8/</span><span class="n">default_tablet</span><span class="o">/</span><span class="n">F00000dl</span><span class="o">.</span><span class="n">rf</span>
+</pre></div>
+
+
+<p>Running the PrintInfo command shows that one of the files has a bloom filter
+and its 1.5MB.</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="sr">/accumulo org.apache.accumulo.core.file.rfile.PrintInfo /</span><span class="n">accumulo</span><span class="sr">/tables/o</span><span class="mi">8</span><span class="sr">/default_tablet/</span><span class="n">F00000dj</span><span class="o">.</span><span class="n">rf</span>
+<span class="n">Locality</span> <span class="n">group</span>         <span class="p">:</span> <span class="sr">&lt;DEFAULT&gt;</span>
+<span class="n">Start</span> <span class="n">block</span>          <span class="p">:</span> <span class="mi">0</span>
+<span class="n">Num</span>   <span class="n">blocks</span>         <span class="p">:</span> <span class="mi">752</span>
+<span class="n">Index</span> <span class="n">level</span> <span class="mi">0</span>        <span class="p">:</span> <span class="mi">43</span><span class="p">,</span><span class="mi">598</span> <span class="n">bytes</span>  <span class="mi">1</span> <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:1</span> <span class="p">[</span><span class="n">exampleVis</span><span class="p">]</span> <span class="mi">1326222052539</span> <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:1</span> <span class="p">[</span><span class="n">exampleVis</span><span class="p">]</span> <span class="mi">1326222052058</span> <span class="n">false</span>
+<span class="n">Num</span> <span class="n">entries</span>          <span class="p">:</span> <span class="mi">999</span><span class="p">,</span><span class="mi">536</span>
+<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="o">.</span><span class="nb">index</span>
+  <span class="n">Raw</span> <span class="n">size</span>             <span class="p">:</span> <span class="mi">4</span> <span class="n">bytes</span>
+  <span class="n">Compressed</span> <span class="n">size</span>      <span class="p">:</span> <span class="mi">12</span> <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="o">.</span><span class="nb">index</span>
+  <span class="n">Raw</span> <span class="n">size</span>             <span class="p">:</span> <span class="mi">43</span><span class="p">,</span><span class="mi">696</span> <span class="n">bytes</span>
+  <span class="n">Compressed</span> <span class="n">size</span>      <span class="p">:</span> <span class="mi">15</span><span class="p">,</span><span class="mi">592</span> <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="n">size</span>             <span class="p">:</span> <span class="mi">1</span><span class="p">,</span><span class="mi">540</span><span class="p">,</span><span class="mi">292</span> <span class="n">bytes</span>
+  <span class="n">Compressed</span> <span class="n">size</span>      <span class="p">:</span> <span class="mi">1</span><span class="p">,</span><span class="mi">433</span><span class="p">,</span><span class="mi">115</span> <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">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        <br />
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div> 
+    <a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/accumulo/images/apache-incubator-logo.png" width="150"/>
+    </a>
+
+  </div>
+
+</body>
+</html>

Added: websites/staging/accumulo/trunk/content/accumulo/1.4/examples/bulkIngest.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/1.4/examples/bulkIngest.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/1.4/examples/bulkIngest.html Fri Mar 23 19:08:12 2012
@@ -0,0 +1,121 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<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.
+-->
+  <link href="/accumulo/css/accumulo.css" rel="stylesheet" type="text/css">
+  <title>Apache Accumulo Bulk Ingest Example</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-21103458-6']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+  </script>
+</head>
+
+<body>
+  <div id="banner">&nbsp;
+  </div>
+
+  <div id="navigation">
+  <h1 id="project">Project</h1>
+<ul>
+<li><a href="/accumulo">Home</a></li>
+<li><a href="http://incubator.apache.org/projects/accumulo.html">Incubator page</a></li>
+<li><a href="/accumulo/downloads/downloads.html">Downloads</a></li>
+<li><a href="/accumulo/notable_features.html">Features</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="/accumulo/get_involved.html">Get Involved</a></li>
+<li><a href="/accumulo/mailing_list.html">Mailing Lists</a></li>
+<li><a href="https://issues.apache.org/jira/secure/ConfigureReport.jspa?versionId=-2&amp;selectedProjectId=12312121&amp;reportKey=com.sourcelabs.jira.plugin.report.contributions%3Acontributionreport">People</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="/accumulo/source.html">Source &amp; Guide</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/view/A-F/view/Accumulo/">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/1.4/user_manual">Manual 1.4</a></li>
+<li><a href="/accumulo/1.4/apidocs">Javadoc 1.4</a></li>
+<li><a href="/accumulo/1.4/examples">Examples 1.4</a></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+<li><a href="/accumulo/papers.html">Papers &amp; Other Links</a></li>
+<li><a href="/accumulo/glossary.html">Glossary</a></li>
+</ul>
+<h1 id="asf-links">ASF links</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+</ul>
+  </div>
+
+  <div id="bannertext">
+    <img id="logo" alt="Apache Accumulo (Incubating)" src="/accumulo/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 map reduce.</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. The
+first two arguments to all of the commands except for GenerateTestData are the
+accumulo instance name, and a comma-separated list of zookeepers.</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">mapreduce</span><span class="o">.</span><span class="n">bulk</span><span class="o">.</span><span class="n">SetupTable</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">test_bulk</span> <span class="n">row_00000333</span> <span class="n">row_00000666</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="sr">/accumulo org.apache.accumulo.examples.simple.mapreduce.bulk.GenerateTestData 0 1000 bulk/</span><span class="n">test_1</span><span class="o">.</span><span class="n">txt</span>
+
+<span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="sr">/tool.sh lib/</span><span class="n">examples</span><span class="o">-</span><span class="n">simple</span><span class="o">-*</span><span class="p">[</span><span class="o">^</span><span class="n">c</span><span class="p">]</span><span class="o">.</span><span class="n">jar</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">mapreduce</span><span class="o">.</span><span class="n">bulk</span><span class="o">.</span><span class="n">BulkIngestExample</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">test_bulk</span> <span class="n">bulk</span> <span class
 ="n">tmp</span><span class="o">/</span><span class="n">bulkWork</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">accumulo</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">mapreduce</span><span class="o">.</span><span class="n">bulk</span><span class="o">.</span><span class="n">VerifyIngest</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">test_bulk</span> <span class="mi">0</span> <span class="mi">1000</span>
+</pre></div>
+
+
+<p>For a high level discussion of bulk ingest, see the docs dir.</p>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        <br />
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div> 
+    <a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/accumulo/images/apache-incubator-logo.png" width="150"/>
+    </a>
+
+  </div>
+
+</body>
+</html>

Added: websites/staging/accumulo/trunk/content/accumulo/1.4/examples/combiner.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/1.4/examples/combiner.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/1.4/examples/combiner.html Fri Mar 23 19:08:12 2012
@@ -0,0 +1,158 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<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.
+-->
+  <link href="/accumulo/css/accumulo.css" rel="stylesheet" type="text/css">
+  <title>Apache Accumulo Combiner Example</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-21103458-6']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+  </script>
+</head>
+
+<body>
+  <div id="banner">&nbsp;
+  </div>
+
+  <div id="navigation">
+  <h1 id="project">Project</h1>
+<ul>
+<li><a href="/accumulo">Home</a></li>
+<li><a href="http://incubator.apache.org/projects/accumulo.html">Incubator page</a></li>
+<li><a href="/accumulo/downloads/downloads.html">Downloads</a></li>
+<li><a href="/accumulo/notable_features.html">Features</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="/accumulo/get_involved.html">Get Involved</a></li>
+<li><a href="/accumulo/mailing_list.html">Mailing Lists</a></li>
+<li><a href="https://issues.apache.org/jira/secure/ConfigureReport.jspa?versionId=-2&amp;selectedProjectId=12312121&amp;reportKey=com.sourcelabs.jira.plugin.report.contributions%3Acontributionreport">People</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="/accumulo/source.html">Source &amp; Guide</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/view/A-F/view/Accumulo/">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/1.4/user_manual">Manual 1.4</a></li>
+<li><a href="/accumulo/1.4/apidocs">Javadoc 1.4</a></li>
+<li><a href="/accumulo/1.4/examples">Examples 1.4</a></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+<li><a href="/accumulo/papers.html">Papers &amp; Other Links</a></li>
+<li><a href="/accumulo/glossary.html">Glossary</a></li>
+</ul>
+<h1 id="asf-links">ASF links</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+</ul>
+  </div>
+
+  <div id="bannertext">
+    <img id="logo" alt="Apache Accumulo (Incubating)" src="/accumulo/images/accumulo-logo.png"/>
+  </div>
+
+  <div id="content">
+    <h1 class="title">Apache Accumulo Combiner Example</h1>
+    <p>This tutorial uses the following Java class, which can be found in org.apache.accumulo.examples.simple.combiner in the simple-examples module:</p>
+<ul>
+<li>StatsCombiner.java - a combiner that calculates max, min, sum, and count</li>
+</ul>
+<p>This is a simple combiner example.  To build this example run maven and then
+copy the produced jar into the accumulo lib dir.  This is already done in the
+tar distribution.</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">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="n">Enter</span> <span class="n">current</span> <span class="n">password</span> <span class="k">for</span> <span class="s">&#39;username&#39;</span><span class="nv">@</span><span class="err">&#39;</span><span class="nv">instance</span><span class="s">&#39;: ***</span>
+
+<span class="s">Shell - Apache Accumulo Interactive Shell</span>
+<span class="s">- </span>
+<span class="s">- version: 1.4.x</span>
+<span class="s">- instance name: instance</span>
+<span class="s">- instance id: 00000000-0000-0000-0000-000000000000</span>
+<span class="s">- </span>
+<span class="s">- type &#39;</span><span class="n">help</span><span class="err">&#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="nv">@instance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="n">runners</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">setiter</span> <span class="o">-</span><span class="n">t</span> <span class="n">runners</span> <span class="o">-</span><span class="n">p</span> <span class="mi">10</span> <span class="o">-</span><span class="n">scan</span> <span class="o">-</span><span class="n">minc</span> <span class="o">-</span><span class="n">majc</span> <span class="o">-</span><span class="n">n</span> <span class="n">decStats</span> <span class="o">-</span><span class="n">class</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">combiner</span><span class="o">.</span><span class="n">StatsCombiner</span>
+<span class="n">Combiner</span> <span class="n">that</span> <span class="n">keeps</span> <span class="n">track</span> <span class="n">of</span> <span class="n">min</span><span class="p">,</span> <span class="n">max</span><span class="p">,</span> <span class="n">sum</span><span class="p">,</span> <span class="ow">and</span> <span class="n">count</span>
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">StatsCombiner</span> <span class="n">parameter</span> <span class="n">all</span><span class="p">,</span> <span class="n">set</span> <span class="n">to</span> <span class="n">true</span> <span class="n">to</span> <span class="n">apply</span> <span class="n">Combiner</span> <span class="n">to</span> <span class="n">every</span> <span class="n">column</span><span class="p">,</span> <span class="n">otherwise</span> <span class="n">leave</span> <span class="n">blank</span><span class="o">.</span> <span class="k">if</span> <span class="n">true</span><span class="p">,</span> <span class="n">columns</span> <span class="n">option</span> <span class="n">will</span> <span class="n">be</span> <span class="n">ignored</span><span class="o">.</span><span class="p">:</span> 
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">StatsCombiner</span> <span class="n">parameter</span> <span class="n">columns</span><span class="p">,</span> <span class="o">&lt;</span><span class="n">col</span> <span class="n">fam</span><span class="o">&gt;</span><span class="p">[:</span><span class="o">&lt;</span><span class="n">col</span> <span class="n">qual</span><span class="o">&gt;</span><span class="p">]{,</span><span class="o">&lt;</span><span class="n">col</span> <span class="n">fam</span><span class="o">&gt;</span><span class="p">[:</span><span class="o">&lt;</span><span class="n">col</span> <span class="n">qual</span><span class="o">&gt;</span><span class="p">]}</span> <span class="n">escape</span> <span class="n">non</span> <span class="n">aplhanum</span> <span class="n">chars</span> <span class="n">using</span> <span class="nv">%</span><span class="err">&lt;</span><span class="nv">hex</span><span class="o">&gt;.</span><span class
 ="p">:</span> <span class="nb">stat</span>
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">StatsCombiner</span> <span class="n">parameter</span> <span class="n">radix</span><span class="p">,</span> <span class="n">radix</span><span class="o">/</span><span class="n">base</span> <span class="n">of</span> <span class="n">the</span> <span class="n">numbers:</span> <span class="mi">10</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">setiter</span> <span class="o">-</span><span class="n">t</span> <span class="n">runners</span> <span class="o">-</span><span class="n">p</span> <span class="mi">11</span> <span class="o">-</span><span class="n">scan</span> <span class="o">-</span><span class="n">minc</span> <span class="o">-</span><span class="n">majc</span> <span class="o">-</span><span class="n">n</span> <span class="n">hexStats</span> <span class="o">-</span><span class="n">class</span> <span class="n">org</span><span class="o">.</span><span class="n">apache</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="o">.</span><span class="n">combiner</span><span class="o">.</span><span class="n">StatsCombiner</span>
+<span class="n">Combiner</span> <span class="n">that</span> <span class="n">keeps</span> <span class="n">track</span> <span class="n">of</span> <span class="n">min</span><span class="p">,</span> <span class="n">max</span><span class="p">,</span> <span class="n">sum</span><span class="p">,</span> <span class="ow">and</span> <span class="n">count</span>
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">StatsCombiner</span> <span class="n">parameter</span> <span class="n">all</span><span class="p">,</span> <span class="n">set</span> <span class="n">to</span> <span class="n">true</span> <span class="n">to</span> <span class="n">apply</span> <span class="n">Combiner</span> <span class="n">to</span> <span class="n">every</span> <span class="n">column</span><span class="p">,</span> <span class="n">otherwise</span> <span class="n">leave</span> <span class="n">blank</span><span class="o">.</span> <span class="k">if</span> <span class="n">true</span><span class="p">,</span> <span class="n">columns</span> <span class="n">option</span> <span class="n">will</span> <span class="n">be</span> <span class="n">ignored</span><span class="o">.</span><span class="p">:</span> 
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">StatsCombiner</span> <span class="n">parameter</span> <span class="n">columns</span><span class="p">,</span> <span class="o">&lt;</span><span class="n">col</span> <span class="n">fam</span><span class="o">&gt;</span><span class="p">[:</span><span class="o">&lt;</span><span class="n">col</span> <span class="n">qual</span><span class="o">&gt;</span><span class="p">]{,</span><span class="o">&lt;</span><span class="n">col</span> <span class="n">fam</span><span class="o">&gt;</span><span class="p">[:</span><span class="o">&lt;</span><span class="n">col</span> <span class="n">qual</span><span class="o">&gt;</span><span class="p">]}</span> <span class="n">escape</span> <span class="n">non</span> <span class="n">aplhanum</span> <span class="n">chars</span> <span class="n">using</span> <span class="nv">%</span><span class="err">&lt;</span><span class="nv">hex</span><span class="o">&gt;.</span><span class
 ="p">:</span> <span class="n">hstat</span>
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">StatsCombiner</span> <span class="n">parameter</span> <span class="n">radix</span><span class="p">,</span> <span class="n">radix</span><span class="o">/</span><span class="n">base</span> <span class="n">of</span> <span class="n">the</span> <span class="n">numbers:</span> <span class="mi">16</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="mi">123456</span> <span class="n">name</span> <span class="n">first</span> <span class="n">Joe</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="mi">123456</span> <span class="nb">stat</span> <span class="n">marathon</span> <span class="mi">240</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="mi">123456</span> <span class="n">name:first</span> <span class="o">[]</span>    <span class="n">Joe</span>
+<span class="mi">123456</span> <span class="nb">stat</span><span class="p">:</span><span class="n">marathon</span> <span class="o">[]</span>    <span class="mi">240</span><span class="p">,</span><span class="mi">240</span><span class="p">,</span><span class="mi">240</span><span class="p">,</span><span class="mi">1</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="mi">123456</span> <span class="nb">stat</span> <span class="n">marathon</span> <span class="mi">230</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="mi">123456</span> <span class="nb">stat</span> <span class="n">marathon</span> <span class="mi">220</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="mi">123456</span> <span class="n">name:first</span> <span class="o">[]</span>    <span class="n">Joe</span>
+<span class="mi">123456</span> <span class="nb">stat</span><span class="p">:</span><span class="n">marathon</span> <span class="o">[]</span>    <span class="mi">220</span><span class="p">,</span><span class="mi">240</span><span class="p">,</span><span class="mi">690</span><span class="p">,</span><span class="mi">3</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="mi">123456</span> <span class="n">hstat</span> <span class="n">virtualMarathon</span> <span class="mi">6</span><span class="n">a</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="mi">123456</span> <span class="n">hstat</span> <span class="n">virtualMarathon</span> <span class="mi">6</span><span class="n">b</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">runners</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="mi">123456</span> <span class="n">hstat:virtualMarathon</span> <span class="o">[]</span>    <span class="mi">6</span><span class="n">a</span><span class="p">,</span><span class="mi">6</span><span class="n">b</span><span class="p">,</span><span class="n">d5</span><span class="p">,</span><span class="mi">2</span>
+<span class="mi">123456</span> <span class="n">name:first</span> <span class="o">[]</span>    <span class="n">Joe</span>
+<span class="mi">123456</span> <span class="nb">stat</span><span class="p">:</span><span class="n">marathon</span> <span class="o">[]</span>    <span class="mi">220</span><span class="p">,</span><span class="mi">240</span><span class="p">,</span><span class="mi">690</span><span class="p">,</span><span class="mi">3</span>
+</pre></div>
+
+
+<p>In this example a table is created and the example stats combiner is applied to
+the column family stat and hstat.  The stats combiner computes min,max,sum, and
+count.  It can be configured to use a different base or radix.  In the example
+above the column family stat is configured for base 10 and the column family
+hstat is configured for base 16.</p>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        <br />
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div> 
+    <a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/accumulo/images/apache-incubator-logo.png" width="150"/>
+    </a>
+
+  </div>
+
+</body>
+</html>



Mime
View raw message