[jira] [Updated] (HIVE-28190) Materialized view rebuild lock heart-beating is broken

2024-04-10 Thread Denys Kuzmenko (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-28190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denys Kuzmenko updated HIVE-28190:
--
Labels: hive-4.0.1-must pull-request-available  (was: 
pull-request-available)

> Materialized view rebuild lock heart-beating is broken
> --
>
> Key: HIVE-28190
> URL: https://issues.apache.org/jira/browse/HIVE-28190
> Project: Hive
>  Issue Type: Bug
>  Components: Standalone Metastore
>Affects Versions: 4.0.0
>Reporter: Zsolt Miskolczi
>Assignee: Zsolt Miskolczi
>Priority: Critical
>  Labels: hive-4.0.1-must, pull-request-available
>
> It fails with the following error: 
> {code:java}
> org.springframework.dao.InvalidDataAccessApiUsageException: SQL [UPDATE 
> "MATERIALIZATION_REBUILD_LOCKS" SET "MRL_LAST_HEARTBEAT" = 1712571919559 
> WHERE "MRL_TXN_ID" = 2297 AND "MRL_DB_NAME" = ? AND "MRL_TBL_NAME" = ?]: 
> given 2 parameters but expected 0 {code}
> We didn't spot it so far as when the heartbeat of materialized view fails 
> with an error, it doesn't affect the rebuild query run. So that it can be 
> only spotted by actively watching the logs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (HIVE-28190) Materialized view rebuild lock heart-beating is broken

2024-04-10 Thread Denys Kuzmenko (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-28190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denys Kuzmenko updated HIVE-28190:
--
Summary: Materialized view rebuild lock heart-beating is broken  (was: Fix 
breaking bug in heartbeatLockMaterializationRebuild)

> Materialized view rebuild lock heart-beating is broken
> --
>
> Key: HIVE-28190
> URL: https://issues.apache.org/jira/browse/HIVE-28190
> Project: Hive
>  Issue Type: Bug
>  Components: Standalone Metastore
>Affects Versions: 4.0.0
>Reporter: Zsolt Miskolczi
>Assignee: Zsolt Miskolczi
>Priority: Critical
>  Labels: pull-request-available
>
> It fails with the following error: 
> {code:java}
> org.springframework.dao.InvalidDataAccessApiUsageException: SQL [UPDATE 
> "MATERIALIZATION_REBUILD_LOCKS" SET "MRL_LAST_HEARTBEAT" = 1712571919559 
> WHERE "MRL_TXN_ID" = 2297 AND "MRL_DB_NAME" = ? AND "MRL_TBL_NAME" = ?]: 
> given 2 parameters but expected 0 {code}
> We didn't spot it so far as when the heartbeat of materialized view fails 
> with an error, it doesn't affect the rebuild query run. So that it can be 
> only spotted by actively watching the logs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)