[ 
https://issues.apache.org/jira/browse/HADOOP-6532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HADOOP-6532:
-------------------------------------------

    Description: 
Compared with java.lang.String, org.apache.hadoop.fs.Path is much heavier since 
it contains URI.  The size of a Path is roughly 3 times of a String.  See some 
numbers in the comments.

A major impact of decreasing Path size is allowing ls, archive, etc. on 
directories with many files.

  was:Compared with java.lang.String, org.apache.hadoop.fs.Path is much heavier 
since it contains URI.  The size of a Path is roughly 3 times of a String.  
Will post some numbers in the comments.


> Path objects are heavy
> ----------------------
>
>                 Key: HADOOP-6532
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6532
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>         Attachments: Fun.java
>
>
> Compared with java.lang.String, org.apache.hadoop.fs.Path is much heavier 
> since it contains URI.  The size of a Path is roughly 3 times of a String.  
> See some numbers in the comments.
> A major impact of decreasing Path size is allowing ls, archive, etc. on 
> directories with many files.

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

Reply via email to