def stop_and_clean_cache_dir(ddir):
    self.stop_nodes()
    self.nodes = []
    self.log.info('Copying cache dir to non-started nodes')
    clone_cache_from_node_1(ddir)
    self.log.info('Cleaning up.')
    clean_cache_subdir(ddir)
def stop_and_clean_cache_dir(ddir):
    self.stop_nodes()
    self.nodes = []
    self.log.info('Copying cache dir to non-started nodes')
    clone_cache_from_node_1(ddir)
    self.log.info('Cleaning up.')
    clean_cache_subdir(ddir)