You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "HeLifu (JIRA)" <ji...@apache.org> on 2018/09/04 09:40:00 UTC

[jira] [Comment Edited] (KUDU-2529) kudu CLI command supports list the tablets under a table and list the replicas of a tablet

    [ https://issues.apache.org/jira/browse/KUDU-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16594724#comment-16594724 ] 

HeLifu edited comment on KUDU-2529 at 9/4/18 9:39 AM:
------------------------------------------------------

Thanks to [~granthenke]'s comments.

I added a new flag "{color:#ff0000}_-tables=<tables>_{color}" to "_kudu table list <master_addresses> -list_tablets_" command which could list the tablets under a table.

[link title|https://gerrit.cloudera.org/#/c/11360/]

 

And the "_kudu cluster ksck <master_addresses> -tables=<table_name> -tablets=<tablet_uuid> -verbose_" command could list the replicas for a tablet indeed, but the output is a little bit complex.


was (Author: helifu):
Thanks to [~granthenke]'s comments.

I added a new flag "{color:#FF0000}_-tables=<tables>_{color}" to "_kudu table list <master_addresses> -list_tablets_" command which could list the tablets under a table.

And the "_kudu cluster ksck <master_addresses> -tables=<table_name> -tablets=<tablet_uuid> -verbose_" command could list the replicas for a tablet indeed, but the output is a little bit complex.

> kudu CLI command supports list the tablets under a table and list the replicas of a tablet 
> -------------------------------------------------------------------------------------------
>
>                 Key: KUDU-2529
>                 URL: https://issues.apache.org/jira/browse/KUDU-2529
>             Project: Kudu
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 1.7.1
>            Reporter: HeLifu
>            Priority: Major
>
> kudu CLI command supports list the tablets under a table and list the replicas of a tablet.
> Example:
>  
> {code:java}
> kudu table tablet <master_addresses> <table_name>
> kudu tablet replica <master_addresses> <tablet_uuid>
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)