Member since
07-10-2017
102
Posts
1
Kudos Received
3
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1391 | 11-07-2022 04:41 PM | |
3973 | 01-18-2022 04:15 PM | |
1354 | 09-21-2021 11:41 PM |
06-25-2024
04:16 PM
1 Kudo
The problem is from Master A (node02) as you can see A thinks there is no leader for this election even their election cycle is same (218). suggest you to check the Master log on A (node02) host to understand why A failed to elect a leader just like other nodes (B and C think that B is the leader) The consensus matrix is: Config source | Replicas | Current term | Config index | Committed? ---------------+--------------+--------------+--------------+------------ A | A B C | 218 | -1 | Yes B | A B* C | 218 | -1 | Yes C | A B* C | 218 | -1 | Yes
... View more
11-21-2023
04:22 PM
not sure how you run this issue, as you mentioned that you have set the "--rpc_max_message_size" to 128M (default is 50M), Can you check if you have restarted your Kudu Tservers after you changed to 128M? Try to check this flag runtime value from Tserver UI flags page. https://kudu.apache.org/docs/configuration_reference.html#kudu-master_rpc_max_message_size
... View more
11-07-2022
04:41 PM
By default, only 60 tablets (partitions) can be created at table creation time. See the following limitation: https://kudu.apache.org/docs/known_issues.html#_scale But you can add any number of tablets later on by adding range partitions once a table is created. (hash partitions will not be allowed to add after table creation) so you can not create 120 partition during table creation, but since you need hash partition, so I suggest you create 20 range partition multipled with 3 hash partition (need to use primary key columns for hash partition), so in this way, you create a 60 tablets table, then after table creation, you can add more range partition by using "alter table" command from impala. For the question about the number of hash partitions for a kudu table, there is no such formula, the purpose of hash parittion is just try to distribute rows by hash value and spread writes randomly among tablets, which helps mitigate hot-spotting and uneven tablet sizes.
... View more
01-18-2022
04:15 PM
apparently, you have mismatch UUIDs for the 'master3.com' peers { permanent_uuid: "8be74245ecaf4b5baf18b24dbc730922" member_type: VOTER last_known_addr { host: "master3.com" port: 7051 } } as I can not see this UUID in consensus matrix A = 865af50ae13e4cfagh5719b865d6716a
B = c8d59ba15dbb4578900f597bb48bd9e0
C = 8be74245ecaf4b5baf18b24dbc7318ea so what you can do now is to manually modify the consensus metadata on this 'B' host, so you need to stop this Kudu master role on 'B' host, then locate the directory - 'consensus-meta' on this host (this folder could be either under the directory of 'fs_wal_dir' , or the first disk of 'fs_data_dirs'), then you will use "kudu pbc dump 00000000000000000000000000000000" to check the all peers UUID, and I believe you will see the same wrong UUID - '8be74245ecaf4b5baf18b24dbc730922' in the output. The actions you can take is to backup this 00000000000000000000000000000000 file, and use 'kudu pbc edit 00000000000000000000000000000000' to change the wrong UUID to '8be74245ecaf4b5baf18b24dbc7318ea' (the data displayed in "kudu pbc edit' is encoded UUID string, so you may want to check other 2 Master hosts to get the encoded UUID string. after above, then you restart this master to see if this issue can be fixed.
... View more
01-17-2022
10:57 PM
Thanks, so the matrix shows that both 'A' and 'C' think the leader master is 'A', But 'B' thinks no leader master So you may want to check the master log on 'B' host to figure out why it failed to vote a leader in election cycle.
... View more
01-17-2022
09:59 PM
Can you attach the full ksck report for review? is there any consensus matrix shown in ksck report?
... View more
09-21-2021
11:41 PM
From the error you provided, it looks more like you have ingested data (from oracle) of type string, but want to insert it into a column defined as a varchar. It's not that kudu doesn't accept varchar types, it's that the data itself is not a varchar type
... View more