Skip to content

[MINOR] move metrics implementation to hudi-common#3356

Closed
jintaoguan wants to merge 3 commits intoapache:masterfrom
jintaoguan:move-metrics-module
Closed

[MINOR] move metrics implementation to hudi-common#3356
jintaoguan wants to merge 3 commits intoapache:masterfrom
jintaoguan:move-metrics-module

Conversation

@jintaoguan
Copy link
Contributor

Tips

What is the purpose of the pull request

(For example: This pull request adds quick-start document.)

Brief change log

(for example:)

  • Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request

(Please pick either of the following options)

This pull request is a trivial rework / code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end.
  • Added HoodieClientWriteTest to verify the change.
  • Manually verified the change by running a job locally.

Committer checklist

  • Has a corresponding JIRA in PR title & commit

  • Commit message is descriptive of the change

  • CI is green

  • Necessary doc changes done or have another open PR

  • For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@jintaoguan jintaoguan changed the title move metrics implementation to hudi-common [MINOR] move metrics implementation to hudi-common Jul 27, 2021
@hudi-bot
Copy link
Collaborator

hudi-bot commented Jul 27, 2021

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run travis re-run the last Travis build
  • @hudi-bot run azure re-run the last Azure build

Copy link
Member

@garyli1019 garyli1019 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jintaoguan , thanks for your contribution. Would you describe the initiative of this PR? I couldn't see the benefit of moving the metric to common.

@jintaoguan
Copy link
Contributor Author

@garyli1019 Currently all metrics-related implementations are in hudi-client-common. But I want to emit some metrics for hudi-hadoop-mr which only depends on hudi-common. Moving metrics to hudi-common will allow all modules like hudi-hadoop-mr or hudi-hive-sync to access the metrics-related implementation.

@garyli1019
Copy link
Member

@jintaoguan I see, this is not a minor change. Would you create a Jira ticket and add the description there?
I am afraid this will make common too heavy. Maybe we can make hudi-metric an independent module? @xushiyan thoughts?

@jintaoguan
Copy link
Contributor Author

@garyli1019 We might need to think about the plan for moving the implementations of metrics. So I will just abandon this PR for now. Thank you for reviewing.

@jintaoguan jintaoguan closed this Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants