Skip to content

[table service] Move table service cli to bookkeeper-tools#1485

Closed
sijie wants to merge 1 commit intoapache:masterfrom
sijie:stream_cli
Closed

[table service] Move table service cli to bookkeeper-tools#1485
sijie wants to merge 1 commit intoapache:masterfrom
sijie:stream_cli

Conversation

@sijie
Copy link
Copy Markdown
Member

@sijie sijie commented Jun 6, 2018

Descriptions of the changes in this PR:

Motivation

This PR follows #1478 to move table service cli to bookkeeper-tools.
So different service components are now available in one cli tool.

Changes

  • move stream/cli module to tools/stream module
  • organize the table service commands as groups:
  • cluster
  • namespace
  • table
  • tables

Output

Example output:

$ bin/bkctl
bkctl interacts and operates Apache BookKeeper clusters

Usage:  bkctl [flags] [command group] [commands]

Commands:

    bookie          Commands on operating a single bookie
    bookies         Commands on operating a cluster of bookies
    cluster         Commands on administrating bookkeeper clusters
    ledger          Commands on interacting with ledgers
    namespace       Commands on operating namespaces
    table           Commands on interacting with tables
    tables          Commands on operating tables

    help            Display help information about it

Flags:

    -c, --conf
        Configuration file

    -n, --namespace
        Namespace scope to run commands (only valid for table service for now)

    -u, --service-uri
        Service Uri


    -h, --help
        Display help information

Use "bkctl [command] --help" or "bkctl help [command]" for more information
about a command

*Motivation*

This PR follows previous PR to move table service cli to bookkeeper-tools.

*Changes*

- move stream/cli module to tools/stream module
- organize the commands as groups:

* cluster
* namespace
* table
* tables
@sijie sijie added type/task area/tools area/tableservice changes related to table service labels Jun 6, 2018
@sijie sijie added this to the 4.8.0 milestone Jun 6, 2018
@sijie sijie requested a review from jiazhai June 6, 2018 07:15
@sijie
Copy link
Copy Markdown
Member Author

sijie commented Jun 6, 2018

run integration tests

@sijie
Copy link
Copy Markdown
Member Author

sijie commented Jun 6, 2018

run bookie tests

@sijie
Copy link
Copy Markdown
Member Author

sijie commented Jun 7, 2018

rerun integration tests

@sijie sijie self-assigned this Jun 7, 2018
@sijie sijie closed this in 2aad543 Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants