2017-06-27 36 views
0

当前我在启动Impala群集时遇到以下错误。 命令:启动群集时出错:目录在预期时间段内未初始化

$ ./start-impala-cluster.py --verbose 

输出:

... 
Waiting for Catalog... Status: 1 DBs/0 tables (ready=False) 
Waiting for Catalog... Status: 1 DBs/0 tables (ready=False) 
Error starting cluster: Catalog was not initialized in expected time period. 

当我打开start-implaa-cluster.py,为 'catalog.num桌' 的度量值是始终为零。我能否知道我该如何深入研究并解决问题?

我提到 “构建黑斑羚” 文件:https://cwiki.apache.org/confluence/display/IMPALA/Building+Impala

我使用CentOS的7现在。

感谢, Jinchul

回答

1

我找到了一个解决方案通过自己:)

目录信息应与蜂巢Metastore对齐。这意味着Impala可能无法连接Hive Metastore。我可以从$ {IMPALA_HOME}/logs/cluster下的日志文件中找到线索。

至于配置文件,

  • 检查/ etc /黑斑羚/ conf目录,如果你通过CDH安装帕拉。
  • 如果使用源代码构建并安装Impala,请检查$ {IMPALA_HOME}/fe/src/test/resoucers。

对于您的信息,Cloudera Impala用户指南肯定给了我很好的建议,以了解它如何工作。请参考链接或不与关键字{Cloudera公司+黑斑羚+ PDF}

https://www.cloudera.com/documentation/enterprise/5-5-x/PDF/cloudera-impala.pdf

感谢, Jinchul

谷歌搜索