|
This simple patch fixes the NPE problem.
+1
We generally accept files with no blocks. It should be reflected in fsck. I ran anttest-core on the patch on my local machine. The build was successfully finished.
Here was the result of ant test-patch: [exec] -1 overall. [exec] +1 @author. The patch does not contain any @author tags. [exec] -1 tests included. The patch doesn't appear to include anynew or modified tests. [exec] +1 javadoc. The javadoc tool did not generate any 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 Findbugswarnings. [exec] +1 Eclipse classpath. The patch retains Eclipse classpath integrity. I have manually tested the patch and it showed the patch solved the NPE problem. Integrated in Hadoop-trunk #646 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/646/
. fsck failing with NullPointerException. Contributed by Hairong Kuang. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Very similar issue with
HADOOP-3107.It somehow prints out the full stacktrace to the log only when there's no successful fsck before that.
(I believe it's an uncaught exception)