<?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: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135160#M97819</link>
    <description>&lt;P&gt;Sorry for the tangent, Qi. Glad Sergey was here to steer you in a better direction &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2017 08:59:08 GMT</pubDate>
    <dc:creator>elserj</dc:creator>
    <dc:date>2017-01-19T08:59:08Z</dc:date>
    <item>
      <title>HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135152#M97811</link>
      <description>&lt;P&gt;HDP 2.5 secured cluster with Zeppelin and HBase installed. I could connect to Phoenix using the sqlline.py utility using the following parameter.&lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/phoenix-client/bin/sqlline.py &amp;lt;zk1&amp;gt;,&amp;lt;zk2&amp;gt;,&amp;lt;zk3&amp;gt;:2181:/hbase-secure:hbase@DOMAIN.COM:/etc/security/keytabs/hbase.headless.keytab
&lt;/PRE&gt;&lt;P&gt;However when I try to use similar parameter for jdbc conn string in phoenix, I got &lt;/P&gt;&lt;PRE&gt;null
org.apache.phoenix.exception.PhoenixIOException: Failed after attempts=1, exceptions:
Wed Jan 18 15:13:11 UTC 2017, RpcRetryingCaller{globalStartTime=1484752390908, pause=100, retries=1}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: java.io.IOException: Broken pipe

class org.apache.zeppelin.interpreter.InterpreterException
&lt;/PRE&gt;&lt;P&gt;The jdbc interpreter settings for Phoenix are&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11499-screen-shot-2017-01-18-at-105658-am.png" style="width: 1510px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22081i5A76189F140E0ADE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11499-screen-shot-2017-01-18-at-105658-am.png" alt="11499-screen-shot-2017-01-18-at-105658-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do I need to create phoenixuser principal and use that keytab instead? and what is phoenix.user and phoenix.password?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:57:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135152#M97811</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2019-08-19T08:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135153#M97812</link>
      <description>&lt;PRE&gt;org.apache.hadoop.hbase.MasterNotRunningException&lt;/PRE&gt;&lt;P&gt;It would appear that HBase is not actually running. Can you verify that HBase is healthy? Can you interact with HBase via `hbase shell` (e.g. create a table, add data to it, delete the table)?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 01:13:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135153#M97812</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2017-01-19T01:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135154#M97813</link>
      <description>&lt;P&gt;@&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;Josh Elser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;HBase is running fine. I cold pull the table list and look into "atlas_titan" tables content&lt;/P&gt;&lt;PRE&gt;[root@qwang-hdp5 logs]# hbase shell
HBase Shell; enter 'help&amp;lt;RETURN&amp;gt;' for list of supported commands.
Type "exit&amp;lt;RETURN&amp;gt;" to leave the HBase Shell
Version 1.1.2.2.5.3.0-37, rcb8c969d1089f1a34e9df11b6eeb96e69bcf878d, Tue Nov 29 18:48:22 UTC 2016

hbase(main):001:0&amp;gt; list
TABLE
ATLAS_ENTITY_AUDIT_EVENTS
SYSTEM.CATALOG
SYSTEM.FUNCTION
SYSTEM.SEQUENCE
SYSTEM.STATS
atlas_titan
driver_dangerous_event
my_table
8 row(s) in 0.5710 seconds

hbase(main):003:0&amp;gt; scan 'atlas_titan'
&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Jan 2017 04:28:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135154#M97813</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2017-01-19T04:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135155#M97814</link>
      <description>&lt;P&gt;Can you please try to create a table? This specifically uses the Master whereas scanning a table can be done by talking to a RegionServer.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 04:55:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135155#M97814</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2017-01-19T04:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135156#M97815</link>
      <description>&lt;P&gt;I bet that HBase is healthy. Was able to reproduce it locally. The same exception running test from zeppelin with perfectly working sqlline (as well as hbase shell).&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 05:05:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135156#M97815</guid>
      <dc:creator>ssoldatov</dc:creator>
      <dc:date>2017-01-19T05:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135157#M97816</link>
      <description>&lt;P&gt;@&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;Josh Elser &lt;/A&gt;&lt;/P&gt;&lt;P&gt;HBase is up and running fine. I can create table in both hbase shell and sqlline.py&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;hbase(main):001:0&amp;gt; create 'my_table1', {NAME =&amp;gt;'cf1'}, {NAME =&amp;gt;'cf2'}
0 row(s) in 2.9560 seconds


=&amp;gt; Hbase::Table - my_table1
hbase(main):002:0&amp;gt; put 'my_table1', 'rowkey01', 'cf1:c1', 'test value'
0 row(s) in 0.6850 seconds


hbase(main):003:0&amp;gt; get 'my_table1', 'rowkey01'
COLUMN                          CELL
 cf1:c1                         timestamp=1484780190152, value=test value
1 row(s) in 0.0780 seconds

&lt;/PRE&gt;&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;&lt;/A&gt;</description>
      <pubDate>Thu, 19 Jan 2017 06:58:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135157#M97816</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2017-01-19T06:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135158#M97817</link>
      <description>&lt;P&gt;@&lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;Sergey Soldatov &lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you running into the same problem on a secured cluster or non-secured one?
&lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 06:59:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135158#M97817</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2017-01-19T06:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135159#M97818</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3090/qiwang.html" nodeid="3090"&gt;@Qi Wang&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Well, to fix it you will need to proceed few steps:&lt;/P&gt;&lt;P&gt;1. In the jdbc interpreters configuration you need to remove default artifacts for phoenix and hbase (phoenix-4.7... and hbase-1.1.3...). &lt;/P&gt;&lt;P&gt;2. add new artifact for phoenix-client.jar (just provide the path /usr/hdp/current/phoenix-client/phoenix-client.jar)&lt;/P&gt;&lt;P&gt;3. You need to set up interpreter to properly find hbase configuration dir. It could be done by adding  to the end of zeppelin-env.sh&lt;/P&gt;&lt;PRE&gt;export CLASSPATH=$CLASSPATH:/etc/hbase/conf&lt;/PRE&gt;&lt;P&gt;using Ambari and after restart of Zeppelin service everything is supposed to work &lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 07:22:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135159#M97818</guid>
      <dc:creator>ssoldatov</dc:creator>
      <dc:date>2017-01-19T07:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135160#M97819</link>
      <description>&lt;P&gt;Sorry for the tangent, Qi. Glad Sergey was here to steer you in a better direction &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 08:59:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135160#M97819</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2017-01-19T08:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135161#M97820</link>
      <description>&lt;P&gt;@&lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;Sergey Soldatov&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It works after following your steps. It would be nice to figure out how to do step 3 in ambari if possible, always worry some later ambari update would wipe the change out.
&lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;&lt;/A&gt;thanks a lot for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 11:06:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135161#M97820</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2017-01-19T11:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135162#M97821</link>
      <description>&lt;P&gt;I checked the script more carefully. It looks like adding&lt;/P&gt;&lt;PRE&gt;export CLASSPATH=$CLASSPATH:/etc/hbase/conf&lt;/PRE&gt;&lt;P&gt;to zeppelin-env.sh using Zeppelin configuration in Ambari would be enough. &lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 13:20:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135162#M97821</guid>
      <dc:creator>ssoldatov</dc:creator>
      <dc:date>2017-01-19T13:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 How to connect Zeppelin to Phoenix in secured cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135163#M97822</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;@Sergey Soldatov&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2924/ssoldatov.html" nodeid="2924"&gt;&lt;/A&gt;Add it in ambari at the end of "Advanced zeppelin-env" -&amp;gt; "zeppelin_env_content" worked perfectly.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 11:33:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-2-5-How-to-connect-Zeppelin-to-Phoenix-in-secured/m-p/135163#M97822</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2017-01-20T11:33:48Z</dc:date>
    </item>
  </channel>
</rss>

