You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "kumpatla murali krishna (JIRA)" <ji...@apache.org> on 2018/08/06 06:37:00 UTC
[jira] [Reopened] (SPARK-24857) required the sample code test the
spark steaming job in kubernates and write the data in remote hdfs file
system
[ https://issues.apache.org/jira/browse/SPARK-24857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
kumpatla murali krishna reopened SPARK-24857:
---------------------------------------------
Hi ,
I am facing issues while running the spark job on eks.
Following is the command to run the sample spark job
/home/murali/spark-2.3.1-bin-hadoop2.7/bin/spark-submit --master k8s://localhost:8001 --deploy-mode cluster --name spark-pi --class org.apache.spark.examples.SparkPi --conf spark.executor.instances=3 --conf spark.kubernetes.container.image=phenommurali/spark local:///opt/spark/examples/jars/spark-examples_2.11-2.3.1.jar
I am facing the below error while running the spark job.
2018-08-02 18:58:03 WARN Utils:66 - Set SPARK_LOCAL_IP if you need to bind to another address
2018-08-02 18:58:04 WARN Config:347 - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2018-08-02 18:58:06 WARN WatchConnectionManager:192 - Exec Failure
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328)
kinly helpus to fix the issues
> required the sample code test the spark steaming job in kubernates and write the data in remote hdfs file system
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-24857
> URL: https://issues.apache.org/jira/browse/SPARK-24857
> Project: Spark
> Issue Type: Test
> Components: Kubernetes, Spark Submit
> Affects Versions: 2.3.1
> Reporter: kumpatla murali krishna
> Priority: Major
>
> ./bin/spark-submit --master k8s://https://api.kubernates.aws.phenom.local --deploy-mode cluster --name spark-pi --class com.phenom.analytics.executor.SummarizationJobExecutor --conf spark.executor.instances=5 --conf spark.kubernetes.container.image=phenommurali/spark_new --jars hdfs://test-dev.com:8020/user/spark/jobs/Test_jar_without_jars.jar
> error
> Normal SuccessfulMountVolume 2m kubelet, ip-xxxxx.ec2.internal MountVolume.SetUp succeeded for volume "download-files-volume" Warning FailedMount 2m kubelet, ip-xxxx.ec2.internal MountVolume.SetUp failed for volume "spark-init-properties" : configmaps "spark-pi-b5be4308783c3c479c6bf2f9da9b49dc-init-config" not found
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org