When I try to run my Job I am getting the following exception:
Exception in thread \"main\" java.io.IOException: Mkdirs failed to create /some/path
at or
The problem is OSX specific it is due to the fact that by default the filesystem is set to case-insensitive on a Mac (case preserving but case insensitive, which to my opinion is very bad).
A hack to circumvent this is to create a .dmg disk image with disk utility which is case sensitive and mount this image where you need it (i.e. hadoop.tmp.dir or /tmp) with the following command (as a superuser):
sudo hdiutil attach -mountpoint /tmp .dmg
I hope it helps.