/root @ xardc2 ~ # impala - shell
Starting Impala Shell with Kerberos authentication
Connected to xardc2:21000
Server version: impalad version 2.3.0 IMPALA_KUDU - cdh5 RELEASE 6 b0b0c08de605a907c659f0c0f8bbadae9a40825 (build)
Welcome to the Impala shell. Press TAB twice to see a list of the available commands.
Copyright (c) 2012 Cloudera, Inc. All rights reserved.
(Shell build version: Impala Shell v2.3.0 IMPALA_KUDU - cdh5 b0b0c0 (6) built on Fri Sep 25 23:16:32 PDT 2015)
[xardc2:21000] & gt; Use test_kudu;
Query: use test_kudu
[xardc2:21000] & gt; show tables ;
Query: show tables
+ -- -- -- -- -- -- -- -- -- -- -- -- +
| name |
+ -- -- -- -- -- -- -- -- -- -- -- -- +
| test_tab_1 |
| test_tab_2 |
| test_tab_3 |
+ -- -- -- -- -- -- -- -- -- -- -- -- +
Fetched 3 row (s) in 0.01 s
[xardc2:21000] & gt; The create table testtable1 (
Uuid string,
Number int,
The 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,
The 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
Under 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) - & gt; RPC (continuation of Deferred @ 1487602979 after retry after error @ 1138649679) - & gt; RPC (continuation of Deferred @ 1058376536 after retry after error @ 527392451) - & gt; RPC (continuation of Deferred @ 1219912788 after retry after error @ 1047850007) - & gt; RPC (continuation of Deferred @ 1849162249 after retry after error @ 486579559), errback=(continuation of Deferred @ 876601890 after retry RPC after error @ 1310146810) - & gt; RPC (continuation of Deferred @ 1487602979 after retry after error @ 1138649679) - & gt; RPC (continuation of Deferred @ 1058376536 after retry after error @ 527392451) - & gt; RPC (continuation of Deferred @ 1219912788 after retry after error @ 1047850007) - & gt; RPC (continuation of Deferred @ 1849162249 after retry after error @ 486579559)))
Under 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: 0 xa78dd118,/172.21.3.65:49900: & gt;/172.21.3.66:7051]
Under CAUSED BY: ConnectionResetException: [Peer Kudu Master - xardc3:7051] Connection reset on [id: 0 xa78dd118,/172.21.3.65:49900: & gt;/172.21.3.66:7051]
[/color]
[logging]
Kudu - master:
W1101 14:13:57. 961187 25325 negotiation. Cc: 303] Failed RPC negotiation. Trace:
1101 14:13:57. 955840 (+ 0 us) reactor. The cc: 446] date negotiation task for server connection from 172.21.3.65:49900
1101 14:13:57. 956031 (191 us) + server_negotiation. Cc: 167] Beginning negotiation
1101 14:13:57. 956036 (+ 5 us) server_negotiation. Cc: 355] Waiting for connection header
1101 14:13:57. 956775 (739 us) + server_negotiation. Cc: 363] the Connection header received
1101 14:13:57. 957462 (687 us) + server_negotiation. Cc: 319] Received NEGOTIATE NegotiatePB request
1101 14:13:57. 957466 + 4 (us) server_negotiation. Cc: 404] Received NEGOTIATE request from the client
1101 14:13:57. 957487 (+ 21 us) server_negotiation. Cc: 331] Sending NEGOTIATE NegotiatePB response
1101 14:13:57. 957547 (+ 60 us) server_negotiation. Cc: 188] Negotiated authn=SASL
1101 14:13:57. 960893 (3346 us) + negotiation. The cc: 294] negotiation complete: Network error: Server connection negotiation failed: the Server connection from 172.21.3.65:49900: BlockingRecv error: Recv () got EOF the from remote (error 108)
Metrics: {" negotiator. Queue_time_us: "139," thread_start_us: "123," threads_started ": 1}
[added]
Kudu is 1.4.0 version
Impala is 2.3.0 version
CodePudding user response:
Did you solve? What reason?CodePudding user response:
Did you solve? What reason?I use kudu 1.4 also have this problem, then switch to kudu 1.3,