救命啊,
当我尝试执行hiveql命令时(两个字段的类型都是int):
select cited3, count(citing)
from cite2
group by cited3;
我收到消息:
作业提交失败,出现异常“java.net.connectexception”(从ubuntu/127.0.1.1调用0.0.0:8032连接失败异常:java.net.connectexception:连接被拒绝;有关详细信息,请参阅:http://wiki.apache.org/hadoop/connectionrefused)'失败:执行错误,从org.apache.hadoop.hive.ql.exec.mr.mapredtask返回代码1
我通过命令授予所有表的权限: bin/hdfs dfs -chmod 777 /user*
但它没有帮助,另一个配置单元命令,如(create table,select*from)正在工作
请帮帮我
1条答案
按热度按时间7qhs6swi1#
配置单元聚合函数在后台运行mapreduce,从错误日志中可以看出主节点(namenode)已关闭。但是create table语句不执行任何mapreduce。它将元数据存储在hivemetastore中,这似乎是可行的。