-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Issue 8130] Refine BookKeeper metadata service uri when init metadata #8269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@BewareMyPower @jennifer88huang Please help to take a look about this change, thanks. |
|
LGTM. Just one point, I think it's better to change
to |
site2/docs/deploy-bare-metal.md
Outdated
| > --broker-service-url-tls pulsar+ssl://host1:6651,host2:6651,host3:6651 | ||
| > ``` | ||
| > If you want to use an existing BookKeeper cluster, you can add `--existing-bk-metadata-service-uri` flag at the mean time like below: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| > If you want to use an existing BookKeeper cluster, you can add `--existing-bk-metadata-service-uri` flag at the mean time like below: | |
| > If you want to use an existing BookKeeper cluster, you can add the `--existing-bk-metadata-service-uri` flag as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
site2/docs/deploy-bare-metal.md
Outdated
| > --broker-service-url pulsar://host1:6650,host2:6650,host3:6650 \ | ||
| > --broker-service-url-tls pulsar+ssl://host1:6651,host2:6651,host3:6651 | ||
| > ``` | ||
| > The metadata service uri of existing BookKeeper cluster can be fetched via `bin/bookkeeper shell whatisinstanceid` command. Note that the value need to be enclosed in double quotes since the multi metadata service uri is semicolon separated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| > The metadata service uri of existing BookKeeper cluster can be fetched via `bin/bookkeeper shell whatisinstanceid` command. Note that the value need to be enclosed in double quotes since the multi metadata service uri is semicolon separated. | |
| > You can obtain the metadata service URI of the existing BookKeeper cluster by using the `bin/bookkeeper shell whatisinstanceid` command. You must enclose the value in double quotes since the multiple metadata service URIs are separated with semicolons. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, done.
site2/docs/reference-cli-tools.md
Outdated
| |`-c` , `--cluster`|Cluster name|| | ||
| |`--configuration-store`|The configuration store quorum connection string|| | ||
| |`-cs` , `--configuration-store`|The configuration store quorum connection string|| | ||
| |`--existing-bk-metadata-service-uri`|The metadata service uri of existing BookKeeper cluster you want to use|| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| |`--existing-bk-metadata-service-uri`|The metadata service uri of existing BookKeeper cluster you want to use|| | |
| |`--existing-bk-metadata-service-uri`|The metadata service URI of the existing BookKeeper cluster you want to use|| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
site2/docs/reference-cli-tools.md
Outdated
| |`-cs` , `--configuration-store`|The configuration store quorum connection string|| | ||
| |`--existing-bk-metadata-service-uri`|The metadata service uri of existing BookKeeper cluster you want to use|| | ||
| |`-h` , `--help`|Cluster name|false| | ||
| |`--initial-num-stream-storage-containers`|Num storage containers of BookKeeper stream storage|16| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does "Num" mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Num" is short for number.
site2/docs/reference-cli-tools.md
Outdated
| |`-uw` , `--web-service-url`|The web service URL for the new cluster|| | ||
| |`-tw` , `--web-service-url-tls`|The web service URL for the new cluster with TLS encryption|| | ||
| |`-zk` , `--zookeeper`|The local ZooKeeper quorum connection string|| | ||
| |`--zookeeper-session-timeout-ms`|Local zookeeper session timeout ms|30000| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "ms" stand for in "Local zookeeper session timeout ms"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ms is the time unit which is short for millisecond.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your clarification. Maybe we can add it in the description, so it will be clear to users.
|
@murong00 I've left some minor comments. Any issue, feel free to ping me. |
@BewareMyPower I agree with you, however the result of command |
site2/docs/reference-cli-tools.md
Outdated
| |`-c` , `--cluster`|Cluster name|| | ||
| |`-cs` , `--configuration-store`|The configuration store quorum connection string|| | ||
| |`--existing-bk-metadata-service-uri`|The metadata service uri of existing BookKeeper cluster you want to use|| | ||
| |`--existing-bk-metadata-service-uri`|The metadata service URI of the existing BookKeeper cluster you want to us|| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| |`--existing-bk-metadata-service-uri`|The metadata service URI of the existing BookKeeper cluster you want to us|| | |
| |`--existing-bk-metadata-service-uri`|The metadata service URI of the existing BookKeeper cluster that you want to use|| |
site2/docs/reference-cli-tools.md
Outdated
| |`--existing-bk-metadata-service-uri`|The metadata service uri of existing BookKeeper cluster you want to use|| | ||
| |`--existing-bk-metadata-service-uri`|The metadata service URI of the existing BookKeeper cluster you want to us|| | ||
| |`-h` , `--help`|Cluster name|false| | ||
| |`--initial-num-stream-storage-containers`|Num storage containers of BookKeeper stream storage|16| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So shall we use "The number of storage containers of BookKeeper stream storage"
site2/docs/reference-cli-tools.md
Outdated
| |`--existing-bk-metadata-service-uri`|The metadata service URI of the existing BookKeeper cluster you want to us|| | ||
| |`-h` , `--help`|Cluster name|false| | ||
| |`--initial-num-stream-storage-containers`|Num storage containers of BookKeeper stream storage|16| | ||
| |`--initial-num-transaction-coordinators`|Num transaction coordinators will assigned in cluster|16| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The number of transaction coordinators assigned in a cluster
site2/docs/reference-cli-tools.md
Outdated
| |`-uw` , `--web-service-url`|The web service URL for the new cluster|| | ||
| |`-tw` , `--web-service-url-tls`|The web service URL for the new cluster with TLS encryption|| | ||
| |`-zk` , `--zookeeper`|The local ZooKeeper quorum connection string|| | ||
| |`--zookeeper-session-timeout-ms`|Local zookeeper session timeout ms|30000| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| |`--zookeeper-session-timeout-ms`|Local zookeeper session timeout ms|30000| | |
| |`--zookeeper-session-timeout-ms`|The local ZooKeeper session timeout. The time unit is in millisecond(ms).|30000| |
|
@jennifer88huang I hava addressed your comments, PTAL again. |
Jennifer88huang-zz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done, thank you
|
/pulsarbot run-failure-checks |
Huanli-Meng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for doc-related updates.
apache#8269) Motivation Fixes apache#8130 Modifications rename --bookkeeper-metadata-service-uri by --existing-bk-metadata-service-uri to avoid misunderstanding add some specification of this parameter in corresponding md files * Refine BookKeeper metadata service uri when init metadata * address the review comments * address Jennifer's comment
apache#8269) Motivation Fixes apache#8130 Modifications rename --bookkeeper-metadata-service-uri by --existing-bk-metadata-service-uri to avoid misunderstanding add some specification of this parameter in corresponding md files * Refine BookKeeper metadata service uri when init metadata * address the review comments * address Jennifer's comment
--- *Motivation* #8269 change the arguments name which causes the setup metadata command is not compatible with old versions. For keeping the compatibility of the setup metadata command, we should avoid deleting the existing arguments. If we need to change it, it's better to keep the old arguments and mark it deprecates and hide them.
Motivation
Fixes #8130
Modifications
--bookkeeper-metadata-service-uriby--existing-bk-metadata-service-urito avoid misunderstanding