homework on hive and pig