Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Create table using Impala-Kudu fails

Create table using Impala-Kudu fails

New Contributor

Hi,

    I have installed the impala_kudu package along with a separate kudu installation. From the impala-shell when I try to create a table in kudu using : 

 

CREATE TABLE test_table (id INT , name STRING)
TBLPROPERTIES(
'storage_handler' = 'com.cloudera.kudu.hive.KuduStorageHandler',
'kudu.table_name' = 'test_table',
'kudu.master_addresses' = "<master>:7051",
'kudu.key_columns' = 'id');

 

where master" is the rpc host retrieved from the kudu UI, it fails with the following error :

ERROR:
ImpalaRuntimeException: Error creating Kudu table
CAUSED BY: NonRecoverableException: Too many attempts: KuduRpc(method=ListTables, tablet=null, attempt=6, DeadlineTracker(timeout=10000, elapsed=7687), Deferred@1998264283(state=PENDING, result=null, callback=(continuation of Deferred@1089030192 after retry RPC after error@1185318096) -> (continuation of Deferred@952010135 after retry RPC after error@389343380) -> (continuation of Deferred@488016522 after retry RPC after error@1877220860) -> (continuation of Deferred@599437226 after retry RPC after error@326800129) -> (continuation of Deferred@974199102 after retry RPC after error@1976957053), errback=(continuation of Deferred@1089030192 after retry RPC after error@1185318096) -> (continuation of Deferred@952010135 after retry RPC after error@389343380) -> (continuation of Deferred@488016522 after retry RPC after error@1877220860) -> (continuation of Deferred@599437226 after retry RPC after error@326800129) -> (continuation of Deferred@974199102 after retry RPC after error@1976957053)))
CAUSED BY: NoLeaderMasterFoundException: 

Exceptions received: org.kududb.client.ConnectionResetException

 

I even substituted 'kudu_master_addresses' with values like localhost:7051 and the IP of the machine but it gave the same exception every time.

 

In addition, the kudu logs show another error that reads "Failed RPC Negotiation. Negotiation complete: Network error: Server connection negotiation failed."

 

Could someone please help with notifying me of what could be going wrong.

 

Regards,

Praneetha

2 REPLIES 2
Highlighted

Re: Create table using Impala-Kudu fails

Guru
This sounds like Kudu issue to me, that no leaders were found.

I suggest you to post another thread under Kudu topic to get better help.

Re: Create table using Impala-Kudu fails

Contributor

This error message suggests that the impalad you're using via impala-shell can't communicate with the Kudu master. Double check that the Kudu service is up and running, and that you can connect to the master from that impalad's machine.

 

That said, what version of CDH are you using? impala-kudu is very old at this point; if you're using CDH 5.10 or later you should use the regular Impala packages that are part of CDH.