public static KeyValue createKeyValueFromKey(final byte[] b) {
    return createKeyValueFromKey(b, 0, b.length);
  }
Returns a KeyValue made of a byte array that holds the key-only part. Needed to convert hfile
index members to KeyValues.
hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueUtil.java