Fix issues for emr_hive, and upgrade specparser.py for all