<?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: Hbase table issue while reading data through phoenix driver in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368998#M240331</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82089"&gt;@willx&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;But we should have some option to configure table creation of phoenix table with bucket configiration other than prefixrowkey partition.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jyothsna&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2023 09:28:39 GMT</pubDate>
    <dc:creator>bavisetti</dc:creator>
    <dc:date>2023-04-20T09:28:39Z</dc:date>
    <item>
      <title>Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368113#M240059</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am having two issues with cloud era Hbase connection:&lt;BR /&gt;1. Connecting Hbase through the Phoenix driver is not working.&lt;/P&gt;&lt;P&gt;2. Somehow I am able to connect hbase through hbase shell and inserted data. But I have a problem while reading data from Phoenix driver.&lt;/P&gt;&lt;P&gt;The steps I followed are below:&lt;BR /&gt;created habse Table using sqlline and inserting data through hbase shell put API from spark java application.&amp;nbsp;&lt;BR /&gt;But my consumer app reading data through phoenix driver.&lt;/P&gt;&lt;P&gt;can you please help me any table configuration helps me to use hbase table from hbase shell as we all phoenix driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Issue with existing table is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to query data properly through hbase shell command, But when I am querying data through Phoenix driver rowkey value is getting truncated (only the first letter) and other columns are good.&lt;BR /&gt;&lt;BR /&gt;While creating a table, using the following configurations:&lt;BR /&gt;Column_encoded_bytes=0, slatbucket=88, Compression=snappy, data_block_encoding= fast_DIFF&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 11:42:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368113#M240059</guid>
      <dc:creator>bavisetti</dc:creator>
      <dc:date>2023-04-10T11:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368136#M240069</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104522"&gt;@bavisetti&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our HBase/Phoenix experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/40384"&gt;@smdas&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80393"&gt;@rki_&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82089"&gt;@willx&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96124"&gt;@Samanta001&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 15:20:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368136#M240069</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2023-04-10T15:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368162#M240083</link>
      <description>&lt;P&gt;Any solution, core hbase i am able to see data properly, why it is getting truncated when reading through phoenix. Any suggestion ?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 03:07:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368162#M240083</guid>
      <dc:creator>bavisetti</dc:creator>
      <dc:date>2023-04-11T03:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368171#M240084</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104522"&gt;@bavisetti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;Please kindly provide your CDH/CDP version, hbase version, phoenix version and the Phoenix driver version.&lt;/LI&gt;&lt;LI&gt;Are you able to use the phoenix driver to create phoenix table, upsert into it and select data from it?&lt;/LI&gt;&lt;LI&gt;Are you able to do above in phoenix-sqlline.&lt;/LI&gt;&lt;LI&gt;If you already have a hbase table, you may need to create a view in phoenix so the phoenix client could be able to read it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Refer to&amp;nbsp;&lt;A href="https://phoenix.apache.org/language/index.html#create_view" target="_blank"&gt;https://phoenix.apache.org/language/index.html#create_view&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 06:07:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368171#M240084</guid>
      <dc:creator>willx</dc:creator>
      <dc:date>2023-04-11T06:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368208#M240098</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82089"&gt;@willx&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Cdh : 7.1.6.cdhp150&lt;/P&gt;&lt;P&gt;Hbase version: 2.2.3.7.1.6.150-1&lt;/P&gt;&lt;P&gt;Phoenix version: phoenix 6.0.0.7.1.6.150-1&lt;/P&gt;&lt;P&gt;Phoenix driver version : 6.0.0.7&lt;/P&gt;&lt;P&gt;I found issue is with salt bucket .. is there any way to add regionsplitpolicy while inserting data through hbase shell?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 10:48:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368208#M240098</guid>
      <dc:creator>bavisetti</dc:creator>
      <dc:date>2023-04-11T10:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368210#M240099</link>
      <description>&lt;P&gt;Is there any way to configure &lt;SPAN&gt;KeyPrefixRegionSplitPolicy&lt;/SPAN&gt; while inserting data through hbase connector through Java spark application.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 11:42:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368210#M240099</guid>
      <dc:creator>bavisetti</dc:creator>
      <dc:date>2023-04-11T11:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368219#M240102</link>
      <description>&lt;P&gt;Please refer to this doc&lt;A href="https://blog.cloudera.com/apache-hbase-region-splitting-and-merging/" target="_blank"&gt;&amp;nbsp;https://blog.cloudera.com/apache-hbase-region-splitting-and-merging/&lt;/A&gt;&amp;nbsp;for split policy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far based on your statement I cannot conclude it is due to salt bucket or split policy, we need more evidence from logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we would suggest you raise a Cloudera support case.&amp;nbsp;We need to collect some necessary information and logs to investigate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please make sure the above questions are answered, in addition, we also need to collect:&lt;/P&gt;&lt;P&gt;hbase:&lt;/P&gt;&lt;P&gt;- echo "scan 'namespace:tablename'" &amp;gt; /tmp/scan_meta.txt&lt;/P&gt;&lt;P&gt;- echo "describe 'namespace:tablename'" &amp;gt; /tmp/desc_table.txt&lt;/P&gt;&lt;P&gt;- echo "list_regions 'namespace:tablename'"&amp;gt;/tmp/list_regions.txt&lt;/P&gt;&lt;P&gt;phoenix-sqlline:&lt;/P&gt;&lt;P&gt;- select * from system.catalog;&lt;/P&gt;&lt;P&gt;- !tables&lt;/P&gt;&lt;P&gt;- select * from namespace.table;&lt;/P&gt;&lt;P&gt;- Your client code of using phoenix driver and the output reflects the issue "&lt;SPAN&gt;when I am querying data through Phoenix driver rowkey value is getting truncated (only the first letter) and other columns are good.&lt;/SPAN&gt;"&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 12:33:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368219#M240102</guid>
      <dc:creator>willx</dc:creator>
      <dc:date>2023-04-11T12:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368253#M240112</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82089"&gt;@willx&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I confirmed it is salt bucket issue by creating a table with salt bucket =0 and it worked well.&lt;BR /&gt;and also created a sample table through sqlline with slat bucket &amp;gt;0 and inserted data from HBase shell and sqlline. where data inserted through sqlline it is prefixed with an extra one character, whereas HBase it is exactly what value I inserted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me how to create a table with Phoenix driver with different region policies instead of prefix rowkey or how to get random prefix to append through hbase shell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jyothsna&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 16:13:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368253#M240112</guid>
      <dc:creator>bavisetti</dc:creator>
      <dc:date>2023-04-11T16:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368288#M240118</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82089"&gt;@willx&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you please suggest if is there any way to disable the prefix rowkey regional policy and use a different regional policy while creating the Phoenix table?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Jyothsna&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 05:50:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368288#M240118</guid>
      <dc:creator>bavisetti</dc:creator>
      <dc:date>2023-04-12T05:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368512#M240186</link>
      <description>&lt;P&gt;any help on this issue,&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 10:43:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368512#M240186</guid>
      <dc:creator>bavisetti</dc:creator>
      <dc:date>2023-04-14T10:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368564#M240198</link>
      <description>&lt;P&gt;still it is open question&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2023 03:11:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368564#M240198</guid>
      <dc:creator>bavisetti</dc:creator>
      <dc:date>2023-04-15T03:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368849#M240289</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104522"&gt;@bavisetti&lt;/a&gt;, w&lt;SPAN&gt;riting to phoenix tables from HBase is not supported, please consider writing Phoenix tables from Phoenix only.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 05:30:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368849#M240289</guid>
      <dc:creator>willx</dc:creator>
      <dc:date>2023-04-19T05:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368997#M240330</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11960"&gt;@will&lt;/a&gt;, I tried connecting phoenix5-spark driver through CDP environment. I am facing below issues:&lt;/P&gt;&lt;PRE&gt;Exception in thread "streaming-job-executor-0" java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;&lt;BR /&gt;
	at org.apache.phoenix.spark.DataFrameFunctions.getFieldArray(DataFrameFunctions.scala:76)
	at org.apache.phoenix.spark.DataFrameFunctions.saveToPhoenix(DataFrameFunctions.scala:35)
	at org.apache.phoenix.spark.DataFrameFunctions.saveToPhoenix(DataFrameFunctions.scala:28)
	at org.apache.phoenix.spark.DefaultSource.createRelation(DefaultSource.scala:48)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am using below jar versions:&lt;BR /&gt;phoenix5-spark-6.0.0.7.1.6.146-1&lt;BR /&gt;spark.version: 3.1.1&lt;BR /&gt;scala.version2.12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please let me know compatabilitty versions for phoenix5-spark with all mandatory jar versions for writing data through phoenix table.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 09:25:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368997#M240330</guid>
      <dc:creator>bavisetti</dc:creator>
      <dc:date>2023-04-20T09:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase table issue while reading data through phoenix driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368998#M240331</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82089"&gt;@willx&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;But we should have some option to configure table creation of phoenix table with bucket configiration other than prefixrowkey partition.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jyothsna&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 09:28:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-table-issue-while-reading-data-through-phoenix-driver/m-p/368998#M240331</guid>
      <dc:creator>bavisetti</dc:creator>
      <dc:date>2023-04-20T09:28:39Z</dc:date>
    </item>
  </channel>
</rss>

