I\'m running into a problem while providing Hadoop a directory that contains spaces.
e.g
inputDir = /abc/xyz/folder name/abc.txt
Hadoo
Try setting using set("path", "/abc/xyz/folder\\ name/abc.txt"); Kindly, note the double back slash.