Ethan Li created STORM-3669:
-------------------------------
Summary: Validation against topology regarding to resource
constraints should only be performed when ResourceAwareScheduler is being used
Key: STORM-3669
URL: https://issues.apache.org/jira/browse/STORM-3669
Project: Apache Storm
Issue Type: Bug
Reporter: Ethan Li
For example, for
https://github.com/apache/storm/blob/master/storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java#L3150-L3151
validateTopologyWorkerMaxHeapSizeConfigs shouldn't be performed when a
scheduler other than ResourceAwareScheduler is being used.
{code:java}
if (ServerUtils.isRas(conf))
{code}
can be used for this purpose.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)