Initial (dummy) commit.
Add some third-party modules.

Change-Id: Ifeb8a0e27307f001c1b3682acc6c2f23780e8313
Add the license files (LGPL).

Change-Id: Ia6c4005eab13fc7f300eb1d991f9532f5dfdb58d
Add the interface to generate Unique IDs.

Also add a few supporting exceptions, a basic unit test and an ant
build.xml (<omg><xml/></omg>).

Change-Id: Ia78947ff9ace6afb09a8f4c4fd728b5a2c04aff9
Add the code to manipulate and assign Unique IDs.

Change-Id: I292341b68a20be4a71ad12ab6c7a65da0434bfbf
Generate a class containing the "build data" at build time.

This is way it's possible to tell whether or not a build was made from a
'mint' repo (i.e. the build is guaranteed to be reproducible) or not.

Change-Id: I120d27c43fcb008620dd3e3b4c92e9796a08065e
Add some support code for command-line tools' options.

Change-Id: I473fd25489c68354a28c953bfe2763060af18889
Add the core interfaces.

Change-Id: I543faf32db7006a2b2de552c104fac7d1b76d3ea
Initial code to import data in the TSDB.

No variable length encoding is supported.  Only `long' (8 bytes) is
used for integer values and `float' (4 bytes) for floating point values.

Use create_table.sh in order to create the table in HBase.

Add an import tool to load data in the following text format:
<timeseries> <timestamp> <value> [tag=value ...]
To use it:
  $ ant
  $ ./tsdb import --tsdb=.. --uidtable=.. <file>

Change-Id: Ief9dfd6e8bf8218796fc7ff1a07810f2ad65585a
Add the code to retreive / query time series data.

Add all the support code needed to efficiently read data from the TSDB,
filter, group it, aggregate it, interpolate it...

Add a new tool, accessible using `./tsdb query' to query the TSDB from
the command line get simple text output (Gnuplot graphs coming soon).

Change-Id: I7bb724b547317720c117bd84f45dfe1c63883ed1
Add a tool to manipulate UIDs.

Use it with `./tsdb uid'.  Can be used to search, lookup, assign UIDs.

Change-Id: If0c7b3406e914f74f1567c529af4f8bcaaabbed3
Add support for dynamic downsampling.

Queries can now specify a downsampling function as well as an interval.
This is useful for, say, plotting the 5m average over a long period of
time, where without downsampling the graph would be overcrowded due to
the sheer number of data points.  It's also useful to smooth curves that
are very jittery (e.g. 'max' of %CPU used over 10m).

This is done by adding a new iterator for Span that takes care of
downsampling the data before it's returned to the SpanGroup.

Change-Id: I01c63869e1e5982d0638cb184a8e0307b164d126
Add a tool to directly scan the TSDB.

This tool works like the 'query' tool but dumps the raw data
straight from HBase.  It's useful for debugging data related
problems.

Change-Id: Ie2dad57486233e6eb83f1228e6ee7da6472c8a43
Make it possible to delete rows as they are scanned.

The `scan' tool can also delete data as it's being scanned, thanks to a new
`--delete' flag.  This is useful for removing bogus data from the TSDB.

The `scan' tool now also has a `--import' flag to dump the data in a format
suitable for the `import' tool, instead of using the default format which is
closer to HBase's representation of the data.

Change-Id: I71c22be3e0432e3f169c559b96d4c2b685968968
Add the skeleton of the main class for the TSD, the Time Series Daemon.

The TSD can be started with the new 'tsd' subcommand.

Change-Id: If56685bf4ffcfb8a45cd2b00c27a2c6218225810
Implement the `stats' command.

Change-Id: Icd344dd31ee81ee26849c5be1ad467fbfb609623
Implement the `put' command for simple text RPCs.

This can be used to add new data points into the TSDB.
There's no session management and thus it's not safe to run multiple TSDs
with this overly simplistic code.

Change-Id: Iff5233447dc7046af88d97d0952e8fa782b062f6
Add a Histogram class.

This will be used to track the latency profile of HBase as seen by the TSD.

Change-Id: Idfa251e3ee8dacbc00d89670ebd5abea406c4499
Keep track of the HBase latency when writing data points.

Right now a single histogram is built over the lifetime of the process.  In
the future, a set of moving histograms will be used to be able to tell what
the recent latency trends was like, over a few time periods.

Change-Id: I3fc0cbc3ad9f69539e17c24346d3ce99e42613d7
First super-basic handler for HTTP requests.

Detect whether requests are RPCs or HTTP queries.
Basic support code to start serving HTTP responses.
Right now every request will get a 404, except:
  - /diediedie: performs an orderly shutdown of the TSD.
  - /stats: collect metrics from the TSD itself.
  - /version: version and other build data of the TSD.

Change-Id: I7e7b87a12f2522a38ab7745a094bf14d9a87c9af