replace deprecated -Des setting prefixes with -C

This commit is contained in:
kovrus 2017-01-25 14:42:11 +01:00
parent 30bce19b23
commit 6cb55ad2a2
1 changed files with 9 additions and 9 deletions

View File

@ -30,13 +30,13 @@ To start the Crate cluster in containers distributed to three hosts without mult
--ulimit memlock=9223372036854775807 \ --ulimit memlock=9223372036854775807 \
crate \ crate \
crate \ crate \
-Des.cluster.name=crate-cluster \ -Ccluster.name=crate-cluster \
-Des.node.name=crate1 \ -Cnode.name=crate1 \
-Des.transport.publish_port=4300 \ -Ctransport.publish_port=4300 \
-Des.network.publish_host="$HOST" \ -Cnetwork.publish_host="$HOST" \
-Des.multicast.enabled=false \ -Cmulticast.enabled=false \
-Des.discovery.zen.ping.unicast.hosts="$HOSTS" \ -Cdiscovery.zen.ping.unicast.hosts="$HOSTS" \
-Des.discovery.zen.minimum_master_nodes=2 -Cdiscovery.zen.minimum_master_nodes=2
``` ```
# The crate Docker Image # The crate Docker Image
@ -97,10 +97,10 @@ Crate publishes the hostname it runs on for discovery within the cluster. If the
```console ```console
# docker run -d -p 4200:4200 -p 4300:4300 \ # docker run -d -p 4200:4200 -p 4300:4300 \
crate crate -Des.network.publish_host=host1.example.com crate crate -Cnetwork.publish_host=host1.example.com
``` ```
If you change the transport port from the default `4300` to something else, you need to pass the publish port to Crate by adding `-Des.transport.publish_port=4321` to your command. If you change the transport port from the default `4300` to something else, you need to pass the publish port to Crate by adding `-Ctransport.publish_port=4321` to your command.
## Crate Shell ## Crate Shell