Kill Spark application used by Zeppelin on YARN after X time of inactivity -
running spark on yarn apache zeppelin, consumming x % of queue, if no-body using it.
since running night cron jobs, kill/quit/exit zeppelin spark application, after x minutes of inactivity, queue free night jobs.
killing cron decent working solution killing jobs @ fixed time (say 04 am).
a more elegant solution integrate zeppelin livy (see https://docs.hortonworks.com/hdpdocuments/hdp2/hdp-2.6.1/bk_zeppelin-component-guide/content/zepp-with-spark.html ) livy can configured terminate (and release resources) after x minutes of inactivity.
Comments
Post a Comment