Configuring Microsoft JDBC to connect to Hive Metastore
Download Microsoft JDBC Driver 7.0 for SQL Server JAR from Microsoft here to Unravel node.
Extract the downloaded file.
tar -xvzf sqljdbc_
version
_enu.tar.gzCreate the following directories if they do not exist.
mkdir -p /usr/local/unravel/share/java mkdir -p /usr/local/unravel/dlib/mybatis
Copy mssql-jdbc-7.0.0.jre8.jar to the following locations.
sudo cp sqljdbc_7.0/enu/mssql-jdbc-7.0.0.jre8.jar /usr/local/unravel/share/java sudo cp sqljdbc_7.0/enu/mssql-jdbc-7.0.0.jre8.jar /usr/local/unravel/dlib/mybatis
Change the following properties in
/usr/local/unravel/etc/unravel.properties
.javax.jdo.option.ConnectionURL=jdbc:sqlserver://
jdbc_url
javax.jdo.option.ConnectionDriverName=com.microsoft.sqlserver.jdbc.SQLServerDriverRestart
unravel_tw
daemon.sudo /etc/init.d/unravel_tw restart