Jeśli to dla Standalone iskra lub menedżerów klastrów Apache Mesos, @sb0709's answer jest droga do naśladowania.
Dla przędza, należy użyć polecenia: yarn application
$ yarn application -help
usage: application
-appStates <States> Works with -list to filter applications
based on input comma-separated list of
application states. The valid application
state can be one of the following:
ALL,NEW,NEW_SAVING,SUBMITTED,ACCEPTED,RUN
NING,FINISHED,FAILED,KILLED
-appTypes <Types> Works with -list to filter applications
based on input comma-separated list of
application types.
-help Displays help for all commands.
-kill <Application ID> Kills the application.
-list List applications. Supports optional use
of -appTypes to filter applications based
on application type, and -appStates to
filter applications based on application
state.
-movetoqueue <Application ID> Moves the application to a different
queue.
-queue <Queue Name> Works with the movetoqueue command to
specify which queue to move an
application to.
-status <Application ID> Prints the status of the application.
Należy zauważyć, że (zgodnie z linkiem) opcja '--status' działa tylko dla samodzielnego Sparka lub Mesos z trybem wdrażania klastrów (nie PRZEGRANY) – DNA
Jak znaleźć ID zgłoszenia z wiersza poleceń? – user1870400