<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Run Oozie workflow using oozie rest api - authentication failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Run-Oozie-workflow-using-oozie-rest-api-authentication/m-p/328657#M230295</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Could you please check the user is having the permission to trigger Oozie in Ranger policy (OR) also please check your Oozie workflow xml file is present in HDFS path once ..&lt;/P&gt;&lt;P&gt;Normal Basic Auth is fine for accessing Oozie REST APIs ..I am able to perform POST and GET request of Oozie workflow successfully and monitor the status of the workflow in the same script .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Oct 2021 07:23:20 GMT</pubDate>
    <dc:creator>adhishankarit</dc:creator>
    <dc:date>2021-10-23T07:23:20Z</dc:date>
    <item>
      <title>Run Oozie workflow using oozie rest api - authentication failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Run-Oozie-workflow-using-oozie-rest-api-authentication/m-p/320258#M228129</link>
      <description>&lt;P&gt;I am trying to execute a workflow using rest API, but could not proceed due to authentication error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P&gt;POST :&amp;nbsp;&lt;A href="https://xxxxxxxhostxxxxxxxxx:port/oozie/v2/jobs?action=start" target="_blank" rel="noopener"&gt;https://xxxxxxxhostxxxxxxxxx:port/oozie/v2/jobs?action=start&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Content-Type :&amp;nbsp;application/xml&lt;/P&gt;&lt;P&gt;Request Payload:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;oozie.wf.application.path&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;hdfs://XXXXXXXXXXXXXXXXXXXXXXX&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;oozie.use.system.libpath&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;True&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;user.name&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;XXXXXXXXXXXXXXXXXx&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;jobTracker&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;yarnRM&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;mapreduce.job.user.name&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;XXXXXXXXXXXXXXXX&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;nameNode&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;hdfs://XXXXXXXXXXX&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;response:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"errorMessage": "Authentication required",&lt;BR /&gt;"httpStatusCode": 401&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Headers: {​​​​​​​​ Date: Wed, 07 Jul 2021 06:33:50 GMT Strict-Transport-Security: max-age=31536000 WWW-Authenticate: Negotiate Set-Cookie: hadoop.auth=; Path=/; Secure; HttpOnly Content-Type: application/json; charset="UTF-8" Content-Length: 63 }​​​​​​​​ {​​​​​​​​"errorMessage":"Authentication required","httpStatusCode":401}​​​​​​​​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried with Basic Auth, NTLM , No Auth and Digest auth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 09:01:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Run-Oozie-workflow-using-oozie-rest-api-authentication/m-p/320258#M228129</guid>
      <dc:creator>DevarajGowda</dc:creator>
      <dc:date>2026-04-21T09:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Run Oozie workflow using oozie rest api - authentication failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Run-Oozie-workflow-using-oozie-rest-api-authentication/m-p/328657#M230295</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Could you please check the user is having the permission to trigger Oozie in Ranger policy (OR) also please check your Oozie workflow xml file is present in HDFS path once ..&lt;/P&gt;&lt;P&gt;Normal Basic Auth is fine for accessing Oozie REST APIs ..I am able to perform POST and GET request of Oozie workflow successfully and monitor the status of the workflow in the same script .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Oct 2021 07:23:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Run-Oozie-workflow-using-oozie-rest-api-authentication/m-p/328657#M230295</guid>
      <dc:creator>adhishankarit</dc:creator>
      <dc:date>2021-10-23T07:23:20Z</dc:date>
    </item>
  </channel>
</rss>

