[ 
https://issues.apache.org/jira/browse/STORM-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965120#comment-14965120
 ] 

ASF GitHub Bot commented on STORM-1073:
---------------------------------------

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

    https://github.com/apache/storm/pull/767#discussion_r42497270
  
    --- Diff: 
external/storm-hdfs/src/main/java/org/apache/storm/hdfs/bolt/AbstractHdfsBolt.java
 ---
    @@ -99,6 +109,13 @@ public final void prepare(Map conf, TopologyContext 
topologyContext, OutputColle
                 }
             }
     
    +        // If interval is non-zero then it has already been explicitly set 
and we should not default it
    +        if (conf.containsKey("topology.message.timeout.secs") && 
tickTupleInterval == 0)
    +        {
    +            Integer topologyTimeout = 
Integer.parseInt(conf.get("topology.message.timeout.secs").toString());
    --- End diff --
    
    Can we please use 
`Utils.getInt(conf.get(Conf.TOPOLOGY_MESSAGE_TIMEOUT_SECS))` instead. 


> SequenceFileBolt can end up in an unrecoverable state
> -----------------------------------------------------
>
>                 Key: STORM-1073
>                 URL: https://issues.apache.org/jira/browse/STORM-1073
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-hdfs
>            Reporter: Aaron Dossett
>            Assignee: Aaron Dossett
>
> SequenceFileBolt has the same issues that HdfsBolt has in STORM-969.  This is 
> also an opportunity to refactor AbstractHdfsBolt to most efficiently include 
> these changes:
> Abstract HdfsBolt should define a concrete execute method and define abstract 
> methods for:
> - writing a tuple
> - syncronizing file output



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to