I installed Hadoop on a 5 node cluster and started the services on all 5 nodes. I am testing a mapreduce job to find the word count for a given input file. 
I have created the sample input file under /var/tmp directory. Now I am trying to copy the file to hdfs using the command, Hadoop dfs -put /var/tmp/students.txt /home. Here's the contents of the input file. 
 [hadoop@nn~]$ cat /var/tmp/students.txt 
Paris 
Italy 
London 
Mumbai 
Goa 
When I run the below command to transfer the file tohdfs, I am seeing the following error.  
hadoop@nn ~]$ hadoop dfs -put /var/tmp/students.txt /home put: Target /home already exists