public static String byteToHexString(byte bytes[]) {
    return byteToHexString(bytes, 0, bytes.length);
  }
Same as byteToHexString(bytes, 0, bytes.length).
common/src/java/org/apache/hive/common/util/HiveStringUtils.java