Skip to content
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

[HUDI-1381] Schedule compaction based on time elapsed #2260

Merged
merged 15 commits into from
Feb 17, 2021

Conversation

Karl-WangSK
Copy link
Contributor

Tips

What is the purpose of the pull request

Schedule compaction based on time elapsed

Brief change log

GH : #2229
It would be helpful to introduce configuration to schedule compaction based on time elapsed since last scheduled compaction.

Verify this pull request

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

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.

@codecov-io
Copy link

codecov-io commented Nov 18, 2020

Codecov Report

Merging #2260 (b34c416) into master (b593f10) will increase coverage by 19.24%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master    #2260       +/-   ##
=============================================
+ Coverage     50.27%   69.51%   +19.24%     
+ Complexity     2990      357     -2633     
=============================================
  Files           410       53      -357     
  Lines         18406     1929    -16477     
  Branches       1885      229     -1656     
=============================================
- Hits           9253     1341     -7912     
+ Misses         8395      456     -7939     
+ Partials        758      132      -626     
Flag Coverage Δ Complexity Δ
hudicli ? ?
hudiclient ? ?
hudicommon ? ?
hudiflink ? ?
hudihadoopmr ? ?
hudisparkdatasource ? ?
hudisync ? ?
huditimelineservice ? ?
hudiutilities 69.51% <ø> (-0.14%) 0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...common/table/view/FileSystemViewStorageConfig.java
...di-cli/src/main/java/org/apache/hudi/cli/Main.java
...java/org/apache/hudi/common/util/ParquetUtils.java
...rg/apache/hudi/common/fs/NoOpConsistencyGuard.java
...e/hudi/common/table/log/HoodieLogFormatWriter.java
...spark3/internal/HoodieDataSourceInternalTable.java
...sioning/clean/CleanMetadataV1MigrationHandler.java
.../org/apache/hudi/hive/NonPartitionedExtractor.java
.../main/scala/org/apache/hudi/HoodieSparkUtils.scala
...g/apache/hudi/hadoop/HoodieParquetInputFormat.java
... and 351 more

@Karl-WangSK
Copy link
Contributor Author

@n3nash @vinothchandar hi ,can you pls take a look at this pr?

@yanghua
Copy link
Contributor

yanghua commented Nov 28, 2020

@wangxianghu Can you review this PR?

Copy link
Contributor

@yanghua yanghua left a comment

Choose a reason for hiding this comment

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

Have a quick look, found two minor issues.

Copy link
Contributor

@wangxianghu wangxianghu left a comment

Choose a reason for hiding this comment

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

Hi @Karl-WangSK Thanks for your contribution, I left some comments you can consider

@Karl-WangSK Karl-WangSK force-pushed the HUDI-1381 branch 2 times, most recently from 5fcea7d to 87a7489 Compare December 26, 2020 12:05
Copy link
Contributor

@wangxianghu wangxianghu left a comment

Choose a reason for hiding this comment

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

@Karl-WangSK Thanks for addressing my concern, LGTM now!
cc @yanghua

Copy link
Contributor

@yanghua yanghua left a comment

Choose a reason for hiding this comment

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

@Karl-WangSK Left some comments.

@Karl-WangSK Karl-WangSK reopened this Jan 7, 2021
@Karl-WangSK
Copy link
Contributor Author

@yanghua ready to merge

@yanghua
Copy link
Contributor

yanghua commented Jan 18, 2021

@yanghua ready to merge

thanks for your reminder, will review it again~

Copy link
Contributor

@yanghua yanghua left a comment

Choose a reason for hiding this comment

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

@Karl-WangSK Left some comments.

Copy link
Contributor

@yanghua yanghua left a comment

Choose a reason for hiding this comment

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

@Karl-WangSK Left some comments.

Copy link
Contributor

@yanghua yanghua left a comment

Choose a reason for hiding this comment

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

@Karl-WangSK Left some comments.

@Karl-WangSK
Copy link
Contributor Author

cc @yanghua

Copy link
Member

@vinothchandar vinothchandar left a comment

Choose a reason for hiding this comment

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

LGTM overall. Minor comments.

Copy link
Member

@vinothchandar vinothchandar left a comment

Choose a reason for hiding this comment

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

LGTM

@vinothchandar vinothchandar merged commit 9431aab into apache:master Feb 17, 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.

None yet

7 participants