Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.17.0
-
None
-
Important
Description
PcapBatchReader throws NPE with certain files.
{{apache drill> select * from dfs.test.`test1.pcap`;
Error: EXECUTION_ERROR ERROR: null
Read failed for reader PcapBatchReader
Fragment 0:0
[Error Id: 24f85130-5a1c-4478-b52e-780e537d8ffb on localhost:31010]
(java.lang.NullPointerException) null
org.apache.drill.exec.store.pcap.PcapBatchReader.addDataToTable():409
org.apache.drill.exec.store.pcap.PcapBatchReader.parseNextPacket():337
org.apache.drill.exec.store.pcap.PcapBatchReader.next():194
org.apache.drill.exec.physical.impl.scan.framework.ShimBatchReader.next():132
org.apache.drill.exec.physical.impl.scan.ReaderState.readBatch():414
org.apache.drill.exec.physical.impl.scan.ReaderState.next():371
org.apache.drill.exec.physical.impl.scan.ScanOperatorExec.nextAction():263
org.apache.drill.exec.physical.impl.scan.ScanOperatorExec.next():234
org.apache.drill.exec.physical.impl.protocol.OperatorDriver.doNext():196
org.apache.drill.exec.physical.impl.protocol.OperatorDriver.start():174
org.apache.drill.exec.physical.impl.protocol.OperatorDriver.next():124
org.apache.drill.exec.physical.impl.protocol.OperatorRecordBatch.next():150
org.apache.drill.exec.record.AbstractRecordBatch.next():128
org.apache.drill.exec.record.AbstractRecordBatch.next():118
org.apache.drill.exec.record.AbstractUnaryRecordBatch.innerNext():65
org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext():144
org.apache.drill.exec.record.AbstractRecordBatch.next():188
org.apache.drill.exec.physical.impl.BaseRootExec.next():105
org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext():83
org.apache.drill.exec.physical.impl.BaseRootExec.next():95
org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():296
org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():283
java.security.AccessController.doPrivileged():-2
javax.security.auth.Subject.doAs():422
org.apache.hadoop.security.UserGroupInformation.doAs():1730
org.apache.drill.exec.work.fragment.FragmentExecutor.run():283
org.apache.drill.common.SelfCleaningRunnable.run():38
java.util.concurrent.ThreadPoolExecutor.runWorker():1149
java.util.concurrent.ThreadPoolExecutor$Worker.run():624
java.lang.Thread.run():748 (state=,code=0)}}
Attachments
Attachments
Issue Links
- links to