异常消息:“/tmp/hadoop-Deepshikha”不被识别为内部或外部命令、可操作程序或批处理文件

问题描述 投票:0回答:1

当我运行字数统计问题时,我收到此错误

C:\hadoopsetup\hadoop-3.2.4\sbin>hadoop jar C:\hadoopsetup\hadoop-3.2.4\share\hadoop\mapreduce\hadoop-mapreduce-examples-3.2.4.jar wordcount /input_dir /output_dir
2023-10-21 20:04:49,534 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
2023-10-21 20:04:50,293 INFO mapreduce.JobResourceUploader: Disabling Erasure Coding for path: /tmp/hadoop-yarn/staging/Deepshikha singh/.staging/job_1697898648502_0001
2023-10-21 20:04:51,111 INFO input.FileInputFormat: Total input files to process : 1
2023-10-21 20:04:51,203 INFO mapreduce.JobSubmitter: number of splits:1
2023-10-21 20:04:51,383 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1697898648502_0001
2023-10-21 20:04:51,386 INFO mapreduce.JobSubmitter: Executing with tokens: []
2023-10-21 20:04:51,561 INFO conf.Configuration: resource-types.xml not found
2023-10-21 20:04:51,561 INFO resource.ResourceUtils: Unable to find 'resource-types.xml'.
2023-10-21 20:04:52,016 INFO impl.YarnClientImpl: Submitted application application_1697898648502_0001
2023-10-21 20:04:52,083 INFO mapreduce.Job: The url to track the job: http://Deepshikha:8088/proxy/application_1697898648502_0001/
2023-10-21 20:04:52,085 INFO mapreduce.Job: Running job: job_1697898648502_0001
2023-10-21 20:04:57,155 INFO mapreduce.Job: Job job_1697898648502_0001 running in uber mode : false
2023-10-21 20:04:57,156 INFO mapreduce.Job:  map 0% reduce 0%
2023-10-21 20:04:57,171 INFO mapreduce.Job: Job job_1697898648502_0001 failed with state FAILED due to: Application application_1697898648502_0001 failed 2 times due to AM Container for appattempt_1697898648502_0001_000002 exited with  exitCode: 1
Failing this attempt.Diagnostics: [2023-10-21 20:04:56.442]Exception from container-launch.
Container id: container_1697898648502_0001_02_000001
Exit code: 1
Exception message: '/tmp/hadoop-Deepshikha' is not recognized as an internal or external command,
operable program or batch file.


[2023-10-21 20:04:56.445]Container exited with a non-zero exit code 1.
[2023-10-21 20:04:56.445]Container exited with a non-zero exit code 1.
For more detailed output, check the application tracking page: http://Deepshikha:8088/cluster/app/application_1697898648502_0001 Then click on links to logs of each attempt.
. Failing the application.
2023-10-21 20:04:57,192 INFO mapreduce.Job: Counters: 0

如何解决这个错误?

windows hadoop mapreduce hadoop-yarn
1个回答
0
投票

我有同样的问题:异常消息:“/hadoop/tmp/usercache/ryan”未被识别为内部或外部命令, 可运行的程序或批处理文件。你解决了吗?

© www.soinside.com 2019 - 2024. All rights reserved.