解决方法:
问题1::空间不足
解决办法:在执行hive语句前加上
set mapreduce.map.memory.mb=1025;
set mapreduce.reduce.memory.mb=1025;
只要大于1024,hive默认分配的内存分大一倍,也就是2048M
问题2:System times on machines may be out of sync. Check system time and time zone
解决办法:
1、3台安装ntpdate工具
yum -y install ntp ntpdate
2、3台设置系统时间与网络时间同步
ntpdate cn.pool.ntp.org