Tests are failing with ClassCastException, due to new protocol changes -----------------------------------------------------------------------
Key: HDFS-2687 URL: https://issues.apache.org/jira/browse/HDFS-2687 Project: Hadoop HDFS Issue Type: Bug Reporter: Uma Maheswara Rao G https://builds.apache.org/job/Hadoop-Hdfs-trunk/lastCompletedBuild/testReport/ java.lang.ClassCastException: org.apache.hadoop.hdfs.protocol.HdfsFileStatus cannot be cast to org.apache.hadoop.hdfs.protocol.HdfsLocatedFileStatus at org.apache.hadoop.hdfs.DistributedFileSystem$1.hasNext(DistributedFileSystem.java:452) at org.apache.hadoop.fs.FileSystem$5.hasNext(FileSystem.java:1551) at org.apache.hadoop.fs.FileSystem$5.next(FileSystem.java:1581) at org.apache.hadoop.fs.FileSystem$5.next(FileSystem.java:1541) at org.apache.hadoop.fs.TestListFiles.testDirectory(TestListFiles.java:146) -- 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