Author: ctubbsii Date: Tue Apr 29 22:08:48 2014 New Revision: 1591122 URL: http://svn.apache.org/r1591122 Log: ACCUMULO-2396 Include accumulo-maven-plugin in the 1.6.0 release notes
Modified: accumulo/site/trunk/content/release_notes/1.6.0.mdtext Modified: accumulo/site/trunk/content/release_notes/1.6.0.mdtext URL: http://svn.apache.org/viewvc/accumulo/site/trunk/content/release_notes/1.6.0.mdtext?rev=1591122&r1=1591121&r2=1591122&view=diff ============================================================================== --- accumulo/site/trunk/content/release_notes/1.6.0.mdtext (original) +++ accumulo/site/trunk/content/release_notes/1.6.0.mdtext Tue Apr 29 22:08:48 2014 @@ -1,4 +1,4 @@ -Title: +Title: Release Notes for Apache Accumulo 1.6.0 Notice: 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 @@ -84,6 +84,42 @@ While Hadoop [does not support IPv6 netw Multiple bug-fixes were made to support running Accumulo over multiple HDFS instances using ViewFS. [ACCUMULO-2047][ACCUMULO-2047] is the parent ticket that contains numerous fixes to enable this support. +### Maven Plugin + +This version of Accumulo is accompanied by a new maven plugin for testing client apps ([ACCUMULO-1030][ACCUMULO-1030]). You can execute the accumulo-maven-plugin inside your project by adding the following to your pom.xml's build plugins section: + + <plugin> + <groupId>org.apache.accumulo</groupId> + <artifactId>accumulo-maven-plugin</artifactId> + <version>1.6.0</version> + <configuration> + <instanceName>plugin-it-instance</instanceName> + <rootPassword>ITSecret</rootPassword> + </configuration> + <executions> + <execution> + <id>run-plugin</id> + <goals> + <goal>start</goal> + <goal>stop</goal> + </goals> + </execution> + </executions> + </plugin> + +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: + + private static Connector conn; + + @BeforeClass + public static void setUp() throws Exception { + String instanceName = "plugin-it-instance"; + Instance instance = new MiniAccumuloInstance(instanceName, new File("target/accumulo-maven-plugin/" + instanceName)); + conn = instance.getConnector("root", new PasswordToken("ITSecret")); + } + +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). + ### Packaging 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. @@ -237,6 +273,7 @@ and, in HDFS High-Availability instances [ACCUMULO-1009]: https://issues.apache.org/jira/browse/ACCUMULO-1009 "Support encryption over the wire" [ACCUMULO-1018]: https://issues.apache.org/jira/browse/ACCUMULO-1018 "Client does not give informative message when user can not read table" [ACCUMULO-1024]: https://issues.apache.org/jira/browse/ACCUMULO-1024 +[ACCUMULO-1030]: https://issues.apache.org/jira/browse/ACCUMULO-1030 "Create a Maven plugin to run MiniAccumuloCluster for integration testing" [ACCUMULO-1218]: https://issues.apache.org/jira/browse/ACCUMULO-1218 "document the recovery from a failed zookeeper" [ACCUMULO-1336]: https://issues.apache.org/jira/browse/ACCUMULO-1336 "Add lexicoders from Typo to Accumulo" [ACCUMULO-1375]: https://issues.apache.org/jira/browse/ACCUMULO-1375 "Update README files in proxy module."