[
https://issues.apache.org/jira/browse/SAMZA-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jakob Homan updated SAMZA-288:
------------------------------
Attachment: SAMZA-288.patch
Quick patch. Searched through code to verify we're not calling this anywhere.
> Remove kill-AM-over-REST call
> -----------------------------
>
> 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
> Assignee: Jakob Homan
> Fix For: 0.8.0
>
> Attachments: SAMZA-288.patch
>
>
> 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)