1、centos6 yum源失效解决方案
下载使用阿里的云仓库
curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo
清理和构建新缓存
yum clean all yum makecache
jdk和hadoop环境变量的配置
sudo vim /etc/profile
source /etc/profile