You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2011/04/15 18:42:05 UTC

[jira] [Commented] (HADOOP-7018) FileContext's list operation should return local names in the status object rather then the full path.

    [ 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