Hadoop Directory with Spaces

后端 未结 4 1024
清歌不尽
清歌不尽 2021-01-21 10:18

I\'m running into a problem while providing Hadoop a directory that contains spaces.

e.g

inputDir = /abc/xyz/folder name/abc.txt

Hadoo

4条回答
  •  春和景丽
    2021-01-21 10:39

    Try setting using set("path", "/abc/xyz/folder\\ name/abc.txt"); Kindly, note the double back slash.

提交回复
热议问题