Uh oh!
There was an error while loading. Please reload this page.
[BEAM-14116] Catch MonitoringInfoMetricName null keys or values in the constructor - #17094
Conversation
dpcollins-google
commented
Mar 15, 2022
R: @lukecwik |
dpcollins-google
commented
Mar 15, 2022
R: @scwhittle |
Uh oh!
There was an error while loading. Please reload this page.
dpcollins-google
commented
Mar 16, 2022
Run Java PreCommit |
dpcollins-google
commented
Mar 17, 2022
Run Java PreCommit |
1 similar comment
dpcollins-google
commented
Mar 17, 2022
Run Java PreCommit |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lukecwik
commented
Mar 17, 2022
CC: @robertwb |
| @Override | ||
| public String getName() { | ||
| if (labels.containsKey(MonitoringInfoConstants.Labels.NAME)) { |
There was a problem hiding this comment.
nit: ditto on not looking in the map multiple times
lukecwik
commented
Mar 21, 2022
Run Java PreCommit |
lukecwik
commented
Mar 21, 2022
Run Java_Examples_Dataflow_Java11 PreCommit |
lukecwik
commented
Mar 21, 2022
Run Portable_Python PreCommit |
lukecwik
commented
Mar 22, 2022
Run Java PreCommit |
2 similar comments
lukecwik
commented
Mar 22, 2022
Run Java PreCommit |
lukecwik
commented
Mar 22, 2022
Run Java PreCommit |
dpcollins-google
commented
Mar 22, 2022
Run Java PreCommit |
lukecwik
commented
Mar 22, 2022
Manually kicked off Java PreCommit for this PR https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/21736 because the github comments aren't making it to Jenkins |
lukecwik
commented
Mar 22, 2022
Run Java PreCommit |
lukecwik
commented
Mar 23, 2022
Java PreCommit finally passed |
lukecwik
commented
Mar 25, 2022
@youngoli It looks like this change uncovered additional cases. We thought we caught the cases where this was happening but additional integration testing within Google caught that this fails for Datastore as well. Filed https://issues.apache.org/jira/browse/BEAM-14179 |
…ecution PR apache#16547 added handling for null ProjectIDs on command line execution, but did not handle the possibility of null ProjectIDs in template execution. PR apache#17094 added nullness checks in MonitoringInfoMetricNames, which then triggered NPEs if the ProjectID was not specified during a template execution.
Also fix possibly null field