You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2018/01/05 20:06:00 UTC

[jira] [Created] (HIVE-18387) Minimize time that REBUILD locks the materialized view

Jesus Camacho Rodriguez created HIVE-18387:
----------------------------------------------

             Summary: Minimize time that REBUILD locks the materialized view
                 Key: HIVE-18387
                 URL: https://issues.apache.org/jira/browse/HIVE-18387
             Project: Hive
          Issue Type: Improvement
          Components: Materialized views
    Affects Versions: 3.0.0
            Reporter: Jesus Camacho Rodriguez
            Assignee: Jesus Camacho Rodriguez


Currently, REBUILD will block the materialized view while the final move task is being executed. The idea for this improvement is to create the new materialization in a new folder (new version) and then just flip the pointer to the folder in the MV definition in the metastore. REBUILD operations for a given MV should get an exclusive lock though, i.e., they cannot be executed concurrently.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)