You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Deng Yong <jo...@gmail.com> on 2017/06/10 07:50:52 UTC

When i run wordcount of Hadoop in Win10, i got wrong info

D:\hdp\sbin>yarn jar d:/hdp/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.3.jar wordcount /aa.txt /out
17/06/10 15:27:32 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
17/06/10 15:27:33 INFO input.FileInputFormat: Total input paths to process : 1
17/06/10 15:27:33 INFO mapreduce.JobSubmitter: number of splits:1
17/06/10 15:27:33 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1497079386122_0001
17/06/10 15:27:34 INFO impl.YarnClientImpl: Submitted application application_1497079386122_0001
17/06/10 15:27:34 INFO mapreduce.Job: The url to track the job: http://DESKTOP-6LF1EE1:8088/proxy/application_1497079386122_0001/
17/06/10 15:27:34 INFO mapreduce.Job: Running job: job_1497079386122_0001
17/06/10 15:27:38 INFO mapreduce.Job: Job job_1497079386122_0001 running in uber mode : false
17/06/10 15:27:38 INFO mapreduce.Job:  map 0% reduce 0%
17/06/10 15:27:38 INFO mapreduce.Job: Job job_1497079386122_0001 failed with state FAILED due to: Application application_1497079386122_0001 failed 2 times due to AM Container for appattempt_1497079386122_0001_000002 exited with  exitCode: -1000
For more detailed output, check application tracking page:http://DESKTOP-6LF1EE1:8088/cluster/app/application_1497079386122_0001Then, click on links to logs of each attempt.
Diagnostics: Failed to setup local dir /tmp/hadoop-d00338403/nm-local-dir, which was marked as good.
Failing this attempt. Failing the application.
17/06/10 15:27:38 INFO mapreduce.Job: Counters: 0
v
发送自 Windows 10 版邮件应用


Re: When i run wordcount of Hadoop in Win10, i got wrong info

Posted by Sidharth Kumar <si...@gmail.com>.
Check /tmp directory permissions and owners

Sidharth


On 13-Jun-2017 3:20 AM, "Deng Yong" <jo...@gmail.com> wrote:

> D:\hdp\sbin>yarn jar d:/hdp/share/hadoop/mapreduce/
> hadoop-mapreduce-examples-2.7.3.jar wordcount /aa.txt /out
>
> 17/06/10 15:27:32 INFO client.RMProxy: Connecting to ResourceManager at /
> 0.0.0.0:8032
>
> 17/06/10 15:27:33 INFO input.FileInputFormat: Total input paths to process
> : 1
>
> 17/06/10 15:27:33 INFO mapreduce.JobSubmitter: number of splits:1
>
> 17/06/10 15:27:33 INFO mapreduce.JobSubmitter: Submitting tokens for job:
> job_1497079386122_0001
>
> 17/06/10 15:27:34 INFO impl.YarnClientImpl: Submitted application
> application_1497079386122_0001
>
> 17/06/10 15:27:34 INFO mapreduce.Job: The url to track the job:
> http://DESKTOP-6LF1EE1:8088/proxy/application_1497079386122_0001/
>
> 17/06/10 15:27:34 INFO mapreduce.Job: Running job: job_1497079386122_0001
>
> 17/06/10 15:27:38 INFO mapreduce.Job: Job job_1497079386122_0001 running
> in uber mode : false
>
> 17/06/10 15:27:38 INFO mapreduce.Job:  map 0% reduce 0%
>
> *17/06/10 15:27:38 INFO mapreduce.Job: Job job_1497079386122_0001 failed
> with state FAILED due to: Application application_1497079386122_0001 failed
> 2 times due to AM Container for appattempt_1497079386122_0001_000002 exited
> with  exitCode: -1000*
>
> *For more detailed output, check application tracking
> page:http://DESKTOP-6LF1EE1:8088/cluster/app/application_1497079386122_0001Then
> <http://DESKTOP-6LF1EE1:8088/cluster/app/application_1497079386122_0001Then>,
> click on links to logs of each attempt.*
>
> Diagnostics: Failed to setup local dir /tmp/hadoop-d00338403/nm-local-dir,
> which was marked as good.
>
> Failing this attempt. Failing the application.
>
> 17/06/10 15:27:38 INFO mapreduce.Job: Counters: 0
>
> v
>
> 发送自 Windows 10 版邮件 <https://go.microsoft.com/fwlink/?LinkId=550986>应用
>
>
>