<?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 HDP 2.5 - Zeppelin phoenix interpreter support in kerberos environment? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-phoenix-interpreter-support-in-kerberos/m-p/103941#M46299</link>
    <description>&lt;P&gt;We have four node HDP 2.5 cluster and enabled kerberos on all services. During sanity check, we noticed that using Java client, we can connect to secured hbase using phoenix thick driver, however, via zeppelin phoenix interpreter (%phoenix) using same driver, I see below error in phoenix sample notebooks:&lt;/P&gt;&lt;PRE&gt;Failed after attempts=1, exceptions:
Tue Nov 15 13:50:01 UTC 2016, RpcRetryingCaller{globalStartTime=1479217801202, pause=100, retries=1}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: java.io.IOException: Broken pipe
class org.apache.phoenix.exception.PhoenixIOException
org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:111)&lt;/PRE&gt;&lt;P&gt;Following are phoenix specific interpreter settings:&lt;/P&gt;&lt;PRE&gt;phoenix.driver  -- org.apache.phoenix.jdbc.PhoenixDriver
phoenix.url  -- jdbc:phoenix:xxx:/hbase-secure
phoenix.user  -- phoenixuser
phoenix.password --
Dependencies -- org.apache.phoenix:phoenix-core:4.7.0-HBase-1.1
&lt;/PRE&gt;&lt;P&gt;If I change phoenix.url configuration to also specify hbase principal and keytab, then, I see below error:&lt;/P&gt;&lt;PRE&gt;phoenix.url  -- jdbc:phoenix:xxx:/hbase-secure:hbase@xxx:/etc/security/keytabs/hbase.headless.keytab&lt;/PRE&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;PRE&gt;Failed after attempts=1, exceptions:
Tue Nov 15 13:25:09 UTC 2016, RpcRetryingCaller{globalStartTime=1479216309518, pause=100, retries=1}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: Call to xxx/x.x.x.x:16000 failed on local exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: Connection to xxx/x.x.x.x:16000 is closing. Call id=0, waitTime=38
class org.apache.phoenix.exception.PhoenixIOException
org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:111)
org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:1063)
org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1369)
org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:2116)
org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:828)
&lt;/PRE&gt;&lt;P&gt;Please note from above configurations and logs, I have purposefully masked host name and IP address.&lt;/P&gt;&lt;P&gt;I also noticed similar issue BUG-63165 at &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_release-notes/content/known_issues.html"&gt;HDP 2.5 known issues&lt;/A&gt;, however, that seems to be more about impersonation. Any thoughts?&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2016 22:07:36 GMT</pubDate>
    <dc:creator>vishal423</dc:creator>
    <dc:date>2016-11-15T22:07:36Z</dc:date>
    <item>
      <title>HDP 2.5 - Zeppelin phoenix interpreter support in kerberos environment?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-phoenix-interpreter-support-in-kerberos/m-p/103941#M46299</link>
      <description>&lt;P&gt;We have four node HDP 2.5 cluster and enabled kerberos on all services. During sanity check, we noticed that using Java client, we can connect to secured hbase using phoenix thick driver, however, via zeppelin phoenix interpreter (%phoenix) using same driver, I see below error in phoenix sample notebooks:&lt;/P&gt;&lt;PRE&gt;Failed after attempts=1, exceptions:
Tue Nov 15 13:50:01 UTC 2016, RpcRetryingCaller{globalStartTime=1479217801202, pause=100, retries=1}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: java.io.IOException: Broken pipe
class org.apache.phoenix.exception.PhoenixIOException
org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:111)&lt;/PRE&gt;&lt;P&gt;Following are phoenix specific interpreter settings:&lt;/P&gt;&lt;PRE&gt;phoenix.driver  -- org.apache.phoenix.jdbc.PhoenixDriver
phoenix.url  -- jdbc:phoenix:xxx:/hbase-secure
phoenix.user  -- phoenixuser
phoenix.password --
Dependencies -- org.apache.phoenix:phoenix-core:4.7.0-HBase-1.1
&lt;/PRE&gt;&lt;P&gt;If I change phoenix.url configuration to also specify hbase principal and keytab, then, I see below error:&lt;/P&gt;&lt;PRE&gt;phoenix.url  -- jdbc:phoenix:xxx:/hbase-secure:hbase@xxx:/etc/security/keytabs/hbase.headless.keytab&lt;/PRE&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;PRE&gt;Failed after attempts=1, exceptions:
Tue Nov 15 13:25:09 UTC 2016, RpcRetryingCaller{globalStartTime=1479216309518, pause=100, retries=1}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: Call to xxx/x.x.x.x:16000 failed on local exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: Connection to xxx/x.x.x.x:16000 is closing. Call id=0, waitTime=38
class org.apache.phoenix.exception.PhoenixIOException
org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:111)
org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:1063)
org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1369)
org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:2116)
org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:828)
&lt;/PRE&gt;&lt;P&gt;Please note from above configurations and logs, I have purposefully masked host name and IP address.&lt;/P&gt;&lt;P&gt;I also noticed similar issue BUG-63165 at &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_release-notes/content/known_issues.html"&gt;HDP 2.5 known issues&lt;/A&gt;, however, that seems to be more about impersonation. Any thoughts?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 22:07:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-phoenix-interpreter-support-in-kerberos/m-p/103941#M46299</guid>
      <dc:creator>vishal423</dc:creator>
      <dc:date>2016-11-15T22:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 - Zeppelin phoenix interpreter support in kerberos environment?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-phoenix-interpreter-support-in-kerberos/m-p/103942#M46300</link>
      <description>&lt;P&gt;Using Zeppelin to run queries on your behalf is impersonation. It would appear that you are running into that exact known issue.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 00:54:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-phoenix-interpreter-support-in-kerberos/m-p/103942#M46300</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-11-16T00:54:52Z</dc:date>
    </item>
  </channel>
</rss>

