Details
-
Bug
-
Status: Done
-
Major
-
Resolution: Done
-
None
-
None
Description
The HdfsWriter class creates a new PathExtensionFileNameFormat object and passes it to SourceHandler class. However, the PathExtensionFileNameFormat.prepare method is never called, resulting in uninitialized DefaultFileNameFormat.componentId and DefaultFileNameFormat.taskId fields.
This becomes a problem as soon as a BulkMessageWriterBolt with HdfsWriter configured is given more than one task because the HDFS file name is not unique among tasks (taskId defaults to 0 if not initialized).
Attachments
Issue Links
- duplicates
-
METRON-674 Archived Telemetry Filenames in HDFS Contain 'Null'
- Done
- links to