title: Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server
body: <p>I am new to oozie and was following <a href="https://blogs.oracle.com/datawarehousing/entry/building_simple_workflows_in_oozie" rel="nofollow">this</a> for my first oozie hive job.
  As per given in tutorial ,i made following files in a directory:</p>
  
  <ol>
  <li><p>hive-default.xml</p></li>
  <li><p>hive_job1.hql</p></li>
  <li><p>job.properties</p></li>
  <li>workflow.xml</li>
  </ol>
  
  <p>But when i run this command:</p>
  
  <pre><code> oozie job -oozie http://localhost:11000/ -config  /home/ec2-user/ankit/oozie_job1/job.properties -submit
  </code></pre>
  
  <p>I get following error:</p>
  
  <blockquote>
    <p>Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server. No of retries = 1. Exception = Could not authenticate, Authentication failed, status: 404, message: Not Found</p>
  </blockquote>
  
  <p>I tried finding solution for this on internet ,but none solved the problem.(Might have missed something)</p>
  
  <p>Please let me know where i am going wrong and what additional information will be required more from my side to understand the problem.</p>