public int getRemainingLineCount() {
      return remainingLineEnds - queue.size();
    }
SkippingInputFormat is a header/footer aware input format. It truncates
splits identified by TextInputFormat. Header and footers are removed
from the splits.

This InputFormat does NOT support Compressed Files!
ql/src/java/org/apache/hadoop/hive/ql/io/SkippingTextInputFormat.java