Skip to content

Comments

[HUDI-3165] Enabling InProcessLockProvider for all multi-writer tests instead of FileSystemBasedLockProviderTestClass#4427

Merged
nsivabalan merged 1 commit intoapache:masterfrom
nsivabalan:enableInprocesLockForTests
Jan 6, 2022
Merged

[HUDI-3165] Enabling InProcessLockProvider for all multi-writer tests instead of FileSystemBasedLockProviderTestClass#4427
nsivabalan merged 1 commit intoapache:masterfrom
nsivabalan:enableInprocesLockForTests

Conversation

@nsivabalan
Copy link
Contributor

What is the purpose of the pull request

Recently we added InProcessLockProvider as a local jvm lock provider. Replacing usages of FileSystemBasedLockProviderTestClass in tests with InProcessLockProvider for multi-writer tests.

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.

@nsivabalan nsivabalan force-pushed the enableInprocesLockForTests branch from 440d8a1 to 980581f Compare December 23, 2021 01:35
Copy link
Contributor

@manojpec manojpec left a comment

Choose a reason for hiding this comment

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

There are more tests that uses FilesystemBasedLockProvider by setting the property like below. Are we addressing them all as part of this ticket?

properties.setProperty("hoodie.write.lock.provider", "org.apache.hudi.client.transaction.FileSystemBasedLockProviderTestClass");

@nsivabalan
Copy link
Contributor Author

@manojpec : I could not find any other tests using FileSystemBasedLockProviderTestClass. Can you point them to me.

@nsivabalan nsivabalan force-pushed the enableInprocesLockForTests branch from 980581f to 9e1cd6c Compare December 28, 2021 21:49
@hudi-bot
Copy link
Collaborator

CI report:

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

@nsivabalan nsivabalan changed the title [WIP] Enabling InProcessLockProvider for all multi-writer tests instead of FileSystemBasedLockProviderTestClass [HUDI-3165] Enabling InProcessLockProvider for all multi-writer tests instead of FileSystemBasedLockProviderTestClass Jan 4, 2022
@nsivabalan nsivabalan added the priority:critical Production degraded; pipelines stalled label Jan 4, 2022
Copy link
Contributor

@manojpec manojpec left a comment

Choose a reason for hiding this comment

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

LGTM

@nsivabalan nsivabalan merged commit 8718c30 into apache:master Jan 6, 2022
nsivabalan added a commit that referenced this pull request Jan 7, 2022
… instead of FileSystemBasedLockProviderTestClass (#4427)
@xushiyan xushiyan removed the priority:critical Production degraded; pipelines stalled label Jan 11, 2022
@vinishjail97 vinishjail97 mentioned this pull request Jan 24, 2022
5 tasks
vingov pushed a commit to vingov/hudi that referenced this pull request Jan 26, 2022
… instead of FileSystemBasedLockProviderTestClass (apache#4427)
liusenhua pushed a commit to liusenhua/hudi that referenced this pull request Mar 1, 2022
vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
… instead of FileSystemBasedLockProviderTestClass (apache#4427)
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.

4 participants