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 | 
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)
v1 service implementation to submit a job, either workflow or coordinator 
 | 
protected org.json.simple.JSONObject | 
suspendJobs(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
service implementation to bulk suspend jobs 
 | 
doGet, doPost, doPutgetContentType, getResourceName, getUser, init, sendErrorResponse, sendJsonResponse, sendJsonResponse, service, setAllowSafeModeChanges, setLogInfo, startCron, stopCron, validateContentType, validateRestUrldoDelete, doHead, doOptions, 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
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 © 2016 Apache Software Foundation. All rights reserved.