title: How to connect Hive in iReport?
body: <p>I am using <code>Hadoop-0.20.0</code> and <code>Hive-0.8.0</code>. Now i have data into Hive table and i want generate reports from that. For that I am using <code>iReport-4.5.0</code>. For that I also download <code>HivePlugin-0.5.nbm</code> in <code>iReport</code>.</p>
  
  <p>Now I am going to connect Hive connection in <code>iReport</code>.</p>
  
  <p><em>Create New Data source --> New --> Hive Connection</em></p>
  
  <p><em><strong>Jdbc Drive</em></strong>: <strong>org.apache.hadoop.hive.jdbc.HiveDriver</strong></p>
  
  <p><em><strong>Jdbc URl</em></strong>: <strong>jdbc:hive//localhost:10000/default</strong></p>
  
  <p><em><strong>Server Address</em></strong>: <strong>localhost</strong></p>
  
  <p><em><strong>Database</em></strong>: <strong>default</strong></p>
  
  <p><em><strong>user name</em></strong>: <strong>root</strong></p>
  
  <p><em><strong>password</em></strong>: <strong>somepassword</strong></p>
  
  <p>Then click on Test connection button. </p>
  
  <p>I am getting error like:</p>
  
  <pre><code>Exception
  
  Message:
  java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format)
  
  Level:
  
  SEVERE
  
  Stack Trace:
  
  org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: 
  java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format)
  org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:226)
  org.apache.hadoop.hive.jdbc.HiveConnection.&lt;init&gt;(HiveConnection.java:72)
  org.apache.hadoop.hive.jdbc.HiveDriver.connect(HiveDriver.java:110)
  com.jaspersoft.ireport.designer.connection.JDBCConnection.getConnection(JDBCConnection.java:140)
  com.jaspersoft.ireport.hadoop.hive.connection.HiveConnection.getConnection(HiveConnection.java:48)
  com.jaspersoft.ireport.designer.connection.JDBCConnection.test(JDBCConnection.java:447)
  com.jaspersoft.ireport.designer.connection.gui.ConnectionDialog.jButtonTestActionPerformed(ConnectionDialog.java:335)
  com.jaspersoft.ireport.designer.connection.gui.ConnectionDialog.access$300(ConnectionDialog.java:43)
  </code></pre>
  
  <p>Can any one help me in this? Where i am wrong or missing something?</p>