I have gone through the steps in snowflake documentation to configure a connector between hive and snowflake.
https://docs.snowflake.com/en/user-guide/tables-external-hive.html#step-1-install-the-connector
But i cant see the hive tables or even a connection command in snowflake history.
snow-config.xml:
<property>
<name>snowflake.jdbc.username</name>
<value>user</value>
</property>
<property>
<name>snowflake.jdbc.password</name>
<value>pwd</value>
</property>
<property>
<name>snowflake.jdbc.role</name>
<value>ACCOUNTADMIN</value>
</property>
<property>
<name>snowflake.jdbc.account</name>
<value>ac name</value>
</property>
<property>
<name>snowflake.jdbc.db</name>
<value>db</value>
</property>
<property>
<name>snowflake.jdbc.schema</name>
<value>schema</value>
</property>
<property>
<name>snowflake.jdbc.connection</name>
<value>account</value>
</property>
</configuration>
I placed the connection jar in hive jar aux path.
Added this in hive-site.xml
<property>
<name>hive.metastore.event.listeners</name>
<value>net.snowflake.hivemetastoreconnector.SnowflakeHiveListener</value>
</property>
restarted hive metastore
hive --service metastore
It's stuck here :
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class is
com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Kindly help me with this.