accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r809758 [3/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
Added: websites/staging/accumulo/trunk/content/accumulo/1.4/examples/isolation.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/1.4/examples/isolation.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/1.4/examples/isolation.html Fri Mar 23 19:08:12 2012
@@ -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>Apache Accumulo Isolation 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 Isolation Example</h1>
+    <p>Accumulo has an isolated scanner that ensures partial changes to rows are not
+seen.  Isolation is documented in ../docs/isolation.html and the user manual.<br />
+</p>
+<p>InterferenceTest is a simple example that shows the effects of scanning with
+and without isolation.  This program starts two threads.  One threads
+continually upates all of the values in a row to be the same thing, but
+different from what it used to be.  The other thread continually scans the
+table and checks that all values in a row are the same.  Without isolation the
+scanning thread will sometimes see different values, which is the result of
+reading the row at the same time a mutation is changing the row.</p>
+<p>Below, Interference Test is run without isolation enabled for 5000 iterations
+and it reports problems.</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">isolation</span><span class="o">.</span><span class="n">InterferenceTest</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">isotest</span> <span class="mi">5000</span> <span class="n">false</span>
+<span class="n">ERROR</span> <span class="n">Columns</span> <span class="n">in</span> <span class="n">row</span> <span class="mo">053</span> <span class="n">had</span> <span class="n">multiple</span> <span class="nb">values</span> <span class="p">[</span><span class="mi">53</span><span class="p">,</span> <span class="mi">4553</span><span class="p">]</span>
+<span class="n">ERROR</span> <span class="n">Columns</span> <span class="n">in</span> <span class="n">row</span> <span class="mo">061</span> <span class="n">had</span> <span class="n">multiple</span> <span class="nb">values</span> <span class="p">[</span><span class="mi">561</span><span class="p">,</span> <span class="mi">61</span><span class="p">]</span>
+<span class="n">ERROR</span> <span class="n">Columns</span> <span class="n">in</span> <span class="n">row</span> <span class="mo">070</span> <span class="n">had</span> <span class="n">multiple</span> <span class="nb">values</span> <span class="p">[</span><span class="mi">570</span><span class="p">,</span> <span class="mi">1070</span><span class="p">]</span>
+<span class="n">ERROR</span> <span class="n">Columns</span> <span class="n">in</span> <span class="n">row</span> <span class="mo">07</span><span class="mi">9</span> <span class="n">had</span> <span class="n">multiple</span> <span class="nb">values</span> <span class="p">[</span><span class="mi">1079</span><span class="p">,</span> <span class="mi">1579</span><span class="p">]</span>
+<span class="n">ERROR</span> <span class="n">Columns</span> <span class="n">in</span> <span class="n">row</span> <span class="mi">088</span> <span class="n">had</span> <span class="n">multiple</span> <span class="nb">values</span> <span class="p">[</span><span class="mi">2588</span><span class="p">,</span> <span class="mi">1588</span><span class="p">]</span>
+<span class="n">ERROR</span> <span class="n">Columns</span> <span class="n">in</span> <span class="n">row</span> <span class="mi">106</span> <span class="n">had</span> <span class="n">multiple</span> <span class="nb">values</span> <span class="p">[</span><span class="mi">2606</span><span class="p">,</span> <span class="mi">3106</span><span class="p">]</span>
+<span class="n">ERROR</span> <span class="n">Columns</span> <span class="n">in</span> <span class="n">row</span> <span class="mi">115</span> <span class="n">had</span> <span class="n">multiple</span> <span class="nb">values</span> <span class="p">[</span><span class="mi">4615</span><span class="p">,</span> <span class="mi">3115</span><span class="p">]</span>
+<span class="n">finished</span>
+</pre></div>
+
+
+<p>Below, Interference Test is run with isolation enabled for 5000 iterations and
+it reports no problems.</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">isolation</span><span class="o">.</span><span class="n">InterferenceTest</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">username</span> <span class="n">password</span> <span class="n">isotest</span> <span class="mi">5000</span> <span class="n">true</span>
+<span class="n">finished</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/mapred.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/1.4/examples/mapred.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/1.4/examples/mapred.html Fri Mar 23 19:08:12 2012
@@ -0,0 +1,186 @@
+<!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 MapReduce 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 MapReduce Example</h1>
+    <p>This example uses mapreduce and accumulo to compute word counts for a set of
+documents.  This is accomplished using a map-only mapreduce job and a
+accumulo table with combiners.</p>
+<p>To run this example you will need a directory in HDFS containing text files.
+The accumulo readme will be used to show how to run this example.</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">copyFromLocal</span> <span class="nv">$ACCUMULO_HOME</span><span class="sr">/README /</span><span class="n">user</span><span class="sr">/username/</span><span class="n">wc</span><span class="o">/</span><span class="n">Accumulo</span><span class="o">.</span><span class="n">README</span>
+<span class="nv">$</span> <span class="nv">hadoop</span> <span class="n">fs</span> <span class="o">-</span><span class="n">ls</span> <span class="sr">/user/</span><span class="n">username</span><span class="o">/</span><span class="n">wc</span>
+<span class="n">Found</span> <span class="mi">1</span> <span class="n">items</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">2</span> <span class="n">username</span> <span class="n">supergroup</span>       <span class="mi">9359</span> <span class="mi">2009</span><span class="o">-</span><span class="mo">07</span><span class="o">-</span><span class="mi">15</span> <span class="mi">17</span><span class="p">:</span><span class="mi">54</span> <span class="sr">/user/</span><span class="n">username</span><span class="sr">/wc/</span><span class="n">Accumulo</span><span class="o">.</span><span class="n">README</span>
+</pre></div>
+
+
+<p>The first part of running this example is to create a table with a combiner
+for the column family count.</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">createtable</span> <span class="n">wordCount</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">wordCount</span><span class="o">&gt;</span> <span class="n">setiter</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">core</span><span class="o">.</span><span class="n">iterators</span><span class="o">.</span><span class="n">user</span><span class="o">.</span><span class="n">SummingCombiner</span> <span class="o">-</span><span class="n">p</span> <span class="mi">10</span> <span class="o">-</span><span class="n">t</span> <span class="n">wordCount</span> <span class="o">-</span><span class="n">majc</span> <span class="o">-</span><span class="n">minc</span> <span class="o">-</span><span class="n">scan</span>
+<span class="n">SummingCombiner</span> <span class="n">interprets</span> <span class="n">Values</span> <span class="n">as</span> <span class="n">Longs</span> <span class="ow">and</span> <span class="n">adds</span> <span class="n">them</span> <span class="n">together</span><span class="o">.</span>  <span class="n">A</span> <span class="n">variety</span> <span class="n">of</span> <span class="n">encodings</span> <span class="p">(</span><span class="n">variable</span> <span class="nb">length</span><span class="p">,</span> <span class="n">fixed</span> <span class="nb">length</span><span class="p">,</span> <span class="ow">or</span> <span class="n">string</span><span class="p">)</span> <span class="n">are</span> <span class="n">available</span>
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">SummingCombiner</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="n">false</span>
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">SummingCombiner</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="o">-</span><span class="n">alphanum</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">count</span>
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">SummingCombiner</span> <span class="n">parameter</span> <span class="n">lossy</span><span class="p">,</span> <span class="k">if</span> <span class="n">true</span><span class="p">,</span> <span class="n">failed</span> <span class="n">decodes</span> <span class="n">are</span> <span class="n">ignored</span><span class="o">.</span> <span class="n">Otherwise</span> <span class="n">combiner</span> <span class="n">will</span> <span class="n">error</span> <span class="n">on</span> <span class="n">failed</span> <span class="n">decodes</span> <span class="p">(</span><span class="n">default</span> <span class="n">false</span><span class="p">):</span> <span class="sr">&lt;TRUE|FALSE&gt;</span><span class="p">:</span> <span class="n">false</span> 
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">SummingCombiner</span> <span class="n">parameter</span> <span class="n">type</span><span class="p">,</span> <span class="sr">&lt;VARLEN|FIXEDLEN|STRING|fullClassName&gt;</span><span class="p">:</span> <span class="n">STRING</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">wordCount</span><span class="o">&gt;</span> <span class="n">quit</span>
+</pre></div>
+
+
+<p>After creating the table, run the word count map reduce job.</p>
+<div class="codehilite"><pre><span class="nv">$</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">WordCount</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="sr">/user/</span><span class="n">username</span><span class="o">/</span><span class="n">wc</span> <span class="n">wordCount</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="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">11</span> <span class="n">INFO</span> <span class="n">input</span><span class="o">.</span><span class="n">FileInputFormat:</span> <span class="n">Total</span> <span class="n">input</span> <span class="n">paths</span> <span class="n">to</span> <span class="n">process</span> <span class="p">:</span> <span class="mi">1</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">12</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span> <span class="n">Running</span> <span class="n">job:</span> <span class="n">job_201102071740_0003</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">13</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>  <span class="nb">map</span> <span class="mi">0</span><span class="nv">%</span> <span class="nv">reduce</span> <span class="mi">0</span><span class="nv">%</span>
+<span class="nv">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">20</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>  <span class="nb">map</span> <span class="mi">100</span><span class="nv">%</span> <span class="nv">reduce</span> <span class="mi">0</span><span class="nv">%</span>
+<span class="nv">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span> <span class="n">Job</span> <span class="n">complete:</span> <span class="n">job_201102071740_0003</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span> <span class="n">Counters:</span> <span class="mi">6</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>   <span class="n">Job</span> <span class="n">Counters</span> 
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>     <span class="n">Launched</span> <span class="nb">map</span> <span class="n">tasks</span><span class="o">=</span><span class="mi">1</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>     <span class="n">Data</span><span class="o">-</span><span class="nb">local</span> <span class="nb">map</span> <span class="n">tasks</span><span class="o">=</span><span class="mi">1</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>   <span class="n">FileSystemCounters</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>     <span class="n">HDFS_BYTES_READ</span><span class="o">=</span><span class="mi">10487</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>   <span class="n">Map</span><span class="o">-</span><span class="n">Reduce</span> <span class="n">Framework</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>     <span class="n">Map</span> <span class="n">input</span> <span class="n">records</span><span class="o">=</span><span class="mi">255</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>     <span class="n">Spilled</span> <span class="n">Records</span><span class="o">=</span><span class="mi">0</span>
+<span class="mi">11</span><span class="sr">/02/</span><span class="mo">07</span> <span class="mi">18</span><span class="p">:</span><span class="mi">20</span><span class="p">:</span><span class="mi">22</span> <span class="n">INFO</span> <span class="n">mapred</span><span class="o">.</span><span class="n">JobClient:</span>     <span class="n">Map</span> <span class="n">output</span> <span class="n">records</span><span class="o">=</span><span class="mi">1452</span>
+</pre></div>
+
+
+<p>After the map reduce job completes, query the accumulo table to see word
+counts.</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">table</span> <span class="n">wordCount</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">wordCount</span><span class="o">&gt;</span> <span class="n">scan</span> <span class="o">-</span><span class="n">b</span> <span class="n">the</span>
+<span class="n">the</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">75</span>
+<span class="n">their</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">2</span>
+<span class="n">them</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">1</span>
+<span class="k">then</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">1</span>
+<span class="n">there</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">1</span>
+<span class="n">these</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">3</span>
+<span class="n">this</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">6</span>
+<span class="n">through</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">1</span>
+<span class="nb">time</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">3</span>
+<span class="nb">time</span><span class="o">.</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">1</span>
+<span class="n">to</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">27</span>
+<span class="n">total</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">1</span>
+<span class="n">tserver</span><span class="p">,</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">1</span>
+<span class="n">tserver</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">concurrent</span><span class="o">.</span><span class="n">max</span> <span class="n">count:20080906</span> <span class="o">[]</span>    <span class="mi">1</span>
+<span class="o">...</span>
+</pre></div>
+
+
+<p>Another example to look at is
+org.apache.accumulo.examples.simple.mapreduce.UniqueColumns.  This example
+computes the unique set of columns in a table and shows how a map reduce job
+can directly read a tables files from HDFS. </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/shard.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/1.4/examples/shard.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/1.4/examples/shard.html Fri Mar 23 19:08:12 2012
@@ -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>Apache Accumulo Shard 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 Shard Example</h1>
+    <p>Accumulo has an iterator called the intersecting iterator which supports querying a term index that is partitioned by 
+document, or "sharded". This example shows how to use the intersecting iterator through these four programs:</p>
+<ul>
+<li>Index.java - Indexes a set of text files into an Accumulo table</li>
+<li>Query.java - Finds documents containing a given set of terms.</li>
+<li>Reverse.java - Reads the index table and writes a map of documents to terms into another table.</li>
+<li>ContinuousQuery.java  Uses the table populated by Reverse.java to select N random terms per document.  Then it continuously and randomly queries those terms.</li>
+</ul>
+<p>To run these example programs, create two tables like below.</p>
+<div class="codehilite"><pre><span class="n">username</span><span class="nv">@instance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="n">shard</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">shard</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="n">doc2term</span>
+</pre></div>
+
+
+<p>After creating the tables, index some files.  The following command indexes all of the java files in the Accumulo source code.</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">cd</span> <span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="o">/</span>
+<span class="nv">$</span> <span class="nv">find</span> <span class="n">src</span> <span class="o">-</span><span class="n">name</span> <span class="s">&quot;*.java&quot;</span> <span class="o">|</span> <span class="n">xargs</span> <span class="o">.</span><span class="sr">/bin/</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">shard</span><span class="o">.</span><span class="n">Index</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">shard</span> <span class="n">username</span> <span class="n">password</span> <span class="mi">30</span>
+</pre></div>
+
+
+<p>The following command queries the index to find all files containing 'foo' and 'bar'.</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">cd</span> <span class="nv">$ACCUMULO_HOME</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">shard</span><span class="o">.</span><span class="n">Query</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">shard</span> <span class="n">username</span> <span class="n">password</span> <span class="n">foo</span> <span class="n">bar</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/co</span><span class="n">re</span><span class="sr">/src/</span><span class="n">test</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/core/s</span><span class="n">ecurity</span><span class="o">/</span><span class="n">ColumnVisibilityTest</span><span class="o">.</span><span class="n">java</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/co</span><span class="n">re</span><span class="sr">/src/</span><span class="n">test</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/core/c</span><span class="n">lient</span><span class="sr">/mock/</span><span class="n">MockConnectorTest</span><span class="o">.</span><span class="n">java</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/co</span><span class="n">re</span><span class="sr">/src/</span><span class="n">test</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/core/s</span><span class="n">ecurity</span><span class="o">/</span><span class="n">VisibilityEvaluatorTest</span><span class="o">.</span><span class="n">java</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/s</span><span class="n">erver</span><span class="sr">/src/m</span><span class="n">ain</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/server/</span><span class="n">test</span><span class="sr">/functional/</span><span class="n">RowDeleteTest</span><span class="o">.</span><span class="n">java</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/s</span><span class="n">erver</span><span class="sr">/src/</span><span class="n">test</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/server/</span><span class="n">logger</span><span class="o">/</span><span class="n">TestLogWriter</span><span class="o">.</span><span class="n">java</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/s</span><span class="n">erver</span><span class="sr">/src/m</span><span class="n">ain</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/server/</span><span class="n">test</span><span class="sr">/functional/</span><span class="n">DeleteEverythingTest</span><span class="o">.</span><span class="n">java</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/co</span><span class="n">re</span><span class="sr">/src/</span><span class="n">test</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/core/</span><span class="n">data</span><span class="o">/</span><span class="n">KeyExtentTest</span><span class="o">.</span><span class="n">java</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/s</span><span class="n">erver</span><span class="sr">/src/</span><span class="n">test</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/server/co</span><span class="n">nstraints</span><span class="o">/</span><span class="n">MetadataConstraintsTest</span><span class="o">.</span><span class="n">java</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/co</span><span class="n">re</span><span class="sr">/src/</span><span class="n">test</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/core/i</span><span class="n">terators</span><span class="o">/</span><span class="n">WholeRowIteratorTest</span><span class="o">.</span><span class="n">java</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/s</span><span class="n">erver</span><span class="sr">/src/</span><span class="n">test</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/server/</span><span class="n">util</span><span class="o">/</span><span class="n">DefaultMapTest</span><span class="o">.</span><span class="n">java</span>
+<span class="sr">/local/</span><span class="n">username</span><span class="sr">/workspace/</span><span class="n">accumulo</span><span class="sr">/src/s</span><span class="n">erver</span><span class="sr">/src/</span><span class="n">test</span><span class="sr">/java/</span><span class="n">accumulo</span><span class="sr">/server/</span><span class="n">tabletserver</span><span class="o">/</span><span class="n">InMemoryMapTest</span><span class="o">.</span><span class="n">java</span>
+</pre></div>
+
+
+<p>In order to run ContinuousQuery, we need to run Reverse.java to populate doc2term.</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">shard</span><span class="o">.</span><span class="n">Reverse</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">shard</span> <span class="n">doc2term</span> <span class="n">username</span> <span class="n">password</span>
+</pre></div>
+
+
+<p>Below ContinuousQuery is run using 5 terms.  So it selects 5 random terms from each document, then it continually randomly selects one set of 5 terms and queries.  It prints the number of matching documents and the time in seconds.</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">shard</span><span class="o">.</span><span class="n">ContinuousQuery</span> <span class="n">instance</span> <span class="n">zookeepers</span> <span class="n">shard</span> <span class="n">doc2term</span> <span class="n">username</span> <span class="n">password</span> <span class="mi">5</span>
+<span class="p">[</span><span class="n">public</span><span class="p">,</span> <span class="n">core</span><span class="p">,</span> <span class="n">class</span><span class="p">,</span> <span class="n">binarycomparable</span><span class="p">,</span> <span class="n">b</span><span class="p">]</span> <span class="mi">2</span>  <span class="mf">0.081</span>
+<span class="p">[</span><span class="n">wordtodelete</span><span class="p">,</span> <span class="n">unindexdocument</span><span class="p">,</span> <span class="n">doctablename</span><span class="p">,</span> <span class="n">putdelete</span><span class="p">,</span> <span class="n">insert</span><span class="p">]</span> <span class="mi">1</span>  <span class="mf">0.041</span>
+<span class="p">[</span><span class="nb">import</span><span class="p">,</span> <span class="n">columnvisibilityinterpreterfactory</span><span class="p">,</span> <span class="n">illegalstateexception</span><span class="p">,</span> <span class="n">cv</span><span class="p">,</span> <span class="n">columnvisibility</span><span class="p">]</span> <span class="mi">1</span>  <span class="mf">0.049</span>
+<span class="p">[</span><span class="n">getpackage</span><span class="p">,</span> <span class="n">testversion</span><span class="p">,</span> <span class="n">util</span><span class="p">,</span> <span class="n">version</span><span class="p">,</span> <span class="mi">55</span><span class="p">]</span> <span class="mi">1</span>  <span class="mf">0.048</span>
+<span class="p">[</span><span class="k">for</span><span class="p">,</span> <span class="n">static</span><span class="p">,</span> <span class="n">println</span><span class="p">,</span> <span class="n">public</span><span class="p">,</span> <span class="n">the</span><span class="p">]</span> <span class="mi">55</span>  <span class="mf">0.211</span>
+<span class="p">[</span><span class="n">sleeptime</span><span class="p">,</span> <span class="n">wrappingiterator</span><span class="p">,</span> <span class="n">options</span><span class="p">,</span> <span class="n">long</span><span class="p">,</span> <span class="n">utilwaitthread</span><span class="p">]</span> <span class="mi">1</span>  <span class="mf">0.057</span>
+<span class="p">[</span><span class="n">string</span><span class="p">,</span> <span class="n">public</span><span class="p">,</span> <span class="n">long</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="nb">wait</span><span class="p">]</span> <span class="mi">12</span>  <span class="mf">0.132</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/visibility.html
==============================================================================
--- websites/staging/accumulo/trunk/content/accumulo/1.4/examples/visibility.html (added)
+++ websites/staging/accumulo/trunk/content/accumulo/1.4/examples/visibility.html Fri Mar 23 19:08:12 2012
@@ -0,0 +1,221 @@
+<!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 Visibility, Authorizations, and Permissions 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 Visibility, Authorizations, and Permissions Example</h1>
+    <h2 id="creating-a-new-user">Creating a new user</h2>
+<div class="codehilite"><pre><span class="n">root</span><span class="nv">@instance</span><span class="o">&gt;</span> <span class="n">createuser</span> <span class="n">username</span>
+<span class="n">Enter</span> <span class="k">new</span> <span class="n">password</span> <span class="k">for</span> <span class="s">&#39;username&#39;</span><span class="p">:</span> <span class="o">********</span>
+<span class="n">Please</span> <span class="n">confirm</span> <span class="k">new</span> <span class="n">password</span> <span class="k">for</span> <span class="s">&#39;username&#39;</span><span class="p">:</span> <span class="o">********</span>
+<span class="n">root</span><span class="nv">@instance</span><span class="o">&gt;</span> <span class="n">user</span> <span class="n">username</span>
+<span class="n">Enter</span> <span class="n">password</span> <span class="k">for</span> <span class="n">user</span> <span class="n">username:</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">vistest</span>
+<span class="mo">06</span> <span class="mi">10</span><span class="p">:</span><span class="mi">48</span><span class="p">:</span><span class="mi">47</span><span class="p">,</span><span class="mi">931</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">ERROR:</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">core</span><span class="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">AccumuloSecurityException:</span> <span class="n">Error</span> <span class="n">PERMISSION_DENIED</span> <span class="o">-</span> <span class="n">User</span> <span class="n">does</span> <span class="ow">not</span> <span class="n">have</span> <span class="n">permission</span> <span class="n">to</span> <span class="n">perform</span> <span class="n"
 >this</span> <span class="n">action</span>
+<span class="n">username</span><span class="nv">@instance</span><span class="o">&gt;</span> <span class="n">userpermissions</span>
+<span class="n">System</span> <span class="n">permissions:</span>
+
+<span class="n">Table</span> <span class="n">permissions</span> <span class="p">(</span><span class="o">!</span><span class="n">METADATA</span><span class="p">):</span> <span class="n">Table</span><span class="o">.</span><span class="n">READ</span>
+<span class="n">username</span><span class="nv">@instance</span><span class="o">&gt;</span>
+</pre></div>
+
+
+<p>A user does not by default have permission to create a table.</p>
+<h2 id="granting-permissions-to-a-user">Granting permissions to a user</h2>
+<div class="codehilite"><pre><span class="n">username</span><span class="nv">@instance</span><span class="o">&gt;</span> <span class="n">user</span> <span class="n">root</span>
+<span class="n">Enter</span> <span class="n">password</span> <span class="k">for</span> <span class="n">user</span> <span class="n">root:</span> <span class="o">********</span>
+<span class="n">root</span><span class="nv">@instance</span><span class="o">&gt;</span> <span class="n">grant</span> <span class="o">-</span><span class="n">s</span> <span class="n">System</span><span class="o">.</span><span class="n">CREATE_TABLE</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span>
+<span class="n">root</span><span class="nv">@instance</span><span class="o">&gt;</span> <span class="n">user</span> <span class="n">username</span> 
+<span class="n">Enter</span> <span class="n">password</span> <span class="k">for</span> <span class="n">user</span> <span class="n">username:</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">vistest</span>
+<span class="n">username</span><span class="nv">@instance</span><span class="o">&gt;</span> <span class="n">userpermissions</span>
+<span class="n">System</span> <span class="n">permissions:</span> <span class="n">System</span><span class="o">.</span><span class="n">CREATE_TABLE</span>
+
+<span class="n">Table</span> <span class="n">permissions</span> <span class="p">(</span><span class="o">!</span><span class="n">METADATA</span><span class="p">):</span> <span class="n">Table</span><span class="o">.</span><span class="n">READ</span>
+<span class="n">Table</span> <span class="n">permissions</span> <span class="p">(</span><span class="n">vistest</span><span class="p">):</span> <span class="n">Table</span><span class="o">.</span><span class="n">READ</span><span class="p">,</span> <span class="n">Table</span><span class="o">.</span><span class="n">WRITE</span><span class="p">,</span> <span class="n">Table</span><span class="o">.</span><span class="n">BULK_IMPORT</span><span class="p">,</span> <span class="n">Table</span><span class="o">.</span><span class="n">ALTER_TABLE</span><span class="p">,</span> <span class="n">Table</span><span class="o">.</span><span class="n">GRANT</span><span class="p">,</span> <span class="n">Table</span><span class="o">.</span><span class="n">DROP_TABLE</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span>
+</pre></div>
+
+
+<h2 id="inserting-data-with-visibilities">Inserting data with visibilities</h2>
+<p>Visibilities are boolean AND (&amp;) and OR (|) combinations of authorization
+tokens.  Authorization tokens are arbitrary strings taken from a restricted 
+ASCII character set.  Parentheses are required to specify order of operations 
+in visibilities.</p>
+<div class="codehilite"><pre><span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row</span> <span class="n">f1</span> <span class="n">q1</span> <span class="n">v1</span> <span class="o">-</span><span class="n">l</span> <span class="n">A</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row</span> <span class="n">f2</span> <span class="n">q2</span> <span class="n">v2</span> <span class="o">-</span><span class="n">l</span> <span class="n">A</span><span class="o">&amp;</span><span class="n">B</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row</span> <span class="n">f3</span> <span class="n">q3</span> <span class="n">v3</span> <span class="o">-</span><span class="n">l</span> <span class="n">apple</span><span class="o">&amp;</span><span class="n">carrot</span><span class="o">|</span><span class="n">broccoli</span><span class="o">|</span><span class="n">spinach</span>
+<span class="mo">06</span> <span class="mi">11</span><span class="p">:</span><span class="mi">19</span><span class="p">:</span><span class="mo">01</span><span class="p">,</span><span class="mi">432</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">ERROR:</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">core</span><span class="o">.</span><span class="n">util</span><span class="o">.</span><span class="n">BadArgumentException:</span> <span class="n">cannot</span> <span class="n">mix</span> <span class="o">|</span> <span class="ow">and</span> <span class="o">&amp;</span> <span class="n">near</span> <span class="nb">index</span> <span class="mi">12</span>
+<span class="n">apple</span><span class="o">&amp;</span><span class="n">carrot</span><span class="o">|</span><span class="n">broccoli</span><span class="o">|</span><span class="n">spinach</span>
+            <span class="o">^</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row</span> <span class="n">f3</span> <span class="n">q3</span> <span class="n">v3</span> <span class="o">-</span><span class="n">l</span> <span class="p">(</span><span class="n">apple</span><span class="o">&amp;</span><span class="n">carrot</span><span class="p">)</span><span class="o">|</span><span class="n">broccoli</span><span class="o">|</span><span class="n">spinach</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span>
+</pre></div>
+
+
+<h2 id="scanning-with-authorizations">Scanning with authorizations</h2>
+<p>Authorizations are sets of authorization tokens.  Each Accumulo user has 
+authorizations and each Accumulo scan has authorizations.  Scan authorizations 
+are only allowed to be a subset of the user's authorizations.  By default, a 
+user's authorizations set is empty.</p>
+<div class="codehilite"><pre><span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">scan</span> <span class="o">-</span><span class="n">s</span> <span class="n">A</span>
+<span class="mo">06</span> <span class="mi">11</span><span class="p">:</span><span class="mi">43</span><span class="p">:</span><span class="mi">14</span><span class="p">,</span><span class="mi">951</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">ERROR:</span> <span class="n">java</span><span class="o">.</span><span class="n">lang</span><span class="o">.</span><span class="n">RuntimeException:</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">core</span><span class="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">AccumuloSecurityException:</span> <span class="n">Error</span> <span class="n">BAD_AUTHORIZATIONS</span> <span class="o">-</span> <span class="n">The</span> <span class="n">user</span> <span class="n">doe
 s</span> <span class="ow">not</span> <span class="n">have</span> <span class="n">the</span> <span class="n">specified</span> <span class="n">authorizations</span> <span class="n">assigned</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span>
+</pre></div>
+
+
+<h2 id="setting-authorizations-for-a-user">Setting authorizations for a user</h2>
+<div class="codehilite"><pre><span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">setauths</span> <span class="o">-</span><span class="n">s</span> <span class="n">A</span>
+<span class="mo">06</span> <span class="mi">11</span><span class="p">:</span><span class="mi">53</span><span class="p">:</span><span class="mi">42</span><span class="p">,</span><span class="mo">056</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">ERROR:</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">core</span><span class="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">AccumuloSecurityException:</span> <span class="n">Error</span> <span class="n">PERMISSION_DENIED</span> <span class="o">-</span> <span class="n">User</span> <span class="n">does</span> <span class="ow">not</span> <span class="n">have</span> <span class="n">permission</span> <span class="n">to</span> <span class="n">perform</span> <span class="n"
 >this</span> <span class="n">action</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span>
+</pre></div>
+
+
+<p>A user cannot set authorizations unless the user has the System.ALTER_USER permission.
+The root user has this permission.</p>
+<div class="codehilite"><pre><span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">user</span> <span class="n">root</span>
+<span class="n">Enter</span> <span class="n">password</span> <span class="k">for</span> <span class="n">user</span> <span class="n">root:</span> <span class="o">********</span>
+<span class="n">root</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">setauths</span> <span class="o">-</span><span class="n">s</span> <span class="n">A</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span>
+<span class="n">root</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">user</span> <span class="n">username</span>
+<span class="n">Enter</span> <span class="n">password</span> <span class="k">for</span> <span class="n">user</span> <span class="n">username:</span> <span class="o">********</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">scan</span> <span class="o">-</span><span class="n">s</span> <span class="n">A</span>
+<span class="n">row</span> <span class="n">f1:q1</span> <span class="p">[</span><span class="n">A</span><span class="p">]</span>    <span class="n">v1</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">row</span> <span class="n">f1:q1</span> <span class="p">[</span><span class="n">A</span><span class="p">]</span>    <span class="n">v1</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span>
+</pre></div>
+
+
+<p>The default authorizations for a scan are the user's entire set of authorizations.</p>
+<div class="codehilite"><pre><span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">user</span> <span class="n">root</span>
+<span class="n">Enter</span> <span class="n">password</span> <span class="k">for</span> <span class="n">user</span> <span class="n">root:</span> <span class="o">********</span>
+<span class="n">root</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">setauths</span> <span class="o">-</span><span class="n">s</span> <span class="n">A</span><span class="p">,</span><span class="n">B</span><span class="p">,</span><span class="n">broccoli</span> <span class="o">-</span><span class="n">u</span> <span class="n">username</span>
+<span class="n">root</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">user</span> <span class="n">username</span>
+<span class="n">Enter</span> <span class="n">password</span> <span class="k">for</span> <span class="n">user</span> <span class="n">username:</span> <span class="o">********</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">row</span> <span class="n">f1:q1</span> <span class="p">[</span><span class="n">A</span><span class="p">]</span>    <span class="n">v1</span>
+<span class="n">row</span> <span class="n">f2:q2</span> <span class="p">[</span><span class="n">A</span><span class="o">&amp;</span><span class="n">B</span><span class="p">]</span>    <span class="n">v2</span>
+<span class="n">row</span> <span class="n">f3:q3</span> <span class="p">[(</span><span class="n">apple</span><span class="o">&amp;</span><span class="n">carrot</span><span class="p">)</span><span class="o">|</span><span class="n">broccoli</span><span class="o">|</span><span class="n">spinach</span><span class="p">]</span>    <span class="n">v3</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">scan</span> <span class="o">-</span><span class="n">s</span> <span class="n">B</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span>
+</pre></div>
+
+
+<p>If you want, you can limit a user to only be able to insert data which they can read themselves.
+It can be set with the following constraint.</p>
+<div class="codehilite"><pre><span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">user</span> <span class="n">root</span>
+<span class="n">Enter</span> <span class="n">password</span> <span class="k">for</span> <span class="n">user</span> <span class="n">root:</span> <span class="o">******</span>
+<span class="n">root</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">vistest</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">core</span><span class="o">.</span><span class="n">security</span><span class="o">.</span><span class="n">VisibilityConstraint</span>    
+<span class="n">root</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">user</span> <span class="n">username</span>
+<span class="n">Enter</span> <span class="n">password</span> <span class="k">for</span> <span class="n">user</span> <span class="n">username:</span> <span class="o">********</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row</span> <span class="n">f4</span> <span class="n">q4</span> <span class="n">v4</span> <span class="o">-</span><span class="n">l</span> <span class="n">spinach</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">core</span><span class="o">.</span><span class="n">security</span><span class="o">.</span><span class="n">VisibilityConstraint</span><span class="p">,</span> <span class="n">violationCode:2</span><span class="p">,</span> <span class="n">violationDescription:User</span> <span class="n">does</span> <span class="ow">not</span> <span class="n">have</span> <span class="n">authorization</span> <span class="n">on</span> <span class="n">column</span> <span class="n">visibility</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">vistest</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row</span> <span class="n">f4</span> <span class="n">q4</span> <span class="n">v4</span> <span class="o">-</span><span class="n">l</span> <span class="n">spinach</span><span class="o">|</span><span class="n">broccoli</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">row</span> <span class="n">f1:q1</span> <span class="p">[</span><span class="n">A</span><span class="p">]</span>    <span class="n">v1</span>
+<span class="n">row</span> <span class="n">f2:q2</span> <span class="p">[</span><span class="n">A</span><span class="o">&amp;</span><span class="n">B</span><span class="p">]</span>    <span class="n">v2</span>
+<span class="n">row</span> <span class="n">f3:q3</span> <span class="p">[(</span><span class="n">apple</span><span class="o">&amp;</span><span class="n">carrot</span><span class="p">)</span><span class="o">|</span><span class="n">broccoli</span><span class="o">|</span><span class="n">spinach</span><span class="p">]</span>    <span class="n">v3</span>
+<span class="n">row</span> <span class="n">f4:q4</span> <span class="p">[</span><span class="n">spinach</span><span class="o">|</span><span class="n">broccoli</span><span class="p">]</span>    <span class="n">v4</span>
+<span class="n">username</span><span class="nv">@instance</span> <span class="n">vistest</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>



Mime
View raw message