Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2060 DFS client RPCs using protobufs
  3. HDFS-2687

Tests are failing with ClassCastException, due to new protocol changes

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-alpha
    • test
    • None
    • Reviewed

    Description

      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)

      Attachments

        1. HDFS-2687.txt
          3 kB
          Suresh Srinivas

        Activity

          People

            sureshms Suresh Srinivas
            umamaheswararao Uma Maheswara Rao G
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: