<?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 Impala Kudu distribute by hash() not working in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43087#M35505</link>
    <description>&lt;P&gt;I have impala running on a Linux box (Version 2.7) and Kudu is &amp;nbsp;the storage manager. I am attempting to create a table via the docs in this fashion:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CREATE TABLE my_first_table ( id BIGINT, name STRING ) DISTRIBUTE BY HASH (id) INTO 16 BUCKETS TBLPROPERTIES( 'storage_handler' = 'com.cloudera.kudu.hive.KuduStorageHandler', 'kudu.table_name' = 'my_first_table', 'kudu.master_addresses' = 'kudu-master.example.com:7051', 'kudu.key_columns' = 'id' );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, the "DISTRIBUTE BY HASH(id)" causes an invalid syntax near "DISTRIBUTE BY". This create table statement is coming directly from the docs (&lt;A href="http://kudu.apache.org/docs/kudu_impala_integration.html#kudu_impala_insert_bulk" target="_blank"&gt;http://kudu.apache.org/docs/kudu_impala_integration.html#kudu_impala_insert_bulk&lt;/A&gt;). Any idea what I am doing wrong? I did notice that "partition by" works, but not the distribute clause.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:30:55 GMT</pubDate>
    <dc:creator>Brycert1</dc:creator>
    <dc:date>2022-09-16T10:30:55Z</dc:date>
    <item>
      <title>Impala Kudu distribute by hash() not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43087#M35505</link>
      <description>&lt;P&gt;I have impala running on a Linux box (Version 2.7) and Kudu is &amp;nbsp;the storage manager. I am attempting to create a table via the docs in this fashion:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CREATE TABLE my_first_table ( id BIGINT, name STRING ) DISTRIBUTE BY HASH (id) INTO 16 BUCKETS TBLPROPERTIES( 'storage_handler' = 'com.cloudera.kudu.hive.KuduStorageHandler', 'kudu.table_name' = 'my_first_table', 'kudu.master_addresses' = 'kudu-master.example.com:7051', 'kudu.key_columns' = 'id' );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, the "DISTRIBUTE BY HASH(id)" causes an invalid syntax near "DISTRIBUTE BY". This create table statement is coming directly from the docs (&lt;A href="http://kudu.apache.org/docs/kudu_impala_integration.html#kudu_impala_insert_bulk" target="_blank"&gt;http://kudu.apache.org/docs/kudu_impala_integration.html#kudu_impala_insert_bulk&lt;/A&gt;). Any idea what I am doing wrong? I did notice that "partition by" works, but not the distribute clause.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:30:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43087#M35505</guid>
      <dc:creator>Brycert1</dc:creator>
      <dc:date>2022-09-16T10:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Kudu distribute by hash() not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43088#M35506</link>
      <description>&lt;P&gt;Hi, can you share the exact error you're receiving?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume your kudu master address is not&amp;nbsp;&lt;SPAN&gt;kudu-master.example.com, have you tried setting that to the location of your server?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 22:02:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43088#M35506</guid>
      <dc:creator>Matt Jacobs</dc:creator>
      <dc:date>2016-07-21T22:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Kudu distribute by hash() not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43113#M35507</link>
      <description>&lt;P&gt;Yes, I did do that with the same error message.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 14:05:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43113#M35507</guid>
      <dc:creator>Brycert1</dc:creator>
      <dc:date>2016-07-22T14:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Kudu distribute by hash() not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43123#M35508</link>
      <description>&lt;P&gt;Sorry didnt answer all your questions: The complete error is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AnalysisException: Syntax error in line 1: ... id BIGINT, name STRING ) DISTRIBUTE BY HASH (id) INTO... ^ Encountered: IDENTIFIER Expected: CACHED, COMMENT, LOCATION, PARTITIONED, PRODUCED, ROW, STORED, TBLPROPERTIES, UNCACHED, WITH CAUSED BY: Exception: Syntax error&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 20:30:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43123#M35508</guid>
      <dc:creator>Brycert1</dc:creator>
      <dc:date>2016-07-22T20:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Kudu distribute by hash() not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43127#M35509</link>
      <description>&lt;P&gt;While Kudu is still in beta we have a sepecial version of Impala that we're calling 'Kudu_Impala'. If you're using the regular Impala 2.7 release you actually won't have the syntax for DISTRIBUTE BY.&amp;nbsp;Can you try using the Impala version from these instructions:&amp;nbsp;&lt;A href="http://kudu.apache.org/docs/kudu_impala_integration.html" target="_blank"&gt;http://kudu.apache.org/docs/kudu_impala_integration.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 22:13:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43127#M35509</guid>
      <dc:creator>Matt Jacobs</dc:creator>
      <dc:date>2016-07-22T22:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Kudu distribute by hash() not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43170#M35510</link>
      <description>&lt;P&gt;Thanks MJ, will definitely try that and let you know.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 14:18:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Impala-Kudu-distribute-by-hash-not-working/m-p/43170#M35510</guid>
      <dc:creator>Brycert1</dc:creator>
      <dc:date>2016-07-25T14:18:34Z</dc:date>
    </item>
  </channel>
</rss>

