hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-1028) INode.getPathNames could split more efficiently
Date Sat, 06 Mar 2010 07:07:27 GMT
INode.getPathNames could split more efficiently
-----------------------------------------------

                 Key: HDFS-1028
                 URL: https://issues.apache.org/jira/browse/HDFS-1028
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: name-node
            Reporter: Todd Lipcon
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message