Licensing adjustment: allow LGPLv2.1+ instead of LGPLv3+.

Until now, OpenTSDB was available under the terms of the LGPL,
version 3 or any later version.  This change also allows the
version 2.1 of the LGPL license.  Those who already accepted
the terms of the LGPLv3 can keep doing so, because LGPLv2.1
also states that one can use any later version.

The net result of this change is that one can now use OpenTSDB
under the terms of LGPLv2.1 or GPLv2, if they so chose.

Change-Id: I67e0d47206db6a5544fdadc9c5fb9cd9466c1ad3
Fix helper functions when using varying UniqueId sizes.

By default all UniqueId instances created by OpenTSDB encode the UIDs
on 3 bytes (for metrics, tag names and tag values).  There were 2 bugs
that would crop up if one configured tag names and tag values to use
a different number of bytes to encode the UIDs.

Change-Id: I15a01c513a18e75c69c1ade1abeb3e1602419fa9
Standard deviation aggregator.

Change-Id: I35aecd7433495fd7bfd99ebb2803416bae5fe0b1
Signed-off-by: Benoit Sigoure <tsuna@stumbleupon.com>
Add one more unit test for stddev aggregator.

Change-Id: Icdc510af28e6f6f35b7dd9fc6970d77ff1520a82
Simplify computation of standard deviations.

Change-Id: Icbf7aba4103c029bd858701df82904b21ef0b64c
Javadoc fixes.

Change-Id: Ibb0c006374ba1ca9ee3c65f6fe04a708ad6d2d7f
Signed-off-by: Benoit Sigoure <tsuna@stumbleupon.com>
Don't throw unnecessary exceptions when parsing timestamps.

Change-Id: Ib766c8e197f42331f8620c05280757aa10f3d591
Add parameters to change the foreground and background colors.

The query API now supports two more query string parameters,
`fgcolor' and `bgcolor' to set (respectively) the foreground
and background colors.  Acceptable values are of the form
`xRRGGBB' where RGB values are in hexadecimal.  For `bgcolor'
the special value `transparent' can also be used.

This closes #43 and #94.

Change-Id: I9b451fb1b340fc80d4169a0c8b6c1b37af8f5339
Upgrade to asynchbase 1.2.0.

Change-Id: Ibb0d17f7eb77809893a2009052454969183fc2cc
Fix some year-2038 bugs.

Hooray for the lack of unsigned integers in Java!

Change-Id: If9192164e9542c282552b83db7f3f8f2b06a9720
Add a `tz' query string parameter to allow specifying a timezone.

Fixes issue #87.

Change-Id: I294a26d39c504cc53a2743de455a9fd152077821
Add secure option to options for check_tsd.

Change-Id: I13a2bb730c27cc898d8b5dabf9a6428dbc6f530d
Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Force upper-case the compression codec and warn on unknown codecs.

Change-Id: I7241b37c4a712127dae000bbc0d15881eb697314
Compression codec issue was only a regression in HBase 0.92.1.

Change-Id: I847bca6eb2a80cfa74dd65375ca566bd5e369124
Fix a tyop in a variable name.

Change-Id: Ifb15468ed104a2c364a27d6e54d669710b3faa2a
Add a helper class to parse query strings.

Change-Id: I7ba5e51abf02f2ee06ce827f00fb4f1a09507816
Suggest potential tags in the first unused row.

Change-Id: I7061b2186788288b54849275a1f8025d3549cb5b
Add helper methods to set/clear both tag name and value.

Partly based on an earlier patch by Will Moss.

Change-Id: If8e97f8405260bafd9140fc700de2104c8e0cdde
Always clear the last line when recompacting the tag table.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Upgrade to Netty 3.4.3.

Change-Id: Ibb942863b04a4e7cd5010c36fd0ca5bee4f16944