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.
---
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.
---