hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Molkov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-1558) Optimize FSNamesystem.startFileInternal
Date Thu, 23 Dec 2010 17:50:46 GMT
Optimize FSNamesystem.startFileInternal

                 Key: HDFS-1558
                 URL: https://issues.apache.org/jira/browse/HDFS-1558
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Dmytro Molkov
            Assignee: Dmytro Molkov
            Priority: Minor
             Fix For: 0.23.0

Currently on file creation inside of FSNamesystem.startFileInternal there are three calls
to FSDirectory that are essentially the same:


All of them have to fetch the inode and then do some processing on it.
If instead we were to fetch the inode once and then do all of the processing on this INode
object it would save us two trips through the namespace + 2 calls to normalizePath all of
which are relatively expensive.

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

View raw message