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-16873 FileStatus compareTo specify ordering by path #5219
Conversation
💔 -1 overall
This message was automatically generated. |
Thanks for contributing a patch. We really need a JIRA ID for each patch contributed. |
@jojochuang yes, no problem. I had requestrd a Jira account in parallel and will update when I am able to open one. |
Javadoc build error is unrelated. Merging it now. |
Description of PR
FileStatus implements the Comparable interface. Was looking to sort and was unable to tell what fields were used to base the sorting order on from documentation. Needed to review code to understand behavior.
Updated documentation for those looking to specify comapreTo uses lexicographical order of path.
How was this patch tested?
NA. Documentation update.
Apologies for not having JIRA. Requesting access in parallel and will resubmit if this is required for such trivial changes.