forked from cwensel/cascading.hbase
-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.txt
76 lines (48 loc) · 2.21 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
This fork adds some simple leiningen interop stuff. Most of it centered around
dependency management and such. I'll eventually create the necessary pom files
and push all this stuff to clojars, but until then, you get a script.
installation
1. download hbase-0.20.0 release and extract it somewhere
2. run deploy-deps.sh to install jars into your local mvn repo
$ HBASE_HOME=/path/to/hbase sh deploy-deps.sh
3. install deps locally (assuming 3 worked): lein deps
4. compile and jar: lein compile-java ; lein jar
5. install to your local repo: lein install
using
If all that worked okay, you can now include cascading.hbase as a project dep
:dependencies [[org.clojars.ndimiduk/cascading.hbase "0.0.1-dev"]]
Original readme follows
---
Welcome
This is the Cascading.HBase module.
It provides support for reading/writing data to/from an HBase
cluster when bound to a Cascading data processing flow.
Cascading is a feature rich API for defining and executing complex,
scale-free, and fault tolerant data processing workflows on a Hadoop
cluster. It can be found at the following location:
http://www.cascading.org/
HBase is the Hadoop database. Its an open-source, distributed,
column-oriented store modeled after the Google paper on Bigtable.
http://hadoop.apache.org/hbase/
Building
This release requires at least Cascading 1.0.1. Hadoop 0.19.x,
and the related HBase release.
To build a jar,
> ant -Dcascading.home=... -Dhadoop.home=... -Dhbase.home=... jar
To test,
> ant -Dcascading.home=... -Dhadoop.home=... -Dhbase.home=... test
where "..." is the install path of each of the dependencies.
Using
The cascading-hbase.jar file should be added to the "lib"
directory of your Hadoop application jar file along with all
Cascading dependencies.
See the HBaseTest unit test for sample code on using the HBase taps and
schemes in your Cascading application.
License
Copyright (c) 2009 Concurrent, Inc.
This work has been released into the public domain
by the copyright holder. This applies worldwide.
In case this is not legally possible:
The copyright holder grants any entity the right
to use this work for any purpose, without any
conditions, unless such conditions are required by law.