@Override
    public boolean isMapReduceStatAvailable() {
      // Look for FileSystemCounter.BYTES_READ_EC, this is present in hadoop 3.2
      Field field = null;
      try {
        field = FileSystemCounter.class.getField("BYTES_READ_EC");
      } catch (NoSuchFieldException e) {
        // This version of Hadoop does not support EC stats for MR
      }
      return (field != null);
    }
@return true if if the runtime MR stat for Erasure Coding is available.
shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java