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

Sankar Hariappan updated HIVE-20967:
------------------------------------
    Description: 
Some of the events from HDP 2.6.5 may cause conflicts in HDP 3.0 when applied. 
So, need to handle them properly.
1. Alter table to convert non-acid to acid.
This event should be no-op as the table in target might be already acid or MM 
or external table.
2. Alter table or partition that changes the location.
Once the table is moved to managed table warehouse directory, the location 
shouldn't be changed.
3. Alter database that changes the location.
Once the database is moved to managed table warehouse directory, the location 
shouldn't be changed.

  was:
The default warehouse directory of the source is needed by target to detect if 
DB or table location is set by user or assigned by Hive. 
Using this information, REPL LOAD will decide to preserve the path or move data 
to default managed table's warehouse directory.


> Handle alter events when replicate to cluster with hive.strict.managed.tables 
> enabled.
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-20967
>                 URL: https://issues.apache.org/jira/browse/HIVE-20967
>             Project: Hive
>          Issue Type: Sub-task
>          Components: repl
>    Affects Versions: 4.0.0
>            Reporter: mahesh kumar behera
>            Assignee: Sankar Hariappan
>            Priority: Minor
>              Labels: DR
>
> Some of the events from HDP 2.6.5 may cause conflicts in HDP 3.0 when 
> applied. So, need to handle them properly.
> 1. Alter table to convert non-acid to acid.
> This event should be no-op as the table in target might be already acid or MM 
> or external table.
> 2. Alter table or partition that changes the location.
> Once the table is moved to managed table warehouse directory, the location 
> shouldn't be changed.
> 3. Alter database that changes the location.
> Once the database is moved to managed table warehouse directory, the location 
> shouldn't be changed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to