Skip to main content
DFrank
Bronze III
June 7, 2023
Question

Hive Metastore; Error Communicating

Hello,

 

Recently we have noticed several ETL jobs receiving the following error:

 

errorCode:10280, errorMessage:Error while compiling statement: FAILED: LockException [Error 10280]: Error communicating with the metastore), Query: create temporary external table `databasenamehere`.`tablenamehere_dmx_20230607074828418241275540` (TableAttributesHere TBLPROPERTIES ('transactional'='false').', vendor contact information: support.precisely.com

Connect : (TBLCOUNT) 179 records were committed to target database "jdbc:hive2://servernamehere:10000;AuthMech=1;SSL=1;KrbHostFQDN=servernamehere;KrbRealm=domainhere;KrbServiceName=hive" table "tablenamehere", out

of which 0 records were loaded successfully and 179 records were rejected

 

We are on Hive 3.1.3000.7.1.7.1000-141 and the metastore is MySQL version mysql Ver 14.14 Distrib 5.7.37, for Linux (x86_64).

 

We have also noticed recently that queries are taking much longer than normal to do basic tasks, and wonder if there is something wrong with metastore. Any advice is appreciated.

 

 

3 replies

VidyaSargur
Community Manager
Community Manager
June 8, 2023

@DFrank, Welcome to our community! To help you get the best possible answer, I have tagged our Hive experts @asish @smruti @mszurap @tjangid who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.

Translate
Regards, Vidya Sargur, Community Manager Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
asish
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
June 8, 2023

@DFrank Please provide below details:

 

 1. Exact query. The query is not properly visible from the trace

 2. QueryID

  3. hiveserver2 and HMS logs

Translate
VidyaSargur
Community Manager
Community Manager
June 13, 2023

@DFrank, have you resolved your issue? If so, can you please provide the solution here, as it will make it easier for others to find the answer in the future?  If you are still experiencing the issue, can you provide the information @asish  has requested?

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