hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tao Li (JIRA)" <>
Subject [jira] [Commented] (HIVE-17385) Fix incremental repl error for non-native tables
Date Wed, 30 Aug 2017 15:49:00 GMT


Tao Li commented on HIVE-17385:

[~daijy] Regarding the exception, I am sticking with the old logic, i.e. throwing if replicationSpec.isInReplicationScope()
is false and tableHandle.isNonNative() is true. We do skip the non-native silently if replicationSpec.isInReplicationScope()
is true.

We do the null check on ImportSemanticAnalyzer because we do run into the null table case
after making the above dump change. Also a null check is a good practice/convention.

> Fix incremental repl error for non-native tables
> ------------------------------------------------
>                 Key: HIVE-17385
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: repl
>            Reporter: Tao Li
>            Assignee: Tao Li
>         Attachments: HIVE-17385.1.patch, HIVE-17385.2.patch, HIVE-17385.3.patch, HIVE-17385.4.patch
> See below error with incremental replication for non-native (storage handler based) tables.
The bug is that we are not checking a table should be dumped/exported or not during incremental
> 2017-08-02T12:31:48,195 ERROR [HiveServer2-Background-Pool: Thread-8078]: exec.DDLTask
( - org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:LOCATION
may not be specified for HBase.)

This message was sent by Atlassian JIRA

View raw message