title: Error : Could not find or load main class fs
body: <p>I am trying create a directory with the below commands:</p>
  
  <ol>
  <li><p><code>hadoop fs -mkdir sample</code></p></li>
  <li><p><code>hadoop fs -mkdir /user/cloudera/sample1</code></p></li>
  </ol>
  
  <p>Either way i receive the error:</p>
  
  <blockquote>
    <p>Could not find or load main class fs</p>
  </blockquote>
  
  <p>How do I resolve this issue?</p>