Centralize command logic to be run from one class

Using the Command Pattern as inspiration, all the logic for running a
command has been moved to the FluoProgram class. The purpose of this
was to prevent calling System.exit() from within the command classes. 
This will allow the commands to be more easily reused outside of a CLI.
This also makes it easier to print standard error messages for expected
exceptions by throwing a FluoCommandException, and to print a stack 
trace for all other exceptions.

Fixes #983
28 files changed
tree: c7b75190992c7f75448969fa9c1a50e8d91ecae8
  1. contrib/
  2. modules/
  3. .gitignore
  4. .travis.yml
  5. CONTRIBUTING.md
  6. LICENSE
  7. NOTICE
  8. pom.xml
  9. README.md
README.md

Fluo

Build Status Apache License Maven Central Javadoc

Apache Fluo is a distributed processing system that lets users make incremental updates to large data sets. With Apache Fluo, users can set up workflows that execute cross node transactions when data changes. These workflows enable users to continuously join new data into large existing data sets without reprocessing all data. Apache Fluo is built on Apache Accumulo. Check out the Fluo project website for news and general information.

Getting Started

  • Take the Fluo Tour if you are completely new to Fluo.
  • Read the Fluo documentation to learn how to install Fluo and start a Fluo application on a cluster where Accumulo, Hadoop & Zookeeper are running. If you need help setting up these dependencies, see the related projects page for external projects that may help.