You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/07/07 18:47:12 UTC

[GitHub] [flink] sjwiesman commented on a change in pull request #16414: [FLINK-23186][docs] Improve installation page

sjwiesman commented on a change in pull request #16414:
URL: https://github.com/apache/flink/pull/16414#discussion_r665621784



##########
File path: docs/content/docs/try-flink/local_installation.md
##########
@@ -24,71 +24,139 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-# Local Installation
- 
-{{< unstable >}}
-{{< hint info >}}
-  NOTE: The Apache Flink community only publishes official builds for
-  released versions of Apache Flink.
+# First steps
+
+<span style="font-size:larger;">Welcome to Flink! :)</span>
+
+Flink is designed to process continuous streams of data at a lightning fast pace. This short guide
+will show you how to download the latest stable version of Flink, install, and run it. You will 
+also run an example Flink job and view it in the web UI. 
 
-  Since you are currently looking at the latest `SNAPSHOT`
-  version of the documentation, all version references below will not work.
-  Please switch the documentation to the latest released version via the release picker which you
-  find on the left side below the menu.
+
+## Downloading Flink
+
+{{< hint info >}}
+__Note:__ Flink is also available as a [Docker image](https://hub.docker.com/_/flink).
 {{< /hint >}}
-{{< /unstable >}}
 
-Follow these few steps to download the latest stable versions and get started.
+Flink runs on all UNIX-like environments, i.e. Linux, Mac OS X, and Cygwin (for Windows). You need 
+to have __Java 8 or 11__ installed. To check the Java version installed, type in your terminal: 
 
-## Step 1: Download
+```bash
+$ java -version
+```
 
-To be able to run Flink, the only requirement is to have a working __Java 8 or 11__ installation.
-You can check the correct installation of Java by issuing the following command:
+Next, [download the latest binary release](https://flink.apache.org/downloads.html) of Flink, 
+then extract the archive: 
 
 ```bash
-java -version
+$ tar -xzf flink-*.tgz
 ```
 
-[Download](https://flink.apache.org/downloads.html) the {{< version >}} release and un-tar it. 
+## Browsing the project directory
+
+Navigate to the extracted directory and list the contents by issuing:
 
 ```bash
-$ tar -xzf flink-{{< version >}}-bin-scala{{< scala_version >}}.tgz
-$ cd flink-{{< version >}}-bin-scala{{< scala_version >}}
+$ cd flink-* && ls -l
 ```
 
-## Step 2: Start a Cluster
+You should see something like:
+
+![project directory](projectdirectory.png)
+
+For now, you may want to note that:
+- __bin/__ directory contains the `flink` binary as well as several bash scripts that manage various jobs and tasks
+- __conf/__ directory contains configuration files, including `flink-conf.yaml`
+- __examples/__ directory contains sample applications that can be used as is with Flink
 
-Flink ships with a single bash script to start a local cluster.
+
+## Starting and stopping a local cluster
+
+To start a local cluster, run the bash script that comes with Flink:
 
 ```bash
 $ ./bin/start-cluster.sh
-Starting cluster.
-Starting standalonesession daemon on host.
-Starting taskexecutor daemon on host.
 ```
 
-## Step 3: Submit a Job
+You should see an output like this:
+
+![output](output.png)
+
+Flink is now running as a background process. You can check its status with the following command:
+
+```bash
+$ ps aux | grep flink
+```
+
+You should be able to navigate to the web UI at [localhost:8081](http://localhost:8081) to view
+the Flink dashboard and see that the cluster is up and running. 
+
+To quickly stop the cluster and all running components, you can use the provided script:
+
+```bash
+$ ./bin/stop-cluster.sh
+```
+
+## Submitting a Flink job
 
-Releases of Flink come with a number of example Jobs.
-You can quickly deploy one of these applications to the running cluster. 
+Flink provides a CLI tool, __bin/flink__, that can run programs packaged as Java ARchives (JAR)
+and control their execution. Submitting a [job](https://ci.apache.org/projects/flink/flink-docs-stable/concepts/glossary.html#flink-job) means uploading the job’s JAR file and related dependencies to the running Flink cluster

Review comment:
       When cross-linking to other pages in the docs, please use `ref` syntax. Hugo will fail the build if the link is broken, it also ensures links are properly versioned. 
   
   https://gohugo.io/content-management/cross-references/
   
   ```suggestion
   and control their execution. Submitting a [job]({{< ref "docs/concepts/glossary" >}}#flink-job) means uploading the job’s JAR file and related dependencies to the running Flink cluster
   ```

##########
File path: docs/content/docs/try-flink/local_installation.md
##########
@@ -24,71 +24,139 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-# Local Installation
- 
-{{< unstable >}}
-{{< hint info >}}
-  NOTE: The Apache Flink community only publishes official builds for
-  released versions of Apache Flink.
+# First steps
+
+<span style="font-size:larger;">Welcome to Flink! :)</span>
+
+Flink is designed to process continuous streams of data at a lightning fast pace. This short guide
+will show you how to download the latest stable version of Flink, install, and run it. You will 
+also run an example Flink job and view it in the web UI. 
 
-  Since you are currently looking at the latest `SNAPSHOT`
-  version of the documentation, all version references below will not work.
-  Please switch the documentation to the latest released version via the release picker which you
-  find on the left side below the menu.
+
+## Downloading Flink
+
+{{< hint info >}}
+__Note:__ Flink is also available as a [Docker image](https://hub.docker.com/_/flink).
 {{< /hint >}}
-{{< /unstable >}}
 
-Follow these few steps to download the latest stable versions and get started.
+Flink runs on all UNIX-like environments, i.e. Linux, Mac OS X, and Cygwin (for Windows). You need 
+to have __Java 8 or 11__ installed. To check the Java version installed, type in your terminal: 
 
-## Step 1: Download
+```bash
+$ java -version
+```
 
-To be able to run Flink, the only requirement is to have a working __Java 8 or 11__ installation.
-You can check the correct installation of Java by issuing the following command:
+Next, [download the latest binary release](https://flink.apache.org/downloads.html) of Flink, 
+then extract the archive: 
 
 ```bash
-java -version
+$ tar -xzf flink-*.tgz
 ```
 
-[Download](https://flink.apache.org/downloads.html) the {{< version >}} release and un-tar it. 
+## Browsing the project directory
+
+Navigate to the extracted directory and list the contents by issuing:
 
 ```bash
-$ tar -xzf flink-{{< version >}}-bin-scala{{< scala_version >}}.tgz
-$ cd flink-{{< version >}}-bin-scala{{< scala_version >}}
+$ cd flink-* && ls -l
 ```
 
-## Step 2: Start a Cluster
+You should see something like:
+
+![project directory](projectdirectory.png)
+
+For now, you may want to note that:
+- __bin/__ directory contains the `flink` binary as well as several bash scripts that manage various jobs and tasks
+- __conf/__ directory contains configuration files, including `flink-conf.yaml`
+- __examples/__ directory contains sample applications that can be used as is with Flink
 
-Flink ships with a single bash script to start a local cluster.
+
+## Starting and stopping a local cluster
+
+To start a local cluster, run the bash script that comes with Flink:
 
 ```bash
 $ ./bin/start-cluster.sh
-Starting cluster.
-Starting standalonesession daemon on host.
-Starting taskexecutor daemon on host.
 ```
 
-## Step 3: Submit a Job
+You should see an output like this:
+
+![output](output.png)
+
+Flink is now running as a background process. You can check its status with the following command:
+
+```bash
+$ ps aux | grep flink
+```
+
+You should be able to navigate to the web UI at [localhost:8081](http://localhost:8081) to view
+the Flink dashboard and see that the cluster is up and running. 
+
+To quickly stop the cluster and all running components, you can use the provided script:
+
+```bash
+$ ./bin/stop-cluster.sh
+```
+
+## Submitting a Flink job
 
-Releases of Flink come with a number of example Jobs.
-You can quickly deploy one of these applications to the running cluster. 
+Flink provides a CLI tool, __bin/flink__, that can run programs packaged as Java ARchives (JAR)
+and control their execution. Submitting a [job](https://ci.apache.org/projects/flink/flink-docs-stable/concepts/glossary.html#flink-job) means uploading the job’s JAR file and related dependencies to the running Flink cluster
+and executing it.
+
+Flink releases come with example jobs, which you can find in the __examples/__ folder.
+
+To deploy the example word count job to the running cluster, issue the following command:
 
 ```bash
 $ ./bin/flink run examples/streaming/WordCount.jar
-$ tail log/flink-*-taskexecutor-*.out
-  (to,1)
-  (be,1)
-  (or,1)
-  (not,1)
-  (to,2)
-  (be,2)
 ```
 
-Additionally, you can check Flink's [Web UI](http://localhost:8081) to monitor the status of the Cluster and running Job.
+You can verify the output by viewing the logs:
 
-## Step 4: Stop the Cluster
+```bash
+$ tail log/flink-*-taskexecutor-*.out
+```
 
-When you are finished you can quickly stop the cluster and all running components.
+Sample output:
 
 ```bash
-$ ./bin/stop-cluster.sh
+  (nymph,1)
+  (in,3)
+  (thy,1)
+  (orisons,1)
+  (be,4)
+  (all,2)
+  (my,1)
+  (sins,1)
+  (remember,1)
+  (d,4)
 ```
+
+Additionally, you can check Flink's [web UI](http://localhost:8081) to monitor the status of the cluster and running job.
+
+You can view the data flow plan for the execution:
+
+![data flow plan](dataflowplan.png)
+
+Here for the job execution, Flink has two operators. The first is the source operator which reads data from the
+collection source. The second operator is the transformation operator which aggregates counts of words. Learn
+more about [DataStream operators](https://ci.apache.org/projects/flink/flink-docs-stable/dev/stream/operators/).
+
+You can also look at the timeline of the job execution:
+
+![data flow timeline](timeline.png)
+
+You have successfully ran a [Flink application](https://ci.apache.org/projects/flink/flink-docs-stable/concepts/glossary.html#flink-application)! Feel free to select any other JAR archive from the __examples/__
+folder or deploy your own job!
+
+# Summary
+
+In this guide, you downloaded Flink, explored the project directory, started and stopped a local cluster, and
+submitted a sample Flink job!
+
+To learn more about Flink fundamentals, check out the [concepts](https://ci.apache.org/projects/flink/flink-docs-release-1.12/concepts/index.html) section. If you want to try something more hands-on, try one of the tutorials.

Review comment:
       Please update to ref link syntax.
   

##########
File path: docs/content/docs/try-flink/local_installation.md
##########
@@ -1,9 +1,9 @@
 ---
-title: 'Local Installation'
+title: 'First steps'
 weight: 1
 type: docs
 aliases:
-  - /try-flink/local_installation.html
+  - /try-flink/first_steps.html

Review comment:
       Please revert. The aliases are redirects from past locations of this page. They should never be changed, just updated if we want to move or rename this page in the future. 

##########
File path: docs/content/docs/try-flink/local_installation.md
##########
@@ -24,71 +24,139 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-# Local Installation
- 
-{{< unstable >}}
-{{< hint info >}}
-  NOTE: The Apache Flink community only publishes official builds for
-  released versions of Apache Flink.
+# First steps
+
+<span style="font-size:larger;">Welcome to Flink! :)</span>
+
+Flink is designed to process continuous streams of data at a lightning fast pace. This short guide
+will show you how to download the latest stable version of Flink, install, and run it. You will 
+also run an example Flink job and view it in the web UI. 
 
-  Since you are currently looking at the latest `SNAPSHOT`
-  version of the documentation, all version references below will not work.
-  Please switch the documentation to the latest released version via the release picker which you
-  find on the left side below the menu.
+
+## Downloading Flink
+
+{{< hint info >}}
+__Note:__ Flink is also available as a [Docker image](https://hub.docker.com/_/flink).
 {{< /hint >}}
-{{< /unstable >}}
 
-Follow these few steps to download the latest stable versions and get started.
+Flink runs on all UNIX-like environments, i.e. Linux, Mac OS X, and Cygwin (for Windows). You need 
+to have __Java 8 or 11__ installed. To check the Java version installed, type in your terminal: 
 
-## Step 1: Download
+```bash
+$ java -version
+```
 
-To be able to run Flink, the only requirement is to have a working __Java 8 or 11__ installation.
-You can check the correct installation of Java by issuing the following command:
+Next, [download the latest binary release](https://flink.apache.org/downloads.html) of Flink, 
+then extract the archive: 
 
 ```bash
-java -version
+$ tar -xzf flink-*.tgz
 ```
 
-[Download](https://flink.apache.org/downloads.html) the {{< version >}} release and un-tar it. 
+## Browsing the project directory
+
+Navigate to the extracted directory and list the contents by issuing:
 
 ```bash
-$ tar -xzf flink-{{< version >}}-bin-scala{{< scala_version >}}.tgz
-$ cd flink-{{< version >}}-bin-scala{{< scala_version >}}
+$ cd flink-* && ls -l
 ```
 
-## Step 2: Start a Cluster
+You should see something like:
+
+![project directory](projectdirectory.png)
+
+For now, you may want to note that:
+- __bin/__ directory contains the `flink` binary as well as several bash scripts that manage various jobs and tasks
+- __conf/__ directory contains configuration files, including `flink-conf.yaml`
+- __examples/__ directory contains sample applications that can be used as is with Flink
 
-Flink ships with a single bash script to start a local cluster.
+
+## Starting and stopping a local cluster
+
+To start a local cluster, run the bash script that comes with Flink:
 
 ```bash
 $ ./bin/start-cluster.sh
-Starting cluster.
-Starting standalonesession daemon on host.
-Starting taskexecutor daemon on host.
 ```
 
-## Step 3: Submit a Job
+You should see an output like this:
+
+![output](output.png)
+
+Flink is now running as a background process. You can check its status with the following command:
+
+```bash
+$ ps aux | grep flink
+```
+
+You should be able to navigate to the web UI at [localhost:8081](http://localhost:8081) to view
+the Flink dashboard and see that the cluster is up and running. 
+
+To quickly stop the cluster and all running components, you can use the provided script:
+
+```bash
+$ ./bin/stop-cluster.sh
+```
+
+## Submitting a Flink job
 
-Releases of Flink come with a number of example Jobs.
-You can quickly deploy one of these applications to the running cluster. 
+Flink provides a CLI tool, __bin/flink__, that can run programs packaged as Java ARchives (JAR)
+and control their execution. Submitting a [job](https://ci.apache.org/projects/flink/flink-docs-stable/concepts/glossary.html#flink-job) means uploading the job’s JAR file and related dependencies to the running Flink cluster
+and executing it.
+
+Flink releases come with example jobs, which you can find in the __examples/__ folder.
+
+To deploy the example word count job to the running cluster, issue the following command:
 
 ```bash
 $ ./bin/flink run examples/streaming/WordCount.jar
-$ tail log/flink-*-taskexecutor-*.out
-  (to,1)
-  (be,1)
-  (or,1)
-  (not,1)
-  (to,2)
-  (be,2)
 ```
 
-Additionally, you can check Flink's [Web UI](http://localhost:8081) to monitor the status of the Cluster and running Job.
+You can verify the output by viewing the logs:
 
-## Step 4: Stop the Cluster
+```bash
+$ tail log/flink-*-taskexecutor-*.out
+```
 
-When you are finished you can quickly stop the cluster and all running components.
+Sample output:
 
 ```bash
-$ ./bin/stop-cluster.sh
+  (nymph,1)
+  (in,3)
+  (thy,1)
+  (orisons,1)
+  (be,4)
+  (all,2)
+  (my,1)
+  (sins,1)
+  (remember,1)
+  (d,4)
 ```
+
+Additionally, you can check Flink's [web UI](http://localhost:8081) to monitor the status of the cluster and running job.
+
+You can view the data flow plan for the execution:
+
+![data flow plan](dataflowplan.png)
+
+Here for the job execution, Flink has two operators. The first is the source operator which reads data from the
+collection source. The second operator is the transformation operator which aggregates counts of words. Learn
+more about [DataStream operators](https://ci.apache.org/projects/flink/flink-docs-stable/dev/stream/operators/).

Review comment:
       Please update to `ref` link syntax. 

##########
File path: docs/content/docs/try-flink/local_installation.md
##########
@@ -24,71 +24,139 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-# Local Installation
- 
-{{< unstable >}}
-{{< hint info >}}
-  NOTE: The Apache Flink community only publishes official builds for
-  released versions of Apache Flink.
+# First steps
+
+<span style="font-size:larger;">Welcome to Flink! :)</span>
+
+Flink is designed to process continuous streams of data at a lightning fast pace. This short guide
+will show you how to download the latest stable version of Flink, install, and run it. You will 
+also run an example Flink job and view it in the web UI. 
 
-  Since you are currently looking at the latest `SNAPSHOT`
-  version of the documentation, all version references below will not work.
-  Please switch the documentation to the latest released version via the release picker which you
-  find on the left side below the menu.
+
+## Downloading Flink
+
+{{< hint info >}}
+__Note:__ Flink is also available as a [Docker image](https://hub.docker.com/_/flink).
 {{< /hint >}}
-{{< /unstable >}}
 
-Follow these few steps to download the latest stable versions and get started.
+Flink runs on all UNIX-like environments, i.e. Linux, Mac OS X, and Cygwin (for Windows). You need 
+to have __Java 8 or 11__ installed. To check the Java version installed, type in your terminal: 
 
-## Step 1: Download
+```bash
+$ java -version
+```
 
-To be able to run Flink, the only requirement is to have a working __Java 8 or 11__ installation.
-You can check the correct installation of Java by issuing the following command:
+Next, [download the latest binary release](https://flink.apache.org/downloads.html) of Flink, 
+then extract the archive: 
 
 ```bash
-java -version
+$ tar -xzf flink-*.tgz
 ```
 
-[Download](https://flink.apache.org/downloads.html) the {{< version >}} release and un-tar it. 
+## Browsing the project directory
+
+Navigate to the extracted directory and list the contents by issuing:
 
 ```bash
-$ tar -xzf flink-{{< version >}}-bin-scala{{< scala_version >}}.tgz
-$ cd flink-{{< version >}}-bin-scala{{< scala_version >}}
+$ cd flink-* && ls -l
 ```
 
-## Step 2: Start a Cluster
+You should see something like:
+
+![project directory](projectdirectory.png)
+
+For now, you may want to note that:
+- __bin/__ directory contains the `flink` binary as well as several bash scripts that manage various jobs and tasks
+- __conf/__ directory contains configuration files, including `flink-conf.yaml`
+- __examples/__ directory contains sample applications that can be used as is with Flink
 
-Flink ships with a single bash script to start a local cluster.
+
+## Starting and stopping a local cluster
+
+To start a local cluster, run the bash script that comes with Flink:
 
 ```bash
 $ ./bin/start-cluster.sh
-Starting cluster.
-Starting standalonesession daemon on host.
-Starting taskexecutor daemon on host.
 ```
 
-## Step 3: Submit a Job
+You should see an output like this:
+
+![output](output.png)
+
+Flink is now running as a background process. You can check its status with the following command:
+
+```bash
+$ ps aux | grep flink
+```
+
+You should be able to navigate to the web UI at [localhost:8081](http://localhost:8081) to view
+the Flink dashboard and see that the cluster is up and running. 
+
+To quickly stop the cluster and all running components, you can use the provided script:
+
+```bash
+$ ./bin/stop-cluster.sh
+```
+
+## Submitting a Flink job
 
-Releases of Flink come with a number of example Jobs.
-You can quickly deploy one of these applications to the running cluster. 
+Flink provides a CLI tool, __bin/flink__, that can run programs packaged as Java ARchives (JAR)
+and control their execution. Submitting a [job](https://ci.apache.org/projects/flink/flink-docs-stable/concepts/glossary.html#flink-job) means uploading the job’s JAR file and related dependencies to the running Flink cluster
+and executing it.
+
+Flink releases come with example jobs, which you can find in the __examples/__ folder.
+
+To deploy the example word count job to the running cluster, issue the following command:
 
 ```bash
 $ ./bin/flink run examples/streaming/WordCount.jar
-$ tail log/flink-*-taskexecutor-*.out
-  (to,1)
-  (be,1)
-  (or,1)
-  (not,1)
-  (to,2)
-  (be,2)
 ```
 
-Additionally, you can check Flink's [Web UI](http://localhost:8081) to monitor the status of the Cluster and running Job.
+You can verify the output by viewing the logs:
 
-## Step 4: Stop the Cluster
+```bash
+$ tail log/flink-*-taskexecutor-*.out
+```
 
-When you are finished you can quickly stop the cluster and all running components.
+Sample output:
 
 ```bash
-$ ./bin/stop-cluster.sh
+  (nymph,1)
+  (in,3)
+  (thy,1)
+  (orisons,1)
+  (be,4)
+  (all,2)
+  (my,1)
+  (sins,1)
+  (remember,1)
+  (d,4)
 ```
+
+Additionally, you can check Flink's [web UI](http://localhost:8081) to monitor the status of the cluster and running job.
+
+You can view the data flow plan for the execution:
+
+![data flow plan](dataflowplan.png)
+
+Here for the job execution, Flink has two operators. The first is the source operator which reads data from the
+collection source. The second operator is the transformation operator which aggregates counts of words. Learn
+more about [DataStream operators](https://ci.apache.org/projects/flink/flink-docs-stable/dev/stream/operators/).
+
+You can also look at the timeline of the job execution:
+
+![data flow timeline](timeline.png)
+
+You have successfully ran a [Flink application](https://ci.apache.org/projects/flink/flink-docs-stable/concepts/glossary.html#flink-application)! Feel free to select any other JAR archive from the __examples/__

Review comment:
       Please update to `ref` link syntax.
   

##########
File path: docs/content/docs/try-flink/local_installation.md
##########
@@ -24,71 +24,139 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-# Local Installation
- 
-{{< unstable >}}
-{{< hint info >}}
-  NOTE: The Apache Flink community only publishes official builds for
-  released versions of Apache Flink.
+# First steps
+
+<span style="font-size:larger;">Welcome to Flink! :)</span>
+
+Flink is designed to process continuous streams of data at a lightning fast pace. This short guide
+will show you how to download the latest stable version of Flink, install, and run it. You will 
+also run an example Flink job and view it in the web UI. 
 
-  Since you are currently looking at the latest `SNAPSHOT`
-  version of the documentation, all version references below will not work.
-  Please switch the documentation to the latest released version via the release picker which you
-  find on the left side below the menu.
+
+## Downloading Flink
+
+{{< hint info >}}
+__Note:__ Flink is also available as a [Docker image](https://hub.docker.com/_/flink).
 {{< /hint >}}
-{{< /unstable >}}
 
-Follow these few steps to download the latest stable versions and get started.
+Flink runs on all UNIX-like environments, i.e. Linux, Mac OS X, and Cygwin (for Windows). You need 
+to have __Java 8 or 11__ installed. To check the Java version installed, type in your terminal: 
 
-## Step 1: Download
+```bash
+$ java -version
+```
 
-To be able to run Flink, the only requirement is to have a working __Java 8 or 11__ installation.
-You can check the correct installation of Java by issuing the following command:
+Next, [download the latest binary release](https://flink.apache.org/downloads.html) of Flink, 
+then extract the archive: 
 
 ```bash
-java -version
+$ tar -xzf flink-*.tgz
 ```
 
-[Download](https://flink.apache.org/downloads.html) the {{< version >}} release and un-tar it. 
+## Browsing the project directory
+
+Navigate to the extracted directory and list the contents by issuing:
 
 ```bash
-$ tar -xzf flink-{{< version >}}-bin-scala{{< scala_version >}}.tgz
-$ cd flink-{{< version >}}-bin-scala{{< scala_version >}}
+$ cd flink-* && ls -l
 ```
 
-## Step 2: Start a Cluster
+You should see something like:
+
+![project directory](projectdirectory.png)
+
+For now, you may want to note that:
+- __bin/__ directory contains the `flink` binary as well as several bash scripts that manage various jobs and tasks
+- __conf/__ directory contains configuration files, including `flink-conf.yaml`
+- __examples/__ directory contains sample applications that can be used as is with Flink
 
-Flink ships with a single bash script to start a local cluster.
+
+## Starting and stopping a local cluster
+
+To start a local cluster, run the bash script that comes with Flink:
 
 ```bash
 $ ./bin/start-cluster.sh
-Starting cluster.
-Starting standalonesession daemon on host.
-Starting taskexecutor daemon on host.
 ```
 
-## Step 3: Submit a Job
+You should see an output like this:
+
+![output](output.png)
+
+Flink is now running as a background process. You can check its status with the following command:
+
+```bash
+$ ps aux | grep flink
+```
+
+You should be able to navigate to the web UI at [localhost:8081](http://localhost:8081) to view
+the Flink dashboard and see that the cluster is up and running. 
+
+To quickly stop the cluster and all running components, you can use the provided script:
+
+```bash
+$ ./bin/stop-cluster.sh
+```
+
+## Submitting a Flink job
 
-Releases of Flink come with a number of example Jobs.
-You can quickly deploy one of these applications to the running cluster. 
+Flink provides a CLI tool, __bin/flink__, that can run programs packaged as Java ARchives (JAR)
+and control their execution. Submitting a [job](https://ci.apache.org/projects/flink/flink-docs-stable/concepts/glossary.html#flink-job) means uploading the job’s JAR file and related dependencies to the running Flink cluster
+and executing it.
+
+Flink releases come with example jobs, which you can find in the __examples/__ folder.
+
+To deploy the example word count job to the running cluster, issue the following command:
 
 ```bash
 $ ./bin/flink run examples/streaming/WordCount.jar
-$ tail log/flink-*-taskexecutor-*.out
-  (to,1)
-  (be,1)
-  (or,1)
-  (not,1)
-  (to,2)
-  (be,2)
 ```
 
-Additionally, you can check Flink's [Web UI](http://localhost:8081) to monitor the status of the Cluster and running Job.
+You can verify the output by viewing the logs:
 
-## Step 4: Stop the Cluster
+```bash
+$ tail log/flink-*-taskexecutor-*.out
+```
 
-When you are finished you can quickly stop the cluster and all running components.
+Sample output:
 
 ```bash
-$ ./bin/stop-cluster.sh
+  (nymph,1)
+  (in,3)
+  (thy,1)
+  (orisons,1)
+  (be,4)
+  (all,2)
+  (my,1)
+  (sins,1)
+  (remember,1)
+  (d,4)
 ```
+
+Additionally, you can check Flink's [web UI](http://localhost:8081) to monitor the status of the cluster and running job.
+
+You can view the data flow plan for the execution:
+
+![data flow plan](dataflowplan.png)
+
+Here for the job execution, Flink has two operators. The first is the source operator which reads data from the
+collection source. The second operator is the transformation operator which aggregates counts of words. Learn
+more about [DataStream operators](https://ci.apache.org/projects/flink/flink-docs-stable/dev/stream/operators/).
+
+You can also look at the timeline of the job execution:
+
+![data flow timeline](timeline.png)
+
+You have successfully ran a [Flink application](https://ci.apache.org/projects/flink/flink-docs-stable/concepts/glossary.html#flink-application)! Feel free to select any other JAR archive from the __examples/__
+folder or deploy your own job!
+
+# Summary
+
+In this guide, you downloaded Flink, explored the project directory, started and stopped a local cluster, and
+submitted a sample Flink job!
+
+To learn more about Flink fundamentals, check out the [concepts](https://ci.apache.org/projects/flink/flink-docs-release-1.12/concepts/index.html) section. If you want to try something more hands-on, try one of the tutorials.
+
+_________________________________
+[Want to contribute translation?](https://cwiki.apache.org/confluence/display/FLINK/Flink+Translation+Specifications)

Review comment:
       What do you think about putting this in the footer template so it's on every page automatically? 
   
   See `docs/layouts/partials/docs/footer.html`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org