(converter) Swallow errors in parquet data stream
This commit is contained in:
parent
ff7d1a250e
commit
bcecc93e39
@ -46,7 +46,13 @@ public class ParquetSerializableCrawlDataStream implements AutoCloseable, Serial
|
||||
createDomainRecord(nextRecord);
|
||||
wroteDomainRecord = true;
|
||||
}
|
||||
createDocumentRecord(nextRecord);
|
||||
|
||||
try {
|
||||
createDocumentRecord(nextRecord);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
logger.error("Failed to create document record", ex);
|
||||
}
|
||||
}
|
||||
return !nextQ.isEmpty();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user