feat: add startup and make docker image code (#71)
authorzyxxoo <1318247699@qq.com>
Fri, 6 Aug 2021 08:42:05 +0000 (16:42 +0800)
committerGitHub <noreply@github.com>
Fri, 6 Aug 2021 08:42:05 +0000 (16:42 +0800)
commit94ee1486d2ecf14d946dffc985c5bdcf70caf3b0
tree7607bafdb8bfd84d94fd1bbfa5d457182c313917
parent3555f8bb1b384562a53c7ee1fd4a51650915df9b
feat: add startup and make docker image code (#71)
26 files changed:
computer-core/src/main/java/com/baidu/hugegraph/computer/core/bsp/Bsp4Worker.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/master/MasterService.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/util/ComputerContextUtil.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/util/ShutdownHook.java [new file with mode: 0644]
computer-core/src/main/java/com/baidu/hugegraph/computer/core/worker/WorkerService.java
computer-dist/Dockerfile [new file with mode: 0644]
computer-dist/builddocker.sh [new file with mode: 0644]
computer-dist/pom.xml
computer-dist/src/assembly/descriptor/assembly.xml [new file with mode: 0644]
computer-dist/src/assembly/static/bin/start-computer.sh [new file with mode: 0644]
computer-dist/src/assembly/travis/install-env.sh
computer-dist/src/assembly/travis/install-hugegraph-from-source.sh
computer-dist/src/assembly/travis/load-data-into-hugegraph.sh
computer-dist/src/assembly/travis/start-etcd.sh
computer-dist/src/main/java/com/baidu/hugegraph/computer/dist/HugeGraphComputer.java [new file with mode: 0644]
computer-dist/src/main/resources/computer.properties [new file with mode: 0644]
computer-test/pom.xml
computer-test/src/main/java/com/baidu/hugegraph/computer/core/bsp/EtcdBspTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/util/ComputerContextUtilTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/worker/WorkerServiceTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/dist/ComputerDistTestSuite.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/dist/HugeGraphComputerTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/suite/unit/UnitTestSuite.java
computer-test/src/main/resources/computer-master.properties [new file with mode: 0644]
computer-test/src/main/resources/computer-worker1.properties [new file with mode: 0644]
pom.xml