hadoop卡在这一动不动

结果如下:

19/03/05 22:19:20 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
19/03/05 22:19:21 INFO client.RMProxy: Connecting to ResourceManager at hadoop001/127.0.0.1:8032
19/03/05 22:19:22 INFO input.FileInputFormat: Total input paths to process : 1
19/03/05 22:19:22 INFO mapreduce.JobSubmitter: number of splits:1
19/03/05 22:19:22 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1551795550448_0001
19/03/05 22:19:23 INFO impl.YarnClientImpl: Submitted application application_1551795550448_0001
19/03/05 22:19:23 INFO mapreduce.Job: The url to track the job: http://localhost:8088/proxy/application_1551795550448_0001/
19/03/05 22:19:23 INFO mapreduce.Job: Running job: job_1551795550448_0001

注意倒数第二行,The url to track the job: 

应该是没有工作这个链接

后来看到这篇文章,真是神来之笔,我看到了那么多屁用没有

https://blog.csdn.net/chenjiale0102/article/details/78820302

修改一下mapred-site.xml

终于运行成功开心

    Map-Reduce Framework
        Map input records=4
        Map output records=6
        Map output bytes=67
        Map output materialized bytes=71
        Input split bytes=114
        Combine input records=6
        Combine output records=5
        Reduce input groups=5
        Reduce shuffle bytes=71
        Reduce input records=5
        Reduce output records=5
        Spilled Records=10
        Shuffled Maps =1
        Failed Shuffles=0
        Merged Map outputs=1
        GC time elapsed (ms)=0
        Total committed heap usage (bytes)=548405248
    Shuffle Errors
        BAD_ID=0
        CONNECTION=0
        IO_ERROR=0
        WRONG_LENGTH=0
        WRONG_MAP=0
        WRONG_REDUCE=0
    File Input Format Counters 
        Bytes Read=43
    File Output Format Counters 
        Bytes Written=45
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值