translate run_example_quickstart.md #6

Merged
merged 2 commits into from Mar 7, 2016

Projects

None yet

2 participants

@hustfxj
hustfxj commented Mar 4, 2016

No description provided.

@wuchong wuchong commented on an outdated diff Mar 5, 2016
quickstart/run_example_quickstart.md
./bin/stop-local.sh
~~~
-## Analyze the Result
-Use the [Python Script](plotPoints.py) again to visualize the result.
+## 分析结果
+可以再次运行 [Python Script](plotPoints.py) 脚本来可视化展示结果.
@wuchong
wuchong Mar 5, 2016 Member

可视化结果。

@wuchong wuchong commented on an outdated diff Mar 5, 2016
quickstart/run_example_quickstart.md
@@ -1,9 +1,9 @@
---
-title: "Quick Start: Run K-Means Example"
+title: "快速启动: 运行 K-Means 实例"
@wuchong
wuchong Mar 5, 2016 Member

快速起步

@wuchong wuchong commented on an outdated diff Mar 5, 2016
quickstart/run_example_quickstart.md
@@ -26,83 +26,84 @@ under the License.
* This will be replaced by the TOC
{:toc}
+本文主要介绍在flink上运行实例([K-Means clustering](http://en.wikipedia.org/wiki/K-means_clustering))需要操作的一系列步骤。另一方面,你能观察实例运行过程中的可
+视化界面、优化策略以及跟踪实例执行进度。
@wuchong
wuchong Mar 5, 2016 Member

flink 最好都写成 Flink 吧,然后左右留一空格。 下同

@wuchong wuchong commented on an outdated diff Mar 5, 2016
quickstart/run_example_quickstart.md
-## Generate Input Data
-Flink contains a data generator for K-Means.
+
+## 生成输入数据
+Flink 为 K-Means 封装了数据生产器
@wuchong
wuchong Mar 5, 2016 Member

数据生成器。 跟下面的名称保持一致吧。

@wuchong wuchong commented on an outdated diff Mar 5, 2016
quickstart/run_example_quickstart.md
~~~bash
-points <num> -k <num clusters> [-output <output-path>] [-stddev <relative stddev>] [-range <centroid range>] [-seed <seed>]
~~~
-The _relative standard deviation_ is an interesting tuning parameter. It determines the closeness of the points to randomly generated centers.
+-stddev 是一个有趣的调整参数,它决定了随机生成的数据点于中心的接近程度。
@wuchong
wuchong Mar 5, 2016 Member
*相对标准偏差* (`stddev`)是一个有趣的调整参数,它决定了数据点与随机中心点的紧密程度。
@wuchong wuchong commented on an outdated diff Mar 5, 2016
quickstart/run_example_quickstart.md
<div class="row" style="padding-top:15px">
<div class="col-md-6">
<a data-lightbox="compiler" href="{{ site.baseurl }}/page/img/quickstart-example/jobmanager_kmeans_submit.png" data-lightbox="example-1"><img class="img-responsive" src="{{ site.baseurl }}/page/img/quickstart-example/jobmanager_kmeans_submit.png" /></a>
</div>
<div class="col-md-6">
- 1. Open web interface on <a href="http://localhost:8081">localhost:8081</a> <br>
- 2. Select the "Submit new Job" page in the menu <br>
- 3. Upload the <code>KMeans.jar</code> from <code>examples/batch</code> by clicking the "Add New" button, and then the "Upload" button. <br>
- 4. Select the <code>KMeans.jar</code> form the list of jobs <br>
- 5. Enter the arguments and options in the lower box: <br>
- Leave the <i>Entry Class</i> and <i>Parallelism</i> form empty<br>
- Enter the following program arguments: <br>
- (KMeans expects the following args: <code>--points &lt;path&gt; --centroids &lt;path&gt; --output &lt;path&gt; --iterations &lt;n&gt;</code>
+ 1. 打开web界面 <a href="http://localhost:8081">localhost:8081</a> <br>
+ 2. 在菜单上选择 "Submit new Job" <br>
+ 3. 通过点击"Add New", 选择<code>examples/batch</code> 目录下的 <code>KMeans.jar</code>,之后点击 "Upload"。 <br>
+ 4. 在一列任务中选择 <code>KMeans.jar</code> <br>
@wuchong
wuchong Mar 5, 2016 Member

在任务列表中选择

@wuchong
Member
wuchong commented Mar 5, 2016

提了一些小意见 😄

整体都很赞, +1

@hustfxj
hustfxj commented Mar 7, 2016

@wuchong 谢谢的意见,我已经修改了

@wuchong wuchong merged commit 02c2509 into flink-china:master Mar 7, 2016
@wuchong
Member
wuchong commented Mar 7, 2016

thanks @hustfxj merged

@wuchong wuchong referenced this pull request Mar 7, 2016
Closed

Run Example认领 #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment