<?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 Re: NoSuchMethodException when running %jdbc paragraph in Zeppelin in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NoSuchMethodException-when-running-jdbc-paragraph-in/m-p/230765#M64258</link>
    <description>&lt;P&gt;Ok, easy solution here: I took the hive-jdbc-&amp;lt;version&amp;gt;.jar file as dependency, but I have to take hive-jdbc-&amp;lt;version&amp;gt;-&lt;STRONG&gt;standalone&lt;/STRONG&gt;.jar, so changing&lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/hive-client/lib/hive-jdbc-1.2.1000.2.6.1.0-129.jar&lt;/PRE&gt;&lt;P&gt;into&lt;/P&gt;&lt;PRE&gt;/usr/hdp/2.6.1.0-129/hive2/jdbc/hive-jdbc-2.1.0.2.6.1.0-129-standalone.jar&lt;/PRE&gt;&lt;P&gt;did it for me!&lt;/P&gt;&lt;P&gt;You can find the hive-jdbc-standalone.jar with&lt;/P&gt;&lt;PRE&gt;find / -name "hive-jdbc*standalone.jar&lt;/PRE&gt;</description>
    <pubDate>Fri, 07 Jul 2017 15:34:25 GMT</pubDate>
    <dc:creator>dmueller1607</dc:creator>
    <dc:date>2017-07-07T15:34:25Z</dc:date>
    <item>
      <title>NoSuchMethodException when running %jdbc paragraph in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NoSuchMethodException-when-running-jdbc-paragraph-in/m-p/230764#M64257</link>
      <description>&lt;P&gt;I installed the Hortonworks Data Platform 2.6 (still un-kerberized at the moment), which includes Zeppelin 0.7 and Spark 1.6.3. &lt;/P&gt;&lt;P&gt;Zeppelin seems to be prepared for Spark 2.x and Scala 2.11, so I had to remove and re-install a new Spark interpreter for my Spark version 1.6.3 and Scala 2.10. Therefore I took the following link: &lt;A href="https://zeppelin.apache.org/docs/0.6.1/manual/interpreterinstallation.html#install-spark-interpreter-built-with-scala-210" rel="nofollow noopener noreferrer" target="_blank"&gt;https://zeppelin.apache.org/docs/0.6.1/manual/interpreterinstallation.html#install-spark-interpreter-built-with-scala-210&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After restarting the Zeppelin service via Ambari, I was able to run this paragraph (which didnt work before):&lt;/P&gt;&lt;PRE&gt;%spark
sc.version
===========================
res0: String = 1.6.3&lt;/PRE&gt;&lt;P&gt;Now I'm trying to use the %jdbc interpreter (part of the SAP Vora installation), just to do some select statements:&lt;/P&gt;&lt;PRE&gt;%jdbc
select * from sys.tables using com.sap.spark.engines
======================================================================================================
java.lang.NoSuchMethodError: org.apache.hive.service.cli.thrift.TExecuteStatementReq.setQueryTimeout(J)V
 at org.apache.hive.jdbc.HiveStatement.runAsyncOnServer(HiveStatement.java:297)
 at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:241)
 at org.apache.commons.dbcp2.DelegatingStatement.execute(DelegatingStatement.java:291)
 at org.apache.commons.dbcp2.DelegatingStatement.execute(DelegatingStatement.java:291)
 at org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(JDBCInterpreter.java:581)
 at org.apache.zeppelin.jdbc.JDBCInterpreter.interpret(JDBCInterpreter.java:692)
 at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:97)
 at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:490)
 at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
 at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 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)
&lt;/PRE&gt;&lt;P&gt;Here a screenshot of my JDBC interpreter settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="16685-unbenannt.png" style="width: 1581px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14983i07BADE5E196C95F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="16685-unbenannt.png" alt="16685-unbenannt.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also other selects (without the com.sap.spark.engines part) don't work for me, and I get the same exception!&lt;/P&gt;&lt;P&gt;Could it be a problem caused by incompatibilities of Hadoop tools? Or what could be the reason for the error message above? Is a dependency missing (if yes which)?&lt;/P&gt;&lt;P&gt;Thank you for each advice!&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:42:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NoSuchMethodException-when-running-jdbc-paragraph-in/m-p/230764#M64257</guid>
      <dc:creator>dmueller1607</dc:creator>
      <dc:date>2019-08-18T00:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: NoSuchMethodException when running %jdbc paragraph in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NoSuchMethodException-when-running-jdbc-paragraph-in/m-p/230765#M64258</link>
      <description>&lt;P&gt;Ok, easy solution here: I took the hive-jdbc-&amp;lt;version&amp;gt;.jar file as dependency, but I have to take hive-jdbc-&amp;lt;version&amp;gt;-&lt;STRONG&gt;standalone&lt;/STRONG&gt;.jar, so changing&lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/hive-client/lib/hive-jdbc-1.2.1000.2.6.1.0-129.jar&lt;/PRE&gt;&lt;P&gt;into&lt;/P&gt;&lt;PRE&gt;/usr/hdp/2.6.1.0-129/hive2/jdbc/hive-jdbc-2.1.0.2.6.1.0-129-standalone.jar&lt;/PRE&gt;&lt;P&gt;did it for me!&lt;/P&gt;&lt;P&gt;You can find the hive-jdbc-standalone.jar with&lt;/P&gt;&lt;PRE&gt;find / -name "hive-jdbc*standalone.jar&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Jul 2017 15:34:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NoSuchMethodException-when-running-jdbc-paragraph-in/m-p/230765#M64258</guid>
      <dc:creator>dmueller1607</dc:creator>
      <dc:date>2017-07-07T15:34:25Z</dc:date>
    </item>
  </channel>
</rss>

