@ Override public void activate ( String topologyName ) throws TException { try { NimbusUtils . transitionName ( data , topologyName , true , StatusType . activate ) ; notifyTopologyActionListener ( topologyName , "activate" ) ; } catch ( NotAliveException e ) { String errMsg = "Activate Error, topology " + topologyName + " is not alive!" ; LOG . error ( errMsg , e ) ; throw new NotAliveException ( errMsg ) ; } catch ( Exception e ) { String errMsg = "Failed to activate topology " + topologyName ; LOG . error ( errMsg , e ) ; throw new TException ( errMsg ) ; } }
set topology status as active