Example #1
0
 def pre_process():
     addresses = [(r.name, r.external) for r in self.workers]
     responses = multi_states_query(addresses)
     post_partitions = coalesce_partition_query_responses(responses)
     return (pre_partitions, post_partitions, workers)
Example #2
0
 def get_partition_data(self):
     logging.debug("get_partition_data()")
     addresses = [(w.name, w.external) for w in self.workers]
     responses = multi_states_query(addresses)
     return coalesce_partition_query_responses(responses)