<?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: Using Hive through JDBCInterpreter in Zeppelin in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112614#M46757</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/14132/shaetaelae.html" nodeid="14132"&gt;@Sebastian Hätälä&lt;/A&gt;&lt;P&gt;Were you able to resolve this, what is the version of hive-jdbc, hadoop-common and hive-shims are you using ?&lt;/P&gt;&lt;P&gt;java.lang.NoSuchMethodError: org.apache.commons.lang3.StringUtils.isAnyEmpty Sounds like issue with some jar version. I use following as dependencies; let me know if this works.&lt;/P&gt;&lt;P&gt;org.apache.hive:hive-jdbc:2.0.1&lt;/P&gt;&lt;P&gt;org.apache.hadoop:hadoop-common:2.7.2&lt;/P&gt;&lt;P&gt;org.apache.hive.shims:hive-shims-0.23:2.1.0&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2016 01:28:18 GMT</pubDate>
    <dc:creator>prabhjyot_singh</dc:creator>
    <dc:date>2016-12-23T01:28:18Z</dc:date>
    <item>
      <title>Using Hive through JDBCInterpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112606#M46749</link>
      <description>&lt;P&gt;I am trying to perform a "show tables;" on Hive using the JDBCInterpreter. I have set up all usernames, passwords and URLs for the interpreter und added hive-jdbc, hadoop-common and hive-shims as dependencies.
In the UI I do not get an explicit error - just no result. In the .out log file I can see following:&lt;/P&gt;&lt;DIV&gt;23:58:51.342 [pool-3-thread-2] ERROR org.apache.zeppelin.jdbc.JDBCInterpreter - zeppelin will be ignored. driver.zeppelin and zeppelin.url is mandatory.
23:58:51.349 [pool-3-thread-2] ERROR org.apache.zeppelin.scheduler.Job - Job failed
java.lang.NoSuchMethodError: org.apache.commons.lang3.StringUtils.isAnyEmpty([Ljava/lang/CharSequence;)Z
        at org.apache.zeppelin.jdbc.JDBCInterpreter.open(JDBCInterpreter.java:170) ~[zeppelin-jdbc-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.0-1245]
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69) ~[zeppelin-interpreter-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.0-1245]
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93) ~[zeppelin-interpreter-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.0-1245]
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:341) ~[zeppelin-interpreter-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.$
        at org.apache.zeppelin.scheduler.Job.run(Job.java:176) [zeppelin-interpreter-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.0-1245]
        at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162) [zeppelin-interpreter-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.0-1245]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_60]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_60]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_60]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_60]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60] &lt;/DIV&gt;</description>
      <pubDate>Sun, 20 Nov 2016 17:32:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112606#M46749</guid>
      <dc:creator>shaetaelae</dc:creator>
      <dc:date>2016-11-20T17:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hive through JDBCInterpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112607#M46750</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14132/shaetaelae.html" nodeid="14132"&gt;@Sebastian Hätälä&lt;/A&gt;&lt;P&gt;Can you provide the string you are using for the JDBC interpreter?  By default, the &lt;STRONG&gt;%jdbc&lt;/STRONG&gt; interpreter is intended to be used with Postgres.  Check your interpreter settings.  You may have to use &lt;STRONG&gt;%jdbc(hive)&lt;/STRONG&gt; as your interpreter string.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 22:14:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112607#M46750</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-11-21T22:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hive through JDBCInterpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112608#M46751</link>
      <description>&lt;P&gt;Hi Michael, I did try %hive and %jdbc(hive) both with the same result.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 22:28:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112608#M46751</guid>
      <dc:creator>shaetaelae</dc:creator>
      <dc:date>2016-11-21T22:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hive through JDBCInterpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112609#M46752</link>
      <description>&lt;P&gt;@Sebastian can you take  a screenshot or copy and paste your interpreter settings pls?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 23:49:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112609#M46752</guid>
      <dc:creator>azeltov</dc:creator>
      <dc:date>2016-11-22T23:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hive through JDBCInterpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112610#M46753</link>
      <description>&lt;P&gt;I did try the following two, both with the same result:&lt;/P&gt;&lt;PRE&gt;jdbc:hive2://zkserver1.company.com:2181,zkserver2.company.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2
jdbc:hive2://hiveserver2.company.com:10000&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Nov 2016 00:28:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112610#M46753</guid>
      <dc:creator>shaetaelae</dc:creator>
      <dc:date>2016-11-23T00:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hive through JDBCInterpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112611#M46754</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14132/shaetaelae.html" nodeid="14132"&gt;@Sebastian Hätälä&lt;/A&gt; Did you manage to solve it ?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 20:36:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112611#M46754</guid>
      <dc:creator>bhavintandel</dc:creator>
      <dc:date>2016-12-15T20:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hive through JDBCInterpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112612#M46755</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14132/shaetaelae.html" nodeid="14132"&gt;@Sebastian&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Please post which HDP version are you on? Also by any chance, is your cluster wire encrypted? Also please post your interpreter settings snapshot as mentioned in one of the earlier comments&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 03:40:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112612#M46755</guid>
      <dc:creator>kbadani</dc:creator>
      <dc:date>2016-12-16T03:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hive through JDBCInterpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112613#M46756</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14132/shaetaelae.html" nodeid="14132"&gt;@Sebastian Hätälä&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do your cluster have connection to the internet ? I had the same issue and got to know that zeppelin download required jars using maven according to the versions of the component. So we need to have compatible jars, for example I did download jars from maven manually but they were of latest version and surprisingly it didn't work and I have to download older jars. &lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 04:05:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112613#M46756</guid>
      <dc:creator>bhavintandel</dc:creator>
      <dc:date>2016-12-22T04:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hive through JDBCInterpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112614#M46757</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14132/shaetaelae.html" nodeid="14132"&gt;@Sebastian Hätälä&lt;/A&gt;&lt;P&gt;Were you able to resolve this, what is the version of hive-jdbc, hadoop-common and hive-shims are you using ?&lt;/P&gt;&lt;P&gt;java.lang.NoSuchMethodError: org.apache.commons.lang3.StringUtils.isAnyEmpty Sounds like issue with some jar version. I use following as dependencies; let me know if this works.&lt;/P&gt;&lt;P&gt;org.apache.hive:hive-jdbc:2.0.1&lt;/P&gt;&lt;P&gt;org.apache.hadoop:hadoop-common:2.7.2&lt;/P&gt;&lt;P&gt;org.apache.hive.shims:hive-shims-0.23:2.1.0&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 01:28:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Hive-through-JDBCInterpreter-in-Zeppelin/m-p/112614#M46757</guid>
      <dc:creator>prabhjyot_singh</dc:creator>
      <dc:date>2016-12-23T01:28:18Z</dc:date>
    </item>
  </channel>
</rss>

