<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question error in hive JDBC connection from SQuirrel in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157446#M28986</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to use Squirrel as a SQL client against Hive with HDP2.3.2 secured cluster. But the connection fails with the following error message:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Detailed log stack below &lt;/STRONG&gt;&lt;/U&gt;:&lt;/P&gt;&lt;P&gt;2016-05-19 10:59:34,902 [pool-5-thread-1] INFO  org.apache.hive.jdbc.Utils  - Supplied authorities: &amp;lt;&amp;lt;server_name&amp;gt;&amp;gt;:10000
2016-05-19 10:59:34,902 [pool-5-thread-1] INFO  org.apache.hive.jdbc.Utils  - Resolved authority: &amp;lt;&amp;lt;server_name&amp;gt;&amp;gt;:10000
2016-05-19 10:59:34,915 [pool-5-thread-1] INFO  net.sourceforge.squirrel_sql.fw.util.log.SystemOutToLog  - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 
2016-05-19 10:59:34,915 [pool-5-thread-1] INFO  net.sourceforge.squirrel_sql.fw.util.log.SystemOutToLog  - SLF4J: Defaulting to no-operation (NOP) logger implementation 
2016-05-19 10:59:34,915 [pool-5-thread-1] INFO  net.sourceforge.squirrel_sql.fw.util.log.SystemOutToLog  - SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#StaticLoggerBinder" target="_blank"&gt;http://www.slf4j.org/codes.html#StaticLoggerBinder&lt;/A&gt; for further details. 
2016-05-19 10:59:34,922 [pool-5-thread-1] WARN  org.apache.hadoop.util.VersionInfo  - Could not read 'common-version-info.properties', java.io.IOException: Resource not found
java.io.IOException: Resource not found
at org.apache.hadoop.util.VersionInfo.&amp;lt;init&amp;gt;(VersionInfo.java:49)
at org.apache.hadoop.util.VersionInfo.&amp;lt;clinit&amp;gt;(VersionInfo.java:99)
at org.apache.hadoop.hive.shims.ShimLoader.getMajorVersion(ShimLoader.java:160)
at org.apache.hadoop.hive.shims.ShimLoader.loadShims(ShimLoader.java:139)
at org.apache.hadoop.hive.shims.ShimLoader.getHadoopThriftAuthBridge(ShimLoader.java:125)
at org.apache.hive.service.auth.KerberosSaslHelper.getKerberosTransport(KerberosSaslHelper.java:54)
at org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:451)
at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:207)
at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:180)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2016-05-19 10:59:34,924 [AWT-EventQueue-1] DEBUG net.sourceforge.squirrel_sql.client.gui.db.ConnectToAliasCallBack  - java.util.concurrent.ExecutionException
2016-05-19 10:59:34,924 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.gui.db.ConnectToAliasCallBack  - Unexpected Error occurred attempting to open an SQL connection.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format)
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.awaitConnection(OpenConnectionCommand.java:132)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$100(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$2.run(OpenConnectionCommand.java:115)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:175)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)
... 5 more
Caused by: java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format)
at org.apache.hadoop.hive.shims.ShimLoader.getMajorVersion(ShimLoader.java:164)
at org.apache.hadoop.hive.shims.ShimLoader.loadShims(ShimLoader.java:139)
at org.apache.hadoop.hive.shims.ShimLoader.getHadoopThriftAuthBridge(ShimLoader.java:125)
at org.apache.hive.service.auth.KerberosSaslHelper.getKerberosTransport(KerberosSaslHelper.java:54)
at org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:451)
at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:207)
at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:180)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
... 7 more &lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Here is our JDBC connect string:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;jdbc:hive2://servername:10000/default;principal=hive/servername.com@HADOOPPROD.LOCAL;auth-kerberos  &lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Here are our jars in the extra classpath section:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;hadoop-common-2.7.1.2.3.2.0-2950.jar&lt;/P&gt;&lt;P&gt;hive-jdbc-1.2.1.2.3.2.0-2950-standalone.jar&lt;/P&gt;&lt;P&gt;We get the same error even if we do the same with DBVIsualizer.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2016 23:23:26 GMT</pubDate>
    <dc:creator>dattatri_chandr</dc:creator>
    <dc:date>2016-05-19T23:23:26Z</dc:date>
    <item>
      <title>error in hive JDBC connection from SQuirrel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157446#M28986</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to use Squirrel as a SQL client against Hive with HDP2.3.2 secured cluster. But the connection fails with the following error message:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Detailed log stack below &lt;/STRONG&gt;&lt;/U&gt;:&lt;/P&gt;&lt;P&gt;2016-05-19 10:59:34,902 [pool-5-thread-1] INFO  org.apache.hive.jdbc.Utils  - Supplied authorities: &amp;lt;&amp;lt;server_name&amp;gt;&amp;gt;:10000
2016-05-19 10:59:34,902 [pool-5-thread-1] INFO  org.apache.hive.jdbc.Utils  - Resolved authority: &amp;lt;&amp;lt;server_name&amp;gt;&amp;gt;:10000
2016-05-19 10:59:34,915 [pool-5-thread-1] INFO  net.sourceforge.squirrel_sql.fw.util.log.SystemOutToLog  - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 
2016-05-19 10:59:34,915 [pool-5-thread-1] INFO  net.sourceforge.squirrel_sql.fw.util.log.SystemOutToLog  - SLF4J: Defaulting to no-operation (NOP) logger implementation 
2016-05-19 10:59:34,915 [pool-5-thread-1] INFO  net.sourceforge.squirrel_sql.fw.util.log.SystemOutToLog  - SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#StaticLoggerBinder" target="_blank"&gt;http://www.slf4j.org/codes.html#StaticLoggerBinder&lt;/A&gt; for further details. 
2016-05-19 10:59:34,922 [pool-5-thread-1] WARN  org.apache.hadoop.util.VersionInfo  - Could not read 'common-version-info.properties', java.io.IOException: Resource not found
java.io.IOException: Resource not found
at org.apache.hadoop.util.VersionInfo.&amp;lt;init&amp;gt;(VersionInfo.java:49)
at org.apache.hadoop.util.VersionInfo.&amp;lt;clinit&amp;gt;(VersionInfo.java:99)
at org.apache.hadoop.hive.shims.ShimLoader.getMajorVersion(ShimLoader.java:160)
at org.apache.hadoop.hive.shims.ShimLoader.loadShims(ShimLoader.java:139)
at org.apache.hadoop.hive.shims.ShimLoader.getHadoopThriftAuthBridge(ShimLoader.java:125)
at org.apache.hive.service.auth.KerberosSaslHelper.getKerberosTransport(KerberosSaslHelper.java:54)
at org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:451)
at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:207)
at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:180)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2016-05-19 10:59:34,924 [AWT-EventQueue-1] DEBUG net.sourceforge.squirrel_sql.client.gui.db.ConnectToAliasCallBack  - java.util.concurrent.ExecutionException
2016-05-19 10:59:34,924 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.gui.db.ConnectToAliasCallBack  - Unexpected Error occurred attempting to open an SQL connection.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format)
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.awaitConnection(OpenConnectionCommand.java:132)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$100(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$2.run(OpenConnectionCommand.java:115)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:175)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)
... 5 more
Caused by: java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format)
at org.apache.hadoop.hive.shims.ShimLoader.getMajorVersion(ShimLoader.java:164)
at org.apache.hadoop.hive.shims.ShimLoader.loadShims(ShimLoader.java:139)
at org.apache.hadoop.hive.shims.ShimLoader.getHadoopThriftAuthBridge(ShimLoader.java:125)
at org.apache.hive.service.auth.KerberosSaslHelper.getKerberosTransport(KerberosSaslHelper.java:54)
at org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:451)
at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:207)
at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:180)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
... 7 more &lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Here is our JDBC connect string:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;jdbc:hive2://servername:10000/default;principal=hive/servername.com@HADOOPPROD.LOCAL;auth-kerberos  &lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Here are our jars in the extra classpath section:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;hadoop-common-2.7.1.2.3.2.0-2950.jar&lt;/P&gt;&lt;P&gt;hive-jdbc-1.2.1.2.3.2.0-2950-standalone.jar&lt;/P&gt;&lt;P&gt;We get the same error even if we do the same with DBVIsualizer.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 23:23:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157446#M28986</guid>
      <dc:creator>dattatri_chandr</dc:creator>
      <dc:date>2016-05-19T23:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: error in hive JDBC connection from SQuirrel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157447#M28987</link>
      <description>&lt;P&gt;Able to resolve the issue after following the instructions in this link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://hortonworks.my.salesforce.com/kA1E0000000fyL5?lang=en_US&amp;amp;popup=true&amp;amp;caseId=500E000000Z4YaH" target="_blank"&gt;https://hortonworks.my.salesforce.com/kA1E0000000fyL5?lang=en_US&amp;amp;popup=true&amp;amp;caseId=500E000000Z4YaH&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Datta&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 02:08:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157447#M28987</guid>
      <dc:creator>dattatri_chandr</dc:creator>
      <dc:date>2016-05-20T02:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: error in hive JDBC connection from SQuirrel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157448#M28988</link>
      <description>&lt;P&gt;This links to a password protected page, could you include the instructions in your answer?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 07:08:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157448#M28988</guid>
      <dc:creator>jatwill</dc:creator>
      <dc:date>2016-06-08T07:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: error in hive JDBC connection from SQuirrel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157449#M28989</link>
      <description>&lt;P&gt;Also would like to see this doc - can someone post the instructions.   I cant access that link.   Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:57:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157449#M28989</guid>
      <dc:creator>cmcbugg</dc:creator>
      <dc:date>2016-07-26T19:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: error in hive JDBC connection from SQuirrel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157450#M28990</link>
      <description>&lt;P&gt;Have a look at this &lt;A href="https://community.hortonworks.com/content/kbentry/73458/connecting-dbvisualizer-and-datagrip-to-hive-with.html"&gt;article&lt;/A&gt;.   While it discusses DbVisualizer not SQuirreL, the underlying problem and solution was the same.  &lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 23:18:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-in-hive-JDBC-connection-from-SQuirrel/m-p/157450#M28990</guid>
      <dc:creator>tveil</dc:creator>
      <dc:date>2016-12-22T23:18:29Z</dc:date>
    </item>
  </channel>
</rss>

