Skip to content

Comments

Add Flink instructions to portability contrib page.#506

Closed
tweise wants to merge 2 commits intoapache:asf-sitefrom
tweise:portabilityInstructions
Closed

Add Flink instructions to portability contrib page.#506
tweise wants to merge 2 commits intoapache:asf-sitefrom
tweise:portabilityInstructions

Conversation

@tweise
Copy link

@tweise tweise commented Jul 20, 2018

Please add a meaningful description for your change here.

Once your pull request has been opened and assigned a number, please edit the
URL below, replacing PULL_REQUEST_NUMBER with the number of your pull request.

http://apache-beam-website-pull-requests.storage.googleapis.com/PULL_REQUEST_NUMBER/index.html

Finally, it will help us expedite review of your Pull Request if you tag
someone (e.g. @username) to look at it.

@tweise tweise requested review from herohde and lukecwik July 20, 2018 20:43
@tweise
Copy link
Author

tweise commented Jul 20, 2018

CC: @angoenka

Copy link

@angoenka angoenka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Thomas!

2. Start the Flink portable JobService endpoint: `./gradlew :beam-runners-flink_2.11-job-server:runShadow`
3. Submit the wordcount pipeline to above endpoint: `./gradlew :beam-sdks-python:portableWordCount`

Note: A subset of the functionality is also supported in streaming mode; use `--streaming` in the command line to enable it.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we also add the complete command for streaming usecase to make it easier for our users.

1. Run once to build the SDK harness container: `./gradlew -p sdks/python/container
docker`
2. Start the Flink portable JobService endpoint: `./gradlew :beam-runners-flink_2.11-job-server:runShadow`
3. Submit the wordcount pipeline to above endpoint: `./gradlew :beam-sdks-python:portableWordCount`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can also add instructions to schedule it on a local flink cluster.

./gradlew :beam-runners-flink_2.11-job-server:shadowJar and then run the jar with appropriate arguments including endpoint for FlinkJobserver

### Status

MVP in progress. See the
MVP complete (for Flink runner). See the

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we wait for the ValidatesRunner test success before we call it complete?

Copy link

@angoenka angoenka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tweise tweise force-pushed the portabilityInstructions branch from 4181d79 to c6c738c Compare July 22, 2018 22:59
@tweise
Copy link
Author

tweise commented Jul 22, 2018

test this please

@tweise
Copy link
Author

tweise commented Jul 22, 2018

@asfgit merge

asfgit pushed a commit that referenced this pull request Jul 22, 2018
@asfgit
Copy link

asfgit commented Jul 22, 2018

Error: PR failed in verification; check the Jenkins job for more information.

@iemejia
Copy link
Member

iemejia commented Jul 23, 2018

@asfgit merge

@asfgit asfgit closed this in 3bad728 Jul 23, 2018
swegner pushed a commit to swegner/beam that referenced this pull request Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants