Issue Details (XML | Word | Printable)

Key: HADOOP-5224
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: Nigel Daley
Votes: 0
Watchers: 6
Operations

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

Disable append

Created: 11/Feb/09 08:39 PM   Updated: 08/Jul/09 05:05 PM
Return to search
Component/s: None
Affects Version/s: 0.19.0
Fix Version/s: 0.19.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works disableAppend.patch 2009-02-17 03:09 PM dhruba borthakur 8 kB
Text File Licensed for inclusion in ASF works HADOOP-5224-libhdfs.patch 2009-02-19 07:10 PM Raghu Angadi 0.4 kB
Text File Licensed for inclusion in ASF works HADOOP-5224.patch 2009-02-13 08:20 PM Raghu Angadi 6 kB
Issue Links:
Reference
 

Hadoop Flags: Incompatible change, Reviewed
Release Note: HDFS append() is disabled. It throws UnsupportedOperationException.
Resolution Date: 18/Feb/09 05:42 AM


 Description  « Hide
As discussed on core-dev@ (http://www.nabble.com/Hadoop-0.19.1-td21739202.html) we will disable append API in Hadoop 0.19.1 by throwing UnsupportedOperationException from FileSystem.append(...) methods.

Does append in libhdfs (HADOOP-4494) need attention too?



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #744282 Fri Feb 13 23:30:25 UTC 2009 rangadi HADOOP-5224. HDFS append() is disabled. It throws
UnsupportedOperationException. committed only to 0.19.x (Raghu Angadi)
Files Changed
MODIFY /hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/DistributedFileSystem.java
MODIFY /hadoop/core/branches/branch-0.19/src/test/org/apache/hadoop/hdfs/TestQuota.java
MODIFY /hadoop/core/branches/branch-0.19/CHANGES.txt
MODIFY /hadoop/core/branches/branch-0.19/src/test/org/apache/hadoop/hdfs/TestFileAppend3.java
MODIFY /hadoop/core/branches/branch-0.19/src/test/org/apache/hadoop/hdfs/TestFileAppend2.java

Repository Revision Date User Message
ASF #745977 Thu Feb 19 19:50:29 UTC 2009 rangadi minor: the original patch for HADOOP-5224 did not disable
append tests in libhdfs. This fixes it. (Raghu Angadi)
Files Changed
MODIFY /hadoop/core/branches/branch-0.19/src/c++/libhdfs/hdfs_test.c