-
Couldn't load subscription status.
- Fork 3.4k
HBASE-26994 MasterFileSystem create directory without permission check #4391
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. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
Hi @virajjasani , could you please take a look at this? Thanks |
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.
One part of the change looks good, the other one looks redundant, please help me understand if that is not the case.
Thanks @skysiders
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
Show resolved
Hide resolved
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
Show resolved
Hide resolved
|
Hi @virajjasani , thanks for your review.I have another PR HBASE-26895.Could you please have a look? |
#4391) Signed-off-by: Viraj Jasani <[email protected]>
#4391) Signed-off-by: Viraj Jasani <[email protected]>
#4391) Signed-off-by: Viraj Jasani <[email protected]>
apache#4391) Signed-off-by: Viraj Jasani <[email protected]> (cherry picked from commit bba83dc) Change-Id: I337afb05d4afe271718af63b3086d6b6df88006b
HBASE-26994 MasterFileSystem create directory without permission check
Method checkStagingDir and checkSubDir first check if directory is exist ,if not , create it with special permission. If exist then setPermission for this directory. BUT if not exist ,we still need set special permission for this directory.