[ 
https://issues.apache.org/jira/browse/KUDU-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Hofsteede updated KUDU-2294:
---------------------------------
    Description: 
When connecting to Kudu from Impala (impalad version 2.8.0-cdh5.11.1) I am able 
to successfully use DDL queries to create tables in Impala backed by Kudu. eg:
{code:java}
CREATE TABLE test_kudu (id BIGINT, name STRING, PRIMARY KEY (id)) PARTITION BY 
HASH (id) PARTITIONS 2 STORED AS KUDU TBLPROPERTIES ('kudu.table_name' = 
'test_kudu', 'kudu.master_addresses' = '172.19.42.1',  
'kudu.num_tablet_replicas' = '1' );
{code}
This successfully creates the table in Kudu, However when I try and query this 
table, I get this error in the impala shell:
{code:java}
[88b9db42e0f5:21000] > SELECT * FROM test_kudu; 
Query: select * FROM test_kudu Query submitted at: 2018-02-09 00:21:35 
(Coordinator: http://88b9db42e0f5:25000) Query progress can be monitored at: 
http://88b9db42e0f5:25000/query_plan?query_id=2d4d36eb33927a47:a126dfb200000000 
WARNINGS: Unable to create Kudu client: Invalid argument: Could not connect to 
the cluster: Client connection negotiation failed: client connection to 
172.19.42.1:7051: unable to find SASL plugin: PLAIN
{code}
In Kudu logs I see:
{code:java}
W0209 00:37:16.345537 18193 negotiation.cc:300] Failed RPC negotiation. Trace: 
0209 00:37:16.345315 (+ 0us) reactor.cc:446] Submitting negotiation task for 
server connection from 172.19.0.3:34712 0209 00:37:16.345364 (+ 49us) 
server_negotiation.cc:167] Beginning negotiation 0209 00:37:16.345365 (+ 1us) 
server_negotiation.cc:355] Waiting for connection header 0209 00:37:16.345494 
(+ 129us) negotiation.cc:291] Negotiation complete: Network error: Server 
connection negotiation failed: server connection from 172.19.0.3:34712: 
BlockingRecv error: Recv() got EOF from remote (error 108)
{code}
 Sometimes the negotiation proceeds further, but never successfully completes 
and always ends with the same EOF error.

  was:
When connecting to Kudu from Impala (impalad version 2.8.0-cdh5.11.1) I am able 
to successfully use DDL queries to create tables in Impala backed by Kudu. eg:
{code:java}
CREATE TABLE test_kudu (id BIGINT, name STRING, PRIMARY KEY (id)) PARTITION BY 
HASH (id) PARTITIONS 2 STORED AS KUDU TBLPROPERTIES ('kudu.table_name' = 
'test_kudu', 'kudu.master_addresses' = '172.19.42.1',  
'kudu.num_tablet_replicas' = '1' );
{code}
This successfully creates the table in Kudu, However when I try and query this 
table, I get this error in the impala shell:
{code:java}
[88b9db42e0f5:21000] > SELECT * FROM test_kudu; 
Query: select * FROM test_kudu Query submitted at: 2018-02-09 00:21:35 
(Coordinator: http://88b9db42e0f5:25000) Query progress can be monitored at: 
http://88b9db42e0f5:25000/query_plan?query_id=2d4d36eb33927a47:a126dfb200000000 
WARNINGS: Unable to create Kudu client: Invalid argument: Could not connect to 
the cluster: Client connection negotiation failed: client connection to 
172.19.42.1:7051: unable to find SASL plugin: PLAIN
{code}
In Kudu logs I see:
{code:java}
W0209 00:37:16.345537 18193 negotiation.cc:300] Failed RPC negotiation. Trace: 
0209 00:37:16.345315 (+ 0us) reactor.cc:446] Submitting negotiation task for 
server connection from 172.19.0.3:34712 0209 00:37:16.345364 (+ 49us) 
server_negotiation.cc:167] Beginning negotiation 0209 00:37:16.345365 (+ 1us) 
server_negotiation.cc:355] Waiting for connection header 0209 00:37:16.345494 
(+ 129us) negotiation.cc:291] Negotiation complete: Network error: Server 
connection negotiation failed: server connection from 172.19.0.3:34712: 
BlockingRecv error: Recv() got EOF from remote (error 108)
{code}
 


> RPC negotiation from Impala to Kudu fails
> -----------------------------------------
>
>                 Key: KUDU-2294
>                 URL: https://issues.apache.org/jira/browse/KUDU-2294
>             Project: Kudu
>          Issue Type: Bug
>          Components: impala
>    Affects Versions: 1.4.0
>         Environment: 4.4.0-72-generic #93~14.04.1-Ubuntu
>            Reporter: Alex Hofsteede
>            Priority: Minor
>
> When connecting to Kudu from Impala (impalad version 2.8.0-cdh5.11.1) I am 
> able to successfully use DDL queries to create tables in Impala backed by 
> Kudu. eg:
> {code:java}
> CREATE TABLE test_kudu (id BIGINT, name STRING, PRIMARY KEY (id)) PARTITION 
> BY HASH (id) PARTITIONS 2 STORED AS KUDU TBLPROPERTIES ('kudu.table_name' = 
> 'test_kudu', 'kudu.master_addresses' = '172.19.42.1',  
> 'kudu.num_tablet_replicas' = '1' );
> {code}
> This successfully creates the table in Kudu, However when I try and query 
> this table, I get this error in the impala shell:
> {code:java}
> [88b9db42e0f5:21000] > SELECT * FROM test_kudu; 
> Query: select * FROM test_kudu Query submitted at: 2018-02-09 00:21:35 
> (Coordinator: http://88b9db42e0f5:25000) Query progress can be monitored at: 
> http://88b9db42e0f5:25000/query_plan?query_id=2d4d36eb33927a47:a126dfb200000000
>  WARNINGS: Unable to create Kudu client: Invalid argument: Could not connect 
> to the cluster: Client connection negotiation failed: client connection to 
> 172.19.42.1:7051: unable to find SASL plugin: PLAIN
> {code}
> In Kudu logs I see:
> {code:java}
> W0209 00:37:16.345537 18193 negotiation.cc:300] Failed RPC negotiation. 
> Trace: 0209 00:37:16.345315 (+ 0us) reactor.cc:446] Submitting negotiation 
> task for server connection from 172.19.0.3:34712 0209 00:37:16.345364 (+ 
> 49us) server_negotiation.cc:167] Beginning negotiation 0209 00:37:16.345365 
> (+ 1us) server_negotiation.cc:355] Waiting for connection header 0209 
> 00:37:16.345494 (+ 129us) negotiation.cc:291] Negotiation complete: Network 
> error: Server connection negotiation failed: server connection from 
> 172.19.0.3:34712: BlockingRecv error: Recv() got EOF from remote (error 108)
> {code}
>  Sometimes the negotiation proceeds further, but never successfully completes 
> and always ends with the same EOF error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to