<?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: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154785#M117226</link>
    <description>&lt;P&gt;For trace 1 (if you are using sqlline.py).&lt;/P&gt;&lt;P&gt;can you check your &amp;lt;PHOENIX_HOME&amp;gt;/bin directory and remove if there is any hbase-site.xml and try. &lt;/P&gt;&lt;P&gt;If you are using any java program, you need to ensure hbase-site.xml in classpath or you are adding these properties while creating connection.&lt;/P&gt;&lt;P&gt;For trace 2 (spark job)&lt;/P&gt;&lt;P&gt;You need to include hbase-site.xml in the classpath of spark like this:-&lt;/P&gt;&lt;PRE&gt;you can add hbase-site.xml in spark conf directory of all nodes or add properties needed in spark-defaults.conf. 

OR(try)


spark.driver.extraClassPath= /usr/hdp/current/phoenix-client/phoenix-client-spark.jar:/etc/hbase/conf/hbase-site.xml 
spark.executor.extraClassPath= /usr/hdp/current/phoenix-client/phoenix-client-spark.jar:/etc/hbase/conf/hbase-site.xml&lt;/PRE&gt;</description>
    <pubDate>Fri, 16 Sep 2016 14:41:35 GMT</pubDate>
    <dc:creator>asinghal</dc:creator>
    <dc:date>2016-09-16T14:41:35Z</dc:date>
    <item>
      <title>Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154780#M117221</link>
      <description>&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;While I tried to connect to a hbase server with phoenix 4.7
installed using client with the same version, &lt;/P&gt;&lt;P&gt;I got the following exception:&lt;/P&gt;&lt;P&gt;java.sql.SQLException: ERROR 726
(43M10):  Inconsistent namespace mapping properites &lt;/P&gt;&lt;P&gt;Cannot initiate connection as
SYSTEM:CATALOG is found but client does not have
phoenix.schema.isNamespaceMappingEnabled enabled&lt;/P&gt;&lt;P&gt;I checked the server and client, both sides are having the
following options set to true in the hbase-site config:&lt;/P&gt;&lt;P&gt;phoenix.schema.isNamespaceMappingEnabled,&lt;/P&gt;&lt;P&gt;phoenix.schema.mapSystemTablesToNamespace&lt;/P&gt;&lt;P&gt;The attached are the  traces and the config screenshots
for HBase client and server . The platform is HDP 2.5 on both sides.&lt;/P&gt;&lt;P&gt;Trace1 is when using Pheonix jdbc driver directly, trace2 is
using it through Spark&lt;/P&gt;&lt;P&gt;Any idea what I should do?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Xindian&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 04:39:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154780#M117221</guid>
      <dc:creator>xindian_long</dc:creator>
      <dc:date>2016-09-16T04:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154781#M117222</link>
      <description>&lt;P&gt;You need to be sure that phoenix client has hbase-site.xml in the classpath. You may do this by setting HBASE_CONF_DIR environment variable.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 04:42:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154781#M117222</guid>
      <dc:creator>ssoldatov</dc:creator>
      <dc:date>2016-09-16T04:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154782#M117223</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/2924/ssoldatov.html"&gt;@ssoldatov&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi, &lt;A href="https://community.hortonworks.com/users/2924/ssoldatov.html"&gt;ssoldatov&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;Thanks for the suggestions, but it still does not work, with the same error.&lt;/P&gt;&lt;P&gt;This is what I did to submit the spark job:&lt;/P&gt;&lt;PRE&gt;#!/usr/bin/bash
CWD="$(pwd)"
SPARK_CONF_DIR=${CWD}/output/conf
HBASE_CONF_DIR=/usr/hdp/2.5.0.0-1245/hbase/conf
export SPARK_CONF_DIR
export CWD
export HBASE_CONF_DIR
spark-submit \
  --driver-class-path "${CWD}/target/uber-spark-boot-0.1.0.jar:/usr/hdp/2.5.0.0-1245/phoenix/phoenix-client.jar" \
  --class "com.nms.Application" --master local[3]  ${CWD}/target/uber-spark-boot-0.1.0.jar
&lt;/PRE&gt;&lt;P&gt;This is what I printed out at run time in the main procedure in the spark driver, &lt;EM&gt;&lt;STRONG&gt;/usr/hdp/2.5.0.0-1245/hbase/conf&lt;/STRONG&gt;&lt;/EM&gt; is where the corrrect hbase-site.xml locates&lt;/P&gt;&lt;PRE&gt;Let's inspect the classpath:
16/09/15 17:57:30 INFO Application: /home/vagrant/nms/spark-boot/target/uber-spark-boot-0.1.0.jar
16/09/15 17:57:30 INFO Application: /usr/hdp/2.5.0.0-1245/phoenix/phoenix-4.7.0.2.5.0.0-1245-client.jar
16/09/15 17:57:30 INFO Application: /home/vagrant/nms/spark-boot/output/conf/
16/09/15 17:57:30 INFO Application: /usr/hdp/2.5.0.0-1245/spark/lib/spark-assembly-1.6.2.2.5.0.0-1245-hadoop2.7.3.2.5.0.0-1245.jar
16/09/15 17:57:30 INFO Application: /usr/hdp/2.5.0.0-1245/spark/lib/datanucleus-api-jdo-3.2.6.jar
16/09/15 17:57:30 INFO Application: /usr/hdp/2.5.0.0-1245/spark/lib/datanucleus-core-3.2.10.jar
16/09/15 17:57:30 INFO Application: /usr/hdp/2.5.0.0-1245/spark/lib/datanucleus-rdbms-3.2.9.jar
16/09/15 17:57:30 INFO Application: /etc/hadoop/2.5.0.0-1245/0/
16/09/15 17:57:30 INFO Application: /usr/hdp/2.5.0.0-1245/hadoop/lib/aws-java-sdk-s3-1.10.6.jar
16/09/15 17:57:30 INFO Application: /usr/hdp/2.5.0.0-1245/hadoop/lib/aws-java-sdk-core-1.10.6.jar
16/09/15 17:57:30 INFO Application: /usr/hdp/2.5.0.0-1245/hadoop/lib/aws-java-sdk-kms-1.10.6.jar
Let's inspect the environment variables:
16/09/15 17:57:30 INFO Application: Env Var Name : CWD Value : /home/vagrant/nms/spark-boot
16/09/15 17:57:30 INFO Application: Env Var Name : DBUS_SESSION_BUS_ADDRESS Value : unix:abstract=/tmp/dbus-qWsc4sL7En,guid=ee8eaf05797434b6bd4fffdf57dab404
16/09/15 17:57:30 INFO Application: Env Var Name : DESKTOP_SESSION Value : gnome-classic
16/09/15 17:57:30 INFO Application: Env Var Name : DISPLAY Value : :0
16/09/15 17:57:30 INFO Application: Env Var Name : GDMSESSION Value : gnome-classic
16/09/15 17:57:30 INFO Application: Env Var Name : GDM_LANG Value : en_US.utf8
16/09/15 17:57:30 INFO Application: Env Var Name : GEM_HOME Value : /usr/local/rvm/gems/ruby-2.2.0
16/09/15 17:57:30 INFO Application: Env Var Name : GEM_PATH Value : /usr/local/rvm/gems/ruby-2.2.0:/usr/local/rvm/gems/ruby-2.2.0@global
16/09/15 17:57:30 INFO Application: Env Var Name : GJS_DEBUG_OUTPUT Value : stderr
16/09/15 17:57:30 INFO Application: Env Var Name : GJS_DEBUG_TOPICS Value : JS ERROR;JS LOG
16/09/15 17:57:30 INFO Application: Env Var Name : GNOME_DESKTOP_SESSION_ID Value : this-is-deprecated
16/09/15 17:57:30 INFO Application: Env Var Name : GNOME_SHELL_SESSION_MODE Value : classic
16/09/15 17:57:30 INFO Application: Env Var Name : GPG_AGENT_INFO Value : /run/user/1000/keyring/gpg:0:1
16/09/15 17:57:30 INFO Application: Env Var Name : HADOOP_CONF_DIR Value : /usr/hdp/current/hadoop-client/conf
16/09/15 17:57:30 INFO Application: Env Var Name : HADOOP_HOME Value : /usr/hdp/current/hadoop-client
16/09/15 17:57:30 INFO Application: Env Var Name : HBASE_CONF_DIR Value : /usr/hdp/2.5.0.0-1245/hbase/conf
16/09/15 17:57:30 INFO Application: Env Var Name : HDP_VERSION Value : 2.5.0.0-1245
16/09/15 17:57:30 INFO Application: Env Var Name : HISTCONTROL Value : ignoredups &lt;/PRE&gt;&lt;P&gt;16/09/15 17:57:30 INFO Application: Env Var Name : HISTSIZE Value : 1000&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 05:17:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154782#M117223</guid>
      <dc:creator>xindian_long</dc:creator>
      <dc:date>2016-09-16T05:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154783#M117224</link>
      <description>&lt;P&gt;Can we see what the Phoenix System tables look like in HBase Shell?&lt;/P&gt;&lt;P&gt;Run 'hbase shell' then 'list' and post the output.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# hbase shell &lt;/P&gt;&lt;P&gt;HBase Shell; enter 'help&amp;lt;RETURN&amp;gt;' for list of supported commands. &lt;/P&gt;&lt;P&gt;Type "exit&amp;lt;RETURN&amp;gt;" to leave the HBase Shell
Version 1.1.2.2.5.0.0-1245, r53538b8ab6749cbb6fdc0fe448b89aa82495fb3f, Fri Aug 26 01:32:27 UTC 2016 &lt;/P&gt;&lt;P&gt;hbase(main):001:0&amp;gt; list &lt;/P&gt;&lt;P&gt;TABLE &lt;/P&gt;&lt;P&gt; SYSTEM:CATALOG &lt;/P&gt;&lt;P&gt;SYSTEM:FUNCTION &lt;/P&gt;&lt;P&gt;SYSTEM:SEQUENCE &lt;/P&gt;&lt;P&gt;SYSTEM:STATS &lt;/P&gt;&lt;P&gt;3 row(s) in 0.2090 seconds
=&amp;gt; ["SYSTEM:CATALOG", "SYSTEM:FUNCTION", "SYSTEM:SEQUENCE", "SYSTEM:STATS"]&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 06:46:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154783#M117224</guid>
      <dc:creator>rbuckley</dc:creator>
      <dc:date>2016-09-16T06:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154784#M117225</link>
      <description>&lt;P&gt;If they instead look like 'SYSTEM.CATALOG'  then they are still the original way.&lt;/P&gt;&lt;P&gt;If instead your Phoenix System tables look like 'SYSTEM:CATALOG' they were migrated to the new namespace mechanism already.    I think you'll likely have to add 'phoenix.schema.isNamespaceMappingEnabled' to your hbase-site.xml, I dont see a way to go back. &lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 06:49:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154784#M117225</guid>
      <dc:creator>rbuckley</dc:creator>
      <dc:date>2016-09-16T06:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154785#M117226</link>
      <description>&lt;P&gt;For trace 1 (if you are using sqlline.py).&lt;/P&gt;&lt;P&gt;can you check your &amp;lt;PHOENIX_HOME&amp;gt;/bin directory and remove if there is any hbase-site.xml and try. &lt;/P&gt;&lt;P&gt;If you are using any java program, you need to ensure hbase-site.xml in classpath or you are adding these properties while creating connection.&lt;/P&gt;&lt;P&gt;For trace 2 (spark job)&lt;/P&gt;&lt;P&gt;You need to include hbase-site.xml in the classpath of spark like this:-&lt;/P&gt;&lt;PRE&gt;you can add hbase-site.xml in spark conf directory of all nodes or add properties needed in spark-defaults.conf. 

OR(try)


spark.driver.extraClassPath= /usr/hdp/current/phoenix-client/phoenix-client-spark.jar:/etc/hbase/conf/hbase-site.xml 
spark.executor.extraClassPath= /usr/hdp/current/phoenix-client/phoenix-client-spark.jar:/etc/hbase/conf/hbase-site.xml&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2016 14:41:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154785#M117226</guid>
      <dc:creator>asinghal</dc:creator>
      <dc:date>2016-09-16T14:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154786#M117227</link>
      <description>&lt;P&gt;As an improvement, we could get namespace mapping properties from server at the client so that every client doesn't need to specify them,  have raised the jira for the same&lt;/P&gt;&lt;PRE&gt;&lt;A href="https://issues.apache.org/jira/browse/PHOENIX-3288" target="_blank"&gt;https://issues.apache.org/jira/browse/PHOENIX-3288&lt;/A&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2016 14:45:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154786#M117227</guid>
      <dc:creator>asinghal</dc:creator>
      <dc:date>2016-09-16T14:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154787#M117228</link>
      <description>&lt;P&gt;adding hbase-site.xml in spark conf directory solves the problem&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shindian&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 01:24:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154787#M117228</guid>
      <dc:creator>xindian_long</dc:creator>
      <dc:date>2016-09-17T01:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154788#M117229</link>
      <description>&lt;P&gt;it looks like this. The problem gets solved when I copy the hbase-site.xml into the spark conf directory&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shindian&lt;/P&gt;&lt;PRE&gt;1.8.7-p357 :002 &amp;gt;   list
TABLE
DATA_SCHEMA
PROCESS_LOG
SCHEMA_VERSION
SYSTEM.CATALOG
SYSTEM:CATALOG
SYSTEM:FUNCTION
SYSTEM:SEQUENCE
SYSTEM:STATS
TENANT
WEB_STAT
10 row(s) in 0.4010 seconds


 =&amp;gt; ["DATA_SCHEMA", "PROCESS_LOG", "SCHEMA_VERSION", "SYSTEM.CATALOG", "SYSTEM:CATALOG", "SYSTEM:FUNCTION", "SYSTEM:SEQUENCE", "SYSTEM:STATS", "TENANT", "WEB_STAT"]



&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Sep 2016 01:27:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154788#M117229</guid>
      <dc:creator>xindian_long</dc:creator>
      <dc:date>2016-09-17T01:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154789#M117230</link>
      <description>&lt;P&gt;This was the solution. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 23:34:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154789#M117230</guid>
      <dc:creator>mmartinez</dc:creator>
      <dc:date>2016-12-16T23:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154790#M117231</link>
      <description>&lt;P&gt;
	Hi all,&lt;/P&gt;&lt;P&gt;
	If you are using the DBCPConnectionPool in NiFi to connect to Phoenix and you are having the same issue, you must create a symlink of hbase-site.xml in the nar folder of the DBCP service.&lt;/P&gt;&lt;PRE&gt;ln -s /usr/hdp/current/hbase-master/conf/hbase-site.xml
/usr/nifi/work/nar/extensions/nifi-dbcp-service-nar-1.1.0.2.1.1.0-2.nar-unpacked/META-INF/bundled-dependencies/&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Dec 2016 06:37:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154790#M117231</guid>
      <dc:creator>mmartinez</dc:creator>
      <dc:date>2016-12-30T06:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154791#M117232</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="#"&gt;@Gabriela Martinez&lt;/A&gt; for sharing, would you mind creating a separate question by tagging Phoenix and NIFI and answering and accepting the same, as it will benefit the other users who are using NIFI with Phoenix.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 14:01:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154791#M117232</guid>
      <dc:creator>asinghal</dc:creator>
      <dc:date>2016-12-30T14:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exception connecting to a hbase serverr with pheonix 4.7 installed, isNamespaceMappingEnabled problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154792#M117233</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/13124/xindianlong.html"&gt;X Long&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was facing same kind of issue. I have resolve this issue by using following steps:-&lt;/P&gt;&lt;P&gt;1) Edit Ambari-&amp;gt;Hive-&amp;gt;Configs-&amp;gt;Advanced-&amp;gt;Custom hive-site-&amp;gt;Add Property..., add the following properties based on your HBase configurations(you can search in Ambari-&amp;gt;HBase-&amp;gt;Configs): custom hive-site.xml&lt;/P&gt;&lt;P&gt;hbase.zookeeper.quorum=xyz (find this property value from hbase )&lt;/P&gt;&lt;P&gt;zookeeper.znode.parent=/hbase-unsecure (find this property value from hbase )&lt;/P&gt;&lt;P&gt;phoenix.schema.mapSystemTablesToNamespace=true&lt;/P&gt;&lt;P&gt;phoenix.schema.isNamespaceMappingEnabled=true&lt;/P&gt;&lt;P&gt;2) Copy jar to /usr/hdp/current/hive-server2/auxlib from&lt;/P&gt;&lt;P&gt;/usr/hdp/2.5.6.0-40/phoenix/phoenix-4.7.0.2.5.6.0-40-hive.jar&lt;/P&gt;&lt;P&gt;/usr/hdp/2.5.6.0-40/phoenix/phoenix-hive-4.7.0.2.5.6.0-40-sources.jar If he jar is not working for you then just try to get following jar phoenix-hive-4.7.0.2.5.3.0-37.jar and copy this to /usr/hdp/current/hive-server2/auxlib&lt;/P&gt;&lt;P&gt;3) add property to custom-hive-env&lt;/P&gt;&lt;P&gt;HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-server2/auxlib/4) Add follwoing property to custom-hbase-site.xmlphoenix.schema.mapSystemTablesToNamespace=true phoenix.schema.isNamespaceMappingEnabled=true&lt;/P&gt;&lt;P&gt;5) Also run following command&lt;/P&gt;&lt;P&gt;1) jar uf /usr/hdp/current/hive-server2/auxlib/phoenix-4.7.0.2.5.6.0-40-client.jar /etc/hive/conf/hive-site.xml&lt;/P&gt;&lt;P&gt;2) jar uf /usr/hdp/current/hive-server2/auxlib/phoenix-4.7.0.2.5.6.0-40-client.jar /etc/hbase/conf/hbase-site.xml&lt;/P&gt;&lt;P&gt;And I hope my solution will work for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 01:22:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-connecting-to-a-hbase-serverr-with-pheonix-4-7/m-p/154792#M117233</guid>
      <dc:creator>ashneesharma88</dc:creator>
      <dc:date>2017-09-14T01:22:31Z</dc:date>
    </item>
  </channel>
</rss>

