You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Andrew Sherman (Jira)" <ji...@apache.org> on 2021/11/17 18:32:00 UTC

[jira] [Created] (IMPALA-11025) Creation of functional.insert_only_transactional_table fails wIth 'illegal location for managed table'

Andrew Sherman created IMPALA-11025:
---------------------------------------

             Summary: Creation of  functional.insert_only_transactional_table fails wIth 'illegal location for managed table'
                 Key: IMPALA-11025
                 URL: https://issues.apache.org/jira/browse/IMPALA-11025
             Project: IMPALA
          Issue Type: Bug
            Reporter: Andrew Sherman


{code}
INFO  : Compiling command(queryId=jenkins_20211116193803_e342124e-7a94-4024-b11a-58578cdf2ce4): CREATE  TABLE IF NOT EXISTS functional.insert_only_transactional_table (
col1 int
)
STORED AS TEXTFILE
LOCATION '/test-warehouse/managed/insert_only_transactional_table'
TBLPROPERTIES (
'transactional_properties' = 'insert_only',
'transactional' = 'true'
)
INFO  : Semantic Analysis Completed (retrial = false)
INFO  : Created Hive schema: Schema(fieldSchemas:null, properties:null)
INFO  : Completed compiling command(queryId=jenkins_20211116193803_e342124e-7a94-4024-b11a-58578cdf2ce4); Time taken: 0.025 seconds
INFO  : Executing command(queryId=jenkins_20211116193803_e342124e-7a94-4024-b11a-58578cdf2ce4): CREATE  TABLE IF NOT EXISTS functional.insert_only_transactional_table (
col1 int
)
STORED AS TEXTFILE
LOCATION '/test-warehouse/managed/insert_only_transactional_table'
TBLPROPERTIES (
'transactional_properties' = 'insert_only',
'transactional' = 'true'
)
INFO  : Starting task [Stage-0:DDL] in serial mode
ERROR : Failed
org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Illegal location for managed table, it has to be within database's managed location)
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:1170) ~[hive-exec-3.1.3000.7.1.8.0-393.jar:3.1.3000.7.1.8.0-393]
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:1175) ~[hive-exec-3.1.3000.7.1.8.0-393.jar:3.1.3000.7.1.8.0-393]
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org