Jason Fehr created IMPALA-13398:
-----------------------------------
Summary: Cannot Set Properties on System Tables
Key: IMPALA-13398
URL: https://issues.apache.org/jira/browse/IMPALA-13398
Project: IMPALA
Issue Type: Bug
Reporter: Jason Fehr
When running "alter table set TBLPROPERTIES" DMLs on system tables, the
response is "IllegalStateException: null".
Stack trace from catalogd.INFO file:
{noformat}
I0920 16:12:15.601699 1292854 JniUtil.java:166] execDdl request: ALTER_TABLE
sys.impala_query_live issued by impala
I0920 16:12:15.626621 1292854 CatalogOpExecutor.java:1117] Cancel in-progress
in-flight event of table sys.impala_query_live. versionNumber=2091
isRemoved=false inflightEventAdded_=false
E0920 16:12:15.626955 1292854 JniUtil.java:183] Error in ALTER_TABLE
sys.impala_query_live issued by impala. Time spent: 25ms
I0920 16:12:15.627753 1292854 jni-util.cc:321] java.lang.IllegalStateException
at
com.google.common.base.Preconditions.checkState(Preconditions.java:496)
at org.apache.impala.catalog.SystemTable.load(SystemTable.java:104)
at
org.apache.impala.service.CatalogOpExecutor.loadTableMetadata(CatalogOpExecutor.java:1756)
at
org.apache.impala.service.CatalogOpExecutor.loadTableMetadata(CatalogOpExecutor.java:1722)
at
org.apache.impala.service.CatalogOpExecutor.alterTable(CatalogOpExecutor.java:1430)
at
org.apache.impala.service.CatalogOpExecutor.execDdlRequest(CatalogOpExecutor.java:463)
at
org.apache.impala.service.JniCatalog.lambda$execDdl$3(JniCatalog.java:316)
at
org.apache.impala.service.JniCatalogOp.lambda$execAndSerialize$1(JniCatalogOp.java:90)
at org.apache.impala.service.JniCatalogOp.execOp(JniCatalogOp.java:58)
at
org.apache.impala.service.JniCatalogOp.execAndSerialize(JniCatalogOp.java:89)
at
org.apache.impala.service.JniCatalogOp.execAndSerialize(JniCatalogOp.java:100)
at
org.apache.impala.service.JniCatalog.execAndSerialize(JniCatalog.java:245)
at
org.apache.impala.service.JniCatalog.execAndSerialize(JniCatalog.java:259)
at org.apache.impala.service.JniCatalog.execDdl(JniCatalog.java:315)
I0920 16:12:15.627768 1292854 status.cc:129] IllegalStateException: null
@ 0x302352d impala::Status::Status()
@ 0x4221b8e impala::JniUtil::GetJniExceptionMsg()
@ 0x2ed9af4 impala::JniCall::Call<>()
@ 0x2e74ea0 impala::Catalog::ExecDdl()
@ 0x2f15f7d impala::CatalogServiceThriftIf::ExecDdl()
@ 0x2fa793d impala::_upgradeTable()
@ 0x2fabd52 impala::_tableSchemaManagement()
@ 0x2fac200 impala::CatalogServer::InitCatalogWorkloadManagement()
@ 0x2f2ecd9 CatalogdMain()
@ 0x2e4992f main
@ 0x7f9445590083 __libc_start_main
@ 0x2e4976e _start
E0920 16:12:15.720000 1292854 catalog-server.cc:292] IllegalStateException: null
F0920 16:12:15.720032 1292854 catalogd-main.cc:104] IllegalStateException:
null{noformat}
The error is being thrown out of the load function in the SystemTable.java
class:
https://github.com/apache/impala/blob/7167f3b4f0b6940f36705c95b8da17941557f721/fe/src/main/java/org/apache/impala/catalog/SystemTable.java#L98
--
This message was sent by Atlassian Jira
(v8.20.10#820010)