From 03a2248e907773ae05dc11bbcf52eaad21059691 Mon Sep 17 00:00:00 2001 From: "xiaolei.zl@alibaba-inc.com" Date: Tue, 14 Jan 2025 16:14:16 +0800 Subject: [PATCH 1/3] fix PR check Committed-by: xiaolei.zl@alibaba-inc.com from Dev container --- .../serialization/FFIByteVectorOutputStream.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/serialization/FFIByteVectorOutputStream.java b/analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/serialization/FFIByteVectorOutputStream.java index ace7cdee8208..3b8ea83947d1 100644 --- a/analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/serialization/FFIByteVectorOutputStream.java +++ b/analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/serialization/FFIByteVectorOutputStream.java @@ -39,7 +39,7 @@ public FFIByteVectorOutputStream(FFIByteVector vector) { } @Override - public void close() { + public void close() throws IOException { vector.delete(); } @@ -417,9 +417,4 @@ public void write(int b) throws IOException { vector.setRawByte(offset, (byte) b); offset += 1; } - - @Override - public void close() throws IOException { - vector.delete(); - } } From 879f39e982c14969925700986d5f772c2255fd7a Mon Sep 17 00:00:00 2001 From: "xiaolei.zl@alibaba-inc.com" Date: Tue, 14 Jan 2025 17:34:44 +0800 Subject: [PATCH 2/3] fix Committed-by: xiaolei.zl@alibaba-inc.com from Dev container --- .../graphscope/serialization/FFIByteVectorOutputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/serialization/FFIByteVectorOutputStream.java b/analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/serialization/FFIByteVectorOutputStream.java index 3b8ea83947d1..eb62dc095530 100644 --- a/analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/serialization/FFIByteVectorOutputStream.java +++ b/analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/serialization/FFIByteVectorOutputStream.java @@ -39,7 +39,7 @@ public FFIByteVectorOutputStream(FFIByteVector vector) { } @Override - public void close() throws IOException { + public void close() { vector.delete(); } From 644e04b17ba899811571d31523116cbe1884873d Mon Sep 17 00:00:00 2001 From: "xiaolei.zl@alibaba-inc.com" Date: Tue, 14 Jan 2025 20:59:11 +0800 Subject: [PATCH 3/3] fixing ci Committed-by: xiaolei.zl@alibaba-inc.com from Dev container --- .../graphscope/parallel/mm/impl/GiraphMpiMessageManager.java | 1 - 1 file changed, 1 deletion(-) diff --git a/analytical_engine/java/grape-giraph/src/main/java/com/alibaba/graphscope/parallel/mm/impl/GiraphMpiMessageManager.java b/analytical_engine/java/grape-giraph/src/main/java/com/alibaba/graphscope/parallel/mm/impl/GiraphMpiMessageManager.java index 77989e3e9861..b76c6cf1bc9b 100644 --- a/analytical_engine/java/grape-giraph/src/main/java/com/alibaba/graphscope/parallel/mm/impl/GiraphMpiMessageManager.java +++ b/analytical_engine/java/grape-giraph/src/main/java/com/alibaba/graphscope/parallel/mm/impl/GiraphMpiMessageManager.java @@ -118,7 +118,6 @@ public void receiveMessages() { "Frag [{}] totally Received [{}] bytes from others starting deserialization", fragId, bytesOfReceivedMsg); - tmpVector.delete(); } /**