title: Unable to copy files from local disk to HDFS
body: <p>i have successfully installed ubuntu 12.04 and hadoop 2.4.0.</p>
  
  <p>after entering the jps command i find the output as below</p>
  
  <pre><code>4135 jps
  2582 SeconadaryNameNode
  3143 NodeManager
  2394 Namenode
  2391 Datanode
  3021 ResourceManager
  </code></pre>
  
  <p>now i want to run the wordcount example.</p>
  
  <p>i created a .txt file with some content in it</p>
  
  <p>now whenever i try to copy this into hadoop hdfs by following this command</p>
  
  <pre><code>hdfs -copyFromLocal /app/hadoop/tmp/input.txt /wordcount/input.txt
  </code></pre>
  
  <p>("wordcount" in the path is a directory which i have created)</p>
  
  <p>but it shows</p>
  
  <pre><code>unrecognised option: -copyFromLocal
  could not create the java virtual machine 
  </code></pre>
  
  <p>what i am doing wrong?</p>