Create Table Failed
W0106 18:18:54.640544 368440 negotiation.cc:307]
Unauthorized connection attempt: Server connection negotiation failed: server
connection from 172.136.38.157:35678: unauthenticated connections from publicly
routable IPs are prohibited. See --trusted_subnets flag for more information.:
172.136.38.157:35678
After setting up kudu, we can enable it to work with Impala.We, can check the cluster status -
kudu cluster ksck <master>
The cluster doesn't have any matching tables
==================
Errors:
==================
error
fetching info from tablet servers: Not found: No tablet servers found
FAILED
--
Also,
tablet Server UI is not opening.
Kudu Service Advanced Configuration Snippet (Safety Valve) for gflagfile Kudu (Service-Wide)
--trusted_subnets=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,169.254.0.0/16,172.136.38.0/24,X.X.X.0/24
Bounce the Kudu service -
refer - https://community.cloudera.com/t5/Support-Questions/Tablet-servers-failed-to-heartbeat-to-master-of-Kudu-1-4-0/td-p/57587
Verification-
Execute following commands from Impala -
CREATE TABLE `my_first_table` ( `id` BIGINT PRIMARY KEY, `name`
STRING ) PARTITION BY HASH(id) PARTITIONS 2 STORED AS KUDU TBLPROPERTIES
('kudu.num_tablet_replicas' = '1');
insert into my_first_table select 2 id , 'Ganesh' name from
invoice_headers limit 1;
select * from my_first_table;
Comments
Post a Comment