Skip to content

HIVE-28819: [HiveAcidReplication] copy gets stuck for hive.repl.retry.total.duration for FileNotFoundException #5990

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

harshal-16
Copy link
Contributor

Problem Statement:

  • If some files are deleted from the source side while the copy operation is going on, then the replication job gets stuck for 24 hours
  • This was happening because FileNotFoundException was getting wrapped into IOException, and that is undera retryable function with retry on IOException and exit on FileNotFoundException

Testing:

  • Added test case

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

….total.duration for FileNotFoundException

Problem Statement:
  * if some files deleted from the source side while copy operation is going on then replication job was getting stuck for 24 hours
  * This was happening because FileNotFoundException was getting wrapped into IOException and that is under retryable function with retry on IOException and exit on FileNotFoundException

Testing:
  * Added test-case
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants