|
Raghu Angadi made changes - 08/Jan/09 08:22 PM
[
Permlink
| « Hide
]
dhruba borthakur added a comment - 08/Jan/09 11:01 PM
when the datanode restarts, remove all blocks from the tmp directory of the datanode. However, fsync does not throw an exception.
dhruba borthakur made changes - 08/Jan/09 11:01 PM
Dhruba, we should also remove the unit tests that test the tmp directory does not get removed after restarting the cluster.
The two junit tests that would fail with this patch are TestFileCreationDelete and TestRenameWhileOpen.
Thanks Hairong.
The updated patch disables the test Hairong mentioned with a very explicit comment that it is a temporary change and it has the original patch Dhruba attached.
Raghu Angadi made changes - 09/Jan/09 12:26 AM
Hi Hairong, I saw ur comment just now about the unit tests. Thanks for fixing it.
Raghu Angadi made changes - 14/Jan/09 08:38 PM
+1 on Raghu's patch. It is critical for 0.18.
Raghu Angadi made changes - 16/Jan/09 10:01 PM
test-patch :
------------ [exec] -1 overall. [exec] +1 @author. The patch does not contain any @author tags. [exec] +1 tests included. The patch appears to include 6 new or modified tests. [exec] -1 javadoc. The javadoc tool appears to have generated 1 warning messages. [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings. ---------- JavaDoc failures are unrelated to this patch (they are for "CyclicIterator.java").
I just committed this to 0.18 only.
Raghu Angadi made changes - 16/Jan/09 11:56 PM
Could you please file a bug against CyclicIterator.java
> Could you please file a bug against CyclicIterator.java
done :
Nigel Daley made changes - 30/Jan/09 08:14 PM
Raghu Angadi made changes - 13/Feb/09 12:24 AM
Raghu Angadi made changes - 13/Feb/09 12:31 AM
Raghu Angadi made changes - 13/Feb/09 12:32 AM
Owen O'Malley made changes - 08/Jul/09 04:43 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||