Skip to content

Instantly share code, notes, and snippets.

View wdberkeley's full-sized avatar

William Berkeley wdberkeley

View GitHub Profile
Master Summary
UUID | Address | Status
----------------------------------+----------------+---------
01082c8065ed42a2b86c911f9c5aedbb | localhost:7051 | HEALTHY
265e3d0b583049b5a3d1c5e96a5490cc | localhost:7052 | HEALTHY
f3635535846d438bbfb08dab505fb2fd | localhost:7053 | HEALTHY
Tablet Server Summary
UUID | Address | Location | Status
----------------------------------+----------------+----------+--------
@wdberkeley
wdberkeley / gist:ea27b06885138e8c80927759b31784b5
Created May 22, 2018 06:35
Sample parsed stacks from Kudu diagnostics logs
Stacks at 0314 11:54:20.737790 (periodic):
tids=[37480]
0x3f5ec0f710 <unknown>
0x3f5e8df0d3 <unknown>
0xa52153 <unknown>
0x3f5ec079d1 <unknown>
0x3f5e8e88fd <unknown>
tids=[37274]
0x3f5ec0f710 <unknown>
0x3f5e8e5159 <unknown>
$ bin/kudu cluster ksck localhost:7051,localhost:7052,localhost:7053 -ksck_format=json_compact
{"master_summaries":[{"uuid":"122aa63bcfdf4ee7894cf162bd4ac9b7","address":"localhost:7051","health":"HEALTHY","status":"OK"},{"uuid":"047d774069854b0a92d7ce2383e8703d","address":"localhost:7052","health":"HEALTHY","status":"OK"},{"uuid":"a23350bf9d78462a8c03e2cf9d04b963","address":"localhost:7053","health":"HEALTHY","status":"OK"}],"tserver_summaries":[{"uuid":"321077ab4e36480281237b99d1db3b40","address":"127.0.0.1:7050","health":"HEALTHY","status":"OK"},{"uuid":"2f4aeeb76e2d4b2abe714012026c140d","address":"127.0.0.1:7250","health":"HEALTHY","status":"OK"},{"uuid":"e62ebedf750a45e698e28c0af11a759d","address":"127.0.0.1:7150","health":"HEALTHY","status":"OK"}],"master_uuids":["122aa63bcfdf4ee7894cf162bd4ac9b7","047d774069854b0a92d7ce2383e8703d","a23350bf9d78462a8c03e2cf9d04b963"],"master_consensus_conflict":false,"master_consensus_states":[{"type":"COMMITTED","term":1,"opid_index":-1,"leader_uuid":"a23350bf9d78462a8c
{
"master_summaries": [
{
"uuid": "122aa63bcfdf4ee7894cf162bd4ac9b7",
"address": "localhost:7051",
"health": "HEALTHY",
"status": "OK"
},
{
"uuid": "047d774069854b0a92d7ce2383e8703d",
$ bin/kudu cluster ksck localhost:7051,localhost:7052,localhost:7053 -ksck_format=plain_full
Master Summary
UUID | Address | Status
----------------------------------+----------------+---------
047d774069854b0a92d7ce2383e8703d | localhost:7052 | HEALTHY
122aa63bcfdf4ee7894cf162bd4ac9b7 | localhost:7051 | HEALTHY
a23350bf9d78462a8c03e2cf9d04b963 | localhost:7053 | HEALTHY
All reported replicas are:
A = 122aa63bcfdf4ee7894cf162bd4ac9b7
B = 047d774069854b0a92d7ce2383e8703d
$ bin/kudu cluster ksck localhost:7051,localhost:7052,localhost:7053 -ksck_format=plain_concise
Master Summary
UUID | Address | Status
----------------------------------+----------------+---------
047d774069854b0a92d7ce2383e8703d | localhost:7052 | HEALTHY
122aa63bcfdf4ee7894cf162bd4ac9b7 | localhost:7051 | HEALTHY
a23350bf9d78462a8c03e2cf9d04b963 | localhost:7053 | HEALTHY
Tablet Server Summary
UUID | Address | Status
@wdberkeley
wdberkeley / ksck.json
Created May 4, 2018 19:36
ksck json output sample
{
"master_summaries": [
{
"uuid": "6b1bf54fa8c9415fa45ea371874ca247",
"address": "localhost:7051",
"health": "HEALTHY",
"status": "OK"
},
{
"uuid": "043941ad34d44a69a28a304f9cae0254",
@wdberkeley
wdberkeley / ksck_tserver_down
Created May 2, 2018 23:36
ksck json tserver down
{
"master_health": [
{
"uuid": "c78e5cede62f48bd9975cc27e0bd4870",
"address": "localhost:7051",
"health": "HEALTHY",
"status": "OK"
},
{
"uuid": "7b2c2970d9fa482c8ac7c06546b30323",
@wdberkeley
wdberkeley / ksck_one_table.json
Created May 2, 2018 23:35
ksck json one table
{
"master_health": [
{
"uuid": "c78e5cede62f48bd9975cc27e0bd4870",
"address": "localhost:7051",
"health": "HEALTHY",
"status": "OK"
},
{
"uuid": "7b2c2970d9fa482c8ac7c06546b30323",
@wdberkeley
wdberkeley / ksck_one_table.json
Created May 2, 2018 23:21
ksck json one table
$ bin/kudu cluster ksck -ksck_format=json localhost:7051,localhost:7052,localhost:7053
{
"master_health": [
{
"uuid": "c78e5cede62f48bd9975cc27e0bd4870",
"address": "localhost:7051",
"health": "HEALTHY",
"status": "OK"
},
{