Remove extraneous space.

This fixes #247.
Updates to debian init script

 - support /etc/default/opentsdb
 - Add /usr/lib/default-java as a potential JDK path, this
   is commonly used as a symlink to the default jdk

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Provide a default value for os.name to avoid NPE in some cases.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Kill trailing whitespaces.
Fix Debian init script

  - Fix bash test syntax error
  - Properly test that TSD has started successfully
  - Pass appropriate exit code to log_action_end_msg if TSD fails to start

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Update MockBase to support column families

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Update unit tests to handle MockBase column families

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add missing header in TestFsck.java

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix "tsuid:null" output in stats call

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix scan --import output where data values were printed as an array of bytes
instead of the actual values. Had inverted the value printing lines in the raw
vs import methods. Closes #248

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Attempt to rollback part of the UID assignment code that was re-written
asynchronously.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix a bug in the RowSeq state tracking where the values were still being cast
to an int but needed to be cast to a long to hold two ints instead of two
shorts. This should now allow for rows with more than 32K data points.
Cleanup some comments and code
Add some unit tests for Internal functions to validate > 32K data points.
Add some unit tests to validate parsing data points at the end of an hour in
seconds and milliseconds for Internal functions.
Add unit tests to make sure we handle rows with > 32K data points properly.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix unit tests from the write path async rollback.
Fix UniqueId to pass the actual runtime exception instead of recasting as a
generic in getOrCreateId.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>