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

TestChunkStreams#testErrorReadGroupInputStream & TestChunkStreams#testReadGroupInputStream are failing

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.1
    • Component/s: Ozone Client
    • Labels:

      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

            • Assignee:
              candychencan chencan
              Reporter:
              nanda Nanda kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: