private static boolean shouldCopyHFileMetaKey(byte[] key) {
    // skip encoding to keep hfile meta consistent with data block info, see HBASE-15085
    if (Bytes.equals(key, HFileDataBlockEncoder.DATA_BLOCK_ENCODING)) {
      return false;
    }

    return !HFileInfo.isReservedFileInfoKey(key);
  }
HBASE-24221 Support bulkLoadHFile by family to avoid long time waiting of bulkLoadHFile because
of compacting at server side
hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java