how to connect to hive

Hi guys:

   Now,I have a question about connecting to hive .I can connect  to hive by a sample java application .but using Kinme don't work ,please help me !

  java application:


    Connection con = DriverManager.getConnection("jdbc:hive://", "", "");

java application is ok

However in knime (import all .jar as same as java application )the error is:

 Could not create connection to database: org.apache.hadoop.hive.metastore.api.MetaException




you have to add all required libraries into the ext path of the KNIME java directory. For more details see this related post.

Another option is to use the commercial Big Data Connectors that include all necessary librarires and that are certified by Cloudera, Hortonworks and MapR.