private static boolean existsBetterParityFile(
      Codec codec, FileStatus srcStat, Configuration conf) throws IOException {
    for (Codec c : Codec.getCodecs()) {
      if (c.priority > codec.priority) {
        ParityFilePair ppair = ParityFilePair.getParityFile(
            c, srcStat, conf);
        if (ppair != null) {
          return true;
        }
      }
    }
    return false;
  }
private static boolean existsBetterParityFile ( Codec codec , FileStatus srcStat , Configuration conf ) throws IOException { for ( Codec c : Codec . getCodecs ( ) ) { if ( c . priority > codec . priority ) { ParityFilePair ppair = ParityFilePair . getParityFile ( c , srcStat , conf ) ; if ( ppair != null ) { return true ; } } } return false ; }
Is there a parity file which has a codec with higher priority?