Reply
New Contributor
Posts: 2
Registered: ‎06-30-2017

Kudu fails to create a table

I hava install kudu service,

later I install impala-kudu service

 

[hdfs@bigdata01 ~]$ /opt/cloudera/parcels/IMPALA_KUDU-2.3.0-1.cdh5.5.0.p0.27/bin/impala-shell
Server version: impalad version 2.3.0-IMPALA_KUDU-cdh5 RELEASE (build
[bigdata01.hadoop.ps:21000] > select if(version() like '%KUDU%', "all set to go!", "check your configs")
as s;
Query: select if(version() like '%KUDU%', "all set to go!", "check your configs") as s
+----------------+
| s |
+----------------+
| all set to go! |
+----------------+

 

[bigdata01.hadoop.ps:21000] > create EXTERNAL TABLE user5 (
`user_name` STRING,
`user_password` STRING,
`user_email` STRING
)
TBLPROPERTIES(
'storage_handler' = 'com.cloudera.kudu.hive.KuduStorageHandler',
'kudu.table_name' = 'user5',
'kudu.master_addresses' = 'solr01.hadoop.ps:7051',
'kudu.key_columns' = 'user_name'
);
Query: create EXTERNAL TABLE user5 (
`user_name` STRING,
`user_password` STRING,
`user_email` STRING
)
TBLPROPERTIES(
'storage_handler' = 'com.cloudera.kudu.hive.KuduStorageHandler',
'kudu.table_name' = 'user5',
'kudu.master_addresses' = 'solr01.hadoop.ps:7051',
'kudu.key_columns' = 'user_name'
)
ERROR:
ImpalaRuntimeException: Error creating Kudu table
CAUSED BY: NonRecoverableException: Too many attempts: KuduRpc(method=ListTables, tablet=null, attempt=6, DeadlineTracker(timeout=10000, elapsed=7749), Deferred@134727392(state=PENDING, result=null, callback=(continuation of Deferred@1300043650 after retry RPC after error@1078978369) -> (continuation of Deferred@978279201 after retry RPC after error@206158414) -> (continuation of Deferred@690842946 after retry RPC after error@375911113) -> (continuation of Deferred@1446065527 after retry RPC after error@392920629) -> (continuation of Deferred@1433290471 after retry RPC after error@2092304185), errback=(continuation of Deferred@1300043650 after retry RPC after error@1078978369) -> (continuation of Deferred@978279201 after retry RPC after error@206158414) -> (continuation of Deferred@690842946 after retry RPC after error@375911113) -> (continuation of Deferred@1446065527 after retry RPC after error@392920629) -> (continuation of Deferred@1433290471 after retry RPC after error@2092304185)))
CAUSED BY: NoLeaderMasterFoundException: Master config (solr01.hadoop.ps:7051) has no leader.. Exceptions received: org.kududb.client.ConnectionResetException: [Peer Kudu Master - solr01.hadoop.ps:7051] Connection reset on [id: 0xb3f4012c, /10.76.86.61:49074 :> /10.76.86.11:7051]
CAUSED BY: ConnectionResetException: [Peer Kudu Master - solr01.hadoop.ps:7051] Connection reset on [id: 0xb3f4012c, /10.76.86.61:49074 :> /10.76.86.11:7051]

 

kudu service  was responding, Why ?
 

Highlighted
Champion
Posts: 543
Registered: ‎05-16-2016

Re: Kudu fails to create a table

[ Edited ]

Also check the status of the Master Instance .

 

if you are using default RPC address port 7051 . Just run the same command with just the master name on em

 

'kudu.master_addresses' = 'solr01.hadoop.ps'

let me know if that works

Cloudera Employee
Posts: 46
Registered: ‎02-05-2016

Re: Kudu fails to create a table

Not sure if you've resolved your problem or not, but as a general note, you're using a very old version of Impala, and that version may have interoperability problems with a modern Kudu.

 

It'd be best if you switched to Kudu and Impala from CDH 5.10 or newer. Beginning with CDH 5.10 the special "Impala-Kudu" release of Impala no longer exists as regular CDH Impala can interoperate with Kudu.

Announcements