Add RTPublisher abstract plugin definition for real time publishing of
data from a TSD. Also implemented unit tests and a dummy plugin implementation.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add configuration options for RTPublisher plugins

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add RTPublisher plugin to TSD
TSD will load the publisher plugin when initializePlugins() is called
TSD will now publish data points to the plugin if configured

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Remove leftover System.out.println from TestTree

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add collectStats method to SearchPlugin and fix up some docs

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add errbacks to search index/delete calls in TSDB to log exceptions

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix accidental spaces after line breaks in makefile

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Remove unused HBase helpers from TSDB.java

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add files necessary to compile a Debian package
Add default logging and TSD configs for Debian installs
Add "debian" compile option to build a debian package
Modify tsdb.in with a config path variable
Modify tsdb.in to add the config path and other directories to the
classpath when distributed via package

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix scanner regex in MockBase and simplify it a little
Fix sorting of columns in MockBase by changing the HashMap to a TreeMap. Still
doesn't quite sort on bytes like HBase but it's closer for now.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix TestTreeRpc.handleBranchRoot()

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add TSDB.addPoint() unit tests to confirm we're storing data properly

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add TestTsdbQuery.java to unit test the full query path. It includes tests for
different types of queries, aggregators, etc

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix left over System.out.println in Annotation.java

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix debian build script where it was copying the links to GWT files
instead of the actual files

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Change TSMeta.storeNew() to issue a PUT instead of a CAS to
overwrite any corrupt meta

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Convert MockBase to use the ByteMap from Asyncbase instead of the
silly string to byte key conversion. Thanks Tsuna!

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Merge remote branch 'remotes/official/next' into next_ms