HBASE-7904 Upgrade hadoop 2.0 dependency to 2.0.3-alpha (Ted Yu)



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1449130 13f79535-47bb-0310-9956-ffa450edef68
HBASE-7901 TestStore::testDeleteExpiredStoreFiles has a hidden issue (Sergey)



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1449138 13f79535-47bb-0310-9956-ffa450edef68
HBASE-7904 revert, mapred.MiniMRCluster cannot be started



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1449152 13f79535-47bb-0310-9956-ffa450edef68
HBASE-7692 Orderly: create new maven module

Introduce the new module under which the orderly serialization library
can reside. Include NOTICE file from original project.
HBASE-7692 Orderly: base classes and byte types

This commit introduces the base class RowKey, and implementations for
fixed and variable-length byte arrays. The base implementation of both
variants is based around BytesWritable. Also includes test base.
HBASE-7692 Orderly: String-like types

This commit introduces Orderly support for String-like types.
UTF8RowKey is the basis of the implementation. Support for native
Strings and hadoop.io.Text are built upon this implementation.

Also includes and example.
HBASE-7692 Orderly: 32-bit Integer types

This commit add support for variable and fixed-width serialization of
both signed and unsigned 32-bit Integer types. The class hierarchy
follows two ancestries.

Fixed-with serialization formats are implemented by or extend
FixedIntWritableRowKey. This produces a 4-byte, fixed-width sortable
format based on IntWritable. Support for unsigned IntWritables and
native Integer types are derived from this class.

Variable-width serialization is based on AbstractVarIntRowKey. This
class handles the encoding wrapper, primarily management of a
header-byte. Subclasses implement the details specific to signed and
unsigned IntWritables and native Integers.

Also includes and example.
HBASE-7692 Orderly: 64-bit Long types

This commit add support for variable and fixed-width serialization of
both signed and unsigned 64-bit Long types. Like the 32-bit Integer
types, the class hierarchy follows two ancestries.

Fixed-width serialization formats are implemented by or extend
FixedLongWritableRowKey. This produces a 8-byte, fixed-width sortable
format based on LongWritable. Support for unsigned LongWritables and
native Long types are derived from this class.

Just as with Integer types, Variable-width serialization is based on
AbstractVarIntRowKey. Subclasses implement the details specific to
signed and unsigned LongWritables and native Longs.

Also includes and example.
HBASE-7692 Orderly: decimal types

This commit introduces support for decimal types, specifically Floats,
Doubles, and BigDecimal. FloatWritable and DoubleWritable RowKey
implementations provide the basis for these types. Native Float and
Double implementation inherit from there. BigDecimalRowKey normalizes
and serialized BigDecimal values. LazyBigDecimalRowKey is based on the
former, extending it to provide lazy deserialization.

Also includes a couple examples.
HBASE-7692 Orderly: compound types

This commit introduces support for compound types via the
StructRowKey. This class does not introduce any additional bytes in
the produces bytes array. Rather, it supports an ordered serialization
of multiple RowKey instances into a single byte array, handling
termination details. StructBuilder is a support class for constructing
StructRowKeys and StructIterator for consuming them.

Also includes an example.
HBASE-7692 Orderly: additional cleanup and docs

This commit adds a package-info for the orderly package. Its content
comes from the README of the original library. It also reviews for
spelling, line-length, and syntactic correctness of the code and
javadoc over public classes.

This commit concludes inclusion of the Orderly library.