Skip to content

Commit b351f12

Browse files
committed
review comments
1 parent 2d2c5ee commit b351f12

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

packaging/src/docker/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ Run Apache Hive inside docker container in pseudo-distributed mode, provide the
2929

3030
Here are the latest images:
3131
- 4.0.0
32-
- 4.0.0-beta-1
33-
- 3.1.3
3432

3533
```shell
3634
docker pull apache/hive:4.0.0

standalone-metastore/metastore-server/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,13 +500,13 @@
500500
<dependency>
501501
<groupId>org.apache.hive</groupId>
502502
<artifactId>hive-metastore</artifactId>
503-
<version>4.1.0-SNAPSHOT</version>
503+
<version>${project.version}</version>
504504
<scope>runtime</scope>
505505
</dependency>
506506
<dependency>
507507
<groupId>org.apache.hive</groupId>
508508
<artifactId>hive-standalone-metastore-rest-catalog</artifactId>
509-
<version>4.1.0-SNAPSHOT</version>
509+
<version>${project.version}</version>
510510
<scope>runtime</scope>
511511
</dependency>
512512
</dependencies>

standalone-metastore/metastore-server/src/docker/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ Run Apache Hive Metastore inside docker container
2929

3030
Here are the latest images:
3131
- 4.0.0
32-
- 4.0.0-beta-1
33-
- 3.1.3
3432

3533
```shell
3634
docker pull apache/hive-metastore:4.0.0
@@ -90,7 +88,7 @@ export HIVE_VERSION=$(mvn -f pom.xml -q help:evaluate -Dexpression=project.versi
9088

9189
For a quick start, launch the Metastore with Derby,
9290
```shell
93-
docker run -d -p 9083:9083 --name metastore-standalone apache/hive:${HIVE_VERSION}
91+
docker run -d -p 9083:9083 --name metastore-standalone apache/hive-metastore:${HIVE_VERSION}
9492
```
9593
Everything would be lost when the service is down. In order to save the Hive table's schema and data, start the container with an external Postgres and Volume to keep them,
9694

@@ -99,16 +97,16 @@ For a quick start, launch the Metastore with Derby,
9997
--env SERVICE_OPTS="-Djavax.jdo.option.ConnectionDriverName=org.postgresql.Driver -Djavax.jdo.option.ConnectionURL=jdbc:postgresql://postgres:5432/metastore_db -Djavax.jdo.option.ConnectionUserName=hive -Djavax.jdo.option.ConnectionPassword=password" \
10098
--mount source=warehouse,target=/opt/hive/data/warehouse \
10199
--mount type=bind,source=`mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout`/org/postgresql/postgresql/42.7.3/postgresql-42.7.3.jar,target=/opt/hive/lib/postgres.jar \
102-
--name metastore-standalone apache/hive:${HIVE_VERSION}
100+
--name metastore-standalone apache/hive-metastore:${HIVE_VERSION}
103101
```
104102

105-
If you want to use your own `hdfs-site.xml` or `yarn-site.xml` for the service, you can provide the environment variable `HIVE_CUSTOM_CONF_DIR` for the command. For instance, put the custom configuration file under the directory `/opt/hive/conf`, then run,
103+
If you want to use your own `hdfs-site.xml` for the service, you can provide the environment variable `HIVE_CUSTOM_CONF_DIR` for the command. For instance, put the custom configuration file under the directory `/opt/hive/conf`, then run,
106104

107105
```shell
108106
docker run -d -p 9083:9083 --env DB_DRIVER=postgres \
109107
-v /opt/hive/conf:/hive_custom_conf --env HIVE_CUSTOM_CONF_DIR=/hive_custom_conf \
110108
--mount type=bind,source=`mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout`/org/postgresql/postgresql/42.7.3/postgresql-42.7.3.jar,target=/opt/hive/lib/postgres.jar \
111-
--name metastore apache/hive:${HIVE_VERSION}
109+
--name metastore apache/hive-metastore:${HIVE_VERSION}
112110
```
113111

114112
NOTE:

0 commit comments

Comments
 (0)