From e6c5405fd64e423e4c757bf0d4f734f2116df4b5 Mon Sep 17 00:00:00 2001
From: 1ambda <1amb4a@gmail.com>
Date: Fri, 11 Feb 2022 18:52:48 +0900
Subject: [PATCH] fix: Mino script and mysql password
---
_dockerfile/docker-metastore/conf/hive-site.xml | 4 ++--
docker-compose.metastore.yml | 7 ++-----
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/_dockerfile/docker-metastore/conf/hive-site.xml b/_dockerfile/docker-metastore/conf/hive-site.xml
index 1e684f5..125e62a 100644
--- a/_dockerfile/docker-metastore/conf/hive-site.xml
+++ b/_dockerfile/docker-metastore/conf/hive-site.xml
@@ -19,12 +19,12 @@
javax.jdo.option.ConnectionUserName
- admin
+ root
javax.jdo.option.ConnectionPassword
- admin
+ root
diff --git a/docker-compose.metastore.yml b/docker-compose.metastore.yml
index 13fd213..665e41c 100644
--- a/docker-compose.metastore.yml
+++ b/docker-compose.metastore.yml
@@ -9,9 +9,6 @@ services:
environment:
- MYSQL_DATABASE=metastore_db
- MYSQL_ROOT_PASSWORD=root
- - MYSQL_ROOT_PASSWORD=admin
- - MYSQL_USER=admin
- - MYSQL_PASSWORD=admin
- LANG=C.UTF-8
volumes:
- ./_script/docker-mysql/conf/:/etc/mysql/conf.d
@@ -44,8 +41,8 @@ services:
/bin/sh -c "
/usr/bin/mc alias set myminio http://minio:9000 admin admin12345;
/usr/bin/mc mb myminio/udon-data-lake || true;
- /usr/bin/mc admin user add myminio accesskey accesskey || true;
- /usr/bin/mc admin policy set myminio readwrite user=secretkey || true;
+ # /usr/bin/mc admin user add myminio accesskey secretkey || true;
+ # /usr/bin/mc admin policy set myminio readwrite user=accesskey || true;
exit 0;
"