Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-454

TestChunkStreams#testErrorReadGroupInputStream & TestChunkStreams#testReadGroupInputStream are failing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.1
    • Ozone Client

    Description

      TestChunkStreams.testErrorReadGroupInputStream & TestChunkStreams.testReadGroupInputStream test-cases are failing with the below error.

      [ERROR] testErrorReadGroupInputStream(org.apache.hadoop.ozone.om.TestChunkStreams)  Time elapsed: 0.058 s  <<< ERROR!
      java.lang.UnsupportedOperationException
      	at org.apache.hadoop.ozone.om.TestChunkStreams$2.getPos(TestChunkStreams.java:188)
      	at org.apache.hadoop.ozone.client.io.ChunkGroupInputStream$ChunkInputStreamEntry.getPos(ChunkGroupInputStream.java:245)
      	at org.apache.hadoop.ozone.client.io.ChunkGroupInputStream$ChunkInputStreamEntry.getRemaining(ChunkGroupInputStream.java:217)
      	at org.apache.hadoop.ozone.client.io.ChunkGroupInputStream.read(ChunkGroupInputStream.java:118)
      	at org.apache.hadoop.ozone.om.TestChunkStreams.testErrorReadGroupInputStream(TestChunkStreams.java:214)
      
      [ERROR] testReadGroupInputStream(org.apache.hadoop.ozone.om.TestChunkStreams)  Time elapsed: 0.001 s  <<< ERROR!
      java.lang.UnsupportedOperationException
      	at org.apache.hadoop.ozone.om.TestChunkStreams$1.getPos(TestChunkStreams.java:134)
      	at org.apache.hadoop.ozone.client.io.ChunkGroupInputStream$ChunkInputStreamEntry.getPos(ChunkGroupInputStream.java:245)
      	at org.apache.hadoop.ozone.client.io.ChunkGroupInputStream$ChunkInputStreamEntry.getRemaining(ChunkGroupInputStream.java:217)
      	at org.apache.hadoop.ozone.client.io.ChunkGroupInputStream.read(ChunkGroupInputStream.java:118)
      	at org.apache.hadoop.ozone.om.TestChunkStreams.testReadGroupInputStream(TestChunkStreams.java:159)
      

      Attachments

        1. HDDS-454.001.patch
          2 kB
          chencan

        Activity

          People

            candychencan chencan
            nanda Nandakumar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: