accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r870045 [20/24] - in /websites/staging/accumulo/trunk/content: ./ 1.4/examples/ 1.4/user_manual/ 1.5/examples/ css/ downloads/ example/ governance/ user_manual_1.3-incubating/ user_manual_1.3-incubating/examples/
Date Thu, 18 Jul 2013 22:46:39 GMT
Modified: websites/staging/accumulo/trunk/content/user_manual_1.3-incubating/Table_Configuration.html
==============================================================================
--- websites/staging/accumulo/trunk/content/user_manual_1.3-incubating/Table_Configuration.html (original)
+++ websites/staging/accumulo/trunk/content/user_manual_1.3-incubating/Table_Configuration.html Thu Jul 18 22:46:37 2013
@@ -17,7 +17,7 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-  <link href="/css/accumulo.css" rel="stylesheet" type="text/css">
+  <link href="css/accumulo.css" rel="stylesheet" type="text/css">
   <title>Apache Accumulo User Manual: Table Configuration</title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   
@@ -48,30 +48,31 @@
   <h1 id="project">Project</h1>
 <ul>
 <li><a href="/">Home</a></li>
-<li><a href="/downloads">Downloads</a></li>
-<li><a href="/notable_features.html">Features</a></li>
+<li><a href="downloads">Downloads</a></li>
+<li><a href="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="/get_involved.html">Get Involved</a></li>
-<li><a href="/mailing_list.html">Mailing Lists</a></li>
-<li><a href="/people.html">People</a></li>
+<li><a href="get_involved.html">Get Involved</a></li>
+<li><a href="mailing_list.html">Mailing Lists</a></li>
+<li><a href="people.html">People</a></li>
 </ul>
 <h1 id="development">Development</h1>
 <ul>
-<li><a href="/source.html">Source &amp; Guide</a></li>
+<li><a href="source.html">Source &amp; Guide</a></li>
+<li><a href="git.html">Git WIP</a></li>
 <li><a href="https://issues.apache.org/jira/browse/accumulo">Issues</a></li>
 <li><a href="https://builds.apache.org/view/A-D/view/Accumulo/">Builds</a></li>
 </ul>
 <h1 id="documentation">Documentation</h1>
 <ul>
-<li>Manual <a href="/1.4/user_manual">1.4</a> / <a href="/1.5/accumulo_user_manual.html">1.5</a></li>
-<li>Javadoc <a href="/1.4/apidocs">1.4</a> / <a href="/1.5/apidocs">1.5</a></li>
-<li>Examples <a href="/1.4/examples">1.4</a> / <a href="/1.5/examples">1.5</a></li>
-<li><a href="/screenshots.html">Screenshots</a></li>
-<li><a href="/papers.html">Papers &amp; Other Links</a></li>
-<li><a href="/glossary.html">Glossary</a></li>
+<li>Manual <a href="/1.4/user_manual">1.4</a> / <a href="1.5/accumulo_user_manual.html">1.5</a></li>
+<li>Javadoc <a href="/1.4/apidocs">1.4</a> / <a href="1.5/apidocs">1.5</a></li>
+<li>Examples <a href="/1.4/examples">1.4</a> / <a href="1.5/examples">1.5</a></li>
+<li><a href="screenshots.html">Screenshots</a></li>
+<li><a href="papers.html">Papers &amp; Other Links</a></li>
+<li><a href="glossary.html">Glossary</a></li>
 </ul>
 <h1 id="asf-links">ASF links</h1>
 <ul>
@@ -83,13 +84,12 @@
   </div>
 
   <div id="bannertext">
-    <img id="logo" alt="Apache Accumulo" src="/images/accumulo-logo.png"/>&trade;
+    <img id="logo" alt="Apache Accumulo" src="images/accumulo-logo.png"/>&trade;
   </div>
 
   <div id="content">
     <h1 class="title">Apache Accumulo User Manual: Table Configuration</h1>
-    <p><strong> Next:</strong> <a href="Table_Design.html">Table Design</a> <strong> Up:</strong> <a href="accumulo_user_manual.html">Apache Accumulo User Manual Version 1.3</a> <strong> Previous:</strong> <a href="Writing_Accumulo_Clients.html">Writing Accumulo Clients</a>   <strong> <a href="Contents.html">Contents</a></strong> <br />
-</p>
+    <p><strong> Next:</strong> <a href="Table_Design.html">Table Design</a> <strong> Up:</strong> <a href="accumulo_user_manual.html">Apache Accumulo User Manual Version 1.3</a> <strong> Previous:</strong> <a href="Writing_Accumulo_Clients.html">Writing Accumulo Clients</a>   <strong> <a href="Contents.html">Contents</a></strong>   </p>
 <p><a id=CHILD_LINKS></a><strong>Subsections</strong></p>
 <ul>
 <li><a href="Table_Configuration.html#Locality_Groups">Locality Groups</a></li>
@@ -106,57 +106,57 @@
 <p>Accumulo supports storing of sets of column families separately on disk to allow clients to scan over columns that are frequently used together efficient and to avoid scanning over column families that are not requested. After a locality group is set Scanner and BatchScanner operations will automatically take advantage of them whenever the fetchColumnFamilies() method is used. </p>
 <p>By default tables place all column families into the same ``default" locality group. Additional locality groups can be configured anytime via the shell or programmatically as follows: </p>
 <h3 id="wzxhzdk23wzxhzdk24-managing-locality-groups-via-the-shell"><a id=Managing_Locality_Groups_via_the_Shell></a> Managing Locality Groups via the Shell</h3>
-<div class="codehilite"><pre><span class="err">usage:</span> <span class="err">setgroups</span> <span class="err">&lt;group&gt;=&lt;col</span> <span class="err">fam&gt;{,&lt;col</span> <span class="err">fam&gt;}{</span> <span class="err">&lt;group&gt;=&lt;col</span> <span class="err">fam&gt;{,&lt;col</span>
-<span class="err">fam&gt;}}</span> <span class="err">[-?]</span> <span class="err">-t</span> <span class="err">&lt;table&gt;</span>
+<div class="codehilite"><pre><span class="n">usage</span><span class="o">:</span> <span class="n">setgroups</span> <span class="o">&lt;</span><span class="n">group</span><span class="o">&gt;=&lt;</span><span class="n">col</span> <span class="n">fam</span><span class="o">&gt;{,&lt;</span><span class="n">col</span> <span class="n">fam</span><span class="o">&gt;}{</span> <span class="o">&lt;</span><span class="n">group</span><span class="o">&gt;=&lt;</span><span class="n">col</span> <span class="n">fam</span><span class="o">&gt;{,&lt;</span><span class="n">col</span>
+<span class="n">fam</span><span class="o">&gt;}}</span> <span class="o">[-?]</span> <span class="o">-</span><span class="n">t</span> <span class="o">&lt;</span><span class="n">table</span><span class="o">&gt;</span>
 
-<span class="err">user@myinstance</span> <span class="err">mytable&gt;</span> <span class="err">setgroups</span> <span class="err">-t</span> <span class="err">mytable</span> <span class="err">group_one=colf1,colf2</span>
+<span class="n">user</span><span class="err">@</span><span class="n">myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">setgroups</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="n">group_one</span><span class="o">=</span><span class="n">colf1</span><span class="o">,</span><span class="n">colf2</span>
 
-<span class="err">user@myinstance</span> <span class="err">mytable&gt;</span> <span class="err">getgroups</span> <span class="err">-t</span> <span class="err">mytable</span>
-<span class="err">group_one=colf1,colf2</span>
+<span class="n">user</span><span class="err">@</span><span class="n">myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">getgroups</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span>
+<span class="n">group_one</span><span class="o">=</span><span class="n">colf1</span><span class="o">,</span><span class="n">colf2</span>
 </pre></div>
 
 
 <h3 id="wzxhzdk25wzxhzdk26-managing-locality-groups-via-the-client-api"><a id=Managing_Locality_Groups_via_the_Client_API></a> Managing Locality Groups via the Client API</h3>
 <div class="codehilite"><pre><span class="n">Connector</span> <span class="n">conn</span><span class="p">;</span>
 
-<span class="n">HashMap</span><span class="sr">&lt;String,Set&lt;Text&gt;</span><span class="o">&gt;</span> <span class="n">localityGroups</span> <span class="o">=</span>
-    <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Set</span><span class="sr">&lt;Text&gt;</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span><span class="n">Set</span><span class="o">&lt;</span><span class="n">Text</span><span class="o">&gt;&gt;</span> <span class="n">localityGroups</span> <span class="p">=</span>
+    <span class="n">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Set</span><span class="o">&lt;</span><span class="n">Text</span><span class="o">&gt;&gt;</span><span class="p">();</span>
 
-<span class="n">HashSet</span><span class="sr">&lt;Text&gt;</span> <span class="n">metadataColumns</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashSet</span><span class="sr">&lt;Text&gt;</span><span class="p">();</span>
-<span class="n">metadataColumns</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="k">new</span> <span class="n">Text</span><span class="p">(</span><span class="s">&quot;domain&quot;</span><span class="p">));</span>
-<span class="n">metadataColumns</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="k">new</span> <span class="n">Text</span><span class="p">(</span><span class="s">&quot;link&quot;</span><span class="p">));</span>
+<span class="n">HashSet</span><span class="o">&lt;</span><span class="n">Text</span><span class="o">&gt;</span> <span class="n">metadataColumns</span> <span class="p">=</span> <span class="n">new</span> <span class="n">HashSet</span><span class="o">&lt;</span><span class="n">Text</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">metadataColumns</span><span class="p">.</span><span class="n">add</span><span class="p">(</span><span class="n">new</span> <span class="n">Text</span><span class="p">(</span>&quot;<span class="n">domain</span>&quot;<span class="p">));</span>
+<span class="n">metadataColumns</span><span class="p">.</span><span class="n">add</span><span class="p">(</span><span class="n">new</span> <span class="n">Text</span><span class="p">(</span>&quot;<span class="n">link</span>&quot;<span class="p">));</span>
 
-<span class="n">HashSet</span><span class="sr">&lt;Text&gt;</span> <span class="n">contentColumns</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashSet</span><span class="sr">&lt;Text&gt;</span><span class="p">();</span>
-<span class="n">contentColumns</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="k">new</span> <span class="n">Text</span><span class="p">(</span><span class="s">&quot;body&quot;</span><span class="p">));</span>
-<span class="n">contentColumns</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="k">new</span> <span class="n">Text</span><span class="p">(</span><span class="s">&quot;images&quot;</span><span class="p">));</span>
+<span class="n">HashSet</span><span class="o">&lt;</span><span class="n">Text</span><span class="o">&gt;</span> <span class="n">contentColumns</span> <span class="p">=</span> <span class="n">new</span> <span class="n">HashSet</span><span class="o">&lt;</span><span class="n">Text</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">contentColumns</span><span class="p">.</span><span class="n">add</span><span class="p">(</span><span class="n">new</span> <span class="n">Text</span><span class="p">(</span>&quot;<span class="n">body</span>&quot;<span class="p">));</span>
+<span class="n">contentColumns</span><span class="p">.</span><span class="n">add</span><span class="p">(</span><span class="n">new</span> <span class="n">Text</span><span class="p">(</span>&quot;<span class="n">images</span>&quot;<span class="p">));</span>
 
-<span class="n">localityGroups</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;metadata&quot;</span><span class="p">,</span> <span class="n">metadataColumns</span><span class="p">);</span>
-<span class="n">localityGroups</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;content&quot;</span><span class="p">,</span> <span class="n">contentColumns</span><span class="p">);</span>
+<span class="n">localityGroups</span><span class="p">.</span><span class="n">put</span><span class="p">(</span>&quot;<span class="n">metadata</span>&quot;<span class="p">,</span> <span class="n">metadataColumns</span><span class="p">);</span>
+<span class="n">localityGroups</span><span class="p">.</span><span class="n">put</span><span class="p">(</span>&quot;<span class="n">content</span>&quot;<span class="p">,</span> <span class="n">contentColumns</span><span class="p">);</span>
 
-<span class="n">conn</span><span class="o">.</span><span class="n">tableOperations</span><span class="p">()</span><span class="o">.</span><span class="n">setLocalityGroups</span><span class="p">(</span><span class="s">&quot;mytable&quot;</span><span class="p">,</span> <span class="n">localityGroups</span><span class="p">);</span>
+<span class="n">conn</span><span class="p">.</span><span class="n">tableOperations</span><span class="p">().</span><span class="n">setLocalityGroups</span><span class="p">(</span>&quot;<span class="n">mytable</span>&quot;<span class="p">,</span> <span class="n">localityGroups</span><span class="p">);</span>
 
-<span class="sr">//</span> <span class="n">existing</span> <span class="n">locality</span> <span class="n">groups</span> <span class="n">can</span> <span class="n">be</span> <span class="n">obtained</span> <span class="n">as</span> <span class="n">follows</span>
-<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Set</span><span class="sr">&lt;Text&gt;</span><span class="o">&gt;</span> <span class="n">groups</span> <span class="o">=</span>
-    <span class="n">conn</span><span class="o">.</span><span class="n">tableOperations</span><span class="p">()</span><span class="o">.</span><span class="n">getLocalityGroups</span><span class="p">(</span><span class="s">&quot;mytable&quot;</span><span class="p">);</span>
+<span class="o">//</span> <span class="n">existing</span> <span class="n">locality</span> <span class="n">groups</span> <span class="n">can</span> <span class="n">be</span> <span class="n">obtained</span> <span class="n">as</span> <span class="n">follows</span>
+<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Set</span><span class="o">&lt;</span><span class="n">Text</span><span class="o">&gt;&gt;</span> <span class="n">groups</span> <span class="p">=</span>
+    <span class="n">conn</span><span class="p">.</span><span class="n">tableOperations</span><span class="p">().</span><span class="n">getLocalityGroups</span><span class="p">(</span>&quot;<span class="n">mytable</span>&quot;<span class="p">);</span>
 </pre></div>
 
 
 <p>The assignment of Column Families to Locality Groups can be changed anytime. The physical movement of column families into their new locality groups takes place via the periodic Major Compaction process that takes place continuously in the background. Major Compaction can also be scheduled to take place immediately through the shell: </p>
-<div class="codehilite"><pre><span class="n">user</span><span class="nv">@myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">compact</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span>
+<div class="codehilite"><pre><span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">compact</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span>
 </pre></div>
 
 
 <h2 id="wzxhzdk27wzxhzdk28-constraints"><a id=Constraints></a> Constraints</h2>
 <p>Accumulo supports constraints applied on mutations at insert time. This can be used to disallow certain inserts according to a user defined policy. Any mutation that fails to meet the requirements of the constraint is rejected and sent back to the client. </p>
 <p>Constraints can be enabled by setting a table property as follows: </p>
-<div class="codehilite"><pre><span class="n">user</span><span class="nv">@myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</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">com</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">ExampleConstraint</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</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">com</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">AnotherConstraint</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">f</span> <span class="n">constraint</span>
+<div class="codehilite"><pre><span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">s</span> <span class="n">table</span><span class="p">.</span><span class="n">constraint</span><span class="p">.</span>1<span class="p">=</span><span class="n">com</span><span class="p">.</span><span class="n">test</span><span class="p">.</span><span class="n">ExampleConstraint</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">s</span> <span class="n">table</span><span class="p">.</span><span class="n">constraint</span><span class="p">.</span>2<span class="p">=</span><span class="n">com</span><span class="p">.</span><span class="n">test</span><span class="p">.</span><span class="n">AnotherConstraint</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">f</span> <span class="n">constraint</span>
 <span class="o">---------+--------------------------------+----------------------------</span>
 <span class="n">SCOPE</span>    <span class="o">|</span> <span class="n">NAME</span>                           <span class="o">|</span> <span class="n">VALUE</span>
 <span class="o">---------+--------------------------------+----------------------------</span>
-<span class="n">table</span>    <span class="o">|</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="o">|</span> <span class="n">com</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">ExampleConstraint</span>
-<span class="n">table</span>    <span class="o">|</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="o">|</span> <span class="n">com</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">AnotherConstraint</span>
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">constraint</span><span class="p">.</span>1<span class="p">............</span> <span class="o">|</span> <span class="n">com</span><span class="p">.</span><span class="n">test</span><span class="p">.</span><span class="n">ExampleConstraint</span>
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">constraint</span><span class="p">.</span>2<span class="p">............</span> <span class="o">|</span> <span class="n">com</span><span class="p">.</span><span class="n">test</span><span class="p">.</span><span class="n">AnotherConstraint</span>
 <span class="o">---------+--------------------------------+----------------------------</span>
 </pre></div>
 
@@ -169,7 +169,7 @@ accumulo/src/examples/main/java/accumulo
 <h2 id="wzxhzdk29wzxhzdk30-bloom-filters"><a id=Bloom_Filters></a> Bloom Filters</h2>
 <p>As mutations are applied to an Accumulo table, several files are created per tablet. If bloom filters are enabled, Accumulo will create and load a small data structure into memory to determine whether a file contains a given key before opening the file. This can speed up lookups considerably. </p>
 <p>To enable bloom filters, enter the following command in the Shell: </p>
-<div class="codehilite"><pre><span class="n">user</span><span class="nv">@myinstance</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</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>
+<div class="codehilite"><pre><span class="n">user</span><span class="p">@</span><span class="n">myinstance</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">s</span> <span class="n">table</span><span class="p">.</span><span class="n">bloom</span><span class="p">.</span><span class="n">enabled</span><span class="p">=</span><span class="n">true</span>
 </pre></div>
 
 
@@ -178,27 +178,27 @@ accumulo/docs/examples/README.bloom . </
 <h2 id="wzxhzdk31wzxhzdk32-iterators"><a id=Iterators></a> Iterators</h2>
 <p>Iterators provide a modular mechanism for adding functionality to be executed by TabletServers when scanning or compacting data. This allows users to efficiently summarize, filter, and aggregate data. In fact, the built-in features of cell-level security and age-off are implemented using Iterators. </p>
 <h3 id="wzxhzdk33wzxhzdk34-setting-iterators-via-the-shell"><a id=Setting_Iterators_via_the_Shell></a> Setting Iterators via the Shell</h3>
-<div class="codehilite"><pre><span class="err">usage:</span> <span class="err">setiter</span> <span class="err">[-?]</span> <span class="err">-agg</span> <span class="err">|</span> <span class="err">-</span><span class="kd">class</span> <span class="p">&lt;</span><span class="err">name</span><span class="p">&gt;</span> <span class="err">|</span> <span class="err">-filter</span> <span class="err">|</span> <span class="err">-nolabel</span> <span class="err">|</span> 
-<span class="err">-regex</span> <span class="err">|</span> <span class="err">-vers</span> <span class="err">[-majc]</span> <span class="err">[-minc]</span> <span class="err">[-n</span> <span class="err">&lt;itername&gt;]</span> <span class="err">-p</span> <span class="err">&lt;pri&gt;</span> <span class="err">[-scan]</span> 
-<span class="err">[-t</span> <span class="err">&lt;table&gt;]</span>
+<div class="codehilite"><pre><span class="n">usage</span><span class="o">:</span> <span class="n">setiter</span> <span class="o">[-?]</span> <span class="o">-</span><span class="n">agg</span> <span class="o">|</span> <span class="o">-</span><span class="kd">class</span> <span class="o">&lt;</span><span class="n">name</span><span class="o">&gt;</span> <span class="o">|</span> <span class="o">-</span><span class="n">filter</span> <span class="o">|</span> <span class="o">-</span><span class="n">nolabel</span> <span class="o">|</span> 
+<span class="o">-</span><span class="n">regex</span> <span class="o">|</span> <span class="o">-</span><span class="n">vers</span> <span class="o">[-</span><span class="n">majc</span><span class="o">]</span> <span class="o">[-</span><span class="n">minc</span><span class="o">]</span> <span class="o">[-</span><span class="n">n</span> <span class="o">&lt;</span><span class="n">itername</span><span class="o">&gt;]</span> <span class="o">-</span><span class="n">p</span> <span class="o">&lt;</span><span class="n">pri</span><span class="o">&gt;</span> <span class="o">[-</span><span class="n">scan</span><span class="o">]</span> 
+<span class="o">[-</span><span class="n">t</span> <span class="o">&lt;</span><span class="n">table</span><span class="o">&gt;]</span>
 
-<span class="err">user@myinstance</span> <span class="err">mytable&gt;</span> <span class="err">setiter</span> <span class="err">-t</span> <span class="err">mytable</span> <span class="err">-scan</span> <span class="err">-p</span> <span class="err">10</span> <span class="err">-n</span> <span class="err">myiter</span>
+<span class="n">user</span><span class="err">@</span><span class="n">myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">setiter</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">scan</span> <span class="o">-</span><span class="n">p</span> <span class="mi">10</span> <span class="o">-</span><span class="n">n</span> <span class="n">myiter</span>
 </pre></div>
 
 
 <h3 id="wzxhzdk35wzxhzdk36-setting-iterators-programmatically"><a id=Setting_Iterators_Programmatically></a> Setting Iterators Programmatically</h3>
-<div class="codehilite"><pre><span class="n">scanner</span><span class="o">.</span><span class="n">setScanIterators</span><span class="p">(</span>
-    <span class="mi">15</span><span class="p">,</span> <span class="sr">//</span> <span class="n">priority</span>
-    <span class="s">&quot;com.company.MyIterator&quot;</span><span class="p">,</span> <span class="sr">//</span> <span class="n">class</span> <span class="n">name</span>
-    <span class="s">&quot;myiter&quot;</span><span class="p">);</span> <span class="sr">//</span> <span class="n">name</span> <span class="n">this</span> <span class="n">iterator</span>
+<div class="codehilite"><pre><span class="n">scanner</span><span class="p">.</span><span class="n">setScanIterators</span><span class="p">(</span>
+    15<span class="p">,</span> <span class="o">//</span> <span class="n">priority</span>
+    &quot;<span class="n">com</span><span class="p">.</span><span class="n">company</span><span class="p">.</span><span class="n">MyIterator</span>&quot;<span class="p">,</span> <span class="o">//</span> <span class="n">class</span> <span class="n">name</span>
+    &quot;<span class="n">myiter</span>&quot;<span class="p">);</span> <span class="o">//</span> <span class="n">name</span> <span class="n">this</span> <span class="n">iterator</span>
 </pre></div>
 
 
 <p>Some iterators take additional parameters from client code, as in the following example: </p>
-<div class="codehilite"><pre><span class="n">bscan</span><span class="o">.</span><span class="n">setIteratorOption</span><span class="p">(</span>
-    <span class="s">&quot;myiter&quot;</span><span class="p">,</span> <span class="sr">//</span> <span class="n">iterator</span> <span class="n">reference</span>
-    <span class="s">&quot;myoptionname&quot;</span><span class="p">,</span>
-    <span class="s">&quot;myoptionvalue&quot;</span><span class="p">);</span>
+<div class="codehilite"><pre><span class="n">bscan</span><span class="p">.</span><span class="n">setIteratorOption</span><span class="p">(</span>
+    &quot;<span class="n">myiter</span>&quot;<span class="p">,</span> <span class="o">//</span> <span class="n">iterator</span> <span class="n">reference</span>
+    &quot;<span class="n">myoptionname</span>&quot;<span class="p">,</span>
+    &quot;<span class="n">myoptionvalue</span>&quot;<span class="p">);</span>
 </pre></div>
 
 
@@ -207,21 +207,21 @@ accumulo/docs/examples/README.bloom . </
 <p>Accumulo provides the capability to manage versioned data through the use of timestamps within the Key. If a timestamp is not specified in the key created by the client then the system will set the timestamp to the current time. Two keys with identical rowIDs and columns but different timestamps are considered two versions of the same key. If two inserts are made into accumulo with the same rowID, column, and timestamp, then the behavior is non-deterministic. </p>
 <p>Timestamps are sorted in descending order, so the most recent data comes first. Accumulo can be configured to return the top k versions, or versions later than a given date. The default is to return the one most recent version. </p>
 <p>The version policy can be changed by changing the VersioningIterator options for a table as follows: </p>
-<div class="codehilite"><pre><span class="n">user</span><span class="nv">@myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">s</span>
-<span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">scan</span><span class="o">.</span><span class="n">vers</span><span class="o">.</span><span class="n">opt</span><span class="o">.</span><span class="n">maxVersions</span><span class="o">=</span><span class="mi">3</span>
+<div class="codehilite"><pre><span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">s</span>
+<span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">scan</span><span class="p">.</span><span class="n">vers</span><span class="p">.</span><span class="n">opt</span><span class="p">.</span><span class="n">maxVersions</span><span class="p">=</span>3
 
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">s</span>
-<span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">minc</span><span class="o">.</span><span class="n">vers</span><span class="o">.</span><span class="n">opt</span><span class="o">.</span><span class="n">maxVersions</span><span class="o">=</span><span class="mi">3</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">s</span>
+<span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">minc</span><span class="p">.</span><span class="n">vers</span><span class="p">.</span><span class="n">opt</span><span class="p">.</span><span class="n">maxVersions</span><span class="p">=</span>3
 
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">s</span>
-<span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">majc</span><span class="o">.</span><span class="n">vers</span><span class="o">.</span><span class="n">opt</span><span class="o">.</span><span class="n">maxVersions</span><span class="o">=</span><span class="mi">3</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">mytable</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">mytable</span> <span class="o">-</span><span class="n">s</span>
+<span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">majc</span><span class="p">.</span><span class="n">vers</span><span class="p">.</span><span class="n">opt</span><span class="p">.</span><span class="n">maxVersions</span><span class="p">=</span>3
 </pre></div>
 
 
 <h4 id="wzxhzdk39wzxhzdk40-logical-time"><a id=Logical_Time></a> Logical Time</h4>
 <p>Accumulo 1.2 introduces the concept of logical time. This ensures that timestamps set by accumulo always move forward. This helps avoid problems caused by TabletServers that have different time settings. The per tablet counter gives unique one up time stamps on a per mutation basis. When using time in milliseconds, if two things arrive within the same millisecond then both receive the same timestamp. </p>
 <p>A table can be configured to use logical timestamps at creation time as follows: </p>
-<div class="codehilite"><pre><span class="n">user</span><span class="nv">@myinstance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="o">-</span><span class="n">tl</span> <span class="n">logical</span>
+<div class="codehilite"><pre><span class="n">user</span><span class="p">@</span><span class="n">myinstance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="o">-</span><span class="n">tl</span> <span class="n">logical</span>
 </pre></div>
 
 
@@ -231,63 +231,63 @@ accumulo/docs/examples/README.bloom . </
 <p>When scanning over a set of key-value pairs it is possible to apply an arbitrary filtering policy through the use of a FilteringIterator. These types of iterators return only key-value pairs that satisfy the filter logic. Accumulo has two built-in filtering iterators that can be configured on any table: AgeOff and RegEx. More can be added by writing a Java class that implements the <br />
 org.apache.accumulo.core.iterators.filter.Filter interface. </p>
 <p>To configure the AgeOff filter to remove data older than a certain date or a fixed amount of time from the present. The following example sets a table to delete everything inserted over 30 seconds ago: </p>
-<div class="codehilite"><pre><span class="n">user</span><span class="nv">@myinstance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="n">filtertest</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">setiter</span> <span class="o">-</span><span class="n">t</span> <span class="n">filtertest</span> <span class="o">-</span><span class="n">scan</span> <span class="o">-</span><span class="n">minc</span> <span class="o">-</span><span class="n">majc</span> <span class="o">-</span><span class="n">p</span>
-<span class="mi">10</span> <span class="o">-</span><span class="n">n</span> <span class="n">myfilter</span> <span class="o">-</span><span class="n">filter</span>
-
-<span class="n">FilteringIterator</span> <span class="n">uses</span> <span class="n">Filters</span> <span class="n">to</span> <span class="nb">accept</span> <span class="ow">or</span> <span class="n">reject</span> <span class="n">key</span><span class="o">/</span><span class="n">value</span> <span class="n">pairs</span>
-<span class="o">----------&gt;</span> <span class="n">entering</span> <span class="n">options:</span> <span class="sr">&lt;filterPriorityNumber&gt;</span>
-<span class="sr">&lt;ageoff|regex|filterClass&gt;</span>
-
-<span class="o">----------&gt;</span> <span class="n">set</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">FilteringIterator</span> <span class="n">option</span>
-<span class="p">(</span><span class="sr">&lt;name&gt;</span> <span class="sr">&lt;value&gt;</span><span class="p">,</span> <span class="n">hit</span> <span class="n">enter</span> <span class="n">to</span> <span class="n">skip</span><span class="p">):</span> <span class="mi">0</span> <span class="n">ageoff</span>
-
-<span class="o">----------&gt;</span> <span class="n">set</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">FilteringIterator</span> <span class="n">option</span>
-<span class="p">(</span><span class="sr">&lt;name&gt;</span> <span class="sr">&lt;value&gt;</span><span class="p">,</span> <span class="n">hit</span> <span class="n">enter</span> <span class="n">to</span> <span class="n">skip</span><span class="p">):</span>
-<span class="n">AgeOffFilter</span> <span class="n">removes</span> <span class="n">entries</span> <span class="n">with</span> <span class="n">timestamps</span> <span class="n">more</span> <span class="n">than</span> <span class="sr">&lt;ttl&gt;</span>
+<div class="codehilite"><pre><span class="n">user</span><span class="p">@</span><span class="n">myinstance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="n">filtertest</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">setiter</span> <span class="o">-</span><span class="n">t</span> <span class="n">filtertest</span> <span class="o">-</span><span class="n">scan</span> <span class="o">-</span><span class="n">minc</span> <span class="o">-</span><span class="n">majc</span> <span class="o">-</span><span class="n">p</span>
+10 <span class="o">-</span><span class="n">n</span> <span class="n">myfilter</span> <span class="o">-</span><span class="n">filter</span>
+
+<span class="n">FilteringIterator</span> <span class="n">uses</span> <span class="n">Filters</span> <span class="n">to</span> <span class="n">accept</span> <span class="n">or</span> <span class="n">reject</span> <span class="n">key</span><span class="o">/</span><span class="n">value</span> <span class="n">pairs</span>
+<span class="o">----------&gt;</span> <span class="n">entering</span> <span class="n">options</span><span class="p">:</span> <span class="o">&lt;</span><span class="n">filterPriorityNumber</span><span class="o">&gt;</span>
+<span class="o">&lt;</span><span class="n">ageoff</span><span class="o">|</span><span class="n">regex</span><span class="o">|</span><span class="n">filterClass</span><span class="o">&gt;</span>
+
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">FilteringIterator</span> <span class="n">option</span>
+<span class="p">(</span><span class="o">&lt;</span><span class="n">name</span><span class="o">&gt;</span> <span class="o">&lt;</span><span class="n">value</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">hit</span> <span class="n">enter</span> <span class="n">to</span> <span class="n">skip</span><span class="p">):</span> 0 <span class="n">ageoff</span>
+
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">FilteringIterator</span> <span class="n">option</span>
+<span class="p">(</span><span class="o">&lt;</span><span class="n">name</span><span class="o">&gt;</span> <span class="o">&lt;</span><span class="n">value</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">hit</span> <span class="n">enter</span> <span class="n">to</span> <span class="n">skip</span><span class="p">):</span>
+<span class="n">AgeOffFilter</span> <span class="n">removes</span> <span class="n">entries</span> <span class="n">with</span> <span class="n">timestamps</span> <span class="n">more</span> <span class="n">than</span> <span class="o">&lt;</span><span class="n">ttl</span><span class="o">&gt;</span>
 <span class="n">milliseconds</span> <span class="n">old</span>
 
-<span class="o">----------&gt;</span> <span class="n">set</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">filter</span><span class="o">.</span><span class="n">AgeOffFilter</span> <span class="n">parameter</span>
-<span class="n">currentTime</span><span class="p">,</span> <span class="k">if</span> <span class="n">set</span><span class="p">,</span> <span class="k">use</span> <span class="n">the</span> <span class="n">given</span> <span class="n">value</span> <span class="n">as</span> <span class="n">the</span> <span class="n">absolute</span> <span class="nb">time</span> <span class="n">in</span>
-<span class="n">milliseconds</span> <span class="n">as</span> <span class="n">the</span> <span class="n">current</span> <span class="nb">time</span> <span class="n">of</span> <span class="n">day:</span>
-
-<span class="o">----------&gt;</span> <span class="n">set</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">filter</span><span class="o">.</span><span class="n">AgeOffFilter</span> <span class="n">parameter</span>
-<span class="n">ttl</span><span class="p">,</span> <span class="nb">time</span> <span class="n">to</span> <span class="n">live</span> <span class="p">(</span><span class="n">milliseconds</span><span class="p">):</span> <span class="mi">30000</span>
-
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">scan</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">foo</span> <span class="n">a</span> <span class="n">b</span> <span class="n">c</span>
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">filter</span><span class="p">.</span><span class="n">AgeOffFilter</span> <span class="n">parameter</span>
+<span class="n">currentTime</span><span class="p">,</span> <span class="k">if</span> <span class="n">set</span><span class="p">,</span> <span class="n">use</span> <span class="n">the</span> <span class="n">given</span> <span class="n">value</span> <span class="n">as</span> <span class="n">the</span> <span class="n">absolute</span> <span class="n">time</span> <span class="n">in</span>
+<span class="n">milliseconds</span> <span class="n">as</span> <span class="n">the</span> <span class="n">current</span> <span class="n">time</span> <span class="n">of</span> <span class="n">day</span><span class="p">:</span>
+
+<span class="o">----------&gt;</span> <span class="n">set</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">filter</span><span class="p">.</span><span class="n">AgeOffFilter</span> <span class="n">parameter</span>
+<span class="n">ttl</span><span class="p">,</span> <span class="n">time</span> <span class="n">to</span> <span class="n">live</span> <span class="p">(</span><span class="n">milliseconds</span><span class="p">):</span> 30000
+
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">foo</span> <span class="n">a</span> <span class="n">b</span> <span class="n">c</span>
 <span class="n">insert</span> <span class="n">successful</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">scan</span>
-<span class="n">foo</span> <span class="n">a:b</span> <span class="o">[]</span> <span class="n">c</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">foo</span> <span class="n">a</span><span class="p">:</span><span class="n">b</span> <span class="p">[]</span> <span class="n">c</span>
 
-<span class="o">...</span> <span class="nb">wait</span> <span class="mi">30</span> <span class="n">seconds</span> <span class="o">...</span>
+<span class="p">...</span> <span class="n">wait</span> 30 <span class="n">seconds</span> <span class="p">...</span>
 
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">scan</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">filtertest</span><span class="o">&gt;</span>
 </pre></div>
 
 
 <p>To see the iterator settings for a table, use: </p>
-<div class="codehilite"><pre><span class="n">user</span><span class="nv">@example</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">filtertest</span> <span class="o">-</span><span class="n">f</span> <span class="n">iterator</span>
+<div class="codehilite"><pre><span class="n">user</span><span class="p">@</span><span class="n">example</span> <span class="n">filtertest</span><span class="o">&gt;</span> <span class="n">config</span> <span class="o">-</span><span class="n">t</span> <span class="n">filtertest</span> <span class="o">-</span><span class="n">f</span> <span class="n">iterator</span>
 <span class="o">---------+------------------------------------------+------------------</span>
 <span class="n">SCOPE</span>    <span class="o">|</span> <span class="n">NAME</span>                                     <span class="o">|</span> <span class="n">VALUE</span>
 <span class="o">---------+------------------------------------------+------------------</span>
-<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">majc</span><span class="o">.</span><span class="n">myfilter</span> <span class="o">...........</span> <span class="o">|</span>
-<span class="mi">10</span><span class="p">,</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">FilteringIterator</span>
-<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">majc</span><span class="o">.</span><span class="n">myfilter</span><span class="o">.</span><span class="n">opt</span><span class="mf">.0</span> <span class="o">.....</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">iterators</span><span class="o">.</span><span class="n">filter</span><span class="o">.</span><span class="n">AgeOffFilter</span>
-<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">majc</span><span class="o">.</span><span class="n">myfilter</span><span class="o">.</span><span class="n">opt</span><span class="mf">.0</span><span class="o">.</span><span class="n">ttl</span> <span class="o">.</span> <span class="o">|</span> <span class="mi">30000</span>
-<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">minc</span><span class="o">.</span><span class="n">myfilter</span> <span class="o">...........</span> <span class="o">|</span>
-<span class="mi">10</span><span class="p">,</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">FilteringIterator</span>
-<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">minc</span><span class="o">.</span><span class="n">myfilter</span><span class="o">.</span><span class="n">opt</span><span class="mf">.0</span> <span class="o">.....</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">iterators</span><span class="o">.</span><span class="n">filter</span><span class="o">.</span><span class="n">AgeOffFilter</span>
-<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">minc</span><span class="o">.</span><span class="n">myfilter</span><span class="o">.</span><span class="n">opt</span><span class="mf">.0</span><span class="o">.</span><span class="n">ttl</span> <span class="o">.</span> <span class="o">|</span> <span class="mi">30000</span>
-<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">scan</span><span class="o">.</span><span class="n">myfilter</span> <span class="o">...........</span> <span class="o">|</span>
-<span class="mi">10</span><span class="p">,</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">FilteringIterator</span>
-<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">scan</span><span class="o">.</span><span class="n">myfilter</span><span class="o">.</span><span class="n">opt</span><span class="mf">.0</span> <span class="o">.....</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">iterators</span><span class="o">.</span><span class="n">filter</span><span class="o">.</span><span class="n">AgeOffFilter</span>
-<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="o">.</span><span class="n">iterator</span><span class="o">.</span><span class="n">scan</span><span class="o">.</span><span class="n">myfilter</span><span class="o">.</span><span class="n">opt</span><span class="mf">.0</span><span class="o">.</span><span class="n">ttl</span> <span class="o">.</span> <span class="o">|</span> <span class="mi">30000</span>
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">majc</span><span class="p">.</span><span class="n">myfilter</span> <span class="p">...........</span> <span class="o">|</span>
+10<span class="p">,</span><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">FilteringIterator</span>
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">majc</span><span class="p">.</span><span class="n">myfilter</span><span class="p">.</span><span class="n">opt</span><span class="p">.</span>0 <span class="p">.....</span> <span class="o">|</span>
+<span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">filter</span><span class="p">.</span><span class="n">AgeOffFilter</span>
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">majc</span><span class="p">.</span><span class="n">myfilter</span><span class="p">.</span><span class="n">opt</span><span class="p">.</span>0<span class="p">.</span><span class="n">ttl</span> <span class="p">.</span> <span class="o">|</span> 30000
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">minc</span><span class="p">.</span><span class="n">myfilter</span> <span class="p">...........</span> <span class="o">|</span>
+10<span class="p">,</span><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">FilteringIterator</span>
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">minc</span><span class="p">.</span><span class="n">myfilter</span><span class="p">.</span><span class="n">opt</span><span class="p">.</span>0 <span class="p">.....</span> <span class="o">|</span>
+<span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">filter</span><span class="p">.</span><span class="n">AgeOffFilter</span>
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">minc</span><span class="p">.</span><span class="n">myfilter</span><span class="p">.</span><span class="n">opt</span><span class="p">.</span>0<span class="p">.</span><span class="n">ttl</span> <span class="p">.</span> <span class="o">|</span> 30000
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">scan</span><span class="p">.</span><span class="n">myfilter</span> <span class="p">...........</span> <span class="o">|</span>
+10<span class="p">,</span><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">FilteringIterator</span>
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">scan</span><span class="p">.</span><span class="n">myfilter</span><span class="p">.</span><span class="n">opt</span><span class="p">.</span>0 <span class="p">.....</span> <span class="o">|</span>
+<span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">filter</span><span class="p">.</span><span class="n">AgeOffFilter</span>
+<span class="n">table</span>    <span class="o">|</span> <span class="n">table</span><span class="p">.</span><span class="n">iterator</span><span class="p">.</span><span class="n">scan</span><span class="p">.</span><span class="n">myfilter</span><span class="p">.</span><span class="n">opt</span><span class="p">.</span>0<span class="p">.</span><span class="n">ttl</span> <span class="p">.</span> <span class="o">|</span> 30000
 <span class="o">---------+------------------------------------------+------------------</span>
 </pre></div>
 
@@ -296,30 +296,30 @@ org.apache.accumulo.core.iterators.filte
 <p>Accumulo allows aggregating iterators to be configured on tables and column families. When an aggregating iterator is set, the iterator is applied across the values associated with any keys that share rowID, column family, and column qualifier. This is similar to the reduce step in MapReduce, which applied some function to all the values associated with a particular key. </p>
 <p>For example, if an aggregating iterator were configured on a table and the following mutations were inserted: </p>
 <div class="codehilite"><pre><span class="n">Row</span>     <span class="n">Family</span> <span class="n">Qualifier</span> <span class="n">Timestamp</span>  <span class="n">Value</span>
-<span class="n">rowID1</span>  <span class="n">colfA</span>  <span class="n">colqA</span>     <span class="mi">20100101</span>   <span class="mi">1</span>
-<span class="n">rowID1</span>  <span class="n">colfA</span>  <span class="n">colqA</span>     <span class="mi">20100102</span>   <span class="mi">1</span>
+<span class="n">rowID1</span>  <span class="n">colfA</span>  <span class="n">colqA</span>     20100101   1
+<span class="n">rowID1</span>  <span class="n">colfA</span>  <span class="n">colqA</span>     20100102   1
 </pre></div>
 
 
 <p>The table would reflect only one aggregate value: </p>
-<div class="codehilite"><pre><span class="n">rowID1</span>  <span class="n">colfA</span>  <span class="n">colqA</span>     <span class="o">-</span>          <span class="mi">2</span>
+<div class="codehilite"><pre><span class="n">rowID1</span>  <span class="n">colfA</span>  <span class="n">colqA</span>     <span class="o">-</span>          2
 </pre></div>
 
 
 <p>Aggregating iterators can be enabled for a table as follows: </p>
-<div class="codehilite"><pre><span class="n">user</span><span class="nv">@myinstance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="n">perDayCounts</span> <span class="o">-</span><span class="n">a</span>
-<span class="n">day</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">iterators</span><span class="o">.</span><span class="n">aggregation</span><span class="o">.</span><span class="n">StringSummation</span>
+<div class="codehilite"><pre><span class="n">user</span><span class="p">@</span><span class="n">myinstance</span><span class="o">&gt;</span> <span class="n">createtable</span> <span class="n">perDayCounts</span> <span class="o">-</span><span class="n">a</span>
+<span class="n">day</span><span class="p">=</span><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">accumulo</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">iterators</span><span class="p">.</span><span class="n">aggregation</span><span class="p">.</span><span class="n">StringSummation</span>
 
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row1</span> <span class="n">day</span> <span class="mi">20080101</span> <span class="mi">1</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row1</span> <span class="n">day</span> <span class="mi">20080101</span> <span class="mi">1</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row1</span> <span class="n">day</span> <span class="mi">20080103</span> <span class="mi">1</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row2</span> <span class="n">day</span> <span class="mi">20080101</span> <span class="mi">1</span>
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row3</span> <span class="n">day</span> <span class="mi">20080101</span> <span class="mi">1</span>
-
-<span class="n">user</span><span class="nv">@myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">scan</span>
-<span class="n">row1</span> <span class="n">day:20080101</span> <span class="o">[]</span> <span class="mi">2</span>
-<span class="n">row1</span> <span class="n">day:20080103</span> <span class="o">[]</span> <span class="mi">1</span>
-<span class="n">row2</span> <span class="n">day:20080101</span> <span class="o">[]</span> <span class="mi">2</span>
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row1</span> <span class="n">day</span> 20080101 1
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row1</span> <span class="n">day</span> 20080101 1
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row1</span> <span class="n">day</span> 20080103 1
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row2</span> <span class="n">day</span> 20080101 1
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">insert</span> <span class="n">row3</span> <span class="n">day</span> 20080101 1
+
+<span class="n">user</span><span class="p">@</span><span class="n">myinstance</span> <span class="n">perDayCounts</span><span class="o">&gt;</span> <span class="n">scan</span>
+<span class="n">row1</span> <span class="n">day</span><span class="p">:</span>20080101 <span class="p">[]</span> 2
+<span class="n">row1</span> <span class="n">day</span><span class="p">:</span>20080103 <span class="p">[]</span> 1
+<span class="n">row2</span> <span class="n">day</span><span class="p">:</span>20080101 <span class="p">[]</span> 2
 </pre></div>
 
 
@@ -337,14 +337,14 @@ accumulo/src/examples/main/java/org/apac
 <h2 id="wzxhzdk47wzxhzdk48-block-cache"><a id=Block_Cache></a> Block Cache</h2>
 <p>In order to increase throughput of commonly accessed entries, Accumulo employs a block cache. This block cache buffers data in memory so that it doesn't have to be read off of disk. The RFile format that Accumulo prefers is a mix of index blocks and data blocks, where the index blocks are used to find the appropriate data blocks. Typical queries to Accumulo result in a binary search over several index blocks followed by a linear scan of one or more data blocks. </p>
 <p>The block cache can be configured on a per-table basis, and all tablets hosted on a tablet server share a single resource pool. To configure the size of the tablet server's block cache, set the following properties: </p>
-<div class="codehilite"><pre><span class="n">tserver</span><span class="o">.</span><span class="n">cache</span><span class="o">.</span><span class="n">data</span><span class="o">.</span><span class="n">size:</span> <span class="n">Specifies</span> <span class="n">the</span> <span class="n">size</span> <span class="n">of</span> <span class="n">the</span> <span class="n">cache</span> <span class="k">for</span> <span class="n">file</span> <span class="n">data</span> <span class="n">blocks</span><span class="o">.</span>
-<span class="n">tserver</span><span class="o">.</span><span class="n">cache</span><span class="o">.</span><span class="nb">index</span><span class="o">.</span><span class="n">size:</span> <span class="n">Specifies</span> <span class="n">the</span> <span class="n">size</span> <span class="n">of</span> <span class="n">the</span> <span class="n">cache</span> <span class="k">for</span> <span class="n">file</span> <span class="n">indices</span><span class="o">.</span>
+<div class="codehilite"><pre><span class="n">tserver</span><span class="p">.</span><span class="n">cache</span><span class="p">.</span><span class="n">data</span><span class="p">.</span><span class="nb">size</span><span class="p">:</span> <span class="n">Specifies</span> <span class="n">the</span> <span class="nb">size</span> <span class="n">of</span> <span class="n">the</span> <span class="n">cache</span> <span class="k">for</span> <span class="n">file</span> <span class="n">data</span> <span class="n">blocks</span><span class="p">.</span>
+<span class="n">tserver</span><span class="p">.</span><span class="n">cache</span><span class="p">.</span><span class="n">index</span><span class="p">.</span><span class="nb">size</span><span class="p">:</span> <span class="n">Specifies</span> <span class="n">the</span> <span class="nb">size</span> <span class="n">of</span> <span class="n">the</span> <span class="n">cache</span> <span class="k">for</span> <span class="n">file</span> <span class="n">indices</span><span class="p">.</span>
 </pre></div>
 
 
 <p>To enable the block cache for your table, set the following properties: </p>
-<div class="codehilite"><pre><span class="n">table</span><span class="o">.</span><span class="n">cache</span><span class="o">.</span><span class="n">block</span><span class="o">.</span><span class="n">enable:</span> <span class="n">Determines</span> <span class="n">whether</span> <span class="n">file</span> <span class="p">(</span><span class="n">data</span><span class="p">)</span> <span class="n">block</span> <span class="n">cache</span> <span class="n">is</span> <span class="n">enabled</span><span class="o">.</span>
-<span class="n">table</span><span class="o">.</span><span class="n">cache</span><span class="o">.</span><span class="nb">index</span><span class="o">.</span><span class="n">enable:</span> <span class="n">Determines</span> <span class="n">whether</span> <span class="nb">index</span> <span class="n">cache</span> <span class="n">is</span> <span class="n">enabled</span><span class="o">.</span>
+<div class="codehilite"><pre><span class="n">table</span><span class="p">.</span><span class="n">cache</span><span class="p">.</span><span class="n">block</span><span class="p">.</span><span class="n">enable</span><span class="p">:</span> <span class="n">Determines</span> <span class="n">whether</span> <span class="n">file</span> <span class="p">(</span><span class="n">data</span><span class="p">)</span> <span class="n">block</span> <span class="n">cache</span> <span class="n">is</span> <span class="n">enabled</span><span class="p">.</span>
+<span class="n">table</span><span class="p">.</span><span class="n">cache</span><span class="p">.</span><span class="n">index</span><span class="p">.</span><span class="n">enable</span><span class="p">:</span> <span class="n">Determines</span> <span class="n">whether</span> <span class="n">index</span> <span class="n">cache</span> <span class="n">is</span> <span class="n">enabled</span><span class="p">.</span>
 </pre></div>
 
 
@@ -355,7 +355,7 @@ accumulo/src/examples/main/java/org/apac
 
   <div id="footer">
     <a alt="Apache Software Foundation" href="http://www.apache.org">
-      <img id="asf-logo" alt="Apache Software Foundation" src="/images/feather-small.gif"/ width="100">
+      <img id="asf-logo" alt="Apache Software Foundation" src="images/feather-small.gif"/ width="100">
     </a>
     <div class="copyright">
       <p>



Mime
View raw message