spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin McGhee <>
Subject Killing a running application
Date Mon, 03 Oct 2016 11:58:50 GMT

I’m using Spark Standalone and submitting the application with spark-submit. I can see my
app listed under ‘Running Applications’ on the master UI with the ID app-20161003124716-0011.

When I try to kill the app via spark-submit I get the following response with success:false
and the app is still running.

-bash-4.1$ ./bin/spark-submit --master spark:// --kill app-20161003124716-0011
16/10/03 12:55:20 INFO RestSubmissionClient: Submitting a request to kill submission app-20161003124716-0011
in spark://
16/10/03 12:55:21 INFO RestSubmissionClient: Server responded with KillSubmissionResponse:
  "action" : "KillSubmissionResponse",
  "message" : "Driver app-20161003124716-0011 has already finished or does not exist",
  "serverSparkVersion" : "2.0.0",
  "submissionId" : "app-20161003124716-0011",
  "success" : false

Why is this not working? Should it be? What is the correct way to kill a running application?


[ YouTube:]  [ Twitter:
]  [ Our Blog: ] 

Kevin McGhee
Lead Software Engineer
p: +44 207 847 8700

Johannesburg Map 
GPS: 26' 05.940" S, 18o 28' 04.278" E

Cape Town Map
GPS: 33o 56.068" S, 18o 28.320" E



This email, sent at 12:59:00 on 2016-10-03 from to
has been scanned for viruses and malware by Mimecast, an innovator in software as a service
(SaaS) for business. 's email continuity, security, archiving and compliancy is managed by
Mimecast's unified email management platform. 
To find out more, email or request a demo.

Mimecast SA (Pty) Ltd is a registered company within the Republic of South Africa, company
registration number: 2004/000965/07  VAT No. 4650210547

View raw message