fix hadoop intake's parser exception catching (was too specific)

This commit is contained in:
Hagen Rother 2013-12-19 06:54:04 +01:00
parent 25c3f28907
commit 52746b8ea6
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public abstract class HadoopDruidIndexerMapper<KEYOUT, VALUEOUT> extends Mapper<
try {
inputRow = parser.parse(value.toString());
}
catch (IllegalArgumentException e) {
catch (Exception e) {
if (config.isIgnoreInvalidRows()) {
context.getCounter(HadoopDruidIndexerConfig.IndexJobCounters.INVALID_ROW_COUNTER).increment(1);
return; // we're ignoring this invalid row