hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7018) FileContext's list operation should return local names in the status object rather then the full path.
Date Fri, 15 Apr 2011 16:42:05 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020347#comment-13020347
] 

Hairong Kuang commented on HADOOP-7018:
---------------------------------------

One pros to having a new class is the performance gain. ListStatus/getFileInfo do not need
to convert a local name to a full path until it is needed. String operations turn out to be
quite expensive in java. But the pros of having a new class is that we need to do more code
changes and requires more code changes to the users.

> FileContext's list operation should return local names in the status object rather then
the full path.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7018
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7018
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Sanjay Radia
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message