Github user justinleet commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/286#discussion_r81340830
  
    --- Diff: 
metron-platform/metron-writer/src/main/java/org/apache/metron/writer/hdfs/HdfsWriter.java
 ---
    @@ -69,14 +66,19 @@ public void init(Map stormConfig, WriterConfiguration 
configurations) {
     
     
       @Override
    -  public void write(String sourceType
    +  public BulkWriterResponse write(String sourceType
                        , WriterConfiguration configurations
                        , Iterable<Tuple> tuples
                        , List<JSONObject> messages
                        ) throws Exception
       {
         SourceHandler handler = getSourceHandler(sourceType);
         handler.handle(messages);
    +
    +    // HDFS SourceHanlder manages writing and rotating files.  Will throw 
its own Exceptions.
    --- End diff --
    
    Will fix typo.  Same deal as previous comment where it's pretty easy to 
change and manage that directly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to