Centos7.x 安装 CDH 6.x

前置条件

  1. ntp服务安装
  2. 防火墙关闭

执行以下优化代码

echo  "* soft    nofile  128000" >>/etc/security/limits.conf 
echo  "* hard    nofile  128000" >>/etc/security/limits.conf 
echo  "* soft    nproc  128000" >>/etc/security/limits.conf 
echo  "* hard    nproc  128000" >>/etc/security/limits.conf 
cat /etc/security/limits.conf
sed -i 's/4096/unlimited/' /etc/security/limits.d/20-nproc.conf
cat /etc/security/limits.d/20-nproc.conf
sed -i 's/4096/unlimited/' /etc/security/limits.d/90-nproc.conf
cat /etc/security/limits.d/90-nproc.conf
ulimit -SHn 128000
ulimit -SHu 128000

echo  "vm.swappiness=10" >>/etc/sysctl.conf
sysctl -p
sysctl -a|grep swappiness
echo  "net.core.somaxconn = 32768 " >>/etc/sysctl.conf
sysctl -p
sysctl -a|grep somaxconn

 

CDH6.2 下载信息

https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_cdh_62_download.html
yu

猜你喜欢

转载自blog.csdn.net/zhangshenghang/article/details/100182380