From 24e180d12debab901d90c1ec8c840c01bf2e834e Mon Sep 17 00:00:00 2001 From: coderzc Date: Mon, 5 Dec 2022 13:12:33 +0800 Subject: [PATCH 1/2] change base image to `openjdk:11-slim` --- README.md | 2 +- computer-dist/Dockerfile | 2 +- computer-k8s-operator/Dockerfile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a01f2e673..d71b57b30 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The hugegraph-computer is a distributed graph processing system for hugegraph. I - Based on BSP(Bulk Synchronous Parallel) model, an algorithm performs computing through multiple parallel iterations, every iteration is a superstep. - Auto memory management. The framework will never be OOM(Out of Memory) since it will split some data to disk if it doesn't have enough memory to hold all the data. - The part of edges or the messages of super node can be in memory, so you will never lose it. -- You can output the results to HDFS or HugeGraph, or any other system. +- You can load the data or output the results to HDFS or HugeGraph, or any other system. - Easy to develop a new algorithm. You just need to focus on a vertex only processing just like as in a single server, without worrying about message transfer and memory/storage management. ## Learn More diff --git a/computer-dist/Dockerfile b/computer-dist/Dockerfile index 7d4cabd24..4b07bde8a 100644 --- a/computer-dist/Dockerfile +++ b/computer-dist/Dockerfile @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -FROM openjdk:11-jre +FROM openjdk:11-slim LABEL maintainer="HugeGraph Docker Maintainers " # use ParallelGC which is more friendly to olap system ENV JAVA_OPTS="-XX:+UnlockExperimentalVMOptions -XX:+UseParallelGC -XX:+UseContainerSupport -XX:MaxRAMPercentage=50 -XshowSettings:vm" diff --git a/computer-k8s-operator/Dockerfile b/computer-k8s-operator/Dockerfile index 93b0fad6c..c41d7593b 100644 --- a/computer-k8s-operator/Dockerfile +++ b/computer-k8s-operator/Dockerfile @@ -14,8 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # -FROM openjdk:11-jre +FROM openjdk:11-slim LABEL maintainer="HugeGraph Docker Maintainers " -WORKDIR /opt/app +WORKDIR /hugegraph/operator COPY target/hugegraph-computer-operator-*.jar hugegraph-computer-operator.jar ENTRYPOINT ["java", "-jar", "hugegraph-computer-operator.jar"] From ede9e74c762022cb8fae098b35b03311b26af6ac Mon Sep 17 00:00:00 2001 From: coderzc Date: Mon, 5 Dec 2022 20:29:59 +0800 Subject: [PATCH 2/2] improve doc --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d71b57b30..44bae7018 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The hugegraph-computer is a distributed graph processing system for hugegraph. I - Based on BSP(Bulk Synchronous Parallel) model, an algorithm performs computing through multiple parallel iterations, every iteration is a superstep. - Auto memory management. The framework will never be OOM(Out of Memory) since it will split some data to disk if it doesn't have enough memory to hold all the data. - The part of edges or the messages of super node can be in memory, so you will never lose it. -- You can load the data or output the results to HDFS or HugeGraph, or any other system. +- You can load the data from HDFS or HugeGraph, output the results to HDFS or HugeGraph, or adapt any other systems manually as needed. - Easy to develop a new algorithm. You just need to focus on a vertex only processing just like as in a single server, without worrying about message transfer and memory/storage management. ## Learn More