Last active
January 23, 2022 01:25
-
-
Save hiimivantang/9deea016c415c6927d1e765d8ed4e485 to your computer and use it in GitHub Desktop.
External Hive metastore configuration for DBSQL
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.hadoop.javax.jdo.option.ConnectionURL jdbc:sqlserver://hiimivantang-azure-sql.database.windows.net:1433;database=hivemetastore;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database.windows.net;loginTimeout=30; | |
spark.hadoop.javax.jdo.option.ConnectionUserName {{secrets/external-hms/mssql-user}} | |
spark.hadoop.javax.jdo.option.ConnectionPassword {{secrets/external-hms/mssql-password}} | |
spark.hadoop.javax.jdo.option.ConnectionDriverName com.microsoft.sqlserver.jdbc.SQLServerDriver | |
spark.sql.hive.metastore.version 2.3.0 | |
spark.sql.hive.metastore.jars maven |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SQL server needs to be initialized with Hive's
schematool
.