dongjoon-hyun commented on PR #43721:
URL: https://github.com/apache/spark/pull/43721#issuecomment-1802652164

   To @mridulm ,
   
   > A general query, is there no acl on who can kill ?
   
   No at this layer. This is the same behavior with the previous `kill` API 
which is exposed like the following. In addition, the whole REST submission API 
is disabled by default (spark.master.rest.enabled). I don't think this adds 
more vulnerability to the existing users.
   ```
   for id in $(curl http://master:8080/json/activedrivers | grep id | sed 's/"/ 
/g' | awk '{print $3}')
   do
       curl -XPOST http://master:6066/v1/submissions/kill/$id
   done
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to