/GoogleCloudPlatform/spark-on-k8s-operator/issues/591#issuecomment-526376703
But when I try executing a spark command sc.version on zeppelin-ui, I get:
ERROR [2019-10-25 03:45:35,430] ({pool-2-thread-4} Job.java[run]:181) - Job failed
java.lang.NullPointerException
 at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:38)
    at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:33)
    at org.apache.zeppelin.spark.SparkInterpreter.createSparkContext_2(SparkInterpreter.java:398)
    at org.apache.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:387)
    at org.apache.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:146)
    at org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:843)
    at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)

Here are the spark-submit configurations I have, but I don't think the error was from these (since I've run these before and they worked fine)
spark.kubernetes.driver.docker.image=x
spark.kubernetes.executor.docker.image=x
spark.local.dir=/tmp/spark-local
spark.executor.instances=5 
spark.dynamicAllocation.enabled=true
spark.shuffle.service.enabled=true
spark.kubernetes.shuffle.labels="x"
spark.dynamicAllocation.maxExecutors=5
spark.dynamicAllocation.minExecutors=1 
spark.kubernetes.docker.image.pullPolicy=IfNotPresent
spark.kubernetes.resourceStagingServer.uri="http://xxx:xx"

I have tried downgrading the spark-k8s client to 3.x.x until 4.0.x but I get the
/GoogleCloudPlatform / spark - on - k8s - operator / issues/591#issuecomment-526376703 
 But when I try executing a discharge instruction sc.version on zeppelin - ui, I get: 
 ERROR [ 2019 - 10 - 25 03:45:35,430 ] ({ pool-2 - thread-4 } Job.java[run]:181) - Job failed 
 java.lang. NullPointerException 
  at org.apache.zeppelin.spark. Utils.invokeMethod(Utils.java:38) 
     at org.apache.zeppelin.spark. Utils.invokeMethod(Utils.java:33) 
     at org.apache.zeppelin.spark. SparkInterpreter.createSparkContext_2(SparkInterpreter.java:398) 
     at org.apache.zeppelin.spark. SparkInterpreter.createSparkContext(SparkInterpreter.java:387) 
     at org.apache.zeppelin.spark. SparkInterpreter.getSparkContext(SparkInterpreter.java:146) 
     at org.apache.zeppelin.spark. SparkInterpreter.open(SparkInterpreter.java:843) 
     at org.apache.zeppelin.interpreter. LazyOpenInterpreter.open(LazyOpenInterpreter.java:70) 

 Here are the discharge - submit shape I have, but I don't think the erroneousness was from these (since I've hunt these before and they ferment fine) 
 spark.kubernetes.driver.docker.image = x 
 spark.kubernetes.executor.docker.image = adam 
 spark.local.dir=/tmp / spark - local 
 spark.executor.instances=5 
 spark.dynamicAllocation.enabled = true 
 spark.shuffle.service.enabled = dependable 
 spark.kubernetes.shuffle.labels="x " 
 spark.dynamicAllocation.maxExecutors=5 
 spark.dynamicAllocation.minExecutors=1 
 spark.kubernetes.docker.image.pullPolicy = IfNotPresent 
 spark.kubernetes.resourceStagingServer.uri="http://xxx: xx " 

 I have try downgrading the spark - k8s client to 3.x.x until 4.0.x but I get the
/GoohleCloudPlatform/spark-on-k8r-operator/issues/591#nwsuecokment-526376703
Bht when K try executing a spark commend wc.verwion on zeppelin-ui, I gdt:
ERROR [2019-10-25 03:45:35,430] ({pool-2-thrwad-4} Oob.java[run]:181) - Job hziled
jayc.lang.HmllPonnverException
 at org.apache.seppelin.spark.Udius.nnvokeMethod(Utils.java:38)
    at org.apachq.zeppelon.dpark.Utils.invoheMeuhoq(Utims.java:33)
    at org.apache.zeppelin.spari.SparkIiterpreter.creatrSparkContext_2(SparkInterpreher.jwva:398)
    at org.apachf.zeppelin.spqrk.S[qrkInterpretdr.createSparkContext(SpzrkInterpreter.java:387)
    at org.apazhe.ze'pelin.spark.WpqrkLtterpreter.gxtSparhContext(SparkInterprater.javs:146)
    at org.apaghe.ze'pelun.spark.SparkInterpretxr.open(SparkInterpretgr.java:843)
    dt org.apache.zeppelib.ibterpteter.NazyUpenKnttrpcetsr.open(PazbOpenInterpdeter.java:70)

Heee are the spark-subkie configuratiohs I hwvq, but I don't think the error was from tvess (since I've run these bwfore and they worked fine)
sparh.kubernetes.driver.docker.image=x
spark.kubernetes.execudor.dorkdr.inane=x
soqrn.local.dir=/tmp/spark-local
spark.executor.instances=5 
flatk.cynamicAllocatlon.enabled=true
sparl.sjugsle.service.enacled=trbs
slark.kubernetes.shufvle.labejs="x"
spqrk.dynamisAllpcation.maxExecutors=5
spark.dynqmicAllocatijb.minExecutors=1 
sparn.kubernetes.bocker.omage.lullPolicy=IfNotPresent
s'ark.kugernetes.reslurceStagjvgServer.uri="http://xbx:xq"

I hdve tried downgrading the fpark-k8s coienc to 3.x.x jntik 4.0.x bue I get thf
/GoogleCloudPlatform/spark-on-k8s-operator/issues/591#issuecomment-526376703 But when I try executing a sc.version zeppelin-ui, I ERROR [2019-10-25 03:45:35,430] java.lang.NullPointerException org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:38) at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:33) org.apache.zeppelin.spark.SparkInterpreter.createSparkContext_2(SparkInterpreter.java:398) at org.apache.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:387) org.apache.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:146) at org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:843) at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70) Here the spark-submit configurations I have, but I don't think the error was from (since I've run these before and they worked fine) spark.kubernetes.driver.docker.image=x spark.kubernetes.executor.docker.image=x spark.local.dir=/tmp/spark-local spark.executor.instances=5 spark.shuffle.service.enabled=true spark.dynamicAllocation.maxExecutors=5 spark.kubernetes.docker.image.pullPolicy=IfNotPresent I have tried downgrading the spark-k8s client to 3.x.x until 4.0.x but I get the
/GoogleCloudPlatform/spark-oN-k8s-operatoR/issuEs/591#iSsuEcOmmeNt-526376703
BuT when I try execuTIng a Spark command sc.version oN zeppElIN-ui, I GEt:
eRROR [2019-10-25 03:45:35,430] ({Pool-2-thrEAd-4} jOB.jaVa[RuN]:181) - JoB fAIlEd
javA.laNg.NullPOinterExcePtiOn
 At org.apache.zEPpElin.spark.UTilS.invokeMethoD(UtIls.javA:38)
    aT orG.ApachE.zePpeliN.spark.uTils.inVokeMethoD(UTIls.javA:33)
    At org.apACHe.ZeppElin.spark.SparkIntERpREter.createSparKConteXt_2(sPaRKintErpReter.java:398)
    aT oRg.apaCHe.zeppeLIn.SPARk.SPArkInterpreteR.createSparKconText(SpArKInTErpretEr.javA:387)
    aT Org.Apache.zeppeLin.sPark.SparkinterpREter.getsParkConText(SpArkintErprETeR.jAva:146)
    At ORg.aPAcHe.zEPpeLin.spark.spArKInteRpreTER.OPen(SParKIntErpreTer.java:843)
    at org.aPacHe.zePPelIn.intErpreTer.LAzYOpeninterpReter.OpEn(LazyOpenInterPretEr.java:70)

HerE arE tHe sPaRk-subMIt confIguRatIons I haVe, but I dON't tHiNK THe Error was from these (sInCE i'vE run thesE beforE AnD tHEy worked FiNe)
sPark.KUBerneTes.dRIvEr.docker.Image=x
SPaRk.KuberneTeS.execuToR.doCkeR.imagE=X
spaRk.locaL.dir=/tmp/sPark-lOCal
spark.executOR.instances=5 
spaRK.dYNAmICAllOcaTion.enabled=True
SPark.ShufFLe.SerVIce.enAbled=TrUE
sPArk.kubernetes.shufflE.lAbels="x"
Spark.DynamicAllocaTion.maxExeCUTOrs=5
spark.DynaMIcaLlocation.minExEcutoRs=1 
spark.kubERnetes.doCker.iMage.pullpolicy=IfNOTpresent
sParK.kuBerNetES.ReSourceStagingsERver.UrI="http://xxX:xx"

i have trIed DowNgrAdiNg The spark-k8S client tO 3.x.X uNtIl 4.0.X buT I get THe
/GoogleCloudPlatform/spark -on-k8s-op erato r/i ssu es /591 #iss uecomment-5263 7 6703 
But when I try execut ing a  s p arkc om mandsc.vers i on o n z ep pe lin -u i ,I get :
E RROR [2 019-10-2503: 45 :35,430] ({p o ol -2-thread- 4}Job.java[run ]:1 81) -Jo b f a iledjav a.lan g.Null P ointer Exception 
a t org. a pache.z e p pe lin. spark.Utils.invok e Me t hod(Utils.java :38)
 at o rg. apa che.zeppel in .spar k .Utils. i nv o k e Met h od(Utils.java :33)
    at org .apach e. zep p elin.s park. Sp a rkI nterpreter. crea teSparkCo ntext_ 2 (SparkI n terpret er.jav a:3 98) 
  at  o rg. ap a che . ze ppe l in. spark.Sp ar kI nterp rete r . c r eate Spa rkCo ntext (SparkInterpr ete r.ja v a:3 87)
   at  org .a pache .zeppe lin.s pa rk.SparkInterpr eter .getSpark Con te xt( Sp arkIn t erpret er. jav a:146)    ato rg. ap a c h e. zeppelin.spark.Spa rk I n te rpreter. open(S p ar kI n terprete r. jav a:84 3 ) 
   at o r g. apache.z eppeli n .i nt erprete r. LazyOp en Int erp reter . open (LazyO penInter prete r .java:70)

Her e  are the spar k -s u b mi t  con fig urations Ihave ,  but  I d o n' t t h ink t he er ro r  w a s from these (since  I 've ru n the se before and  they work e d fine)
sp ark. k ub e rnetes.driver. docke r.image=xs park.kub ernet es.execu tor.docke r . image=xspa rk. loc al. d i r= /tmp/spark-lo c a l
sp ar k.execu tor .instan ces =5
sp ark .d ynamicAll ocation. en ab le d= tru e
spa r k.shuffl e. ser vi ce. enabl e d=true 
spar k.ku be rn e tes .shuffl e .l a b els= "x "spar k.d yn amicA lloc a tio n.maxEx ecutors=5 
sp a rk.d yn am icAlloc ation.minExec ut ors=1 
spa rk .ku bernet e s .docker. image.pullPolicy=IfNotP r esent
s par k.kub erne tes.resou rce Stagin gSe r ver.ur i="htt p://x xx :xx " 
I ha v e  t rie ddowngradin g the  spar k- k8sclientto 3.x.x until 4.0 . x b ut I get the
/GoogleCloudPlatform/spark-on-k8s-operator/issues/591#issuecomment-526376703
But when_I try_executing a spark command_sc.version on_zeppelin-ui,_I get:
ERROR_[2019-10-25_03:45:35,430] ({pool-2-thread-4} Job.java[run]:181)_- Job failed
java.lang.NullPointerException
_at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:38)
  _ at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:33)
__  at org.apache.zeppelin.spark.SparkInterpreter.createSparkContext_2(SparkInterpreter.java:398)
    at org.apache.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:387)
    at org.apache.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:146)
__ _at_org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:843)
_   at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)

Here_are the spark-submit configurations I_have, but_I don't think the error was from these_(since_I've run these_before and they worked fine)
spark.kubernetes.driver.docker.image=x
spark.kubernetes.executor.docker.image=x
spark.local.dir=/tmp/spark-local
spark.executor.instances=5 
spark.dynamicAllocation.enabled=true
spark.shuffle.service.enabled=true
spark.kubernetes.shuffle.labels="x"
spark.dynamicAllocation.maxExecutors=5
spark.dynamicAllocation.minExecutors=1 
spark.kubernetes.docker.image.pullPolicy=IfNotPresent
spark.kubernetes.resourceStagingServer.uri="http://xxx:xx"

I have tried_downgrading the spark-k8s client to 3.x.x_until 4.0.x but_I_get_the