You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Kevin McGhee <km...@mimecast.com> on 2016/10/03 11:58:50 UTC
Killing a running application
Hi,
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://dev-jarvis-1.dev.mimecast.lan:6066 --kill app-20161003124716-0011
16/10/03 12:55:20 INFO RestSubmissionClient: Submitting a request to kill submission app-20161003124716-0011 in spark://dev-jarvis-1.dev.mimecast.lan:6066.
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?
Cheers,
Kevin
[ YouTube: http://www.youtube.com/user/mimecast#p/u/15/_523kC3lcNQ] [ Twitter: http://twitter.com/mimecast ] [ Our Blog: http://blog.mimecast.com/ ]
Kevin McGhee
Lead Software Engineer
c:
p: +44 207 847 8700
http://www.mimecast.com
Johannesburg Map
GPS: 26' 05.940" S, 18o 28' 04.278" E
(http://maps.google.com/maps/ms?hl=en&ie=UTF8&msa=0&msid=104153695170153523925.000469102c74a808b138c≪=-26.099685,28.069403&spn=0.011986,0.026178&z=16)
Cape Town Map
GPS: 33o 56.068" S, 18o 28.320" E
(http://maps.google.com/maps/ms?source=s_q&hl=en≥ocode=&mrt=all&ie=UTF8&g=Fir+Street,+Observatory,Cape+Town&msa=0≪=-33.934753,18.4721&spn=0.00413,0.009656&z=17&msid=100887237870528382628.00046a80a3916c933dad3)
====================================================================================================================================================================
Disclaimer
This email, sent at 12:59:00 on 2016-10-03 from kmcghee@mimecast.com to user@spark.apache.org 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 info@mimecast.co.za 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