You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/07/17 15:12:24 UTC
[iotdb] branch master updated: [To rel/0.13] [IOTDB-3813] Ignore the ClosedByInterruptException log when shutdown IoTDB (#6689)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new f7cfd32a35 [To rel/0.13] [IOTDB-3813] Ignore the ClosedByInterruptException log when shutdown IoTDB (#6689)
f7cfd32a35 is described below
commit f7cfd32a35be6ec100f4ee81de452eb75279f731
Author: Jialin Qiao <qj...@mails.tsinghua.edu.cn>
AuthorDate: Sun Jul 17 23:10:28 2022 +0800
[To rel/0.13] [IOTDB-3813] Ignore the ClosedByInterruptException log when shutdown IoTDB (#6689)
---
.../org/apache/iotdb/tsfile/read/TsFileSequenceReader.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
index 02a226a4ef..5f9aea46cc 100644
--- a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
+++ b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
@@ -1044,7 +1044,7 @@ public class TsFileSequenceReader implements AutoCloseable {
try {
return ChunkHeader.deserializeFrom(tsFileInput.wrapAsInputStream(), chunkType);
} catch (Throwable t) {
- logger.error("Exception happened while reading chunk header of {}", file, t);
+ logger.warn("Exception {} happened while reading chunk header of {}", t.getMessage(), file);
throw t;
}
}
@@ -1059,7 +1059,7 @@ public class TsFileSequenceReader implements AutoCloseable {
try {
return ChunkHeader.deserializeFrom(tsFileInput, position, chunkHeaderSize);
} catch (Throwable t) {
- logger.error("Exception happened while reading chunk header of {}", file, t);
+ logger.warn("Exception {} happened while reading chunk header of {}", t.getMessage(), file);
throw t;
}
}
@@ -1075,7 +1075,7 @@ public class TsFileSequenceReader implements AutoCloseable {
try {
return readData(position, dataSize);
} catch (Throwable t) {
- logger.error("Exception happened while reading chunk of {}", file, t);
+ logger.warn("Exception {} happened while reading chunk of {}", t.getMessage(), file);
throw t;
}
}
@@ -1095,7 +1095,7 @@ public class TsFileSequenceReader implements AutoCloseable {
metaData.getOffsetOfChunkHeader() + header.getSerializedSize(), header.getDataSize());
return new Chunk(header, buffer, metaData.getDeleteIntervalList(), metaData.getStatistics());
} catch (Throwable t) {
- logger.error("Exception happened while reading chunk of {}", file, t);
+ logger.warn("Exception {} happened while reading chunk of {}", t.getMessage(), file);
throw t;
}
}
@@ -1126,7 +1126,7 @@ public class TsFileSequenceReader implements AutoCloseable {
try {
return PageHeader.deserializeFrom(tsFileInput.wrapAsInputStream(), type, hasStatistic);
} catch (Throwable t) {
- logger.error("Exception happened while reading page header of {}", file, t);
+ logger.warn("Exception {} happened while reading page header of {}", t.getMessage(), file);
throw t;
}
}
@@ -1244,7 +1244,7 @@ public class TsFileSequenceReader implements AutoCloseable {
try {
return readData(start, (int) (end - start));
} catch (Throwable t) {
- logger.error("Exception happened while reading data of {}", file, t);
+ logger.warn("Exception {} happened while reading data of {}", t.getMessage(), file);
throw t;
}
}