Issue Details (XML | Word | Printable)

Key: HADOOP-4747
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: David Phillips
Reporter: David Phillips
Votes: 0
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

Reuse FileStatus in FsShell where possible

Created: 02/Dec/08 12:54 AM   Updated: 23/Apr/09 07:17 PM
Return to search
Component/s: fs
Affects Version/s: 0.19.0
Fix Version/s: 0.20.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works hadoop-fsshell-reuse-status.patch 2008-12-02 01:03 AM David Phillips 3 kB

Hadoop Flags: Reviewed
Resolution Date: 05/Dec/08 01:16 AM


 Description  « Hide
FsShell should reuse FileStatus objects instead of converting to a Path and making extra calls to the backend FS (which can be slow and expensive).

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #723548 Fri Dec 05 01:15:19 UTC 2008 cdouglas HADOOP-4747. Speed up FsShell::ls by removing redundant calls to the
filesystem. Contributed by David Phillips.
Files Changed
MODIFY /hadoop/core/trunk/CHANGES.txt
MODIFY /hadoop/core/trunk/src/core/org/apache/hadoop/fs/FsShell.java