Description
INode.getPathnames uses String.split(String) which actually uses the full Java regex implementation. Since we're always splitting on a single char, we could implement a faster one like StringUtils.split() (except without the escape character). This takes a significant amount of CPU during FSImage loading so should be a worthwhile speedup.
Attachments
Attachments
Issue Links
- is blocked by
-
HADOOP-6623 Add StringUtils.split for non-escaped single-character separator
-
- Resolved
-