public class V0JobsServlet extends BaseJobsServlet
JsonRestServlet.ParameterInfo, JsonRestServlet.ResourceInfo
AUDIT_ERROR_CODE, AUDIT_ERROR_MESSAGE, AUDIT_HTTP_STATUS_CODE, AUDIT_OPERATION, AUDIT_PARAM, AUTH_TOKEN, INSTRUMENTATION_GROUP, TEXT_UTF8, UNDEF, USER_NAME, XML_UTF8
Constructor and Description |
---|
V0JobsServlet() |
Modifier and Type | Method and Description |
---|---|
protected org.json.simple.JSONObject |
getJobIdForExternalId(javax.servlet.http.HttpServletRequest request,
String externalId)
v0 service implementation to get a JSONObject representation of a job from its external ID
|
protected org.json.simple.JSONObject |
getJobs(javax.servlet.http.HttpServletRequest request)
v0 service implementation to get a list of workflows, with filtering or interested windows embedded in the
request object
|
protected org.json.simple.JSONObject |
submitJob(javax.servlet.http.HttpServletRequest request,
org.apache.hadoop.conf.Configuration conf)
v0 service implementation to submit a workflow job
|
doGet, doPost
getContentType, getResourceName, getUser, init, sendErrorResponse, sendJsonResponse, sendJsonResponse, service, setAllowSafeModeChanges, setLogInfo, startCron, stopCron, validateContentType, validateRestUrl
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
public V0JobsServlet()
protected org.json.simple.JSONObject submitJob(javax.servlet.http.HttpServletRequest request, org.apache.hadoop.conf.Configuration conf) throws XServletException, IOException
XServletException
IOException
protected org.json.simple.JSONObject getJobIdForExternalId(javax.servlet.http.HttpServletRequest request, String externalId) throws XServletException, IOException
XServletException
IOException
protected org.json.simple.JSONObject getJobs(javax.servlet.http.HttpServletRequest request) throws XServletException, IOException
XServletException
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.