[
https://issues.apache.org/jira/browse/STORM-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15211054#comment-15211054
]
ASF GitHub Bot commented on STORM-1300:
---------------------------------------
Github user zhuoliu commented on a diff in the pull request:
https://github.com/apache/storm/pull/1232#discussion_r57397001
--- Diff:
storm-core/test/jvm/org/apache/storm/scheduler/resource/TestUtilsForResourceAwareScheduler.java
---
@@ -109,7 +112,7 @@
public static Map<ExecutorDetails, String>
genExecsAndComps(StormTopology topology, int spoutParallelism, int
boltParallelism) {
Map<ExecutorDetails, String> retMap = new HashMap<ExecutorDetails,
String>();
int startTask = 0;
- int endTask = 1;
+ int endTask = 0;
--- End diff --
This corrects the executor number in tests to be [0,0] [1,1]; which used to
be [0, 1] [1,2], not actually what we have in Storm.
> port backtype.storm.scheduler.resource-aware-scheduler-test to java
> --------------------------------------------------------------------
>
> Key: STORM-1300
> URL: https://issues.apache.org/jira/browse/STORM-1300
> Project: Apache Storm
> Issue Type: New Feature
> Components: storm-core
> Reporter: Robert Joseph Evans
> Assignee: Zhuo Liu
> Labels: java-migration, jstorm-merger
>
> Test RAS
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)