-
Notifications
You must be signed in to change notification settings - Fork 587
HDDS-4514. AllocateBlock : lookup and update open file table for the given path #1656
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
Conversation
…le entry into separate FileTable (apache#1473)
…try in dir/file table (apache#1557) HDDS-4357: Rename : make rename an atomic ops by updating key path entry in dir/file table
linyiqun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks good to me. Below some minor comments from me.
| } | ||
| Assert.assertFalse("key already exists /root_dir/file1", | ||
| fs.rename(abcRootPath, file1Destin)); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Above rename related change already contained in PR #1607.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| */ | ||
| public class TestOMAllocateBlockResponseV1 | ||
| extends TestOMAllocateBlockResponse { | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to override getOzoneConfiguration method in this class?
protected OzoneConfiguration getOzoneConfiguration() {
OzoneConfiguration config = super.getOzoneConfiguration();
config.set(OMConfigKeys.OZONE_OM_LAYOUT_VERSION, "V1");
return config;
}There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@rakeshadr can you rebase this PR, it has multiple changes looks like it. |
|
Current PR has multiple changes and looks like stale. I am closing this. |
What changes were proposed in this pull request?
This task is to use open file table for the allocate block operations. This has been identified as part of Hive TPCDS benchmark test.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4514
How was this patch tested?
Added UT cases. Also, verified by running hive tpcds test