예제 #1
0
    def stop(self, env, upgrade_type=None):
        import params
        env.set_params(params)
        flume(action='stop')

        if upgrade_type is not None and params.upgrade_direction == Direction.UPGRADE:
            flume_upgrade.post_stop_backup()
예제 #2
0
  def stop(self, env, rolling_restart=False):
    import params
    env.set_params(params)
    flume(action='stop')

    # only backup data on upgrade
    if rolling_restart and params.upgrade_direction == Direction.UPGRADE:
      flume_upgrade.post_stop_backup()
예제 #3
0
    def stop(self, env, rolling_restart=False):
        import params
        env.set_params(params)
        flume(action='stop')

        # only backup data on upgrade
        if rolling_restart and params.upgrade_direction == Direction.UPGRADE:
            flume_upgrade.post_stop_backup()
예제 #4
0
 def stop(self, env, rolling_restart=False):
   import params
   env.set_params(params)
   flume(action='stop')
   if rolling_restart:
     flume_upgrade.post_stop_backup()
예제 #5
0
 def stop(self, env, rolling_restart=False):
   import params
   env.set_params(params)
   flume(action='stop')
   if rolling_restart:
     flume_upgrade.post_stop_backup()