<?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: Zeppelin JDBC Interpreter: Hive Error in doAs in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222016#M69740</link>
    <description>&lt;P&gt;Have you checked ?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_release-notes/content/known_issues.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_release-notes/content/known_issues.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Description of Problem:&lt;/STRONG&gt; After upgrading from Ambari 2.4.2 to Ambari 2.5.2 and subsequent HDP stack upgrade from 2.5 to 2.6, jdbc(hive) interpreter fails to work correctly in Zeppelin.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error Message:&lt;/STRONG&gt; You might see one of the following errors in the Zeppelin stacktrace after running jdbc(hive):&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Error in doAs&lt;/LI&gt;&lt;LI&gt;Failed to validate proxy privilege of zeppelin&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Workaround:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Make sure hadoop.proxyuser.zeppelin.groups=* and hadoop.proxyuser.zeppelin.hosts=* are set in HDFS &lt;CODE&gt;core-site.xml&lt;/CODE&gt;. If not, then configure these properties and restart all stale services. (&lt;A href="https://issues.apache.org/jira/browse/AMBARI-21772"&gt;AMBARI-21772&lt;/A&gt; is currently tracking this item).&lt;/LI&gt;&lt;LI&gt;Make user hive.url is configured correctly in Zeppelin's JDBC hive interpreter.&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG alt="[Note&amp;gt;" src="https://ip1.i.lithium.com/ed292c9680ed4ee860d88e459981fbad7c24a4ee/68747470733a2f2f646f63732e686f72746f6e776f726b732e636f6d2f484450446f63756d656e74732f484450322f4844502d322e362e322f626b5f72656c656173652d6e6f7465732f636f6d6d6f6e2f696d616765732f61646d6f6e2f6e6f74652e706e67" style="box-sizing: border-box;" /&gt;&lt;/TD&gt;&lt;TH&gt;Note&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;The URL configured might be wrong, especially on secured and/or wire-encrypted clusters, due to a known issue that we will address in a future release.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;/LI&gt;&lt;LI&gt;Restart HS2.&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Tue, 17 Oct 2017 04:40:09 GMT</pubDate>
    <dc:creator>dineshc</dc:creator>
    <dc:date>2017-10-17T04:40:09Z</dc:date>
    <item>
      <title>Zeppelin JDBC Interpreter: Hive Error in doAs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222015#M69739</link>
      <description>&lt;P&gt;I just upgraded from HDP-2.6.1 to HDP-2.6.2&lt;/P&gt;&lt;P&gt;Both are kerberizzed clusters and doAs=True in Hive.&lt;/P&gt;&lt;P&gt;In 2.6.1, jdbc hive interpreter was working fine.After upgrading, even simple queries like 'Show Databases' results in error in doAs.&lt;/P&gt;&lt;P&gt;My configurations are same in both the versions.&lt;/P&gt;&lt;P&gt;org.apache.zeppelin.interpreter.InterpreterException: Error in doAs &lt;BR /&gt;at org.apache.zeppelin.jdbc.JDBCInterpreter.getConnection(JDBCInterpreter.java:415) &lt;BR /&gt;at org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(JDBCInterpreter.java:633) &lt;BR /&gt;at org.apache.zeppelin.jdbc.JDBCInterpreter.interpret(JDBCInterpreter.java:733) &lt;BR /&gt;at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:101) &lt;BR /&gt;at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:502) &lt;BR /&gt;at org.apache.zeppelin.scheduler.Job.run(Job.java:175) &lt;BR /&gt;at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162) &lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) &lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266) &lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) &lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) &lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) &lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) &lt;BR /&gt;at java.lang.Thread.run(Thread.java:745) &lt;BR /&gt;Caused by: java.lang.reflect.UndeclaredThrowableException &lt;BR /&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1884) &lt;BR /&gt;at org.apache.zeppelin.jdbc.JDBCInterpreter.getConnection(JDBCInterpreter.java:407) &lt;BR /&gt;... 13 more &lt;BR /&gt;Caused by: java.sql.SQLException: Could not open client transport for any of the Server URI's in ZooKeeper: java.net.ConnectException: Connection refused &lt;BR /&gt;at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:218) &lt;BR /&gt;at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:156) &lt;BR /&gt;at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105) &lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664) &lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:208) &lt;BR /&gt;at org.apache.commons.dbcp2.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:79) &lt;BR /&gt;at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:205) &lt;BR /&gt;at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861) &lt;BR /&gt;at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435) &lt;BR /&gt;at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) &lt;BR /&gt;at org.apache.commons.dbcp2.PoolingDriver.connect(PoolingDriver.java:129) &lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664) &lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:270) &lt;BR /&gt;at org.apache.zeppelin.jdbc.JDBCInterpreter.getConnectionFromPool(JDBCInterpreter.java:362) &lt;BR /&gt;at org.apache.zeppelin.jdbc.JDBCInterpreter.access$000(JDBCInterpreter.java:89) &lt;BR /&gt;at org.apache.zeppelin.jdbc.JDBCInterpreter$1.run(JDBCInterpreter.java:410) &lt;BR /&gt;at org.apache.zeppelin.jdbc.JDBCInterpreter$1.run(JDBCInterpreter.java:407) &lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method) &lt;BR /&gt;at javax.security.auth.Subject.doAs(Subject.java:422) &lt;BR /&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866) &lt;BR /&gt;... 14 more &lt;BR /&gt;Caused by: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused &lt;BR /&gt;at org.apache.thrift.transport.TSocket.open(TSocket.java:185)&lt;BR /&gt;at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:248) &lt;BR /&gt;at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37) &lt;BR /&gt;at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:52) &lt;BR /&gt;at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssuming&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 04:37:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222015#M69739</guid>
      <dc:creator>rmy1712</dc:creator>
      <dc:date>2017-10-17T04:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin JDBC Interpreter: Hive Error in doAs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222016#M69740</link>
      <description>&lt;P&gt;Have you checked ?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_release-notes/content/known_issues.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_release-notes/content/known_issues.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Description of Problem:&lt;/STRONG&gt; After upgrading from Ambari 2.4.2 to Ambari 2.5.2 and subsequent HDP stack upgrade from 2.5 to 2.6, jdbc(hive) interpreter fails to work correctly in Zeppelin.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error Message:&lt;/STRONG&gt; You might see one of the following errors in the Zeppelin stacktrace after running jdbc(hive):&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Error in doAs&lt;/LI&gt;&lt;LI&gt;Failed to validate proxy privilege of zeppelin&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Workaround:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Make sure hadoop.proxyuser.zeppelin.groups=* and hadoop.proxyuser.zeppelin.hosts=* are set in HDFS &lt;CODE&gt;core-site.xml&lt;/CODE&gt;. If not, then configure these properties and restart all stale services. (&lt;A href="https://issues.apache.org/jira/browse/AMBARI-21772"&gt;AMBARI-21772&lt;/A&gt; is currently tracking this item).&lt;/LI&gt;&lt;LI&gt;Make user hive.url is configured correctly in Zeppelin's JDBC hive interpreter.&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG alt="[Note&amp;gt;" src="https://ip1.i.lithium.com/ed292c9680ed4ee860d88e459981fbad7c24a4ee/68747470733a2f2f646f63732e686f72746f6e776f726b732e636f6d2f484450446f63756d656e74732f484450322f4844502d322e362e322f626b5f72656c656173652d6e6f7465732f636f6d6d6f6e2f696d616765732f61646d6f6e2f6e6f74652e706e67" style="box-sizing: border-box;" /&gt;&lt;/TD&gt;&lt;TH&gt;Note&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;The URL configured might be wrong, especially on secured and/or wire-encrypted clusters, due to a known issue that we will address in a future release.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;/LI&gt;&lt;LI&gt;Restart HS2.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 17 Oct 2017 04:40:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222016#M69740</guid>
      <dc:creator>dineshc</dc:creator>
      <dc:date>2017-10-17T04:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin JDBC Interpreter: Hive Error in doAs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222017#M69741</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13511/dineshchitlangia.html" nodeid="13511"&gt;@Dinesh Chitlangia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I had verified all the listed know issues mentioned in the above URL.&lt;/P&gt;&lt;P&gt;Still the problem exists.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 04:43:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222017#M69741</guid>
      <dc:creator>rmy1712</dc:creator>
      <dc:date>2017-10-17T04:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin JDBC Interpreter: Hive Error in doAs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222018#M69742</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/30206/rmy1712.html" nodeid="30206"&gt;@Ramya Jayathirtha&lt;/A&gt;&lt;P&gt;Verify Hive Service status and try connecting to hive using beeline to ensure hive is working fine.&lt;/P&gt;&lt;P&gt;Then, try adding the following parameter and value in your jdbc interpreter.&lt;/P&gt;&lt;PRE&gt;hive.proxy.user.property = hive.server2.proxy.user&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Oct 2017 04:49:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222018#M69742</guid>
      <dc:creator>dineshc</dc:creator>
      <dc:date>2017-10-17T04:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin JDBC Interpreter: Hive Error in doAs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222019#M69743</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/13511/dineshchitlangia.html" nodeid="13511"&gt;@Dinesh Chitlangia&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This solved the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 05:45:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-JDBC-Interpreter-Hive-Error-in-doAs/m-p/222019#M69743</guid>
      <dc:creator>rmy1712</dc:creator>
      <dc:date>2017-10-17T05:45:22Z</dc:date>
    </item>
  </channel>
</rss>

