赞
踩
在执行hive sql命令时报错
Diagnostic Messages for this Task:
Container launch failed for container_1487750980920_0003_01_000006 : org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container.首先选择一部机器开启ntpd服务,并关闭防火墙,hadoop其它节点运行 ntpdate命令同步时钟,问题解决
运行hive 为什么会对时钟有要求呢?其它方法也可以试试
在每台服务器上执行:ntpdate asia.pool.ntp.org 同步所有的服务器的时间
设置参数set hive.exec.parallel=true;
解释:同一个sql中的不同的job是否可以同时运行,默认为false:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。