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-22736) Support replication across multiple encryption zones
Date Thu, 23 Jan 2020 11:12:01 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 23/Jan/20 11:11
            Start Date: 23/Jan/20 11:11
    Worklog Time Spent: 10m 
      Work Description: maheshk114 commented on pull request #883: HIVE-22736 Support multiple
encryption zones in replication
URL: https://github.com/apache/hive/pull/883#discussion_r370047831
 
 

 ##########
 File path: standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/ReplChangeManager.java
 ##########
 @@ -461,12 +485,19 @@ static void scheduleCMClearer(Configuration conf) {
           .namingPattern(CM_THREAD_NAME_PREFIX + "%d")
           .daemon(true)
           .build());
-      executor.scheduleAtFixedRate(new CMClearer(MetastoreConf.getVar(conf, ConfVars.REPLCMDIR),
-          MetastoreConf.getTimeVar(conf, ConfVars.REPLCMRETIAN, TimeUnit.SECONDS), conf),
-          0, MetastoreConf.getTimeVar(conf, ConfVars.REPLCMINTERVAL, TimeUnit.SECONDS), TimeUnit.SECONDS);
+      for (Path cmroot : cmRootMapping.values()) {
 
 Review comment:
   The map is populated at run time..so at init time there may be no entry added to the map.
I think we should send the map to the scheduler and let it iterate to cleanup the cm root
for each EZ in the map.
 
----------------------------------------------------------------
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: 376195)
    Time Spent: 1h  (was: 50m)

> Support replication across multiple encryption zones
> ----------------------------------------------------
>
>                 Key: HIVE-22736
>                 URL: https://issues.apache.org/jira/browse/HIVE-22736
>             Project: Hive
>          Issue Type: Task
>            Reporter: Aasha Medhi
>            Assignee: Aasha Medhi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22736.patch, HIVE-22736.patch, HIVE-22736.patch, HIVE-22736.patch,
HIVE-22736.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>




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

Mime
View raw message