This is an automated email from the ASF dual-hosted git repository.
roryqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git
The following commit(s) were added to refs/heads/master by this push:
new 2188a1518 [MINOR] fix(client): Fix the error message for
LocalFileClientReadHandler (#2097)
2188a1518 is described below
commit 2188a15184fad8b3fca8ce371ac37ee8d664fb85
Author: zhengchenyu <[email protected]>
AuthorDate: Wed Sep 4 14:45:08 2024 +0800
[MINOR] fix(client): Fix the error message for LocalFileClientReadHandler
(#2097)
---
.../uniffle/storage/handler/impl/LocalFileClientReadHandler.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/storage/src/main/java/org/apache/uniffle/storage/handler/impl/LocalFileClientReadHandler.java
b/storage/src/main/java/org/apache/uniffle/storage/handler/impl/LocalFileClientReadHandler.java
index 2b5ea8f7a..56c68d062 100644
---
a/storage/src/main/java/org/apache/uniffle/storage/handler/impl/LocalFileClientReadHandler.java
+++
b/storage/src/main/java/org/apache/uniffle/storage/handler/impl/LocalFileClientReadHandler.java
@@ -170,9 +170,9 @@ public class LocalFileClientReadHandler extends
DataSkippableReadHandler {
if (result.getDataBuffer().remaining() != expectedLength) {
throw new RssException(
"Wrong data length expect "
- + result.getDataBuffer().remaining()
+ + expectedLength
+ " but actual is "
- + expectedLength);
+ + result.getDataBuffer().remaining());
}
return result;
}