mirror of
https://github.com/apache/druid.git
synced 2025-02-14 05:54:53 +00:00
fix hadoop intake's parser exception catching (was too specific)
This commit is contained in:
parent
25c3f28907
commit
52746b8ea6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user