Enabling Kerberos Authentication in the Webservice Agent

Document ID : KB000088094
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
Status:404 Not Found

How can Kerberos Authentication be enabled to work with RA Agents such as the Web Service Agent or the Hadoop Agent?

Investigation

No matter what kind of Web Service job is executed, it returns the same error:
 
Status:404 Not Found

The Connection URL Endpoint is this:

http://ap-hdpen1t.oneadr.net:11000/oozie/v1/jobs?action=start

But the report says this:

http://ap-hdpen1t.oneadr.net:11000/oozie/v1/jobs%3Faction=start

Please note, that the ? in the URL is translated into %3F in the report. This may cause the job to fail with the above error message.
Environment:
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: The endpoint URL needs to be split into 3 places
1) Base URL
2) Resource
3) Query parameters
Resolution:
Update to a fix version listed below or a newer version if available.

The WS3 REST Agent creates the Endpoint URL from 3 separate places.
  1. Base URL 
  2. Resource 
  3. Query parameters
The solution is to move the query parameter to the tab called "Headers & Query Parameters" in the connection object.

Defining Headers and Query Parameters for REST Job Request

0EMb0000001UhFQ.png


Fix Status: Released

Fix Version(s):
Web Service 3.3.0 - Available
Additional Information:
Workaround :
N/A