srdo commented on a change in pull request #2990: STORM-3372: Fix NPE when 
shutting down HFSSpout, fix storm-hdfs tests…
URL: https://github.com/apache/storm/pull/2990#discussion_r281024798
 
 

 ##########
 File path: 
external/storm-hdfs/src/test/java/org/apache/storm/hdfs/spout/TestHdfsSpout.java
 ##########
 @@ -772,7 +773,7 @@ public MockTextFailingReader(FileSystem fs, Path file, 
Map<String, Object> conf)
         private final int componentId;
 
         public MockTopologyContext(int componentId, Map<String, Object> 
topoConf) {
-            super(null, topoConf, null, null, null, null, null, null, null, 
null, null, null, null, null, null, null, null, null);
+            super(null, topoConf, null, null, null, null, null, null, null, 0, 
0, null, null, null, null, null, null, null);
 
 Review comment:
   To clarify, the TopologyContext change was made in an earlier PR, but since 
the tests weren't running, we weren't seeing the exception.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to