Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.0
Description
ITestOzoneContractCreate.testSyncable Time elapsed: 0.309 s <<< ERROR!
java.io.IOException: Inconsistent read for blockID=conID: 1 locID: 111677748019200007 bcsId: 0 length=2 position=1 numBytesToRead=1 numBytesRead=-1
at org.apache.hadoop.ozone.client.io.KeyInputStream.checkPartBytesRead(KeyInputStream.java:175)
at org.apache.hadoop.hdds.scm.storage.MultipartInputStream.readWithStrategy(MultipartInputStream.java:97)
at org.apache.hadoop.hdds.scm.storage.ExtendedInputStream.read(ExtendedInputStream.java:54)
at org.apache.hadoop.hdds.scm.storage.ExtendedInputStream.read(ExtendedInputStream.java:41)
at org.apache.hadoop.fs.ozone.OzoneFSInputStream.read(OzoneFSInputStream.java:55)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at org.apache.hadoop.fs.contract.AbstractContractCreateTest.validateSyncableSemantics(AbstractContractCreateTest.java:548)
at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testSyncable(AbstractContractCreateTest.java:459)
java.io.IOException: Inconsistent read for blockID=conID: 1 locID: 111677748019200001 bcsId: 0 length=1120 position=97 numBytesToRead=1023 numBytesRead=-1
at org.apache.hadoop.ozone.client.io.KeyInputStream.checkPartBytesRead(KeyInputStream.java:175)
at org.apache.hadoop.hdds.scm.storage.MultipartInputStream.readWithStrategy(MultipartInputStream.java:97)
at org.apache.hadoop.hdds.scm.storage.ExtendedInputStream.read(ExtendedInputStream.java:54)
at org.apache.hadoop.fs.ozone.OzoneFSInputStream.read(OzoneFSInputStream.java:64)
at java.io.DataInputStream.read(DataInputStream.java:149)
at org.apache.hadoop.fs.ozone.TestHSync.runTestHSync(TestHSync.java:188)
at org.apache.hadoop.fs.ozone.TestHSync.runTestHSync(TestHSync.java:143)
at org.apache.hadoop.fs.ozone.TestHSync.testO3fsHSync(TestHSync.java:116)
I guess these two different tests both exercise HSync.
CC Wei-Chiu Chuang, Tsz-wo Sze
The datanode may fail to serve readChunk but the client won't retry other datanodes. We will change it to retry other datanodes in the JIRA.
Attachments
Attachments
Issue Links
- Discovered while testing
-
HDDS-7593 Supporting HSync and lease recovery
- Resolved
- is duplicated by
-
HDDS-8033 Intermittent error in TestHSync.testO3fsHSync
- Resolved
- is related to
-
HDDS-8146 TestHSync is no longer flaky
- Resolved
-
HDDS-8090 When getBlock from a datanode fails, retry other datanodes.
- Resolved
- relates to
-
HDDS-8942 Intermittent failure in ITestOzoneContractCreate#testSyncable
- Resolved
- links to