Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Two jobs (see below) have been created, but neither works properly. Please help!
Configuration:
Job 1) Writing to the HDFS
Manual video: https://www.talend.com/resources/writing-reading-data-hdfs/
Status: Cluster repository is set and recognized by Studio. Pressing the execute button causes an error
Job 2) Running Big Data Batch job on Spark
Manual video: https://www.talend.com/resources/running-job-spark/
Status: Cluster repository is set and recognized by Studio. Pressing the execute button causes an error
Error log for Job 2 is below:
失敗2020-03-25 11:11:35
Task 5e79a3b8db994d34de3b78fc/4.9 failed
unexpectedly.org.talend.ipaas.rt.flow.controller.impl.FlowExecutionException: Step 2221021a-7d3a-4301-a79f-b9a629c4eb76 failed with code -1 and error Job stopped with errors or unable to run. (check the task execution logs for the error details) at org.talend.ipaas.rt.flow.controller.impl.JobControllerImpl.doRun(JobControllerImpl.java:98) ~[?:?] at org.talend.ipaas.rt.flow.controller.impl.AbstractControllerImpl.lambda$run$0(AbstractControllerImpl.java:106) ~[?:?] at java.lang.Thread.run(Thread.java:748) [?:?]Caused by: java.lang.Exception: Job stopped with errors or unable to run. (check the task execution logs for the error details) ... 3 more
失敗2020-03-25 11:11:35
TalendJob: 'EMR' - Failed with exit code: 1.
失敗2020-03-25 11:11:35
Error initializing SparkContext.org.apache.spark.SparkException: Yarn application has already ended! It might have been killed or unable to launch application master. at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.waitForApplication(YarnClientSchedulerBackend.scala:89) at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:63) at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:164) at org.apache.spark.SparkContext.(SparkContext.scala:500) at org.apache.spark.api.java.JavaSparkContext.(JavaSparkContext.scala:58) at aaa.emr_0_1.EMR.runJobInTOS(EMR.java:1501) at aaa.emr_0_1.EMR.main(EMR.java:1394)