Github user naveenkumargp commented on the issue:

    https://github.com/apache/zeppelin/pull/2637
  
    @sancyx 
     we have tried by adding --jars option interpreter.sh still we are getting 
following when the spark job is being submitted.
    
    
     java.lang.RuntimeException: Unable to start 
SparkK8RemoteInterpreterManagedProcess: Spark Driver not found.
    
    and the spark command which is being generated is given below
    /opt/spark/bin/spark-submit --class 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer 
--driver-class-path 
":/opt/zeppelin-0.9.0-SNAPSHOT/interpreter/spark/*:/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/*::/opt/zeppelin-0.9.0-SNAPSHOT/interpreter/spark/spark-interpreter-0.9.0-SNAPSHOT.jar:/opt/hadoop/etc/hadoop/"
 --driver-java-options " -Dfile.encoding=UTF-8 
-Dlog4j.configuration=log4j_k8_cluster.properties" --conf 
spark.executor.instances=2 --jars 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/aether-api-1.12.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/aether-connector-file-1.12.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/aether-connector-wagon-1.12.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/aether-impl-1.12.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/aether-spi-1.12.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/aether-util-1.12.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/bcpkix-jdk15on-1.52.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/
 bcprov-jdk15on-1.52.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/commons-codec-1.5.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/commons-configuration-1.9.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/commons-exec-1.3.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/commons-httpclient-3.1.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/commons-io-2.4.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/commons-lang-2.5.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/commons-logging-1.1.1.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/commons-pool2-2.3.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/gson-2.2.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/gson-extras-0.2.1.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/httpclient-4.5.1.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/httpcore-4.4.1.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/jline-2.12.1.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/jsoup-1.6.1.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/li
 bthrift-0.9.2.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/log4j-1.2.17.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/maven-aether-provider-3.0.3.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/maven-artifact-3.0.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/maven-model-3.0.3.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/maven-model-builder-3.0.3.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/maven-plugin-api-3.0.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/maven-repository-metadata-3.0.3.jar
 /opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/plexus-classworlds-2.4.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/plexus-component-annotations-1.5.5.jar
 /opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/plexus-interpolation-1.14.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/plexus-utils-2.0.7.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/sisu-guice-3.0.2-no_aop.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/sisu-inject-bean-2.2.2.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/in
 terpreter/sisu-inject-plexus-2.2.2.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/slf4j-api-1.7.10.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/slf4j-log4j12-1.7.10.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/wagon-http-1.0.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/wagon-http-lightweight-1.0.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/wagon-http-shared-1.0.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/wagon-provider-api-1.0.jar 
/opt/zeppelin-0.9.0-SNAPSHOT/lib/interpreter/zeppelin-interpreter-0.9.0-SNAPSHOT.jar
 --master k8s://https://k8s-apiserver.bcmt.cluster.local:8443 --conf 
spark.submit.deployMode='cluster' --conf 
spark.app.name='Zeppelin-spark-shared-process' --conf 
spark.kubernetes.driver.label.interpreter-processId='spark-shared-process-1526377697510'
 --conf spark.metrics.namespace='Zeppelin-spark-shared-process' 
/opt/zeppelin-0.9.0-SNAPSHOT/interpreter/spark/spark-interpreter-0.9.0-SNAPSHOT.jar
 30000


---

Reply via email to