HBASE-8680: distributedLogReplay performance regression

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1489679 13f79535-47bb-0310-9956-ffa450edef68
HBASE-8534 addendum removes TestDriver (Nick Dimiduk)



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1489878 13f79535-47bb-0310-9956-ffa450edef68
HBASE-8684: Table Coprocessor can't access external HTable by default

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1490043 13f79535-47bb-0310-9956-ffa450edef68
HBASE-8645 Change ServerName so it uses hostname only, not FQDN hostnames

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1490072 13f79535-47bb-0310-9956-ffa450edef68
HBASE-8684: Table Coprocessor can't access external HTable by default - ADDENDUM: moving test to correct package

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1490078 13f79535-47bb-0310-9956-ffa450edef68
HBASE-8402 ScanMetrics depends on number of rpc calls to the server

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1490094 13f79535-47bb-0310-9956-ffa450edef68
HBASE-8201 OrderedBytes provides order-preserving serialization

OrderedBytes provides a serialization format in which the resulting
byte[] retains the same sort order as the natural types. Serialized
formats can be inspected and decoded without forward knowledge of
their content. Implementations are provided for Numeric values with up
to 64 bits of precision, Strings, and byte[]. Utility methods for
counting and skipping encoded entries are also provided.

The encoding format is modeled after the SQLite4 key encoding format.
See http://sqlite.org/src4/doc/trunk/www/key_encoding.wiki for
details.

A notable deviation from the sqlite spec is in the blob-last format.
Blob-last is modified to include a termination byte of 0x00. This is
necessary in order to maintain reverse sort order of empty values.

A notable difference between this specification and Java is the sort
order of NaN. This spec treats NaN as less than all values, including
null. Java sorts NaN as greater than any floating point value.
See http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Arrays.html#sort(double[])

remaining TODOs include:
 - an implementation for encoding and decoding Real values that
   doesn't suffer from rounding error.
 - consider using BigInteger/BigDecimal to allow for arbitrary size
   and precision numerics.