Requirement You have one Pig script which is expecting some variables which need to be passed from a shell script.Say name of pig scripts is daily_audit.pig .it is expecting three variables which are as follows ip_loc no_of_emp op_loc Solution Step 1: Let’s see content of daily_audit.pig     Daily_Audit =Read More →

Requirement You have one hive script which is expecting some variables which need to be passed from a shell script.Say name of hive scripts is daily_audit.hql .it is expecting three variables which are as follows • schema • tablename • total_emp Solution Step 1: Let’s see content of daily_audit.hql daily_audit.hqlRead More →