Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3342

Better safety of killing jobs via web interface

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • None
    • None
    • Reviewed

    Description

      Although the option to kill jobs via the web interface is turned off by default, it should be made safer. Currently the "kill" action and its confirmation is just a link so it could be triggered by a crawler or by a browser's pre-fetching mechanism. The attached patch makes it work only with "POST" so that e.g. well-behaved crawlers shouldn't be able to access it.

      Attachments

        1. Hadoop-3342.patch
          5 kB
          Enis Soztutar
        2. kill-job.diff
          1 kB
          Daniel Naber

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            enis Enis Soztutar
            lucenebugs@danielnaber.de Daniel Naber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment