You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2014/06/11 20:38:02 UTC

[jira] [Created] (SAMZA-288) Create config option to disable kill-job-over-rest

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)