throw exception when add hive partition failed