[2023-11-20T08:58:04,520][ERROR][logstash.inputs.jdbc ]
[snowflake_Pipeline][031fd8304bf1982583b766517b52ba1718eee5c7780a8e76345ef06ba3ae38bc]
Unable to connect to database. Tried 1 times {:message=>"Java::JavaLang::ExceptionInInitializerError: ",
:exception=>Sequel::DatabaseConnectionError, :cause=>java.lang.ExceptionInInitializerError,
Could you please advise on what can e checked here.
And more:
Does "logstash" have rights on "/usr/share/logstash/logstash-core/lib/jars/snowflake-jdbc-3.9.2.jar" ? There is always workaround to put snowflake-jdbc-3.9.2.jar in /etc/logstash/
DatabaseConnectionError in general means there is no the network connection.
Can you check on snowflake side and server and firewall, does your jdbc request is comming?
I would say on TCP level it is, the port has been opened.
Maybe you have some restrictions on snowflake side like a network policy. Check with command: SHOW NETWORK POLICIES;
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.