Flow control framework for Hadoop streaming jobs