Re: Spark 2.3 error on Kubernetes

2018-05-29 Thread Anirudh Ramanathan
and > rest 4 were killed with below error and I do have enough resources > available. > > On Tue, May 29, 2018 at 6:28 PM Anirudh Ramanathan > wrote: > >> This looks to me like a kube-dns error that's causing the driver DNS >> address to not resolve. >> It wo

Re: Spark 2.3 error on Kubernetes

2018-05-29 Thread Anirudh Ramanathan
This looks to me like a kube-dns error that's causing the driver DNS address to not resolve. It would be worth double checking that kube-dns is indeed running (in the kube-system namespace). Often, with environments like minikube, kube-dns may exit/crashloop due to lack of resource. On Tue, May

Re: Spark driver pod garbage collection

2018-05-23 Thread Anirudh Ramanathan
There's a flag to the controller manager that is in charge of retention policy for terminated or completed pods. https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/#options --terminated-pod-gc-threshold int32 Default: 12500 Number of terminated pods that

Re: Spark driver pod eviction Kubernetes

2018-05-22 Thread Anirudh Ramanathan
I think a pod disruption budget might actually work here. It can select the spark driver pod using a label. Using that with a minAvailable value that's appropriate here could do it. In a more general sense, we do plan on some future work to support driver recovery which should help long running

Re: Structured Streaming on Kubernetes

2018-04-13 Thread Anirudh Ramanathan
sing. > > > > Since spark on kubernetes is a relatively new addition to spark, I was > wondering if structured streaming is stable in production. We were also > evaluating Apache Beam with Flink. > > > > Regards, > > Krishna > > > > > > -- Anirudh Ramanathan

Re: Spark Kubernetes Volumes

2018-04-12 Thread Anirudh Ramanathan
s is not possible i >> would like to know if the community be interested in such a feature. >> >> Cheers >> >> Marius >> >> --------- >> To unsubscribe e-mail: user-unsubscr...@spark.apache.org >> >> > -- Anirudh Ramanathan

Re: handling Remote dependencies for spark-submit in spark 2.3 with kubernetes

2018-03-08 Thread Anirudh Ramanathan
e init-container for spark-submit > when there are remote dependencies. > > > https://spark.apache.org/docs/latest/running-on-kubernetes.html#using-remote-dependencies > > Please suggest > -- Anirudh Ramanathan