Skip to content

HIVE-28608: Resolve Issues in ReplicationMigrationTool and Activate Test Suite - #5595

Merged
okumin merged 1 commit into
apache:masterfrom
Indhumathi27:repl_test
Jan 16, 2025
Merged

HIVE-28608: Resolve Issues in ReplicationMigrationTool and Activate Test Suite#5595
okumin merged 1 commit into
apache:masterfrom
Indhumathi27:repl_test

Conversation

@Indhumathi27

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Fixed minor bugs in ReplicationMigrationTool and enabled TestReplicationMigrationTool class

Why are the changes needed?

The testcases were not running properly from beginning and went unnoticed because of lower Maven surefire plugin which suppressed the errors. Post HIVE-28519 the test cases started failing. Error log is added in the jira.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

Existing test case

@sonarqubecloud

sonarqubecloud Bot commented Jan 5, 2025

Copy link
Copy Markdown

@Indhumathi27

Copy link
Copy Markdown
Contributor Author

@ayushtkn Can you help to review. Thanks

@Indhumathi27

Copy link
Copy Markdown
Contributor Author

@deniskuzZ @ayushtkn @okumin Please help to review the PR. Thanks

@okumin okumin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1. I'm waiting for 24 hours to follow the guideline

System.out.println("Time Taken: " + (System.currentTimeMillis() - startTime) + " ms");
if (failed != 0) {
return -1;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

LocatedFileStatus sourceFile = srcListing.next();
if (filtersPattern != null && !isCopied(sourceFile.getPath(), filtersPattern)) {
LOG.info("Entry: {} is filtered.", sourceFile.getPath());
continue;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I understand this is just a cleanup that doesn't change behaviors

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

you are right

@Indhumathi27

Copy link
Copy Markdown
Contributor Author

@okumin Can you help to check this PR

@okumin
okumin merged commit 6c6fb28 into apache:master Jan 16, 2025
henrib pushed a commit to henrib/hive that referenced this pull request Jan 31, 2025
…est Suite (apache#5595) (Indhumathi Muthumurugesh, reviewed by Shohei Okumiya)
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.

3 participants