I use HFileOutputFormat to bulk load CSV files into a hbase table. I have only map and no reduce task with job.setNumReduceTasks(0). But I could see that a reducer runs in the job, is this reducer started because of HFileOutputFormat?
Previously I was using TableOutputFormat for the same job, in which never a reducer ran. I recently refactored the map task to use HFileOutputFormat, but now after this change, i could see a reducer running.
Secondly am getting the below error in the reducer, which i wasn't getting previously with TableOutputFormat, is this also related to HFileOutputFormat?
Error: java.lang.ClassNotFoundException: com.google.common.base.Preconditions