Yarn预启动.err查找匹配的``时出现意外的eof

jgovgodb  于 2021-05-27  发布在  Hadoop
关注(0)|答案(0)|浏览(321)

我手动安装了一个多节点hadoop(3.1.2)集群(1个master-4 worker)。我正在用简单的wordcount测试它。我试着在我的其他集群上执行命令,我确信它是有效的。

hadoop jar mapreduce.wordcount.jar com.veribilimiokulu.mapreduce.MR2WordCount /user/hadoopuser/kuruyemis /user/hadoopuser/kuruyemis_out

我得到以下错误:

2020-11-30 09:58:25,235 INFO client.RMProxy: Connecting to ResourceManager at hadoop-master-01.vbo.com/192.168.206.11:8032
2020-11-30 09:58:26,188 INFO mapreduce.JobResourceUploader: Disabling Erasure Coding for path: /tmp/hadoop-yarn/staging/hadoopuser/.staging/job_1606717211964_0002
2020-11-30 09:58:27,726 INFO input.FileInputFormat: Total input files to process : 1
2020-11-30 09:58:28,057 INFO mapreduce.JobSubmitter: number of splits:1
2020-11-30 09:58:29,016 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1606717211964_0002
2020-11-30 09:58:29,020 INFO mapreduce.JobSubmitter: Executing with tokens: []
2020-11-30 09:58:30,159 INFO conf.Configuration: resource-types.xml not found
2020-11-30 09:58:30,160 INFO resource.ResourceUtils: Unable to find 'resource-types.xml'.
2020-11-30 09:58:30,429 INFO impl.YarnClientImpl: Submitted application application_1606717211964_0002
2020-11-30 09:58:30,634 INFO mapreduce.Job: The url to track the job: http://hadoop-master-01.vbo.com:8088/proxy/application_1606717211964_0002/
2020-11-30 09:58:30,636 INFO mapreduce.Job: Running job: job_1606717211964_0002
2020-11-30 09:58:44,860 INFO mapreduce.Job: Job job_1606717211964_0002 running in uber mode : false
2020-11-30 09:58:44,863 INFO mapreduce.Job:  map 0% reduce 0%
2020-11-30 09:58:44,891 INFO mapreduce.Job: Job job_1606717211964_0002 failed with state FAILED due to: Application application_1606717211964_0002 failed 2 times due to AM Container for appattempt_1606717211964_0002_000002 exited with  exitCode: 2
Failing this attempt.Diagnostics: [2020-11-30 09:58:44.207]Exception from container-launch.
Container id: container_1606717211964_0002_02_000001
Exit code: 2

[2020-11-30 09:58:44.304]Container exited with a non-zero exit code 2. Error file: prelaunch.err.
Last 4096 bytes of prelaunch.err :
/tmp/hadoop-hadoopuser/nm-local-dir/usercache/hadoopuser/appcache/application_1606717211964_0002/container_1606717211964_0002_02_000001/launch_container.sh: line 56: unexpected EOF while looking for matching `"'

[2020-11-30 09:58:44.305]Container exited with a non-zero exit code 2. Error file: prelaunch.err.
Last 4096 bytes of prelaunch.err :
/tmp/hadoop-hadoopuser/nm-local-dir/usercache/hadoopuser/appcache/application_1606717211964_0002/container_1606717211964_0002_02_000001/launch_container.sh: line 56: unexpected EOF while looking for matching `"'

For more detailed output, check the application tracking page: http://hadoop-master-01.vbo.com:8088/cluster/app/application_1606717211964_0002 Then click on links to logs of each attempt.
. Failing the application.
2020-11-30 09:58:44,947 INFO mapreduce.Job: Counters: 0

我遇到类似的错误与Spark壳纱模式和Spark提交纱模式。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题