I am trying to copy a local file into hdfs. I am using the following commang:
hadoop dfs -copyFromLocal /home/user/sample /sample_folder
But I get this error:
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.