hadoop: unable to create new native thread

1.系统环境

CentOS6.4 Hadoop0.20.2  伪分布式

2.问题描述

在执行MapReduce程序时,在控制台出现unable to create new native thread。查看datanode日志其错误信息如下:

ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: DatanodeRegistration(127.0.0.1:50010, storageID=DS-1204083579-127.0.0.1-50010-1395973569073, infoPort=50075, ipcPort=50020):DataXceiver
java.io.EOFException: while trying to read 65557 bytes

3.解决方法

In certain recent Linux distributions (like RHEL v6.x/CentOS v6.x), the default value of nproc is lower than the value required if you are deploying the HBase service. To change this value:

  1. Using a text editor, open /etc/security/limits.d/90-nproc.confand change the nproc limit to approximately 32000.

  2. Restart the Hadoop.

修改前nproc的值


修改后nproc的值





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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值