Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.1.3, 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0-beta-1
-
None
-
None
-
bug:
docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --name hive4 apache/hive:3.1.3
-
I changed the packaging/src/docker/conf/hive-site.xml file.
-
fix
-
Important
-
hive.metastore.warehouse.dir, this configuration item is configured incorrectly, causing the configuration item to not take effect.
Description
hive.metastore.warehouse.dir, this configuration item is configured incorrectly, causing the configuration item to not take effect.
I discovered this bug when using it. Since the default directory does not exist for non-root users in the container, it caused an error message without permission to create databases and data tables. After that, I corrected hive.metastore.warehouse.dir, this configuration item by rebuilding the image. This bug is solved.I changed the packaging/src/docker/conf/hive-site.xml file.
The correct related configuration items are in the picture below.