GenerateDegree.py works well under hadoop runner