You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by NicoK <gi...@git.apache.org> on 2017/11/06 11:10:51 UTC
[GitHub] flink pull request #4952: [FLINK-7992][docs] extend the PR template asking f...
GitHub user NicoK opened a pull request:
https://github.com/apache/flink/pull/4952
[FLINK-7992][docs] extend the PR template asking for any S3 relation
## What is the purpose of the change
This adds a question to the PR template whether a PR is S3-related because this needs special tests (run in the committer's Travis CI with proper AWS credentials set up) before merging for the following reason:
S3 file system tests are only run if AWS credentials are specified, i.e. ARTIFACTS_AWS_BUCKET, ARTIFACTS_AWS_ACCESS_KEY, and ARTIFACTS_AWS_SECRET_KEY. Since these must remain secret, they are only set in Apache Flink's Travis CI configuration and not available in the Travis runs on pull requests (PR) to not leak them in any way. This however means that if a contributor changes something S3-related, the PR's test results will not reflect the actual changes and if something breaks there, we will only see it once merged.
## Brief change log
- extend the PR template
## 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, Yarn/Mesos, ZooKeeper: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/NicoK/flink flink-7992
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4952.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4952
----
commit 64c82aaadd9c25be4f3338a7c203f9f93ffc93d0
Author: Nico Kruber <ni...@data-artisans.com>
Date: 2017-11-06T11:04:35Z
[FLINK-7992][docs] extend the PR template asking for any S3 relation
----
---
[GitHub] flink issue #4952: [FLINK-7992][docs] extend the PR template asking for any ...
Posted by zentol <gi...@git.apache.org>.
Github user zentol commented on the issue:
https://github.com/apache/flink/pull/4952
+1
---
[GitHub] flink issue #4952: [FLINK-7992][docs] extend the PR template asking for any ...
Posted by zentol <gi...@git.apache.org>.
Github user zentol commented on the issue:
https://github.com/apache/flink/pull/4952
I've merged the PR as is, please open a follow-up for the suggestions.
---
[GitHub] flink pull request #4952: [FLINK-7992][docs] extend the PR template asking f...
Posted by pnowojski <gi...@git.apache.org>.
Github user pnowojski commented on a diff in the pull request:
https://github.com/apache/flink/pull/4952#discussion_r149069170
--- Diff: .github/PULL_REQUEST_TEMPLATE.md ---
@@ -63,9 +63,9 @@ This change added tests and can be verified as follows:
- The serializers: (yes / no / don't know)
- The runtime per-record code paths (performance sensitive): (yes / no / don't know)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
+ - The S3 file system connector: (yes / no / don't know)
--- End diff --
Yes definitely. Also maybe with some small manual how to run those S3 tests?
---
[GitHub] flink pull request #4952: [FLINK-7992][docs] extend the PR template asking f...
Posted by tillrohrmann <gi...@git.apache.org>.
Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/4952#discussion_r149067102
--- Diff: .github/PULL_REQUEST_TEMPLATE.md ---
@@ -63,9 +63,9 @@ This change added tests and can be verified as follows:
- The serializers: (yes / no / don't know)
- The runtime per-record code paths (performance sensitive): (yes / no / don't know)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
+ - The S3 file system connector: (yes / no / don't know)
--- End diff --
Maybe we could add some more details for the committer why this is important. E.g. pointing to the documentation where we explain what's the problem with it.
---
[GitHub] flink pull request #4952: [FLINK-7992][docs] extend the PR template asking f...
Posted by zentol <gi...@git.apache.org>.
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/4952#discussion_r149070673
--- Diff: .github/PULL_REQUEST_TEMPLATE.md ---
@@ -63,9 +63,9 @@ This change added tests and can be verified as follows:
- The serializers: (yes / no / don't know)
- The runtime per-record code paths (performance sensitive): (yes / no / don't know)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
+ - The S3 file system connector: (yes / no / don't know)
--- End diff --
@pnowojski The S3 tests are automatically run if the S3 credentials are correctly setup on travis.
---
[GitHub] flink pull request #4952: [FLINK-7992][docs] extend the PR template asking f...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/flink/pull/4952
---
[GitHub] flink issue #4952: [FLINK-7992][docs] extend the PR template asking for any ...
Posted by StephanEwen <gi...@git.apache.org>.
Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/4952
I am wondering why we name explicitly S3 and not other parts that are not tested in an automatic fashion, (like MapR specific Kafka Kerberos quirks).
The S3 code is at least tested on every apache master build, not only when a committer has credentials set up.
tl:dr - I think the S3 stuff is a bit too specific for its own line in the PR template...
---
[GitHub] flink pull request #4952: [FLINK-7992][docs] extend the PR template asking f...
Posted by NicoK <gi...@git.apache.org>.
Github user NicoK commented on a diff in the pull request:
https://github.com/apache/flink/pull/4952#discussion_r149070730
--- Diff: .github/PULL_REQUEST_TEMPLATE.md ---
@@ -63,9 +63,9 @@ This change added tests and can be verified as follows:
- The serializers: (yes / no / don't know)
- The runtime per-record code paths (performance sensitive): (yes / no / don't know)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
+ - The S3 file system connector: (yes / no / don't know)
--- End diff --
Wouldn't this be true for any of the points we ask users to fill out? In the end, there should probably be a committer's guide (is there?) with more details on everything but for the committer only - we don't want to scare the contributer away.
---