-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[BEAM-9205] Add MetricsPusherTest to validates runner tests and fix spark module VR tests configuration #10669
[BEAM-9205] Add MetricsPusherTest to validates runner tests and fix spark module VR tests configuration #10669
Conversation
Run Spark ValidatesRunner |
Run Spark StructuredStreaming ValidatesRunner |
Run Flink ValidatesRunner |
Run Java Spark PortableValidatesRunner Batch |
Run Java Flink PortableValidatesRunner Batch |
Run Java Flink PortableValidatesRunner Streaming |
Run Java PreCommit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good, but It seems that MetricsPusherTest
is not being run any of the Spark runners, can you please check why @echauchot.
See:
https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_PR/203/testReport/
https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_SparkStructuredStreaming_PR/22/testReport/
For Flink they are running (and passing):
https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch_PR/119/testReport/org.apache.beam.runners.core.metrics/
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.apache.beam.runners.spark.structuredstreaming.metrics; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 removing useless code always good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
thanks @iemejia I'll take a look but I have an idea why. I think VR tests conf has changed, and as this MetricsPusherTest is the only one in runner-core package.... |
I think the VR conf of both spark runners is messed up, I will sync with other runners |
Run Spark StructuredStreaming ValidatesRunner |
Run Java Spark PortableValidatesRunner Batch |
Run Spark ValidatesRunner |
Run Java PreCommit |
@iemejia now validates runner tests are ok and MetricsPusher is run and passes for all spark the runners that support metrics (current and structured streaming ones). Also the build seems flaky I opened a ticket: https://jira.apache.org/jira/browse/BEAM-9187 and relaunched the build |
Looks like the test is not run yet in the Portable Spark runner, but the Portable Flink runner did run it. |
Yes, portable spark runner currently excludes all the metrics related tests that is why this test is not run. I guess the portable runner is not ready for metrics yet |
Interesting this was supposed to be working already. I will look at that with Kyle. I just looked for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Please self-merge / squash commits as you consider correct. Maybe worth to add A JIRA ticket and associate it with the previous ticket BEAM-3310.
Just for ref I addressed the missing |
5170bd1
to
36c6b3a
Compare
…lass (not only on the methods) and remove unneeded MetricsPusherTest inside spark structured streaming runner (because this runner uses the VR common test)
36c6b3a
to
bc9243a
Compare
Thanks @iemejia ! I have squashed and I'm merging on green light. I also have created and linked the ticket. And nice for |
Run Portable_Python PreCommit |
I figured out that this test is no more run, So added it
I also cleaned another uneeded test that was incorrectly copy-pasted from the current spark runner (that uses a dedicated streaming test mechanism) to the new one
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-XXX
with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.