You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bu...@apache.org on 2014/04/30 00:08:55 UTC

svn commit: r907384 - in /websites/staging/accumulo/trunk/content: ./ release_notes/1.6.0.html

Author: buildbot
Date: Tue Apr 29 22:08:55 2014
New Revision: 907384

Log:
Staging update by buildbot for accumulo

Modified:
    websites/staging/accumulo/trunk/content/   (props changed)
    websites/staging/accumulo/trunk/content/release_notes/1.6.0.html

Propchange: websites/staging/accumulo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Apr 29 22:08:55 2014
@@ -1 +1 @@
-1591115
+1591122

Modified: websites/staging/accumulo/trunk/content/release_notes/1.6.0.html
==============================================================================
--- websites/staging/accumulo/trunk/content/release_notes/1.6.0.html (original)
+++ websites/staging/accumulo/trunk/content/release_notes/1.6.0.html Tue Apr 29 22:08:55 2014
@@ -18,7 +18,7 @@
     limitations under the License.
 -->
   <link href="/css/accumulo.css" rel="stylesheet" type="text/css">
-  <title></title>
+  <title>Release Notes for Apache Accumulo 1.6.0</title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   
   <script type="text/javascript">
@@ -90,7 +90,7 @@
   </div>
 
   <div id="content">
-    <h1 class="title"></h1>
+    <h1 class="title">Release Notes for Apache Accumulo 1.6.0</h1>
     <p><strong>DRAFT 1.6.0 RELEASE NOTES</strong></p>
 <p>Apache Accumulo 1.6.0 adds some major new features and fixes many bugs.  This release contains changes from 609 issues contributed by 36 contributors and committers.  </p>
 <p>Accumulo 1.6.0 runs on Hadoop 1, however Hadoop 2 with HA namenode is recommended for production systems.  In addition to HA, Hadoop 2 also offers better data durability guarantees, in the case when nodes lose power, than Hadoop 1.</p>
@@ -135,6 +135,42 @@
 <h3 id="viewfs">ViewFS</h3>
 <p>Multiple bug-fixes were made to support running Accumulo over multiple HDFS instances using ViewFS. <a href="https://issues.apache.org/jira/browse/ACCUMULO-2047" title="Failures using viewfs with multiple namenodes">ACCUMULO-2047</a> is the parent
 ticket that contains numerous fixes to enable this support.</p>
+<h3 id="maven-plugin">Maven Plugin</h3>
+<p>This version of Accumulo is accompanied by a new maven plugin for testing client apps (<a href="https://issues.apache.org/jira/browse/ACCUMULO-1030" title="Create a Maven plugin to run MiniAccumuloCluster for integration testing">ACCUMULO-1030</a>). You can execute the accumulo-maven-plugin inside your project by adding the following to your pom.xml's build plugins section:</p>
+<div class="codehilite"><pre>  <span class="nt">&lt;plugin&gt;</span>
+    <span class="nt">&lt;groupId&gt;</span>org.apache.accumulo<span class="nt">&lt;/groupId&gt;</span>
+    <span class="nt">&lt;artifactId&gt;</span>accumulo-maven-plugin<span class="nt">&lt;/artifactId&gt;</span>
+    <span class="nt">&lt;version&gt;</span>1.6.0<span class="nt">&lt;/version&gt;</span>
+    <span class="nt">&lt;configuration&gt;</span>
+      <span class="nt">&lt;instanceName&gt;</span>plugin-it-instance<span class="nt">&lt;/instanceName&gt;</span>
+      <span class="nt">&lt;rootPassword&gt;</span>ITSecret<span class="nt">&lt;/rootPassword&gt;</span>
+    <span class="nt">&lt;/configuration&gt;</span>
+    <span class="nt">&lt;executions&gt;</span>
+      <span class="nt">&lt;execution&gt;</span>
+        <span class="nt">&lt;id&gt;</span>run-plugin<span class="nt">&lt;/id&gt;</span>
+        <span class="nt">&lt;goals&gt;</span>
+          <span class="nt">&lt;goal&gt;</span>start<span class="nt">&lt;/goal&gt;</span>
+          <span class="nt">&lt;goal&gt;</span>stop<span class="nt">&lt;/goal&gt;</span>
+        <span class="nt">&lt;/goals&gt;</span>
+      <span class="nt">&lt;/execution&gt;</span>
+    <span class="nt">&lt;/executions&gt;</span>
+  <span class="nt">&lt;/plugin&gt;</span>
+</pre></div>
+
+
+<p>This plugin is designed to work in conjunction with the maven-failsafe-plugin. A small test instance of Accumulo will run during the pre-integration-test phase of the Maven build lifecycle, and will be stopped in the post-integration-test phase. Your integration tests, executed by maven-failsafe-plugin can access this instance with a MiniAccumuloInstance connector (the plugin uses MiniAccumuloInstance, internally), as in the following example:</p>
+<div class="codehilite"><pre>  <span class="n">private</span> <span class="n">static</span> <span class="n">Connector</span> <span class="n">conn</span><span class="p">;</span>
+
+  <span class="p">@</span><span class="n">BeforeClass</span>
+  <span class="n">public</span> <span class="n">static</span> <span class="n">void</span> <span class="n">setUp</span><span class="p">()</span> <span class="n">throws</span> <span class="n">Exception</span> <span class="p">{</span>
+    <span class="n">String</span> <span class="n">instanceName</span> <span class="p">=</span> &quot;<span class="n">plugin</span><span class="o">-</span><span class="n">it</span><span class="o">-</span><span class="n">instance</span>&quot;<span class="p">;</span>
+    <span class="n">Instance</span> <span class="n">instance</span> <span class="p">=</span> <span class="n">new</span> <span class="n">MiniAccumuloInstance</span><span class="p">(</span><span class="n">instanceName</span><span class="p">,</span> <span class="n">new</span> <span class="n">File</span><span class="p">(</span>&quot;<span class="n">target</span><span class="o">/</span><span class="n">accumulo</span><span class="o">-</span><span class="n">maven</span><span class="o">-</span><span class="n">plugin</span><span class="o">/</span>&quot; <span class="o">+</span> <span class="n">instanceName</span><span class="p">));</span>
+    <span class="n">conn</span> <span class="p">=</span> <span class="n">instance</span><span class="p">.</span><span class="n">getConnector</span><span class="p">(</span>&quot;<span class="n">root</span>&quot;<span class="p">,</span> <span class="n">new</span> <span class="n">PasswordToken</span><span class="p">(</span>&quot;<span class="n">ITSecret</span>&quot;<span class="p">));</span>
+  <span class="p">}</span>
+</pre></div>
+
+
+<p>This plugin is quite limited, currently only supporting an instance name and a root user password as configuration parameters. Improvements are expected in future releases, so feedback is welcome and appreciated (file bugs/requests under the "maven-plugin" component in the Accumulo JIRA).</p>
 <h3 id="packaging">Packaging</h3>
 <p>One notable change that was made to the binary tarball is the purposeful omission of a pre-built copy of the Accumulo "native map" library.
 This shared library is used at ingest time to implement an off-JVM-heap sorted map that greatly increases ingest throughput while side-stepping