-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
HDFS-15520 Use visitor pattern to visit namespace tree #2203
Conversation
💔 -1 overall
This message was automatically generated. |
* \- z_file4 (INodeFile@45848712) | ||
*/ | ||
public class NamespacePrintVisitor implements NamespaceVisitor { | ||
static final String NON_LAST_ITEM = "+-"; |
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.
we have these constants also in InodeDirectory , can we move these constants into a common place ?
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.
We will remove the constants in INodeDirectory with HDFS-15521.
@szetszwo , thanks for working on this. The patch looks good. +1 |
@bshashikant , thanks for the review. Just have pushed commits for fixing the checkstype warnings, adding javadoc and some minor changes. Could you take a look again? |
💔 -1 overall
This message was automatically generated. |
Thanks @szetszwo for the contribution. I have committed this. |
💔 -1 overall
This message was automatically generated. |
Looks like this PR introduced two new find bugs warnings. Could you check and fix them please? |
Thanks for pointing out. Will fix it. |
Change-Id: I68c712c884032b31476470912f33f07e55729413 (cherry picked from commit b6e7a13)
https://issues.apache.org/jira/browse/HDFS-15520