Skip to content

Commit

Permalink
fix: Mino script and mysql password
Browse files Browse the repository at this point in the history
  • Loading branch information
1ambda committed Feb 11, 2022
1 parent 03f6f46 commit e6c5405
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions _dockerfile/docker-metastore/conf/hive-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@

<property>
<name>javax.jdo.option.ConnectionUserName</name>
<value>admin</value>
<value>root</value>
</property>

<property>
<name>javax.jdo.option.ConnectionPassword</name>
<value>admin</value>
<value>root</value>
</property>

<property>
Expand Down
7 changes: 2 additions & 5 deletions docker-compose.metastore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
"
Expand Down

0 comments on commit e6c5405

Please sign in to comment.