Hi all

Can someone please tell me how to achieve the following in a single hive script?

set original_value = mapred.reduce.tasks;
set mapred.reduce.tasks=1;
... do stuff
set mapred.reduce.tasks=original_value;

It is the first and last lines that don't work - is it possible?

Thanks,
Tim

Reply via email to