You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "David M. Lyle (JIRA)" <ji...@apache.org> on 2017/05/18 12:13:04 UTC

[jira] [Assigned] (METRON-934) Component and task id are missing in the indexing topology Hdfs file names

     [ https://issues.apache.org/jira/browse/METRON-934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David M. Lyle reassigned METRON-934:
------------------------------------

    Assignee: David M. Lyle

> Component and task id are missing in the indexing topology Hdfs file names
> --------------------------------------------------------------------------
>
>                 Key: METRON-934
>                 URL: https://issues.apache.org/jira/browse/METRON-934
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Ryan Merriman
>            Assignee: David M. Lyle
>             Fix For: 0.4
>
>
> 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).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)