I just kept getting
the below exception while trying to run a simple map reduce program on windows(XP).
java.io.IOException: Failed to set permissions of path: \tmp\dinesh\mapred\staging\dinesh-1143336710\.staging to 0700
Nothing worked till I saw a simple workaround for the problem. Download the jar from the below link and follow the instructions.