I am new to hadoop distributed file system, I have done complete installation of hadoop single node on my machine.but after that when i am going to upload data to hdfs it gi
Start a shell as hduser (from root) and run your command
sudo -u hduser bash hadoop fs -put /usr/local/input-data/ /input
[update] Also note that the hdfs user is the super user and has all r/w privileges.
hdfs