<?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: Error when creating a Kudu table through Impala JDBC driver :  table owner must not be null or empty in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-when-creating-a-Kudu-table-through-Impala-JDBC-driver/m-p/312306#M225085</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the same issue as yours. I am running Kudu and Impala in docker. I can create tables from impala-shell but not using JDBC driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any solution for this?&lt;/P&gt;</description>
    <pubDate>Tue, 02 Mar 2021 12:09:12 GMT</pubDate>
    <dc:creator>RKS</dc:creator>
    <dc:date>2021-03-02T12:09:12Z</dc:date>
    <item>
      <title>Error when creating a Kudu table through Impala JDBC driver :  table owner must not be null or empty</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-creating-a-Kudu-table-through-Impala-JDBC-driver/m-p/290706#M215040</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We've recently migrated CDH from 5.16.2 to 6.3.3 and we now have the following message when we create a table using Impala JDBC driver (we are using the latest version 2.6.15.1017).&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;errorMessage:ImpalaRuntimeException: Error creating Kudu table 'impala::pdo.discoveries'&lt;BR /&gt;CAUSED BY: IllegalArgumentException: table owner must not be null or empty&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the same "create table" statement is executed in impala-shell, it works perfectly well.&lt;/P&gt;
&lt;P&gt;The search for this error message in google did not find much result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea about the root cause ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 19:01:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-creating-a-Kudu-table-through-Impala-JDBC-driver/m-p/290706#M215040</guid>
      <dc:creator>JeromeAlbin</dc:creator>
      <dc:date>2020-02-28T19:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating a Kudu table through Impala JDBC driver :  table owner must not be null or empty</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-creating-a-Kudu-table-through-Impala-JDBC-driver/m-p/312306#M225085</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the same issue as yours. I am running Kudu and Impala in docker. I can create tables from impala-shell but not using JDBC driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any solution for this?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 12:09:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-creating-a-Kudu-table-through-Impala-JDBC-driver/m-p/312306#M225085</guid>
      <dc:creator>RKS</dc:creator>
      <dc:date>2021-03-02T12:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating a Kudu table through Impala JDBC driver :  table owner must not be null or empty</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-creating-a-Kudu-table-through-Impala-JDBC-driver/m-p/312350#M225108</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/74845"&gt;@JeromeAlbin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/IMPALA-9486" target="_blank"&gt;https://issues.apache.org/jira/browse/IMPALA-9486&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Error pop up&amp;nbsp; because you are connecting to Impala anonymously (no user, no password).&lt;BR /&gt;You can specify a user (even if it's not declared in Kudu), then it should work&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please read the page 12 of the following document: &lt;A href="https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/2-6-15/Cloudera-JDBC-Driver-for-Impala-Install-Guide.pdf" target="_blank"&gt;https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/2-6-15/Cloudera-JDBC-Driver-for-Impala-Install-Guide.pdf&lt;/A&gt;&lt;BR /&gt;Using User Name&lt;BR /&gt;-----------------------&lt;BR /&gt;This authentication mechanism requires a user name but does not require a password.&lt;BR /&gt;The user name labels the session, facilitating database tracking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that answer your question ? if yes, then feel free to mark this post "accept as solution"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;vipin&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 05:15:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-creating-a-Kudu-table-through-Impala-JDBC-driver/m-p/312350#M225108</guid>
      <dc:creator>kingpin</dc:creator>
      <dc:date>2021-03-03T05:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating a Kudu table through Impala JDBC driver :  table owner must not be null or empty</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-creating-a-Kudu-table-through-Impala-JDBC-driver/m-p/312423#M225140</link>
      <description>&lt;P class="lia-align-left"&gt;Hello,&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;I tried with AuthMech=2 with UID as mentioned in the Cloudera Impala JDBC Driver documentation but I got HIveServer2 connection issue.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;SPAN&gt;When I tried with AuthMech=0, along with UID (In my case no authentication is needed), it resolved the table owner error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;SPAN&gt;My connection string looks like -&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;jdbc:impala://localhost:21050/default;UseSasl=0;AuthMech=0;UID=impala&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will resolve your issue as well.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 14:56:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-creating-a-Kudu-table-through-Impala-JDBC-driver/m-p/312423#M225140</guid>
      <dc:creator>RKS</dc:creator>
      <dc:date>2021-03-04T14:56:23Z</dc:date>
    </item>
  </channel>
</rss>

