commit | 6f5177363ca309c35403fd822e3270559e9dfdbd | [log] [tgz] |
---|---|---|
author | Mike Walch <mwalch@apache.org> | Wed Sep 07 12:04:44 2016 -0400 |
committer | Mike Walch <mwalch@apache.org> | Wed Sep 21 12:30:22 2016 -0400 |
tree | 357f9be93a963b7acca0688d3ef179db19a5f1da | |
parent | d7347ee15555abcc01881d04af1b375eca4018a3 [diff] |
Fixes #102 - Simplify Accumulo export queue recipe * AccumuloExporter is now abstract class that is implemented by user and handles writing mutation given by user to Accumulo. * AccumuloExport objects are no longer placed on queue * Renamed SharedBatchWriter to AccumuloWriter * AccumuloExportQueue class contains code for configuring queue
Fluo Recipes are common code for Apache Fluo application developers.
Fluo Recipes build on the Fluo API to offer additinal functionality to developers. They are published seperately from Fluo on their own release schedule. This allows Fluo Recipes to iterate and innovate faster than Fluo (which will maintain a more minimal API on a slower release cycle).
Recipes are documented below and in the Recipes API docs.
Recipes have common needs that are broken down into the following reusable components.
The Fluo Recipes project publishes multiple jars to Maven Central for each release. The fluo-recipes-core
jar is the primary jar. It is where most recipes live and where they are placed by default if they have minimal dependencies beyond the Fluo API.
Fluo Recipes with dependencies that bring in many transitive dependencies publish their own jar. For example, recipes that depend on Apache Spark are published in the fluo-recipes-spark
jar. If you don't plan on using code in the fluo-recipes-spark
jar, you should avoid including it in your pom.xml to avoid a transitive dependency on Spark.
Below is a sample Maven POM containing all possible Fluo Recipes dependencies:
<properties> <fluo-recipes.version>1.0.0-incubating</fluo-recipes.version> </properties> <dependencies> <!-- Required. Contains recipes that are only depend on the Fluo API --> <dependency> <groupId>org.apache.fluo</groupId> <artifactId>fluo-recipes-core</artifactId> <version>${fluo-recipes.version}</version> </dependency> <!-- Optional. Serialization code that depends on Kryo --> <dependency> <groupId>org.apache.fluo</groupId> <artifactId>fluo-recipes-kryo</artifactId> <version>${fluo-recipes.version}</version> </dependency> <!-- Optional. Common code for using Fluo with Accumulo --> <dependency> <groupId>org.apache.fluo</groupId> <artifactId>fluo-recipes-accumulo</artifactId> <version>${fluo-recipes.version}</version> </dependency> <!-- Optional. Common code for using Fluo with Spark --> <dependency> <groupId>org.apache.fluo</groupId> <artifactId>fluo-recipes-spark</artifactId> <version>${fluo-recipes.version}</version> </dependency> <!-- Optional. Common code for writing Fluo integration tests --> <dependency> <groupId>org.apache.fluo</groupId> <artifactId>fluo-recipes-test</artifactId> <version>${fluo-recipes.version}</version> <scope>test</scope> </dependency> </dependencies>