Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-29325][documentation]Fix documentation bug on how to enable ba… #20849

Closed
wants to merge 2 commits into from

Conversation

mddxhj
Copy link
Contributor

@mddxhj mddxhj commented Sep 16, 2022

What is the purpose of the change

Fix documentation error on how to enable batch mode for streaming examples.

Brief change log

use --execution-mode BATCH instead of -Dexecution.runtime-mode=BATCH

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
  • The serializers: (no)
  • The runtime per-record code paths (performance sensitive): (no)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
  • The S3 file system connector: (no)

Documentation

  • Does this pull request introduce a new feature? (no)

@flinkbot
Copy link
Collaborator

flinkbot commented Sep 16, 2022

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

Copy link
Member

@Myasuka Myasuka left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution, LGTM.

@Myasuka
Copy link
Member

Myasuka commented Sep 17, 2022

@flinkbot run azure

@Myasuka
Copy link
Member

Myasuka commented Sep 20, 2022

The CI on a forked pipeline could pass, and the reason why this CI would fail is due to FLINK-29315.

Copy link
Member

@Myasuka Myasuka left a comment

Choose a reason for hiding this comment

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

Before merging, I think the kernel idea of this doc is to tell users how to submit jar program with batch execution mode via commands. Current WordCount.jar cannot use such method due to FLINK-24830, however, we should still follow the kernel idea of why this doc exists.

Maybe we can change the line to $ bin/flink run -Dexecution.runtime-mode=BATCH <jarFile>.

What do you think?

@mddxhj
Copy link
Contributor Author

mddxhj commented Sep 20, 2022

I have update the doc as you said

Copy link
Member

@Myasuka Myasuka left a comment

Choose a reason for hiding this comment

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

Thanks for the update! LGTM.

@Myasuka
Copy link
Member

Myasuka commented Sep 21, 2022

@Myasuka Myasuka closed this in 05600f8 Sep 21, 2022
Myasuka pushed a commit that referenced this pull request Sep 21, 2022
Myasuka pushed a commit that referenced this pull request Sep 21, 2022
huangxiaofeng10047 pushed a commit to huangxiaofeng10047/flink that referenced this pull request Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants