public class V0JobsServlet 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 |
|---|
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 |
killJobs(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
service implementation to bulk kill jobs
|
protected org.json.simple.JSONObject |
resumeJobs(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
service implementation to bulk resume jobs
|
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
|
protected org.json.simple.JSONObject |
suspendJobs(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
service implementation to bulk suspend jobs
|
doGet, doPost, doPutaddCron, getContentType, getProxyUser, getResourceName, getUser, incrCounter, init, sendErrorResponse, sendJsonResponse, sendJsonResponse, service, setAllowSafeModeChanges, setLogInfo, startCron, stopCron, validateContentType, validateRestUrldoDelete, doHead, doOptions, doTrace, getLastModified, servicepublic V0JobsServlet()
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
XServletExceptionIOExceptionprotected org.json.simple.JSONObject killJobs(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws XServletException, IOException
request - response - XServletExceptionIOExceptionprotected org.json.simple.JSONObject suspendJobs(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws XServletException, IOException
request - response - XServletExceptionIOExceptionprotected org.json.simple.JSONObject resumeJobs(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws XServletException, IOException
request - response - XServletExceptionIOExceptionCopyright © 2018 Apache Software Foundation. All rights reserved.