imported Bytes and HConstants from HBase source code to remove dependencies on HBase and Hadoop