incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r797867 [6/12] - in /websites/staging/accumulo/trunk/content: ./ accumulo/ accumulo/css/ accumulo/governance/ accumulo/images/ accumulo/user_manual_1.3-incubating/ accumulo/user_manual_1.3-incubating/examples/ accumulo/user_manual_1.4-incub...
Date Tue, 01 Nov 2011 17:08:19 GMT
Added: 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/accumulo_user_manual.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/accumulo_user_manual.html Tue Nov  1 17:08:17 2011
@@ -0,0 +1,134 @@
+<!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>Accumulo User Manual: index</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">
+    <img id="logo" alt="Apache accumulo (Incubating)" src="/accumulo/images/accumulo-logo.png"/>
+    <div id="bannertext">
+&nbsp; 
+    </div><br />
+  </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>
+<!--  - Download --></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 Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/job/Accumulo-Trunk">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/user_manual_1.3-incubating">Manual v1.3</a><ul>
+<li><a href="/accumulo/user_manual_1.3-incubating/examples.html">Examples v1.3</a></li>
+</ul>
+</li>
+<li><a href="/accumulo/user_manual_1.4-incubating">Manual v1.4</a>
+<!-- - klzzwxh:0005 -->
+<!-- - Javadoc -->
+<!-- - Examples --></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+</ul>
+<!--
+# Development
+ - Source code
+ - Building
+-->
+
+<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="content">
+    <h1 class="title">Accumulo User Manual: index</h1>
+    <p><strong> Next:</strong> <a href="Contents.html">Contents</a>   <strong> <a href="Contents.html">Contents</a></strong> <br />
+</p>
+<p>Version 1.3</p>
+<hr />
+<p><a id=CHILD_LINKS></a></p>
+<ul>
+<li><a href="Contents.html">Contents</a></li>
+<li><a href="Introduction.html">Introduction</a></li>
+<li><a href="Accumulo_Design.html">Accumulo Design</a></li>
+<li><a href="Accumulo_Shell.html">Accumulo Shell</a></li>
+<li><a href="Writing_Accumulo_Clients.html">Writing Accumulo Clients</a></li>
+<li><a href="Table_Configuration.html">Table Configuration</a></li>
+<li><a href="Table_Design.html">Table Design</a></li>
+<li><a href="High_Speed_Ingest.html">High-Speed Ingest</a></li>
+<li><a href="Analytics.html">Analytics</a></li>
+<li><a href="Security.html">Security</a></li>
+<li><a href="Administration.html">Administration</a></li>
+<li><a href="Shell_Commands.html">Shell Commands</a></li>
+</ul>
+<hr />
+  </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/user_manual_1.3-incubating/data_distribution.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/data_distribution.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 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.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples.html Tue Nov  1 17:08:17 2011
@@ -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>Examples</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">
+    <img id="logo" alt="Apache accumulo (Incubating)" src="/accumulo/images/accumulo-logo.png"/>
+    <div id="bannertext">
+&nbsp; 
+    </div><br />
+  </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>
+<!--  - Download --></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 Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/job/Accumulo-Trunk">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/user_manual_1.3-incubating">Manual v1.3</a><ul>
+<li><a href="/accumulo/user_manual_1.3-incubating/examples.html">Examples v1.3</a></li>
+</ul>
+</li>
+<li><a href="/accumulo/user_manual_1.4-incubating">Manual v1.4</a>
+<!-- - klzzwxh:0005 -->
+<!-- - Javadoc -->
+<!-- - Examples --></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+</ul>
+<!--
+# Development
+ - Source code
+ - Building
+-->
+
+<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="content">
+    <h1 class="title">Examples</h1>
+    <p>Each README in the examples directory highlights the use of particular features of Accumulo.</p>
+<p>Before running any of the examples, the following steps must be performed.</p>
+<ol>
+<li>
+<p>Install and run Accumulo via the instructions found in $ACCUMULO_HOME/README.
+Remember the instance name.  It will be referred to as "instance" throughout the examples.
+A comma-separated list of zookeeper servers will be referred to as "zookeepers".</p>
+</li>
+<li>
+<p>Create an Accumulo user (see the <a href="/accumulo/user_manual_1.3-incubating/Accumulo_Shell.html#User_Administration">user manual</a>), or use the root user.
+The Accumulo user name will be referred to as "username" with password "password" throughout the examples.</p>
+</li>
+</ol>
+<p>In all commands, you will need to replace "instance", "zookeepers", "username", and "password" with the values you set for your Accumulo instance.</p>
+<p>Commands intended to be run in bash are prefixed by '$'.  These are always assumed to be run from the $ACCUMULO_HOME directory.</p>
+<p>Commands intended to be run in the Accumulo shell are prefixed by '&gt;'.</p>
+<p><a href="examples/aggregation.html">aggregation</a></p>
+<p><a href="examples/batch.html">batch</a></p>
+<p><a href="examples/bloom.html">bloom</a></p>
+<p><a href="examples/bulkIngest.html">bulkIngest</a></p>
+<p><a href="examples/constraints.html">constraints</a></p>
+<p><a href="examples/dirlist.html">dirlist</a></p>
+<p><a href="examples/filter.html">filter</a></p>
+<p><a href="examples/helloworld.html">helloworld</a></p>
+<p><a href="examples/mapred.html">mapred</a></p>
+<p><a href="examples/shard.html">shard</a></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/user_manual_1.3-incubating/examples/aggregation.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/aggregation.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/aggregation.html Tue Nov  1 17:08:17 2011
@@ -0,0 +1,147 @@
+<!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>Aggregation 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">
+    <img id="logo" alt="Apache accumulo (Incubating)" src="/accumulo/images/accumulo-logo.png"/>
+    <div id="bannertext">
+&nbsp; 
+    </div><br />
+  </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>
+<!--  - Download --></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 Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/job/Accumulo-Trunk">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/user_manual_1.3-incubating">Manual v1.3</a><ul>
+<li><a href="/accumulo/user_manual_1.3-incubating/examples.html">Examples v1.3</a></li>
+</ul>
+</li>
+<li><a href="/accumulo/user_manual_1.4-incubating">Manual v1.4</a>
+<!-- - klzzwxh:0005 -->
+<!-- - Javadoc -->
+<!-- - Examples --></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+</ul>
+<!--
+# Development
+ - Source code
+ - Building
+-->
+
+<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="content">
+    <h1 class="title">Aggregation Example</h1>
+    <p>This is a simple aggregation 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 - Accumulo Interactive Shell</span>
+<span class="s">- </span>
+<span class="s">- version: 1.3.x-incubating</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">aggtest1</span> <span class="o">-</span><span class="n">a</span> <span class="n">app</span><span class="o">=</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">aggregation</span><span class="o">.</span><span class="n">SortedSetAggregator</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">aggtest1</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">foo</span> <span class="n">app</span> <span class="mi">1</span> <span class="n">a</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">aggtest1</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">foo</span> <span class="n">app</span> <span class="mi">1</span> <span class="n">b</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">aggtest1</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">foo</span> <span class="n">app:1</span> <span class="o">[]</span>  <span class="n">a</span><span class="p">,</span><span class="n">b</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">aggtest1</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">foo</span> <span class="n">app</span> <span class="mi">1</span> <span class="n">z</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="n">foo</span><span class="p">,</span><span class="n">w</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">aggtest1</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">foo</span> <span class="n">app:1</span> <span class="o">[]</span>  <span class="mi">1</span><span class="p">,</span><span class="n">a</span><span class="p">,</span><span class="n">b</span><span class="p">,</span><span class="n">foo</span><span class="p">,</span><span class="n">w</span><span class="p">,</span><span class="n">z</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">aggtest1</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">foo</span> <span class="n">app</span> <span class="mi">2</span> <span class="n">cat</span><span class="p">,</span><span class="n">dog</span><span class="p">,</span><span class="n">muskrat</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">aggtest1</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">foo</span> <span class="n">app</span> <span class="mi">2</span> <span class="n">mouse</span><span class="p">,</span><span class="n">bird</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">aggtest1</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">foo</span> <span class="n">app:1</span> <span class="o">[]</span>  <span class="mi">1</span><span class="p">,</span><span class="n">a</span><span class="p">,</span><span class="n">b</span><span class="p">,</span><span class="n">foo</span><span class="p">,</span><span class="n">w</span><span class="p">,</span><span class="n">z</span>
+<span class="n">foo</span> <span class="n">app:2</span> <span class="o">[]</span>  <span class="n">bird</span><span class="p">,</span><span class="n">cat</span><span class="p">,</span><span class="n">dog</span><span class="p">,</span><span class="n">mouse</span><span class="p">,</span><span class="n">muskrat</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">aggtest1</span><span class="o">&gt;</span>
+</pre></div>
+
+
+<p>In this example a table is created and the example set aggregator is
+applied to the column family app.</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/user_manual_1.3-incubating/examples/batch.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/batch.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/batch.html Tue Nov  1 17:08:17 2011
@@ -0,0 +1,147 @@
+<!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>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">
+    <img id="logo" alt="Apache accumulo (Incubating)" src="/accumulo/images/accumulo-logo.png"/>
+    <div id="bannertext">
+&nbsp; 
+    </div><br />
+  </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>
+<!--  - Download --></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 Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/job/Accumulo-Trunk">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/user_manual_1.3-incubating">Manual v1.3</a><ul>
+<li><a href="/accumulo/user_manual_1.3-incubating/examples.html">Examples v1.3</a></li>
+</ul>
+</li>
+<li><a href="/accumulo/user_manual_1.4-incubating">Manual v1.4</a>
+<!-- - klzzwxh:0005 -->
+<!-- - Javadoc -->
+<!-- - Examples --></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+</ul>
+<!--
+# Development
+ - Source code
+ - Building
+-->
+
+<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="content">
+    <h1 class="title">Batch Writing and Scanning Example</h1>
+    <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">&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="o">&gt;</span> <span class="nb">exit</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">&gt;</span> <span class="n">createtable</span> <span class="n">batchtest1</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">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">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/user_manual_1.3-incubating/examples/bloom.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/bloom.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/bloom.html Tue Nov  1 17:08:17 2011
@@ -0,0 +1,226 @@
+<!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>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">
+    <img id="logo" alt="Apache accumulo (Incubating)" src="/accumulo/images/accumulo-logo.png"/>
+    <div id="bannertext">
+&nbsp; 
+    </div><br />
+  </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>
+<!--  - Download --></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 Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/job/Accumulo-Trunk">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/user_manual_1.3-incubating">Manual v1.3</a><ul>
+<li><a href="/accumulo/user_manual_1.3-incubating/examples.html">Examples v1.3</a></li>
+</ul>
+</li>
+<li><a href="/accumulo/user_manual_1.4-incubating">Manual v1.4</a>
+<!-- - klzzwxh:0005 -->
+<!-- - Javadoc -->
+<!-- - Examples --></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+</ul>
+<!--
+# Development
+ - Source code
+ - Building
+-->
+
+<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="content">
+    <h1 class="title">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">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">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.3</span><span class="o">.</span><span class="n">x</span><span class="o">-</span><span class="n">incubating</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">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">exampleVis</span>
+</pre></div>
+
+
+<p>Below the table is flushed, look at the monitor page and wait for the flush to
+complete.<br />
+</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">username</span><span class="nv">@instance</span><span class="o">&gt;</span> <span class="n">flush</span> <span class="o">-</span><span class="n">t</span> <span class="n">bloom_test</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">initiated</span><span class="o">...</span>
+<span class="n">username</span><span class="nv">@instance</span><span class="o">&gt;</span> <span class="nb">exit</span>
+</pre></div>
+
+
+<p>The flush will be finished when there are no entries in memory and the 
+number of minor compactions goes to zero. Refresh the page to see changes to the table.</p>
+<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">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">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.  Each map file will contain 1 million entries generated with a different
+seed. </p>
+<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">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">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>
+  </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/user_manual_1.3-incubating/examples/bulkIngest.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/bulkIngest.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/bulkIngest.html Tue Nov  1 17:08:17 2011
@@ -0,0 +1,130 @@
+<!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>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">
+    <img id="logo" alt="Apache accumulo (Incubating)" src="/accumulo/images/accumulo-logo.png"/>
+    <div id="bannertext">
+&nbsp; 
+    </div><br />
+  </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>
+<!--  - Download --></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 Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/job/Accumulo-Trunk">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/user_manual_1.3-incubating">Manual v1.3</a><ul>
+<li><a href="/accumulo/user_manual_1.3-incubating/examples.html">Examples v1.3</a></li>
+</ul>
+</li>
+<li><a href="/accumulo/user_manual_1.4-incubating">Manual v1.4</a>
+<!-- - klzzwxh:0005 -->
+<!-- - Javadoc -->
+<!-- - Examples --></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+</ul>
+<!--
+# Development
+ - Source code
+ - Building
+-->
+
+<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="content">
+    <h1 class="title">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">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.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">accumulo</span><span class="o">-</span><span class="n">examples</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">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">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/user_manual_1.3-incubating/examples/constraints.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/constraints.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/constraints.html Tue Nov  1 17:08:17 2011
@@ -0,0 +1,144 @@
+<!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>Constraints 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">
+    <img id="logo" alt="Apache accumulo (Incubating)" src="/accumulo/images/accumulo-logo.png"/>
+    <div id="bannertext">
+&nbsp; 
+    </div><br />
+  </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>
+<!--  - Download --></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 Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/job/Accumulo-Trunk">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/user_manual_1.3-incubating">Manual v1.3</a><ul>
+<li><a href="/accumulo/user_manual_1.3-incubating/examples.html">Examples v1.3</a></li>
+</ul>
+</li>
+<li><a href="/accumulo/user_manual_1.4-incubating">Manual v1.4</a>
+<!-- - klzzwxh:0005 -->
+<!-- - Javadoc -->
+<!-- - Examples --></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+</ul>
+<!--
+# Development
+ - Source code
+ - Building
+-->
+
+<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="content">
+    <h1 class="title">Constraints Example</h1>
+    <p>This an example of how to create a table with constraints. Below a table is
+create with two example constraints.  One constraints does not allow non alpha
+numeric keys.  The other constraint does not allow non numeric values. Two
+inserts that violate these constraints are attempted and denied.  The scan at
+the end shows the inserts were not allowed. </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">pass</span>
+
+<span class="n">Shell</span> <span class="o">-</span> <span class="n">Accumulo</span> <span class="n">Interactive</span> <span class="n">Shell</span>
+<span class="o">-</span> 
+<span class="o">-</span> <span class="n">version:</span> <span class="mf">1.3</span><span class="o">.</span><span class="n">x</span><span class="o">-</span><span class="n">incubating</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">createtable</span> <span class="n">testConstraints</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">testConstraints</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">testConstraints</span> <span class="o">-</span><span class="n">s</span> <span class="n">table</span><span class="o">.</span><span class="n">constraint</span><span class="mf">.1</span><span class="o">=</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">constraints</span><span class="o">.</span><span class="n">NumericValueConstraint</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">testConstraints</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">testConstraints</span> <span class="o">-</span><span class="n">s</span> <span class="n">table</span><span class="o">.</span><span class="n">constraint</span><span class="mf">.2</span><span class="o">=</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">constraints</span><span class="o">.</span><span class="n">AlphaNumKeyConstrain</span>                                                                                                    
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">testConstraints</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">r1</span> <span class="n">cf1</span> <span class="n">cq1</span> <span class="mi">1111</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">testConstraints</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">r1</span> <span class="n">cf1</span> <span class="n">cq1</span> <span class="n">ABC</span>
+  <span class="n">Constraint</span> <span class="n">Failures:</span>
+      <span class="n">ConstraintViolationSummary</span><span class="p">(</span><span class="n">constrainClass: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">constraints</span><span class="o">.</span><span class="n">NumericValueConstraint</span><span class="p">,</span> <span class="n">violationCode:1</span><span class="p">,</span> <span class="n">violationDescription:Value</span> <span class="n">is</span> <span class="ow">not</span> <span class="n">numeric</span><span class="p">,</span> <span class="n">numberOfViolatingMutations:1</span><span class="p">)</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">testConstraints</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">r1</span><span class="o">!</span> <span class="n">cf1</span> <span class="n">cq1</span> <span class="n">ABC</span> 
+  <span class="n">Constraint</span> <span class="n">Failures:</span>
+      <span class="n">ConstraintViolationSummary</span><span class="p">(</span><span class="n">constrainClass: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">constraints</span><span class="o">.</span><span class="n">NumericValueConstraint</span><span class="p">,</span> <span class="n">violationCode:1</span><span class="p">,</span> <span class="n">violationDescription:Value</span> <span class="n">is</span> <span class="ow">not</span> <span class="n">numeric</span><span class="p">,</span> <span class="n">numberOfViolatingMutations:1</span><span class="p">)</span>
+      <span class="n">ConstraintViolationSummary</span><span class="p">(</span><span class="n">constrainClass: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">constraints</span><span class="o">.</span><span class="n">AlphaNumKeyConstraint</span><span class="p">,</span> <span class="n">violationCode:1</span><span class="p">,</span> <span class="n">violationDescription:Row</span> <span class="n">was</span> <span class="ow">not</span> <span class="n">alpha</span> <span class="n">numeric</span><span class="p">,</span> <span class="n">numberOfViolatingMutations:1</span><span class="p">)</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">testConstraints</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">r1</span> <span class="n">cf1:cq1</span> <span class="o">[]</span>    <span class="mi">1111</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">testConstraints</span><span class="o">&gt;</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/user_manual_1.3-incubating/examples/dirlist.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/dirlist.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/user_manual_1.3-incubating/examples/dirlist.html Tue Nov  1 17:08:17 2011
@@ -0,0 +1,157 @@
+<!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>File System Archive</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">
+    <img id="logo" alt="Apache accumulo (Incubating)" src="/accumulo/images/accumulo-logo.png"/>
+    <div id="bannertext">
+&nbsp; 
+    </div><br />
+  </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>
+<!--  - Download --></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 Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
+<li><a href="https://builds.apache.org/job/Accumulo-Trunk">Builds</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="/accumulo/user_manual_1.3-incubating">Manual v1.3</a><ul>
+<li><a href="/accumulo/user_manual_1.3-incubating/examples.html">Examples v1.3</a></li>
+</ul>
+</li>
+<li><a href="/accumulo/user_manual_1.4-incubating">Manual v1.4</a>
+<!-- - klzzwxh:0005 -->
+<!-- - Javadoc -->
+<!-- - Examples --></li>
+<li><a href="/accumulo/screenshots.html">Screenshots</a></li>
+</ul>
+<!--
+# Development
+ - Source code
+ - Building
+-->
+
+<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="content">
+    <h1 class="title">File System Archive</h1>
+    <p>This example shows how to use Accumulo to store a file system history.  It has three classes:</p>
+<ul>
+<li>Ingest.java - Recursively lists the files and directories under a given path, ingests their names and file info (not the file data!) into a Accumulo table, and indexes the file names in a separate table.</li>
+<li>QueryUtil.java - Provides utility methods for getting the info for a file, listing the contents of a directory, and performing single wild card searches on file or directory names.</li>
+<li>Viewer.java - Provides a GUI for browsing the file system information stored in Accumulo.</li>
+<li>FileCountMR.java - Runs MR over the file system information and writes out counts to a Accumulo table.</li>
+<li>FileCount.java - Accomplishes the same thing as FileCountMR, but in a different way.  Computes recursive counts and stores them back into table.</li>
+<li>StringArraySummation.java - Aggregates counts for the FileCountMR reducer.</li>
+</ul>
+<p>To begin, ingest some data with Ingest.java.</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.examples.dirlist.Ingest instance zookeepers username password direxample dirindex exampleVis /</span><span class="nb">local</span><span class="sr">/user1/</span><span class="n">workspace</span>
+</pre></div>
+
+
+<p>Note that running this example will create tables direxample and dirindex in Accumulo that you should delete when you have completed the example.
+If you modify a file or add new files in the directory ingested (e.g. /local/user1/workspace), you can run Ingest again to add new information into the Accumulo tables.</p>
+<p>To browse the data ingested, use Viewer.java.  Be sure to give the "username" user the authorizations to see the data.</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.examples.dirlist.Viewer instance zookeepers username password direxample exampleVis /</span><span class="nb">local</span><span class="sr">/user1/</span><span class="n">workspace</span>
+</pre></div>
+
+
+<p>To list the contents of specific directories, use QueryUtil.java.</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.examples.dirlist.QueryUtil instance zookeepers username password direxample exampleVis /</span><span class="nb">local</span><span class="o">/</span><span class="n">user1</span>
+<span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="sr">/accumulo org.apache.accumulo.examples.dirlist.QueryUtil instance zookeepers username password direxample exampleVis /</span><span class="nb">local</span><span class="sr">/user1/</span><span class="n">workspace</span>
+</pre></div>
+
+
+<p>To perform searches on file or directory names, also use QueryUtil.java.  Search terms must contain no more than one wild card and cannot contain "/".
+<em>Note</em> these queries run on the <em>dirindex</em> table instead of the direxample 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">dirlist</span><span class="o">.</span><span class="n">QueryUtil</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">dirindex</span> <span class="n">exampleVis</span> <span class="n">filename</span> <span class="o">-</span><span class="n">search</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">dirlist</span><span class="o">.</span><span class="n">QueryUtil</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">dirindex</span> <span class="n">exampleVis</span> <span class="s">&#39;filename*&#39;</span> <span class="o">-</span><span class="n">search</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">dirlist</span><span class="o">.</span><span class="n">QueryUtil</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">dirindex</span> <span class="n">exampleVis</span> <span class="s">&#39;*jar&#39;</span> <span class="o">-</span><span class="n">search</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">dirlist</span><span class="o">.</span><span class="n">QueryUtil</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">dirindex</span> <span class="n">exampleVis</span> <span class="n">filename</span><span class="o">*</span><span class="n">jar</span> <span class="o">-</span><span class="n">search</span>
+</pre></div>
+
+
+<p>To count the number of direct children (directories and files) and descendants (children and children's descendents, directories and files), run the FileCountMR over the direxample table.
+The results can be written back to the same table.</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="sr">/tool.sh lib/</span><span class="n">accumulo</span><span class="o">-</span><span class="n">examples</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">dirlist</span><span class="o">.</span><span class="n">FileCountMR</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">direxample</span> <span class="n">direxample</span> <span class="n">exampleVis</span> <span class="n">exampleVis</span>
+</pre></div>
+
+
+<p>Alternatively, you can also run FileCount.java.</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