apache impala启动报错

–>

1. could not init kerberos : Runtime error : unable to kinit:unable to login from keytab:Permission denied

此问题原因为:impala.keytab文件没有权限

解决办法:chown impala:impala impala.keytab; chmod 400 impala.keytab

2. Error: Couldn’t open transport for localhost:24000(No more data to read)

问题原因:/etc/default/impala配置问题

此三处配置都需添加:-state_store_host=${IMPALA_STATE_STORE_HOST},并且-state_store_host=${IMPALA_STATE_STORE_HOST}一定要在-state_store_port前面

3. Log file created at: 2019/10/15 02:16:04
Running on machine: sandbox-hdp.hortonworks.com
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E1015 02:16:04.451097  1540 logging.cc:147] stderr will be logged to this file.
Wrote minidump to /var/log/impala/minidumps/impalad/64e8661b-9661-44c2-113061a3-6116f4a7.dmp
could not find method getRootCauseMessage from class (null) with signature (Ljava/lang/Throwable;)Ljava/lang/String;
could not find method getStackTrace from class (null) with signature (Ljava/lang/Throwable;)Ljava/lang/String;
FileSystem: loadFileSystems failed error:
(unable to get root cause for java.lang.NoClassDefFoundError)
(unable to get stack trace for java.lang.NoClassDefFoundError)

错误原因:安装的impala为CDH版本的rpm包,/usr/lib/impala/lib下的带软连接的jar,没有找到

解决办法:需下载此impala统一文件夹下的所有hadoop,hbase,hive,sentry的rpm包(55-60个比较多),使用rpm2cpio rpmFileName.rpm | cpio -div

使用此命令解压所有rpm包,完成之后,在当前目录下会获取./usr/lib,讲此目录下的文件夹全都移动到/usr/lib,或者手动更改/usr/lib/impala/lib下的软连接,为刚解压的目录,链接两者的jar包即可

4. 执行impala-shell后,输入invalidate metadata;报错 Couldn’t open transport for localhost:26000(No more data to read)

解决办法:在/etc/default/impala中,三处配置都需添加-server_name=host1,并重启三大服务进程

本文来源 互联网收集,文章内容系作者个人观点,不代表 本站 对观点赞同或支持。如需转载,请注明文章来源,如您发现有涉嫌抄袭侵权的内容,请联系本站核实处理。

© 版权声明

相关文章