Skip to main content
Kamil_Valko
Silver ⭐️⭐️
Jan 11, 2022 7:55 AM UTC
Solved

Impala Catalog Server restarted with IllegalStateException: Table.toThrift() called without holding the table lock: table_name

Hello,

 

we have Impala issue last days with regularly Impala Catalog Server restart.

Access data via Impala works, but Cloudera Manager sent alerts every 5 minutes with

 

IllegalStateException: Table.toThrift() called without holding the table lock: table_name

 

We tried to invalidate metadata on table and compute stats, but no success.

It works normally before and there were no changes on cluster.

 

Have you any idea what is the problem?

 

Regards

Kamil

VidyaSargur
Community Manager
Jan 13, 2022 10:08 AM UTC

@Kamil_Valko, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.

Regards, Vidya Sargur Madabhushi| Senior Community Manager | Was your question answered? Make sure to mark the answer as the Best Answer. If you find a reply useful, say thanks by clicking on the thumbs up button.

3 replies

mszurap
Platinum ⭐️
Platinum ⭐️
Jan 11, 2022 9:21 AM UTC

Hi @Kamil_Valko ,

The error message suggests that you are hitting IMPALA-9136 which is fixed in CDH 6.3.4 and in CDP 7.1.0 and newer.

The regular Catalogd restart is likely due to some other problems, please file a support case to be able to review it in more detail.

You can also review the role or the stdout/stderr logs of the Catalog daemon, maybe it shows an OutOfMemoryError - which can be common if the HMS / catalog metadata has increased recently - and the catalog heap is not adjusted.

Best regards

 Miklos

Translate
VidyaSargur
Community Manager
Community Manager
Jan 13, 2022 10:08 AM UTC

@Kamil_Valko, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.

Translate
Regards, Vidya Sargur Madabhushi| Senior Community Manager | Was your question answered? Make sure to mark the answer as the Best Answer. If you find a reply useful, say thanks by clicking on the thumbs up button.
Kamil_Valko
Silver ⭐️⭐️
Jan 17, 2022 7:42 AM UTC

Hello,

 

problem was with OOO memory, after add some, it looks ok.

Thank for advice.

 

Best regards

Kamil

Translate