This is an automated email from the ASF dual-hosted git repository.
chesnay 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 6a7a1d9 [hotfix][docs] Fix typos
6a7a1d9 is described below
commit 6a7a1d9202fcab51b019dfaeb7159c66923c3ad7
Author: paul8263 <[email protected]>
AuthorDate: Fri Apr 23 23:03:43 2021 +0800
[hotfix][docs] Fix typos
---
docs/content.zh/docs/learn-flink/datastream_api.md | 10 +++++-----
docs/content.zh/docs/ops/metrics.md | 4 ++--
docs/content.zh/docs/try-flink/datastream.md | 2 +-
docs/content.zh/docs/try-flink/flink-operations-playground.md | 2 +-
docs/content.zh/docs/try-flink/table_api.md | 4 ++--
docs/content/docs/internals/filesystems.md | 2 +-
docs/content/docs/learn-flink/datastream_api.md | 4 ++--
docs/content/docs/libs/gelly/graph_algorithms.md | 4 ++--
docs/content/docs/libs/state_processor_api.md | 2 +-
docs/content/docs/ops/metrics.md | 4 ++--
docs/content/docs/try-flink/datastream.md | 2 +-
docs/content/docs/try-flink/flink-operations-playground.md | 2 +-
docs/content/docs/try-flink/table_api.md | 4 ++--
13 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/docs/content.zh/docs/learn-flink/datastream_api.md
b/docs/content.zh/docs/learn-flink/datastream_api.md
index c7fec4e..ee681ce 100644
--- a/docs/content.zh/docs/learn-flink/datastream_api.md
+++ b/docs/content.zh/docs/learn-flink/datastream_api.md
@@ -65,10 +65,10 @@ Integer age = person.f1;
public class Person {
public String name;
public Integer age;
- public Person() {};
+ public Person() {}
public Person(String name, Integer age) {
. . .
- };
+ }
}
Person person = new Person("Fred Flintstone", 35);
@@ -117,16 +117,16 @@ public class Example {
public static class Person {
public String name;
public Integer age;
- public Person() {};
+ public Person() {}
public Person(String name, Integer age) {
this.name = name;
this.age = age;
- };
+ }
public String toString() {
return this.name.toString() + ": age " + this.age.toString();
- };
+ }
}
}
```
diff --git a/docs/content.zh/docs/ops/metrics.md
b/docs/content.zh/docs/ops/metrics.md
index e433691..027ce38 100644
--- a/docs/content.zh/docs/ops/metrics.md
+++ b/docs/content.zh/docs/ops/metrics.md
@@ -1813,12 +1813,12 @@ Request specific aggregated values for specific metrics:
{
"id": "metric1",
"min": 1,
- "max": 34,
+ "max": 34
},
{
"id": "metric2",
"min": 2,
- "max": 14,
+ "max": 14
}
]
```
diff --git a/docs/content.zh/docs/try-flink/datastream.md
b/docs/content.zh/docs/try-flink/datastream.md
index bd93ac3..a6ee5b4 100644
--- a/docs/content.zh/docs/try-flink/datastream.md
+++ b/docs/content.zh/docs/try-flink/datastream.md
@@ -3,7 +3,7 @@ title: '基于 DataStream API 实现欺诈检测'
nav-title: '基于 DataStream API 实现欺诈检测'
weight: 3
type: docs
-aliaes:
+aliases:
- /zh/try-flink/datastream_api.html
- /zh/getting-started/walkthroughs/datastream_api.html
- /zh/quickstart/run_example_quickstart.html
diff --git a/docs/content.zh/docs/try-flink/flink-operations-playground.md
b/docs/content.zh/docs/try-flink/flink-operations-playground.md
index 09009e9..03577a6 100644
--- a/docs/content.zh/docs/try-flink/flink-operations-playground.md
+++ b/docs/content.zh/docs/try-flink/flink-operations-playground.md
@@ -413,7 +413,7 @@ curl -X POST localhost:8081/jobs/<job-id>/stop -d
'{"drain": false}'
"operation": {
"location": "<savepoint-path>"
}
-
+}
```
{{< /tab >}}
{{< /tabs >}}
diff --git a/docs/content.zh/docs/try-flink/table_api.md
b/docs/content.zh/docs/try-flink/table_api.md
index f92071e..43262f2 100644
--- a/docs/content.zh/docs/try-flink/table_api.md
+++ b/docs/content.zh/docs/try-flink/table_api.md
@@ -47,7 +47,7 @@ If you get stuck, check out the [community support
resources](https://flink.apac
In particular, Apache Flink's [user mailing
list](https://flink.apache.org/community.html#mailing-lists) consistently ranks
as one of the most active of any Apache project and a great way to get help
quickly.
{{< hint info >}}
-If running docker on windows and your data generator container is failing to
start, then please ensure that you're using the right shell.
+If running docker on Windows and your data generator container is failing to
start, then please ensure that you're using the right shell.
For example **docker-entrypoint.sh** for
**table-walkthrough_data-generator_1** container requires bash.
If unavailable, it will throw an error **standard_init_linux.go:211: exec user
process caused "no such file or directory"**.
A workaround is to switch the shell to **sh** on the first line of
**docker-entrypoint.sh**.
@@ -200,7 +200,7 @@ This means the timestamp column needs be be rounded down
from millisecond to hou
Flink supports developing relational applications in pure [SQL]({{< ref
"docs/dev/table/sql/overview" >}}) or using the [Table API]({{< ref
"docs/dev/table/tableApi" >}}).
The Table API is a fluent DSL inspired by SQL, that can be written in Python,
Java, or Scala and supports strong IDE integration.
Just like a SQL query, Table programs can select the required fields and group
by your keys.
-These features, allong with [built-in functions]({{< ref
"docs/dev/table/functions/systemFunctions" >}}) like `floor` and `sum`, you can
write this report.
+These features, along with [built-in functions]({{< ref
"docs/dev/table/functions/systemFunctions" >}}) like `floor` and `sum`, you can
write this report.
```java
public static Table report(Table transactions) {
diff --git a/docs/content/docs/internals/filesystems.md
b/docs/content/docs/internals/filesystems.md
index bb01777..44b8c1a 100644
--- a/docs/content/docs/internals/filesystems.md
+++ b/docs/content/docs/internals/filesystems.md
@@ -104,7 +104,7 @@ The `FSDataOutputStream` has to guarantee data persistence
for the written bytes
requirements exist.
The above implies specifically that data may still be in the OS cache when
considered
- persistent from the local file system's perspective. Crashes that cause
the OS cache to loose
+ persistent from the local file system's perspective. Crashes that cause
the OS cache to lose
data are considered fatal to the local machine and are not covered by the
local file system's
guarantees as defined by Flink.
diff --git a/docs/content/docs/learn-flink/datastream_api.md
b/docs/content/docs/learn-flink/datastream_api.md
index c632283..dca4ee4 100644
--- a/docs/content/docs/learn-flink/datastream_api.md
+++ b/docs/content/docs/learn-flink/datastream_api.md
@@ -70,7 +70,7 @@ Example:
public class Person {
public String name;
public Integer age;
- public Person() {};
+ public Person() {}
public Person(String name, Integer age) {
. . .
}
@@ -122,7 +122,7 @@ public class Example {
public static class Person {
public String name;
public Integer age;
- public Person() {};
+ public Person() {}
public Person(String name, Integer age) {
this.name = name;
diff --git a/docs/content/docs/libs/gelly/graph_algorithms.md
b/docs/content/docs/libs/gelly/graph_algorithms.md
index 0d03243..89eeb69 100644
--- a/docs/content/docs/libs/gelly/graph_algorithms.md
+++ b/docs/content/docs/libs/gelly/graph_algorithms.md
@@ -33,7 +33,7 @@ configuration.
## VertexInDegree
-Annoate vertices of a directed graph with the in-degree.
+Annotate vertices of a directed graph with the in-degree.
```java
DataSet<Vertex<K, LongValue>> inDegree = graph
@@ -243,4 +243,4 @@ Optional configuration:
* **setParallelism**: override the operator parallelism
-{{< top >}}
\ No newline at end of file
+{{< top >}}
diff --git a/docs/content/docs/libs/state_processor_api.md
b/docs/content/docs/libs/state_processor_api.md
index 751e833..573df64 100644
--- a/docs/content/docs/libs/state_processor_api.md
+++ b/docs/content/docs/libs/state_processor_api.md
@@ -26,7 +26,7 @@ under the License.
# State Processor API
-Apache Flink's State Processor API provides powerful functionality to reading,
writing, and modifing savepoints and checkpoints using Flink’s batch DataSet
API.
+Apache Flink's State Processor API provides powerful functionality to reading,
writing, and modifying savepoints and checkpoints using Flink’s batch DataSet
API.
Due to the [interoperability of DataSet and Table
API](https://ci.apache.org/projects/flink/flink-docs-master/dev/table/common.html#integration-with-datastream-and-dataset-api),
you can even use relational Table API or SQL queries to analyze and process
state data.
For example, you can take a savepoint of a running stream processing
application and analyze it with a DataSet batch program to verify that the
application behaves correctly.
diff --git a/docs/content/docs/ops/metrics.md b/docs/content/docs/ops/metrics.md
index 383a852..4416129 100644
--- a/docs/content/docs/ops/metrics.md
+++ b/docs/content/docs/ops/metrics.md
@@ -1812,12 +1812,12 @@ Request specific aggregated values for specific metrics:
{
"id": "metric1",
"min": 1,
- "max": 34,
+ "max": 34
},
{
"id": "metric2",
"min": 2,
- "max": 14,
+ "max": 14
}
]
```
diff --git a/docs/content/docs/try-flink/datastream.md
b/docs/content/docs/try-flink/datastream.md
index 6b35de9..50e8959 100644
--- a/docs/content/docs/try-flink/datastream.md
+++ b/docs/content/docs/try-flink/datastream.md
@@ -2,7 +2,7 @@
title: "Fraud Detection with the DataStream API"
type: docs
weight: 2
-aliaes:
+aliases:
- /try-flink/datastream_api.html
- /getting-started/walkthroughs/datastream_api.html
- /quickstart/run_example_quickstart.htmls
diff --git a/docs/content/docs/try-flink/flink-operations-playground.md
b/docs/content/docs/try-flink/flink-operations-playground.md
index 54e0714..6cbf1c1 100644
--- a/docs/content/docs/try-flink/flink-operations-playground.md
+++ b/docs/content/docs/try-flink/flink-operations-playground.md
@@ -398,7 +398,7 @@ curl -X POST localhost:8081/jobs/<job-id>/stop -d
'{"drain": false}'
"operation": {
"location": "<savepoint-path>"
}
-
+}
```
{{< /tab >}}
{{< /tabs >}}
diff --git a/docs/content/docs/try-flink/table_api.md
b/docs/content/docs/try-flink/table_api.md
index c43ff78..352a2dd 100644
--- a/docs/content/docs/try-flink/table_api.md
+++ b/docs/content/docs/try-flink/table_api.md
@@ -47,7 +47,7 @@ If you get stuck, check out the [community support
resources](https://flink.apac
In particular, Apache Flink's [user mailing
list](https://flink.apache.org/community.html#mailing-lists) consistently ranks
as one of the most active of any Apache project and a great way to get help
quickly.
{{< hint info >}}
-If running docker on windows and your data generator container is failing to
start, then please ensure that you're using the right shell.
+If running docker on Windows and your data generator container is failing to
start, then please ensure that you're using the right shell.
For example **docker-entrypoint.sh** for
**table-walkthrough_data-generator_1** container requires bash.
If unavailable, it will throw an error **standard_init_linux.go:211: exec user
process caused "no such file or directory"**.
A workaround is to switch the shell to **sh** on the first line of
**docker-entrypoint.sh**.
@@ -200,7 +200,7 @@ This means the timestamp column needs be be rounded down
from millisecond to hou
Flink supports developing relational applications in pure [SQL]({{< ref
"docs/dev/table/sql/overview" >}}) or using the [Table API]({{< ref
"docs/dev/table/tableApi" >}}).
The Table API is a fluent DSL inspired by SQL, that can be written in Python,
Java, or Scala and supports strong IDE integration.
Just like a SQL query, Table programs can select the required fields and group
by your keys.
-These features, allong with [built-in functions]({{< ref
"docs/dev/table/functions/systemFunctions" >}}) like `floor` and `sum`, you can
write this report.
+These features, along with [built-in functions]({{< ref
"docs/dev/table/functions/systemFunctions" >}}) like `floor` and `sum`, you can
write this report.
```java
public static Table report(Table transactions) {