Ethanlm commented on a change in pull request #3302:
URL: https://github.com/apache/storm/pull/3302#discussion_r452430408
##########
File path: storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java
##########
@@ -2676,6 +2677,14 @@ private void assertTopoActive(String topoName, boolean
expectActive) throws NotA
return tryReadTopoConf(topoId, topoCache);
}
+ private StormTopology tryReadTopologyFromName(final String topoName)
throws NotAliveException,
+ AuthorizationException, IOException {
+ IStormClusterState state = stormClusterState;
+ String topoId = state.getTopoId(topoName)
Review comment:
can be replaced by
https://github.com/apache/storm/blob/master/storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java#L1789-L1792
----------------------------------------------------------------
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]