Skip to content

Commit da5dbf1

Browse files
authored
Merge pull request #89 from Spatio-Temporal-Lab/runboo/store-debug
Runboo/store debug
2 parents 99ad47c + dfd8ad4 commit da5dbf1

File tree

5 files changed

+44
-2
lines changed

5 files changed

+44
-2
lines changed

cupid-db-core/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
<artifactId>cupid-db-common</artifactId>
3434
<version>${project.parent.version}</version>
3535
</dependency>
36+
<dependency>
37+
<groupId>org.urbcomp</groupId>
38+
<artifactId>cupid-db-store</artifactId>
39+
<version>${project.parent.version}</version>
40+
</dependency>
3641
<dependency>
3742
<groupId>com.alibaba</groupId>
3843
<artifactId>fastjson</artifactId>

docker/all/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
ports:
1313
- '3306:3306'
1414
geomesa-hbase-local:
15-
image: spatiotemporallab/geomesa-hbase:latest
15+
image: spatiotemporallab/geomesa-hbase-cupid:1.0.0
1616
hostname: geomesa-hbase-local
1717
ports:
1818
- '2181:2181'

docker/geomesa-hbase/Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM spatiotemporallab/geomesa-hbase:base
2+
3+
COPY cupid-db-store-1.0.0-SNAPSHOT.jar $HBASE_HOME/lib/
4+
5+
ENTRYPOINT ["/bin/sh", "-c", "${HBASE_HOME}/bin/start-hbase.sh && tail -f /dev/null"]

docker/geomesa-hbase/README.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
# 构建geomesa-hbase
3+
4+
构建的原始方法见: https://hub.docker.com/layers/spatiotemporallab/geomesa-hbase/base/images/sha256-1988186b5d7ba078462531397b69884e13bd6d12c8b368ea5526f2defa578da0?context=explore
5+
6+
```shell
7+
docker tag spatiotemporallab/geomesa-hbase:latest spatiotemporallab/geomesa-hbase:base
8+
9+
docker push spatiotemporallab/geomesa-hbase:base
10+
```
11+
12+
# 更新了索引如何重新构建
13+
14+
1.打包索引模块
15+
16+
```shell
17+
mvn package -pl cupid-db-store -am -Dmaven.test.skip=true
18+
```
19+
20+
2.将打好的包cupid-db-store-1.0.0-SNAPSHOT.jar复制到当前目录
21+
22+
3.构建镜像
23+
24+
```shell
25+
docker build -t spatiotemporallab/geomesa-hbase-cupid:1.0.0 .
26+
```
27+
28+
4.push镜像
29+
30+
```shell
31+
docker push spatiotemporallab/geomesa-hbase-cupid:1.0.0
32+
```

docker/local/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
ports:
1111
- '3306:3306'
1212
geomesa-hbase:
13-
image: spatiotemporallab/geomesa-hbase:latest
13+
image: spatiotemporallab/geomesa-hbase-cupid:1.0.0
1414
hostname: geomesa-hbase-local
1515
ports:
1616
- '2181:2181'

0 commit comments

Comments
 (0)