Alexis,
If you need to kill all running jobs, you can use this bash script.
```bash
# get list of job's process IDs
JOB_LIST=$(hadoop job -list 2> /dev/null | grep job_ | awk '{print $1}')
# kill all jobs
for JOB in $JOB_LIST
do
hadoop job -kill $JOB
echo job (${JOB}) is killed now.
done
```
- Hyeonjin Jung
2017. 3. 18. 오후 9:43에 "Alexis Fidalgo" <[email protected]>님이 작성:
> Hello, is there any way to configure for this list (job list) to auto
> clean or any command to clear without restart yarn?
>
> thanks
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>