Jakob Homan created SAMZA-288:
---------------------------------

             Summary: Create config option to disable kill-job-over-rest
                 Key: SAMZA-288
                 URL: https://issues.apache.org/jira/browse/SAMZA-288
             Project: Samza
          Issue Type: Improvement
          Components: yarn
    Affects Versions: 0.7.0
            Reporter: Jakob Homan
             Fix For: 0.8.0


Currently we expose a rest servlet to kill an AM:
{code:title=ApplicationMasterRestServlet.scala}  get("/am/kill") {
    client.kill(state.appAttemptId.getApplicationId)
  }{code}

This is useful in some cases, but is also potentially dangerous in some 
environments.  This feature should be toggled on or off via a config and 
probably defaulted to off.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to