Github user revans2 commented on a diff in the pull request:
https://github.com/apache/storm/pull/2711#discussion_r196843622
--- Diff:
external/storm-hdfs/src/test/java/org/apache/storm/hdfs/bolt/format/TestSimpleFileNameFormat.java
---
@@ -69,8 +70,8 @@ public void testTimeFormat() {
}
private TopologyContext createTopologyContext(Map<String, Object>
topoConf) {
- Map<Integer, String> taskToComponent = new HashMap<Integer,
String>();
- taskToComponent.put(7, "Xcom");
+ CustomIndexArray<String> taskToComponent = new
CustomIndexArray<>(0,8);
--- End diff --
Why 0,8 if all we are setting is 7?
---