Answer the question
In order to leave comments, you need to log in
How to upload a folder to hdfs?
I need to put a folder with files in the tmp folder. This folder with files is located on my local computer in downloads, called ml
Apparently I am incorrectly specifying the path to the ml file, how to specify it correctly?
[email protected]:~$ hdfs dfs -ls /
Found 3 items
drwxrwxrwt - hdfs hadoop 0 2021-11-16 15:23 /tmp
drwxrwxrwt - hdfs hadoop 0 2021-11-16 15:23 /user
drwx-wx-wx - hive hadoop 0 2021-11-16 15:23 /var
[email protected]:~$ hdfs dfs -put /Users/denislysenko/Downloads/ml /tmp/
put: `/Users/denislysenko/Downloads/ml': No such file or directory
[email protected]:~$
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question