Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
Impala 3.2.0
-
None
-
None
-
ghx-label-14
Description
A Kudu user reported that though creating tables via impala shell or Hue, when using an external tool connected via JDBC the create statement fails with the following:
[ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:ImpalaRuntimeException: Error creating Kudu table 'impala::default.foo' CAUSED BY: IllegalArgumentException: table owner must not be null or empty ), Query: …
When debugging the issue further it looks like the call to set the owner on the Kudu table should not be called if an owner is not explicitly set:
A possible fix could be to guard the call with isSetOwner:
if (msTbl.isSetOwner()) {
tableOpts.setOwner(msTbl.getOwner());
}
Attachments
Issue Links
- relates to
-
IMPALA-10027 Use anonymous user when user is not specified
- Resolved