spark is continously aborting by giving this message.
scala> 18/09/05 18:15:06 INFO SparkContext: Invoking stop() from shutdown hook
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/static/sql,null}
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/SQL/execution/json,null}
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/SQL/execution,null}
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/SQL/json,null}
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/SQL,null}
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/metrics/json,null}
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/stages/stage/kill,null}
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/api,null}
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/,null}
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/static,null}
18/09/05 18:15:06 INFO BlockManagerInfo: Removed broadcast_24_piece0 on 172.31.38.146:35470 in memory (size: 1681.0 B, free: 143.0 MB)
18/09/05 18:15:06 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/executors/threadDump/json,null}