@Override
  public void initialize(InputSplit split, TaskAttemptContext taskContext) throws IOException, InterruptedException {
    FileSplit fileSplit = (FileSplit) split;
    splitLen = fileSplit.getLength();  // using MRv2
    commonInit(fileSplit.getPath(), taskContext.getConfiguration());
  }
Enumerates records from an Enclosed JSON file - use either Esri JSON or GeoJSON subclass
ql/src/java/org/apache/hadoop/hive/ql/io/esriJson/EnclosedBaseJsonRecordReader.java