ASF GitHub Bot commented on HIVE-19130:

GitHub user sankarh opened a pull request:


    HIVE-19130: NPE is thrown when REPL LOAD applied drop partition event.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sankarh/hive HIVE-19130

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #332


> NPE is thrown when REPL LOAD applied drop partition event.
> ----------------------------------------------------------
>                 Key: HIVE-19130
>                 URL: https://issues.apache.org/jira/browse/HIVE-19130
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, repl
>    Affects Versions: 3.0.0
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>            Priority: Major
>              Labels: DR, Replication, pull-request-available
>             Fix For: 3.1.0
>         Attachments: HIVE-19130.01.patch
> During incremental replication, if we split the events batch as follows, then 
> the REPL LOAD on second batch throws NPE.
> Batch-1: CREATE_TABLE(t1) -> ADD_PARTITION(t1.p1) -> DROP_PARTITION (t1.p1)
> Batch-2: DROP_TABLE(t1) ->  CREATE_TABLE(t1) -> ADD_PARTITION(t1.p1) -> 

This message was sent by Atlassian JIRA

Reply via email to