Hadoop Directory with Spaces

后端 未结 4 1020
清歌不尽
清歌不尽 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:51

    inputDir = "/abc/xyz/folder name/" 
    

    must work

    hadoop fs -ls "/abc/xyz/folder name/"
    

    works fine

提交回复
热议问题