[ https://issues.apache.org/jira/browse/HDFS-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272065#comment-13272065 ]
Hadoop QA commented on HDFS-3385: --------------------------------- +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12526286/h3385_20120509.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 1 new or modified test files. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2399//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2399//console This message is automatically generated. > ClassCastException when trying to append a file > ----------------------------------------------- > > Key: HDFS-3385 > URL: https://issues.apache.org/jira/browse/HDFS-3385 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Environment: HDFS > Reporter: Brahma Reddy Battula > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h3385_20120508.patch, h3385_20120509.patch > > > When I try to append a file I got > {noformat} > 2012-05-08 18:13:40,506 WARN util.KerberosName > (KerberosName.java:<clinit>(87)) - Kerberos krb5 configuration not found, > setting default realm to empty > Exception in thread "main" java.lang.ClassCastException: > org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo cannot be cast to > org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoUnderConstruction > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.recoverLeaseInternal(FSNamesystem.java:1787) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:1584) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.appendFile(FSNamesystem.java:1824) > at > org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.append(NameNodeRpcServer.java:425) > ... > at org.apache.hadoop.hdfs.DFSClient.callAppend(DFSClient.java:1150) > at org.apache.hadoop.hdfs.DFSClient.append(DFSClient.java:1189) > at org.apache.hadoop.hdfs.DFSClient.append(DFSClient.java:1177) > at > org.apache.hadoop.hdfs.DistributedFileSystem.append(DistributedFileSystem.java:221) > at > org.apache.hadoop.hdfs.DistributedFileSystem.append(DistributedFileSystem.java:1) > at org.apache.hadoop.fs.FileSystem.append(FileSystem.java:981) > at > org.apache.hadoop.hdfs.server.datanode.DeleteMe.main(DeleteMe.java:26) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira