• 运行wordcount的时候显示INFO mapreduce.Job: map 0% reduce 0%


    错误提示:

    [xiaoqiu@s150 /home/xiaoqiu]$ hadoop jar wordcounter.jar com.cr.wordcount.WordcountApp hdfs://s150/user/xiaoqiu/data/wc.txt hdfs://s150/user/xiaoqiu/data/out
    18/01/05 09:12:52 INFO client.RMProxy: Connecting to ResourceManager at s150/192.168.109.150:8032
    18/01/05 09:12:55 WARN mapreduce.JobResourceUploader: Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
    18/01/05 09:13:13 INFO input.FileInputFormat: Total input paths to process : 1
    18/01/05 09:13:18 INFO mapreduce.JobSubmitter: number of splits:1
    18/01/05 09:13:21 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1515157734609_0002
    18/01/05 09:14:14 INFO impl.YarnClientImpl: Submitted application application_1515157734609_0002
    18/01/05 09:14:16 INFO mapreduce.Job: The url to track the job: http://s150:8088/proxy/application_1515157734609_0002/
    18/01/05 09:14:16 INFO mapreduce.Job: Running job: job_1515157734609_0002
    18/01/05 09:20:09 INFO mapreduce.Job: Job job_1515157734609_0002 running in uber mode : false
    18/01/05 09:20:16 INFO mapreduce.Job:  map 0% reduce 0%
    解决:

    修改了虚拟机的内存大小,我之前是每个虚拟机配置的512M,后来改成了1个G,解决了问题

    欢迎关注我的公众号:小秋的博客 CSDN博客:https://blog.csdn.net/xiaoqiu_cr github:https://github.com/crr121 联系邮箱:rongchen633@gmail.com 有什么问题可以给我留言噢~
  • 相关阅读:
    poj 2728 Desert King(最小比率生成树,迭代法)
    HDU
    hud 2089 不要62 (数位dp)
    食物链(带全并查集)
    docNet基础学完感想
    zoj 1081 (改进的弧长算法)(转)
    zoj 1962 How Many Fibs?(字符串化为数字处理)
    zoj 1109 zoj 1109 Language of FatMouse(字典树)
    iOS开发网络数据之AFNetworking使用
    iOS 使用AFNetworking
  • 原文地址:https://www.cnblogs.com/flyingcr/p/10326965.html
Copyright © 2020-2023  润新知