I've seen a couple posts asking for a Hive JDBC Input configuration however I haven't seen a successful configuration posted. Im curious what JDBC Driver is needed to make the Hive connection work?
Thanks!
I've seen a couple posts asking for a Hive JDBC Input configuration however I haven't seen a successful configuration posted. Im curious what JDBC Driver is needed to make the Hive connection work?
Thanks!
Just to help anyone that finds this, here is the configuration and dependencies I needed:
input {
jdbc {
jdbc_driver_library => "hive-jdbc-2.0.0.jar,hive2.jar,hive-common-2.3.1.jar,hadoop-core-1.2.1-0.jar"
jdbc_driver_class => "org.apache.hive.jdbc.HiveDriver"
jdbc_connection_string => ""
}
}
output {
# Publish out in command line
stdout { codec => json }
}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.