Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Hive materialized views rebuild issue:
Abruptly killing the current Materialized View Rebuild command results in not deleting the LOCK entry in the backend metastore DB table 'materialization_rebuild_locks'. With this next time onwards the Materialized View Rebuild command will fail for that Materialied View.
ALTER MATERIALIZED VIEW view_name REBUILD;
=====
Error: Error while compiling statement: FAILED: SemanticException org.apache.hadoop.hive.ql.parse.SemanticException: Another process is rebuilding the materialized
view view_name (state=42000,code=40000)
=====
Attachments
Issue Links
- links to