'Find all shard states for given mapreduce.
Args:
mapreduce_id: mapreduce id.
Returns:
iterable of all ShardState for given mapreduce id.'

@classmethod
def find_by_mapreduce_id(cls, mapreduce_id):

    return cls.all().filter('mapreduce_id    =', mapreduce_id).fetch(99999)
