Project

General

Profile

Sample-hbase-mail-digester » History » Version 4

Henning Blohm, 01.08.2014 23:17

1 1 Henning Blohm
h1. Sample that combines HBase with full-stack Spring and Hibernate usage
2 2 Henning Blohm
3
This sample consists of an application that loads large Mbox archive files and extracts email addresses using a map reduce job. Extracted email addresses are then written to a relational database. 
4 3 Henning Blohm
5 4 Henning Blohm
Being a full stack sample it shows how to design a multi-module application with a service tier that can be seamlessly used from a Web app as well as from an application-level map-reduce job.
6
7
*Note*: This sample still uses v2.2 of z2 - so making sure the correct versions are specified below is crucial.
8
9
h2. Install
10
11 3 Henning Blohm
<pre><code class="bash">
12
git clone -b v2.2 http://git.z2-environment.net/z2-base.core
13
git clone -b v2.2 http://git.z2-environment.net/z2-samples.cdh4-base
14
git clone -b master http://git.z2-environment.net/z2-samples.hbase-mail-digester
15
</code></pre>
16 4 Henning Blohm
17
!start.png!
18
!job.png!
19
!counts.png!