hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-24064) Disable Materialized View Replication
Date Mon, 31 Aug 2020 06:36:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-24064?focusedWorklogId=476349&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-476349
]

ASF GitHub Bot logged work on HIVE-24064:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Aug/20 06:35
            Start Date: 31/Aug/20 06:35
    Worklog Time Spent: 10m 
      Work Description: aasha commented on a change in pull request #1422:
URL: https://github.com/apache/hive/pull/1422#discussion_r479922802



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java
##########
@@ -542,6 +549,23 @@ private Long incrementalDump(Path dumpRoot, DumpMetaData dmd, Path cmRoot,
Hive
       if (ev.getEventId() <= resumeFrom) {
         continue;
       }
+
+      //disable materialized-view replication if not configured
+      if(!isMaterializedViewsReplEnabled()){
+        String tblName = ev.getTableName();
+        if(tblName != null) {
+          try {
+            HiveWrapper.Tuple<Table> tabletuple = new HiveWrapper(hiveDb, dbName).table(tblName,
conf);

Review comment:
       you can use hiveDb directly instead of using HiveWrapper




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 476349)
    Time Spent: 40m  (was: 0.5h)

> Disable Materialized View Replication
> -------------------------------------
>
>                 Key: HIVE-24064
>                 URL: https://issues.apache.org/jira/browse/HIVE-24064
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Arko Sharma
>            Assignee: Arko Sharma
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-24064.01.patch, HIVE-24064.02.patch, HIVE-24064.03.patch, HIVE-24064.04.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message