add basic docs for HBase example
Project: http://git-wip-us.apache.org/repos/asf/storm/repo Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/edc5744c Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/edc5744c Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/edc5744c Branch: refs/heads/0.10.x-branch Commit: edc5744c48b65c3d7298ec5a61affb6164fc4d96 Parents: 4a1db96 Author: P. Taylor Goetz <ptgo...@gmail.com> Authored: Tue Apr 7 23:57:53 2015 -0400 Committer: P. Taylor Goetz <ptgo...@gmail.com> Committed: Tue Apr 7 23:57:53 2015 -0400 ---------------------------------------------------------------------- flux-examples/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/storm/blob/edc5744c/flux-examples/README.md ---------------------------------------------------------------------- diff --git a/flux-examples/README.md b/flux-examples/README.md index 425ad98..b3798a6 100644 --- a/flux-examples/README.md +++ b/flux-examples/README.md @@ -54,3 +54,15 @@ least, the property `hdfs.url` to point to a HDFS cluster. Then you can run the storm jar ./target/flux-examples-0.2.3-SNAPSHOT.jar org.apache.storm.flux.Flux --local ./src/main/resources/simple_hdfs.yaml --filter my_hdfs_bolt.properties ``` +### [simple_hbase.yaml](src/main/resources/simple_hbase.yaml) + +This example illustrates how to use Flux to setup a storm-hbase bolt to write to HBase. + +In order to use this example, you will need to edit the `src/main resrouces/hbase-site.xml` file to reflect your HBase +environment, and then rebuild the topology jar. + +You can do so by running the following Maven command in the `flux-examples` directory: + +```bash +mvn clean install +``` \ No newline at end of file