Skip to content

Instantly share code, notes, and snippets.

@wdberkeley
Created May 2, 2018 23:19
Show Gist options
  • Save wdberkeley/150641738a46fa8f11073784d9d6291f to your computer and use it in GitHub Desktop.
Save wdberkeley/150641738a46fa8f11073784d9d6291f to your computer and use it in GitHub Desktop.
ksck json no tables
$ bin/kudu cluster ksck -ksck_format=json localhost:7051,localhost:7052,localhost:7053
{
"master_health": [
{
"uuid": "c78e5cede62f48bd9975cc27e0bd4870",
"address": "localhost:7051",
"health": "HEALTHY",
"status": "OK"
},
{
"uuid": "7b2c2970d9fa482c8ac7c06546b30323",
"address": "localhost:7052",
"health": "HEALTHY",
"status": "OK"
},
{
"uuid": "b46be6fce1284bbdbd509419a809ea00",
"address": "localhost:7053",
"health": "HEALTHY",
"status": "OK"
}
],
"master_consensus": {
"conflict": false,
"cstates": [
{
"id": "7b2c2970d9fa482c8ac7c06546b30323",
"committed": true,
"leader_uuid": "c78e5cede62f48bd9975cc27e0bd4870",
"term": 1,
"opid_index": -1,
"voter_uuids": [
"7b2c2970d9fa482c8ac7c06546b30323",
"b46be6fce1284bbdbd509419a809ea00",
"c78e5cede62f48bd9975cc27e0bd4870"
]
},
{
"id": "b46be6fce1284bbdbd509419a809ea00",
"committed": true,
"leader_uuid": "c78e5cede62f48bd9975cc27e0bd4870",
"term": 1,
"opid_index": -1,
"voter_uuids": [
"7b2c2970d9fa482c8ac7c06546b30323",
"b46be6fce1284bbdbd509419a809ea00",
"c78e5cede62f48bd9975cc27e0bd4870"
]
},
{
"id": "c78e5cede62f48bd9975cc27e0bd4870",
"committed": true,
"leader_uuid": "c78e5cede62f48bd9975cc27e0bd4870",
"term": 1,
"opid_index": -1,
"voter_uuids": [
"7b2c2970d9fa482c8ac7c06546b30323",
"b46be6fce1284bbdbd509419a809ea00",
"c78e5cede62f48bd9975cc27e0bd4870"
]
}
]
},
"tserver_health": [
{
"uuid": "c3b7137823884d4185753ed2d21af109",
"address": "127.0.0.1:7150",
"health": "HEALTHY",
"status": "OK"
},
{
"uuid": "f9317388b1124591832cee7b1dcd0bc6",
"address": "127.0.0.1:7250",
"health": "HEALTHY",
"status": "OK"
},
{
"uuid": "a7f210d6c4da41519c8728e2be23a475",
"address": "127.0.0.1:7050",
"health": "HEALTHY",
"status": "OK"
}
],
"total_counts": {
"masters": 3,
"tservers": 3,
"tables": 0,
"tablets": 0,
"replicas": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment