Created
December 26, 2021 06:01
-
-
Save 1ambda/2d3a108cbc0ffe4d977ee619cd31678f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# spark/conf/hive-site.xml | |
# Local Hive Metastore 사용을 위한 외부 RDB 연결 설정 | |
<configuration> | |
<property> | |
<name>javax.jdo.option.ConnectionURL</name> | |
<value>jdbc:mysql://localhost/metastore_db?createDatabaseIfNotExist=true</value> | |
<description>metadata is stored in a MySQL server</description> | |
</property> | |
<property> | |
<name>javax.jdo.option.ConnectionDriverName</name> | |
<value>com.mysql.jdbc.Driver</value> | |
<description>MySQL JDBC driver class</description> | |
</property> | |
<property> | |
<name>javax.jdo.option.ConnectionUserName</name> | |
<value>USER</value> | |
<description>user name for connecting to mysql server </description> | |
</property> | |
<property> | |
<name>javax.jdo.option.ConnectionPassword</name> | |
<value>PASSWORD</value> | |
<description>password for connecting to mysql server </description> | |
</property> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment