-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-17387. [FGL] Abstract the configuration locking mode #6572
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
|
💔 -1 overall
This message was automatically generated. |
a81fb5e to
4fbeed5
Compare
|
Since HDFS-17394 has been merged. can rebase this PR. |
done |
...s-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
Show resolved
Hide resolved
...fs/src/main/java/org/apache/hadoop/hdfs/server/namenode/fgl/FineGrainedFSNamesystemLock.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/apache/hadoop/hdfs/server/namenode/fgl/MeasurableReentrantReadWriteLock.java
Outdated
Show resolved
Hide resolved
ferhui
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.
Thanks. It's very clear to me now. +1
@slfan1989 Thanks so much. I will rebase this PR again. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
seems the checkstyle issue still exists. |
|
💔 -1 overall
This message was automatically generated. |
|
@ferhui The failed UTs are not introduced by this PR. I will submit a new PR to fix them and contribute them to the trunk branch. |
|
Thanks. Merged |
* HDFS-17387. [FGL] Abstract the configurable locking mode
* HDFS-17387. [FGL] Abstract the configurable locking mode
* HDFS-17387. [FGL] Abstract the configurable locking mode
* HDFS-17387. [FGL] Abstract the configurable locking mode
* HDFS-17387. [FGL] Abstract the configurable locking mode
* HDFS-17387. [FGL] Abstract the configurable locking mode
* HDFS-17387. [FGL] Abstract the configurable locking mode
* HDFS-17387. [FGL] Abstract the configurable locking mode
Splitting the current global FNS lock into FSLock and BMLock.
Abstract these lock mode and make them selectable, so that end-user can choose to use global lock or fine-grained lock through configuration.