parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java
@Deprecated
  public static List<Footer> readFooters(Configuration configuration, FileStatus pathStatus) throws IOException {
    return readFooters(configuration, pathStatus, false);
  }
@Deprecated
  public static List<Footer> readFooters(Configuration configuration, FileStatus pathStatus) throws IOException {
    return readFooters(configuration, pathStatus, false);
  }
this always returns the row groups
@param configuration a configuration
@param pathStatus a file status to read footers from
@return a list of footers
@throws IOException if an exception is thrown while reading the footers
@deprecated will be removed in 2.0.0;
use {@link ParquetFileReader#open(InputFile, ParquetReadOptions)}