Repository navigation
Fix NPE in ComputationState constructor introduced by PR/7846 - #7869
Merged
Merged
Conversation
…ot cause was assuming an empty transformUserNameToStateFamily map was passed, when instead null was passed.
Contributor
Author
|
R: @reuvenlax |
Contributor
Contributor
Author
|
I don't know.
…On Sun, Feb 17, 2019, 7:04 PM Ryan Williams ***@***.*** wrote:
Thanks for the quick fix here @drieber <https://github.com/drieber>!
One question I had was why the Java_Examples_Dataflow precommit didn't
run on #7846 <#7846> (and so far
doesn't seem to have run here)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7869 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AT9x-qjJo9bL0c4XqE3a4mKyB8BEfghjks5vOhg0gaJpZM4a_9dw>
.
|
Contributor
|
Run Dataflow ValidatesRunner |
Contributor
|
Run Java PostCommit |
Contributor
|
Run Java_Examples_Dataflow PreCommit |
Contributor
|
@drieber thanks for the quick fix! For future reference, when changing a specific runner, it's best to run the ValidatesRunner tests for that runner before merging (see the run I triggered above for the Dataflow runner). Unfortunately the documentation on these trigger phrases is still a bit spotty. |
Contributor
|
@reuvenlax per my comment above, do you know why "Java_Examples_Dataflow PreCommit" ran on our PRs (#7823, #7865) that didn't seem to have to do with Dataflow, but not #7846 (where the bug was introduced) nor here (where the bug was fixed)? |
Contributor
|
Here is the trigger pattern (from
job_PreCommit_Java_Examples_Dataflow.groovy
<https://github.com/apache/beam/pull/6802/files#diff-29c78beae45d057dc4643ea33166a399>
)
I think the path runners/google-cloud-dataflow in the trigger is incorrect.
The actual code path is runners/dataflow.
PrecommitJobBuilder builder = new PrecommitJobBuilder(
scope: this,
nameBase: 'Java_Examples_Dataflow',
gradleTask: ':javaExamplesDataflowPreCommit',
gradleSwitches: ['-PdisableSpotlessCheck=true'], // spotless
checked in separate pre-commit
triggerPathPatterns: [
'^model/.*$',
'^sdks/java/.*$',
'^runners/google-cloud-dataflow/.*$',
'^examples/java/.*$',
'^release/.*$',
]
)
…On Mon, Feb 18, 2019 at 1:16 PM Ryan Williams ***@***.***> wrote:
@reuvenlax <https://github.com/reuvenlax> per my comment above
<#7869 (comment)>, do you
know why "Java_Examples_Dataflow PreCommit" ran on our PRs (#7823
<#7823>, #7865
<#7865>) that didn't seem to have to
do with Dataflow, but not #7846 <#7846>
(where the bug was introduced) nor here (where the bug was fixed)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7869 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AUGE1XbjxbuXaeQHvqetViDggv7EpPCiks5vOxgegaJpZM4a_9dw>
.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The root cause was assuming an empty transformUserNameToStateFamily map was passed, when instead null was passed.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.Post-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.