private void activateTopologyHandler ( String topologyName ) throws TMasterException { assert ! potentialStaleExecutionData ; NetworkUtils . TunnelConfig tunnelConfig = NetworkUtils . TunnelConfig . build ( config , NetworkUtils . HeronSystem . SCHEDULER ) ; TMasterUtils . transitionTopologyState ( topologyName , TMasterUtils . TMasterCommand . ACTIVATE , Runtime . schedulerStateManagerAdaptor ( runtime ) , TopologyAPI . TopologyState . PAUSED , TopologyAPI . TopologyState . RUNNING , tunnelConfig ) ; }
Handler to activate a topology