Impala安装错误问题
问题一.安装完成后启动Impala,impala-server启动失败
验证Impala启动结果
1 | ps -ef | grep impala |



缺少impala-server服务
查看错误日志
1 | [root@Linux123 ~]# cd /var/log/impala/ |


执行hdfs getconf 命令获取配置信息
1 | hdfs getconf -confKey dfs.datanode.hdfs-blocks-metadata.enabled |
jps输出发现DataNode未启动,一直处于安全模式中


查看DataNode日志
1 | [root@Linux121 ~]# cat /opt/lagou/servers/hadoop-2.9.2/logs/hadoop-root-datanode-Linux121.log |

发现问题: hadoop-hdfs 文件夹的拥有者并不是root

所有节点上把 hadoop-hdfs 文件夹拥有者变为root
1 | chown root /var/lib/hadoop-hdfs |
Hadoop集群重启
1 | stop-dfs.sh |
所有节点上重新启动impala-server
1 | service impala-server start |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 WeiJia_Rao!