public class V1JobsServlet extends BaseJobsServlet
JsonRestServlet.ParameterInfo, JsonRestServlet.ResourceInfoAUDIT_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 |
|---|
V1JobsServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected org.json.simple.JSONObject |
getJobIdForExternalId(javax.servlet.http.HttpServletRequest request,
String externalId)
v1 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)
v1 service implementation to get a list of workflows, coordinators, or bundles, 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)
v1 service implementation to submit a job, either workflow or coordinator
|
doGet, doPostgetContentType, getResourceName, getUser, init, sendErrorResponse, sendJsonResponse, sendJsonResponse, service, setAllowSafeModeChanges, setLogInfo, startCron, stopCron, validateContentType, validateRestUrldoDelete, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic V1JobsServlet()
protected org.json.simple.JSONObject submitJob(javax.servlet.http.HttpServletRequest request, org.apache.hadoop.conf.Configuration conf) throws XServletException, IOException
XServletExceptionIOExceptionprotected org.json.simple.JSONObject getJobIdForExternalId(javax.servlet.http.HttpServletRequest request, String externalId) throws XServletException, IOException
XServletExceptionIOExceptionprotected org.json.simple.JSONObject getJobs(javax.servlet.http.HttpServletRequest request) throws XServletException, IOException
XServletExceptionIOExceptionCopyright © 2014 Apache Software Foundation. All Rights Reserved.