Closed sadikovi closed 7 years ago
Should add tests for enabling option. I am also thinking about pushing it to the flow library instead.
@@ master #58 diff @@
==========================================
Files 21 21
Lines 908 926 +18
Methods 770 781 +11
Messages 0 0
Branches 138 145 +7
==========================================
+ Hits 871 880 +9
- Misses 37 46 +9
Partials 0 0
Powered by Codecov. Last update 9d405a6...fe6b75f
This PR updates
NetFlowFileRDD
to respect Spark optionspark.files.ignoreCorruptFiles
. When this Spark option istrue
, files that are corrupt or not NetFlow files are ignored. If file partially corrupt, then only recoverable data is read (up to corrupted block), if reader fails to initialize, then empty iterator is returned from that file.