Issue Details (XML | Word | Printable)

Key: HADOOP-1707
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: dhruba borthakur
Reporter: dhruba borthakur
Votes: 0
Watchers: 1
Operations

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

Remove the DFS Client disk-based cache

Created: 11/Aug/07 12:38 AM   Updated: 08/Jul/09 04:42 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.16.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works clientDiskBuffer.patch 2007-10-31 08:47 PM dhruba borthakur 45 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer10.patch 2007-12-05 07:41 AM dhruba borthakur 97 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer11.patch 2007-12-05 11:52 PM dhruba borthakur 97 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer12.patch 2007-12-07 08:32 AM dhruba borthakur 97 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer14.patch 2007-12-13 01:09 AM dhruba borthakur 99 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer15.patch 2007-12-19 07:57 AM dhruba borthakur 111 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer16.patch 2007-12-29 09:09 AM dhruba borthakur 117 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer17.patch 2008-01-07 07:33 PM dhruba borthakur 126 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer18.patch 2008-01-08 05:56 PM dhruba borthakur 125 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer19.patch 2008-01-10 11:42 PM dhruba borthakur 126 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer2.patch 2007-11-02 05:45 PM dhruba borthakur 49 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer20.patch 2008-01-13 08:00 AM dhruba borthakur 129 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer21.patch 2008-01-14 08:57 AM dhruba borthakur 129 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer22.patch 2008-01-14 07:13 PM dhruba borthakur 129 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer23.patch 2008-01-15 12:59 AM dhruba borthakur 113 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer23.patch 2008-01-15 12:08 AM dhruba borthakur 113 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer24.patch 2008-01-15 07:11 PM dhruba borthakur 132 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer24.patch 2008-01-15 07:11 AM dhruba borthakur 116 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer25.patch 2008-01-16 01:11 AM dhruba borthakur 135 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer26.patch 2008-01-16 06:17 PM dhruba borthakur 136 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer27.patch 2008-01-17 12:58 AM dhruba borthakur 136 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer27.patch 2008-01-16 11:22 PM dhruba borthakur 136 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer6.patch 2007-11-13 09:08 AM dhruba borthakur 89 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer7.patch 2007-11-21 10:11 AM dhruba borthakur 94 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer8.patch 2007-11-27 07:32 PM dhruba borthakur 96 kB
Text File Licensed for inclusion in ASF works clientDiskBuffer9.patch 2007-12-03 11:08 PM dhruba borthakur 97 kB
Microsoft Word Licensed for inclusion in ASF works DataTransferProtocol.doc 2007-11-16 12:09 AM dhruba borthakur 44 kB
HTML File Licensed for inclusion in ASF works DataTransferProtocol.html 2007-11-16 12:13 AM dhruba borthakur 18 kB
Issue Links:
Blocker
 
Dependants
 
Incorporates
 
Reference
 

Resolution Date: 17/Jan/08 06:12 PM


 Description  « Hide
The DFS client currently uses a staging file on local disk to cache all user-writes to a file. When the staging file accumulates 1 block worth of data, its contents are flushed to a HDFS datanode. These operations occur sequentially.

A simple optimization of allowing the user to write to another staging file while simultaneously uploading the contents of the first staging file to HDFS will improve file-upload performance.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #612903 Thu Jan 17 18:11:35 UTC 2008 dhruba HADOOP-1707. The DFSClient does not use a local disk file to cache
writes to a HDFS file. Changed Data Transfer Version from 7 to 8.
(dhruba)
Files Changed
MODIFY /lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestFileLimit.java
MODIFY /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DFSClient.java
MODIFY /lucene/hadoop/trunk/src/java/org/apache/hadoop/fs/FSDataOutputStream.java
MODIFY /lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestSetrepIncreasing.java
MODIFY /lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/SimulatedFSDataset.java
MODIFY /lucene/hadoop/trunk/src/java/org/apache/hadoop/util/Daemon.java
MODIFY /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDataset.java
MODIFY /lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/MiniDFSCluster.java
MODIFY /lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDataTransferProtocol.java
MODIFY /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSDatasetInterface.java
MODIFY /lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestSimulatedFSDataset.java
MODIFY /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataChecksum.java
ADD /lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDatanodeDeath.java
MODIFY /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/DataNode.java
MODIFY /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java
MODIFY /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java
MODIFY /lucene/hadoop/trunk/CHANGES.txt

Repository Revision Date User Message
ASF #618349 Mon Feb 04 17:57:54 UTC 2008 nigel HADOOP-2768. Fix performance regression caused by HADOOP-1707. Contributed by dhruba borthakur.
Files Changed
MODIFY /hadoop/core/trunk/src/java/org/apache/hadoop/dfs/DataNode.java
MODIFY /hadoop/core/trunk/CHANGES.txt