parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java
public static ParquetMetadata readFooter(Configuration configuration, Path file, MetadataFilter filter) throws IOException {
    return readFooter(HadoopInputFile.fromPath(file, configuration), filter);
  }
public static ParquetMetadata readFooter(Configuration configuration, Path file, MetadataFilter filter) throws IOException {
    return readFooter(HadoopInputFile.fromPath(file, configuration), filter);
  }
Reads the meta data in the footer of the file.
Skipping row groups (or not) based on the provided filter
@param configuration a configuration
@param file the Parquet File
@param filter the filter to apply to row groups
@return the metadata with row groups filtered.
@throws IOException  if an error occurs while reading the file
@deprecated will be removed in 2.0.0;
use {@link ParquetFileReader#open(InputFile, ParquetReadOptions)}