You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "RexXiong (via GitHub)" <gi...@apache.org> on 2023/08/30 12:29:56 UTC

[GitHub] [incubator-celeborn] RexXiong commented on a diff in pull request #1868: [CELEBORN-822][DOC] Introduce a quick start guide for running Apache Flink with Apache Celeborn

RexXiong commented on code in PR #1868:
URL: https://github.com/apache/incubator-celeborn/pull/1868#discussion_r1310193566


##########
docs/README.md:
##########
@@ -115,3 +116,36 @@ INFO [dispatcher-event-loop-9] Controller: Reserved 10 primary location and 0 re
 INFO [dispatcher-event-loop-8] Controller: Start commitFiles for local-1690000152711-0
 INFO [async-reply] Controller: CommitFiles for local-1690000152711-0 success with 10 committed primary partitions, 0 empty primary partitions, 0 failed primary partitions, 0 committed replica partitions, 0 empty replica partitions, 0 failed replica partitions.
 ```
+
+## Start Flink with Celeborn
+#### Copy Celeborn Client to Flink's lib
+Celeborn release binary contains clients for Flink 1.14.x, Flink 1.15.x and Flink 1.17.x, copy the corresponding client jar into Flink's
+`jar/` directory:
+```shell
+cp $CELEBORN_HOME/flink/<Celeborn Client Jar> $FLINK_HOME/lib/
+```
+#### Add Celeborn configuration to Flink's conf
+Set `shuffle-service-factory.class` to Celeborn's ShuffleServiceFactory in Flink configuration file:
+```shell
+cd $FLINK_HOME
+vi conf/flink-conf.yaml
+```
+```properties
+shuffle-service-factory.class: org.apache.celeborn.plugin.flink.RemoteShuffleServiceFactory
+```
+Then deploy the example word count job to the running cluster:
+```shell
+cd $FLINK_HOME
+
+./bin/flink run examples/streaming/WordCount.jar

Review Comment:
   Need explicit set execution-mode of the WordCount job as BATCH



##########
docs/README.md:
##########
@@ -51,7 +51,7 @@ cd $CELEBORN_HOME
 ```
 You should see `Master`'s ip:port in the log:
 ```log
-INFO [main] NettyRpcEnvFactory: Starting RPC Server [MasterSys] on 192.168.2.109:9097
+INFO [main] NettyRpcEnvFactory: Starting RPC Server [MasterSys] on 192.168.2.109:9097 with advisor endpoint 192.168.2.109:909

Review Comment:
   nit: with advisor endpoint 192.168.2.109:909 -> with advisor endpoint 192.168.2.109:9097



##########
docs/README.md:
##########
@@ -115,3 +116,36 @@ INFO [dispatcher-event-loop-9] Controller: Reserved 10 primary location and 0 re
 INFO [dispatcher-event-loop-8] Controller: Start commitFiles for local-1690000152711-0
 INFO [async-reply] Controller: CommitFiles for local-1690000152711-0 success with 10 committed primary partitions, 0 empty primary partitions, 0 failed primary partitions, 0 committed replica partitions, 0 empty replica partitions, 0 failed replica partitions.
 ```
+
+## Start Flink with Celeborn
+#### Copy Celeborn Client to Flink's lib
+Celeborn release binary contains clients for Flink 1.14.x, Flink 1.15.x and Flink 1.17.x, copy the corresponding client jar into Flink's
+`jar/` directory:

Review Comment:
   let's use lib/ directory



-- 
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@celeborn.apache.org

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