You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2022/07/12 05:19:06 UTC

[flink] branch master updated: [hotfix][docs] Fix formatting in "Standalone" Chinese doc (#20213)

This is an automated email from the ASF dual-hosted git repository.

jark pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 98ae7f1aa9c [hotfix][docs] Fix formatting in "Standalone" Chinese doc (#20213)
98ae7f1aa9c is described below

commit 98ae7f1aa9ce4a2ac192ba30c110a91975ffebe4
Author: polaris6 <bo...@foxmail.com>
AuthorDate: Tue Jul 12 13:18:53 2022 +0800

    [hotfix][docs] Fix formatting in "Standalone" Chinese doc (#20213)
---
 .../resource-providers/standalone/overview.md      | 46 +++++++++++-----------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/docs/content.zh/docs/deployment/resource-providers/standalone/overview.md b/docs/content.zh/docs/deployment/resource-providers/standalone/overview.md
index 6498b2cb3e3..4bc0efa4760 100644
--- a/docs/content.zh/docs/deployment/resource-providers/standalone/overview.md
+++ b/docs/content.zh/docs/deployment/resource-providers/standalone/overview.md
@@ -183,9 +183,9 @@ In order to start an HA-cluster configure the *masters* file in `conf/masters`:
 - **masters file**: The *masters file* contains all hosts, on which JobManagers are started, and the ports to which the web user interface binds.
 
   <pre>
-jobManagerAddress1:webUIPort1
-[...]
-jobManagerAddressX:webUIPortX
+  jobManagerAddress1:webUIPort1
+  [...]
+  jobManagerAddressX:webUIPortX
   </pre>
 
 By default, the job manager will pick a *random port* for inter process communication. You can change this via the [high-availability.jobmanager.port]({{< ref "docs/deployment/config.zh" >}}#high-availability-jobmanager-port) key. This key accepts single ports (e.g. `50010`), ranges (`50000-50025`), or a combination of both (`50010,50011,50020-50025,50050-50075`).
@@ -195,17 +195,17 @@ By default, the job manager will pick a *random port* for inter process communic
 1. **Configure high availability mode and ZooKeeper quorum** in `conf/flink-conf.yaml`:
 
    <pre>
-high-availability: zookeeper
-high-availability.zookeeper.quorum: localhost:2181
-high-availability.zookeeper.path.root: /flink
-high-availability.cluster-id: /cluster_one # important: customize per cluster
-high-availability.storageDir: hdfs:///flink/recovery</pre>
+   high-availability: zookeeper
+   high-availability.zookeeper.quorum: localhost:2181
+   high-availability.zookeeper.path.root: /flink
+   high-availability.cluster-id: /cluster_one # important: customize per cluster
+   high-availability.storageDir: hdfs:///flink/recovery</pre>
 
 2. **Configure masters** in `conf/masters`:
 
    <pre>
-localhost:8081
-localhost:8082</pre>
+   localhost:8081
+   localhost:8082</pre>
 
 3. **Configure ZooKeeper server** in `conf/zoo.cfg` (currently it's only possible to run a single ZooKeeper server per machine):
 
@@ -214,27 +214,27 @@ localhost:8082</pre>
 4. **Start ZooKeeper quorum**:
 
    <pre>
-$ bin/start-zookeeper-quorum.sh
-Starting zookeeper daemon on host localhost.</pre>
+   $ bin/start-zookeeper-quorum.sh
+   Starting zookeeper daemon on host localhost.</pre>
 
 5. **Start an HA-cluster**:
 
    <pre>
-$ bin/start-cluster.sh
-Starting HA cluster with 2 masters and 1 peers in ZooKeeper quorum.
-Starting standalonesession daemon on host localhost.
-Starting standalonesession daemon on host localhost.
-Starting taskexecutor daemon on host localhost.</pre>
+   $ bin/start-cluster.sh
+   Starting HA cluster with 2 masters and 1 peers in ZooKeeper quorum.
+   Starting standalonesession daemon on host localhost.
+   Starting standalonesession daemon on host localhost.
+   Starting taskexecutor daemon on host localhost.</pre>
 
 6. **Stop ZooKeeper quorum and cluster**:
 
    <pre>
-$ bin/stop-cluster.sh
-Stopping taskexecutor daemon (pid: 7647) on localhost.
-Stopping standalonesession daemon (pid: 7495) on host localhost.
-Stopping standalonesession daemon (pid: 7349) on host localhost.
-$ bin/stop-zookeeper-quorum.sh
-Stopping zookeeper daemon (pid: 7101) on host localhost.</pre>
+   $ bin/stop-cluster.sh
+   Stopping taskexecutor daemon (pid: 7647) on localhost.
+   Stopping standalonesession daemon (pid: 7495) on host localhost.
+   Stopping standalonesession daemon (pid: 7349) on host localhost.
+   $ bin/stop-zookeeper-quorum.sh
+   Stopping zookeeper daemon (pid: 7101) on host localhost.</pre>
 
 ### User jars & Classpath