[SPARK-12858] [CORE] Remove duplicated code in metrics#10787
[SPARK-12858] [CORE] Remove duplicated code in metrics#10787BenFradet wants to merge 14 commits intoapache:masterfrom BenFradet:SPARK-12858
Conversation
… trait HasPollingPeriod
|
I'll add a test suite for the HasPollingPeriod trait. |
|
Test build #49527 has finished for PR 10787 at commit
|
|
The reason for the failed build is not reflected in the code change, weird. |
|
Test build #49529 has finished for PR 10787 at commit
|
|
Test build #49530 has finished for PR 10787 at commit
|
|
Test build #49553 has finished for PR 10787 at commit
|
|
Test build #49560 has finished for PR 10787 at commit
|
|
Ping @JoshRosen and @rxin |
|
FYI, I think the review of the code changes here is going to take a low priority:
|
|
Yup, no problem, thanks for the update. |
|
Do you think it'd be worth investigating if tests are feasible/worthwhile? |
|
Suggestion: we can merge the documentation fixes separately. I'm not especially motivated to review these code changes if they're just internal cleanup / refactoring, since this isn't a high-activity component and I'd prefer to just leave known working code in place. Therefore, here's my proposal:
|
|
Sure. Anyway, should I repurpose the jira or create another one? |
|
Create new JIRAs as you submit PRs. |
I noticed there is some duplicated code in the sinks regarding the poll period.
Also, parts of the metrics.properties template were unclear.
This PR aims to fix both issues.