Skip to content

Commit

Permalink
Merge branch 'master' into tiny-1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
coderzc authored Nov 19, 2024
2 parents 29ed36a + 1a0352e commit d476719
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 36 deletions.
4 changes: 2 additions & 2 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ github:
strict: false
# contexts are the names of checks that must pass
contexts:
- computer-ci
#- computer-ci # always stuck in CI
- check-license-header
- Analyze (java)
required_pull_request_reviews:
dismiss_stale_reviews: true
require_code_owner_reviews: false
required_approving_review_count: 2
required_approving_review_count: 1

notifications:
# use https://selfserve.apache.org to manage it
Expand Down
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@

# ignored directory
.github/ export-ignore
computer-k8s-operator/crd-generate/bin/ export-ignore
computer/computer-k8s-operator/crd-generate/bin/ export-ignore
computer/computer-dist/scripts/ export-ignore
computer/computer-dist/release-docs/ export-ignore
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ jobs:
- name: Compile
run: mvn clean compile -e -Dmaven.javadoc.skip=true -ntp

- name: Integrate test
run: mvn test -P integrate-test -ntp
- name: Integrate test
run: mvn test -P integrate-test -ntp

- name: Unit test
run: mvn test -P unit-test -ntp
- name: Unit test
run: mvn test -P unit-test -ntp

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache HugeGraph(incubating)
Copyright 2022-2023 The Apache Software Foundation
Copyright 2022-2024 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@
[![codecov](https://codecov.io/gh/apache/incubator-hugegraph-computer/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/incubator-hugegraph-computer)
[![Docker Pulls](https://img.shields.io/docker/pulls/hugegraph/hugegraph-computer)](https://hub.docker.com/repository/docker/hugegraph/hugegraph-computer)

The [hugegraph-computer](./computer/README.md) is a distributed graph processing system for hugegraph.
The [hugegraph-computer](./computer/README.md) is a distributed graph processing system for hugegraph.
(Also, the in-memory computing engine(vermeer) is on the way 🚧)

## Learn More

The [project homepage](https://hugegraph.apache.org/docs/) contains more information about hugegraph-computer.
The [project homepage](https://hugegraph.apache.org/docs/quickstart/hugegraph-computer/) contains more information about hugegraph-computer.

And here are links of other repositories:
1. [hugegraph-server](https://github.com/apache/hugegraph) (graph's core component - OLTP server)
2. [hugegraph-toolchain](https://github.com/apache/hugegraph-toolchain) (include loader/dashboard/tool/client)
3. [hugegraph-commons](https://github.com/apache/hugegraph-commons) (include common & rpc module)
4. [hugegraph-website](https://github.com/apache/hugegraph-doc) (include doc & website code)
1. [hugegraph](https://github.com/apache/hugegraph) (graph's core component - Graph server + PD + Store)
2. [hugegraph-toolchain](https://github.com/apache/hugegraph-toolchain) (graph tools **[loader](https://github.com/apache/incubator-hugegraph-toolchain/tree/master/hugegraph-loader)/[dashboard](https://github.com/apache/incubator-hugegraph-toolchain/tree/master/hugegraph-hubble)/[tool](https://github.com/apache/incubator-hugegraph-toolchain/tree/master/hugegraph-tools)/[client](https://github.com/apache/incubator-hugegraph-toolchain/tree/master/hugegraph-client)**)
3. [hugegraph-ai](https://github.com/apache/incubator-hugegraph-ai) (integrated **Graph AI/LLM/KG** system)
4. [hugegraph-website](https://github.com/apache/hugegraph-doc) (**doc & website** code)


## Note

Expand All @@ -41,5 +43,5 @@ hugegraph-computer is licensed under [Apache 2.0](https://github.com/apache/incu
- Feedback Email: [[email protected]](mailto:[email protected]) ([subscriber](https://hugegraph.apache.org/docs/contribution-guidelines/subscribe/) only)
- WeChat public account: Apache HugeGraph, welcome to scan this QR code to follow us.

<img src="https://github.com/apache/incubator-hugegraph-doc/blob/master/assets/images/wechat.png?raw=true" alt="QR png" width="350"/>
<img src="https://github.com/apache/hugegraph-doc/blob/master/assets/images/wechat.png?raw=true" alt="QR png" width="350"/>

6 changes: 3 additions & 3 deletions computer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ The hugegraph-computer is a distributed graph processing system for hugegraph. I
## Features

- Support distributed MPP graph computing, and integrates with HugeGraph as graph input/output storage.
- Based on BSP(Bulk Synchronous Parallel) model, an algorithm performs computing through multiple parallel iterations, every iteration is a superstep.
- 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.
- The part of edges or the messages of supernode can be in memory, so you will never lose it.
- 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.
- Easy to develop a new algorithm. You need to focus on a vertex only processing just like as in a single server, without worrying about message transfer and memory/storage management.
5 changes: 3 additions & 2 deletions computer/computer-dist/scripts/apache-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ echo "In the work dir: $(pwd)"
rm -rf dist && mkdir -p dist/apache-${REPO}

# step1: package the source code
cd ../../ || exit
cd ../../../ || exit
pwd
git archive --format=tar.gz \
--output="computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \
--output="computer/computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \
--prefix="apache-${REPO}-incubating-${RELEASE_VERSION}-src/" "${GIT_BRANCH}" || exit
cd - || exit

Expand Down
16 changes: 8 additions & 8 deletions computer/computer-dist/scripts/dependency/known-dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ commons-logging-1.1.3.jar
commons-math3-3.1.1.jar
commons-net-3.6.jar
commons-text-1.9.jar
computer-algorithm-1.3.0.jar
computer-api-1.3.0.jar
computer-core-1.3.0.jar
computer-dist-1.3.0.jar
computer-driver-1.3.0.jar
computer-k8s-1.3.0.jar
computer-k8s-operator-1.3.0.jar
computer-yarn-1.3.0.jar
computer-algorithm-1.5.0.jar
computer-api-1.5.0.jar
computer-core-1.5.0.jar
computer-dist-1.5.0.jar
computer-driver-1.5.0.jar
computer-k8s-1.5.0.jar
computer-k8s-operator-1.5.0.jar
computer-yarn-1.5.0.jar
curator-client-2.13.0.jar
curator-framework-2.13.0.jar
curator-recipes-2.13.0.jar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.
#

BASE_PATH=$(cd $(dirname $0); pwd)
BASE_PATH=$(cd $(dirname $0) || exit; pwd)
DEP_PATH=$BASE_PATH/all_dependencies
FILE_NAME=${1:-known-dependencies.txt}

Expand All @@ -25,9 +25,9 @@ if [[ -d $DEP_PATH ]];then
rm -r -f $DEP_PATH
fi

cd $BASE_PATH/../../../
cd $BASE_PATH/../../../ || exit

mvn dependency:copy-dependencies -DincludeScope=runtime -DoutputDirectory=$DEP_PATH
mvn dependency:copy-dependencies -DincludeScope=runtime -DoutputDirectory=$DEP_PATH -P stage

ls $DEP_PATH | egrep -v "^hugegraph" | sort -n > $BASE_PATH/$FILE_NAME
rm -r -f $DEP_PATH
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fi
COMMIT_ID=$1
HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git"

git clone --depth 100 ${HUGEGRAPH_GIT_URL} hugegraph
git clone --depth 300 ${HUGEGRAPH_GIT_URL} hugegraph
cd hugegraph
git checkout "${COMMIT_ID}"
mvn package -DskipTests -ntp
Expand Down
8 changes: 4 additions & 4 deletions computer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@
<dependency>
<groupId>org.apache.hugegraph</groupId>
<artifactId>hugegraph-common</artifactId>
<version>${hugegraph-common-version}</version>
<version>${hugegraph-commons-version}</version>
</dependency>
<dependency>
<groupId>org.apache.hugegraph</groupId>
<artifactId>hugegraph-rpc</artifactId>
<version>${hugegraph-rpc-version}</version>
<version>${hugegraph-commons-version}</version>
<exclusions>
<!-- conflict with etcd -->
<exclusion>
Expand All @@ -154,7 +154,7 @@
<dependency>
<groupId>org.apache.hugegraph</groupId>
<artifactId>hugegraph-client</artifactId>
<version>${hugegraph-client-version}</version>
<version>${hugegraph-toolchain-version}</version>
</dependency>
<dependency>
<groupId>org.apache.hugegraph</groupId>
Expand Down Expand Up @@ -251,7 +251,7 @@
<dependency>
<groupId>org.apache.hugegraph</groupId>
<artifactId>hugegraph-loader</artifactId>
<version>${hugegraph-loader-version}</version>
<version>${hugegraph-toolchain-version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.hive</groupId>
Expand Down

0 comments on commit d476719

Please sign in to comment.