Skip to content

Commit

Permalink
OMG
Browse files Browse the repository at this point in the history
  • Loading branch information
psainics committed Mar 19, 2024
1 parent 920eda9 commit 14648ee
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.InputSplit;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.JobContext;
import org.apache.hadoop.mapreduce.RecordReader;
import org.apache.hadoop.mapreduce.TaskAttemptContext;
import org.apache.hadoop.mapreduce.lib.input.FileSplit;
Expand Down Expand Up @@ -71,6 +72,11 @@ public RecordReader<LongWritable, Text> createRecordReader(InputSplit split, Tas
return new ExcelRecordReader();
}

@Override
public boolean isSplitable(JobContext context, Path file) {

This comment has been minimized.

Copy link
@vikasrathee-cs

vikasrathee-cs Mar 19, 2024

Collaborator

isn't it false by default in parent class?

This comment has been minimized.

Copy link
@psainics

psainics Mar 19, 2024

Author Collaborator

No .

This comment has been minimized.

Copy link
@psainics

psainics Mar 19, 2024

Author Collaborator

TextInputFormat from org.apache.hadoop.mapreduce.lib.input

return false;
}

public static void setConfigurations(Job job, String filePattern, String sheet, boolean reprocess,
String sheetValue, String columnList, boolean skipFirstRow,
String terminateIfEmptyRow, String rowLimit, String ifErrorRecord,
Expand Down

0 comments on commit 14648ee

Please sign in to comment.