2016-06-20 37 views
0

我有一個HDFS節點,當我試圖上傳文件到它,我沒有得到任何這樣的文件或目錄錯誤,這裏是截圖:HDFS:沒有這樣的文件或目錄

enter image description here

如果我不要hdfs dfs -put test.txt /Manager/test.txt

我會得到這個錯誤:put: Current inode is not a directory: Manager([email protected]), parentDir=/

誰能告訴我什麼是錯我的代碼?以及如何解決它?

非常感謝。

回答

1

我相信你是一個Windows用戶,而不是Unix/Linux操作系統。您可能想參考book以獲取更多練習參考。

0

我找到了原因,我應該有代碼寫成:

hdfs dfs -put test.txt Manager 

感謝

+0

您的test.txt位於何處? –

相關問題