samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordi Blasi Uribarri <>
Subject Kill All Jobs
Date Thu, 06 Aug 2015 07:21:50 GMT

As a little present (and I know this is not the way to get the code in the project, but I
am new to this sharing). I just made a simple script to kill all the jobs running in Samza.
It is supposed to live with in the bin folder. It shares me time, so maybe
someone finds it helpful.

[[ $JAVA_OPTS != *-Dlog4j.configuration* ]] && export JAVA_OPTS="$JAVA_OPTS -Dlog4j.configuration=file:$(dirname

exec $(dirname $0)/ org.apache.hadoop.yarn.client.cli.ApplicationCLI application
-list | grep application_ | awk -F ' ' '{ print $1 }' | while read linea
  $(dirname $0)/ $linea

Hope it helps.


Jordi Blasi Uribarri
Área I+D+i
Oficina Bilbao

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message