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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -