impala集成kudu问题,求解决方法。急,在线等!

fhs0802 2017-11-01 02:20:07
【现象】
[root@xardc2 ~]# impala-shell
Starting Impala Shell without Kerberos authentication
Connected to xardc2:21000
Server version: impalad version 2.3.0-IMPALA_KUDU-cdh5 RELEASE (build 6b0b0c08de605a907c659f0c0f8bbadae9a40825)
Welcome to the Impala shell. Press TAB twice to see a list of available commands.

Copyright (c) 2012 Cloudera, Inc. All rights reserved.

(Shell build version: Impala Shell v2.3.0-IMPALA_KUDU-cdh5 (6b0b0c0) built on Fri Sep 25 23:16:32 PDT 2015)
[xardc2:21000] > use test_kudu;
Query: use test_kudu
[xardc2:21000] > show tables ;
Query: show tables
+------------+
| name |
+------------+
| test_tab_1 |
| test_tab_2 |
| test_tab_3 |
+------------+
Fetched 3 row(s) in 0.01s
[xardc2:21000] > create table testtable1(
> uuid string,
> number int,
> name string,
> sex string
> )
> TBLPROPERTIES(
> 'storage_handler' = 'com.cloudera.kudu.hive.KuduStorageHandler',
> 'kudu.table_name' = 'testtable1',
> 'kudu.master_addresses' = 'xardc3:7051',
> 'kudu.key_columns' = 'uuid',
> 'kudu.num_tablet_replicas' = '1',
> 'EXTERNAL' = 'FLASE'
> );
Query: create table testtable1(
uuid string,
number int,
name string,
sex string
)
TBLPROPERTIES(
'storage_handler' = 'com.cloudera.kudu.hive.KuduStorageHandler',
'kudu.table_name' = 'testtable1',
'kudu.master_addresses' = 'xardc3:7051',
'kudu.key_columns' = 'uuid',
'kudu.num_tablet_replicas' = '1',
'EXTERNAL' = 'FLASE'
)
ERROR:
[color=#FF0000]ImpalaRuntimeException: Error creating Kudu table
CAUSED BY: NonRecoverableException: Too many attempts: KuduRpc(method=ListTables, tablet=null, attempt=6, DeadlineTracker(timeout=10000, elapsed=7733), Deferred@1503175714(state=PENDING, result=null, callback=(continuation of Deferred@876601890 after retry RPC after error@1310146810) -> (continuation of Deferred@1487602979 after retry RPC after error@1138649679) -> (continuation of Deferred@1058376536 after retry RPC after error@527392451) -> (continuation of Deferred@1219912788 after retry RPC after error@1047850007) -> (continuation of Deferred@1849162249 after retry RPC after error@486579559), errback=(continuation of Deferred@876601890 after retry RPC after error@1310146810) -> (continuation of Deferred@1487602979 after retry RPC after error@1138649679) -> (continuation of Deferred@1058376536 after retry RPC after error@527392451) -> (continuation of Deferred@1219912788 after retry RPC after error@1047850007) -> (continuation of Deferred@1849162249 after retry RPC after error@486579559)))
CAUSED BY: NoLeaderMasterFoundException: Master config (xardc3:7051) has no leader.. Exceptions received: org.kududb.client.ConnectionResetException: [Peer Kudu Master - xardc3:7051] Connection reset on [id: 0xa78dd118, /172.21.3.65:49900 :> /172.21.3.66:7051]
CAUSED BY: ConnectionResetException: [Peer Kudu Master - xardc3:7051] Connection reset on [id: 0xa78dd118, /172.21.3.65:49900 :> /172.21.3.66:7051]
[/color]

【日志】
kudu-master:
W1101 14:13:57.961187 25325 negotiation.cc:303] Failed RPC negotiation. Trace:
1101 14:13:57.955840 (+ 0us) reactor.cc:446] Submitting negotiation task for server connection from 172.21.3.65:49900
1101 14:13:57.956031 (+ 191us) server_negotiation.cc:167] Beginning negotiation
1101 14:13:57.956036 (+ 5us) server_negotiation.cc:355] Waiting for connection header
1101 14:13:57.956775 (+ 739us) server_negotiation.cc:363] Connection header received
1101 14:13:57.957462 (+ 687us) server_negotiation.cc:319] Received NEGOTIATE NegotiatePB request
1101 14:13:57.957466 (+ 4us) server_negotiation.cc:404] Received NEGOTIATE request from client
1101 14:13:57.957487 (+ 21us) server_negotiation.cc:331] Sending NEGOTIATE NegotiatePB response
1101 14:13:57.957547 (+ 60us) server_negotiation.cc:188] Negotiated authn=SASL
1101 14:13:57.960893 (+ 3346us) negotiation.cc:294] Negotiation complete: Network error: Server connection negotiation failed: server connection from 172.21.3.65:49900: BlockingRecv error: Recv() got EOF from remote (error 108)
Metrics: {"negotiator.queue_time_us":139,"thread_start_us":123,"threads_started":1}

【补充说明】
kudu是1.4.0版本
impala是2.3.0版本
...全文
4198 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
萝卜鸭 2018-01-31
  • 打赏
  • 举报
回复
你解决了没?什么原因? 我用kudu 1.4 也有这个问题,后来换成kudu 1.3就好了。
forever_shine 2017-12-06
  • 打赏
  • 举报
回复
你解决了没?什么原因?
手把手视频详细讲解项目开发全过程,需要的小伙伴自行百度网盘下载,链接见附件,永久有效。 课程简介 从零开始讲解大数据列式存储NoSQL数据库Kudu,基于Kudu构建高性能随机读写访问的数据存储系统,原理从入门到深入,搞定面试 课程亮点 1,知识体系完备,从小白到大神各阶段读者均能学有所获。 2,生动形象,化繁为简,讲解通俗易懂。 3,结合工作实践及分析应用,培养解决实际问题的能力。 4,每一块知识点, 都有配套案例, 学习不再迷茫。 适用人群 1、对大数据感兴趣的在校生及应届毕业生。 2、对目前职业有进一步提升要,希望从事大数据行业高薪工作的在职人员。 3、对大数据行业感兴趣的相关人员。 课程内容 第一章:NoSQL数据库应用 1.NoSQL的应用及其发展 2.常见NoSQL数据库及应用场景 第二章:Kudu原理详解 1.Kudu的介绍及其发展 2.Kudu的设计思想 3.Kudu与Hbase对比 4.Kudu的分布式架构模型 5.Kudu中的特殊概念 6.Kudu的存储模型 第三章:Kudu的分布式环境部署 1.Cloudera Yum镜像配置 2.企业级分布式集群规划 3.企业级分布式计算安装 4.企业级集群管理配置 5.Kudu分布式集群管理 第四章:Kudu开发实战 1.Kudu Java API开发实战 2.Kudu分区器策略详解 3.Spark集成Kudu实战案例 4.Impala集成Kudu实战案例 第五章:Kudu原理深入搞定面试题 1.Table与Schema原理分析 2.Kudu数据模型分析 3.Kudu数据存储流程 4.Kudu数据读取流程 5.Kudu数据更新流程

2,208

社区成员

发帖
与我相关
我的任务
社区描述
其他数据库开发 其他数据库
社区管理员
  • 其他数据库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧