You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2019/06/04 22:09:00 UTC

[jira] [Commented] (HIVE-21762) REPL DUMP to support new format for replication policy input to take included tables list.

    [ https://issues.apache.org/jira/browse/HIVE-21762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856153#comment-16856153 ] 

Hive QA commented on HIVE-21762:
--------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  2m 20s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  8m 40s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  3m 29s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  1m 47s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  3m 12s{color} | {color:blue} standalone-metastore/metastore-common in master has 31 extant Findbugs warnings. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  1m 24s{color} | {color:blue} standalone-metastore/metastore-server in master has 183 extant Findbugs warnings. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  5m  5s{color} | {color:blue} ql in master has 2256 extant Findbugs warnings. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m 51s{color} | {color:blue} itests/hive-unit in master has 2 extant Findbugs warnings. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  3m 32s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 31s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  4m  3s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  3m 33s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  3m 33s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 14s{color} | {color:red} standalone-metastore/metastore-common: The patch generated 2 new + 1 unchanged - 0 fixed = 3 total (was 1) {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 49s{color} | {color:red} ql: The patch generated 60 new + 59 unchanged - 9 fixed = 119 total (was 68) {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 21s{color} | {color:red} itests/hive-unit: The patch generated 7 new + 0 unchanged - 0 fixed = 7 total (was 0) {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:red}-1{color} | {color:red} findbugs {color} | {color:red}  5m 17s{color} | {color:red} ql generated 10 new + 2247 unchanged - 9 fixed = 2257 total (was 2256) {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  3m 12s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 17s{color} | {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 56m 40s{color} | {color:black} {color} |
\\
\\
|| Reason || Tests ||
| FindBugs | module:ql |
|  |  Class org.apache.hadoop.hive.ql.exec.repl.ReplDumpWork defines non-transient non-serializable instance field replScope  In ReplDumpWork.java:instance field replScope  In ReplDumpWork.java |
|  |  Should org.apache.hadoop.hive.ql.parse.HiveParser$DFA238 be a _static_ inner class?  At HiveParser.java:inner class?  At HiveParser.java:[lines 48325-48338] |
|  |  Dead store to LA33_128 in org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:[line 48065] |
|  |  Dead store to LA33_130 in org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:[line 48078] |
|  |  Dead store to LA33_132 in org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:[line 48091] |
|  |  Dead store to LA33_134 in org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:[line 48104] |
|  |  Dead store to LA33_136 in org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:[line 48117] |
|  |  Dead store to LA33_138 in org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:[line 48130] |
|  |  Dead store to LA33_140 in org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:[line 48143] |
|  |  Dead store to LA33_142 in org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:org.apache.hadoop.hive.ql.parse.HiveParser$DFA33.specialStateTransition(int, IntStream)  At HiveParser.java:[line 48156] |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  findbugs  checkstyle  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-17420/dev-support/hive-personality.sh |
| git revision | master / 85eeadb |
| Default Java | 1.8.0_111 |
| findbugs | v3.0.0 |
| checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-17420/yetus/diff-checkstyle-standalone-metastore_metastore-common.txt |
| checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-17420/yetus/diff-checkstyle-ql.txt |
| checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-17420/yetus/diff-checkstyle-itests_hive-unit.txt |
| findbugs | http://104.198.109.242/logs//PreCommit-HIVE-Build-17420/yetus/new-findbugs-ql.html |
| modules | C: standalone-metastore/metastore-common standalone-metastore/metastore-server ql itests/hive-unit U: . |
| Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-17420/yetus.txt |
| Powered by | Apache Yetus    http://yetus.apache.org |


This message was automatically generated.



> REPL DUMP to support new format for replication policy input to take included tables list.
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-21762
>                 URL: https://issues.apache.org/jira/browse/HIVE-21762
>             Project: Hive
>          Issue Type: Sub-task
>          Components: repl
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>            Priority: Major
>              Labels: DR, Replication
>         Attachments: HIVE-21762.01.patch
>
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP <repl_policy> [FROM <last_repl_id> WITH <key_values_list>;
> {code}
> - New format for the Replication policy have 3 parts all separated with Dot (.). 
> 1. First part is DB name.
> 2. Second part is included list. Comma separated table names/regex with in square brackets[].
> 3. Third part is excluded list. Comma separated table names/regex with in square brackets[].
> {code}
> <db_name>   -- Full DB replication which is currently supported.
> <db_name>.*    -- Full DB replication
> <db_name>.t1   -- DB level replication with just one table t1. 
> <db_name>.[t1, t2]  -- DB replication with static list of tables t1 and t2 included.
> <db_name>.[t1*, t2, *t3].[t100, 5t3, t4] -- DB replication with all tables having prefix t1, with suffix t3 and include table t2and exclude t100 which has the prefix t1, 5t3 which suffix t3 and t4.
> {code}
> - Need to support regular expression of any format. 
> - A table is included in dump only if it matches the regular expressions in included list and doesn't match the excluded list.



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