Data analysis using hive and pig