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

2019-06-13 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

   Resolution: Fixed
Fix Version/s: 4.0.0
   Status: Resolved  (was: Patch Available)

07.patch committed to master.
Thanks [~maheshk114] for the review!

> 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, pull-request-available
> Fix For: 4.0.0
>
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-13 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-13 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: (was: HIVE-21762.07.patch)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-13 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.07.patch

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-13 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Open  (was: Patch Available)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

Reattaching same patch as test failure for irrelevant.

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.07.patch

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Open  (was: Patch Available)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: (was: HIVE-21762.07.patch)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.07.patch

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch, HIVE-21762.07.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Open  (was: Patch Available)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch
>
>  Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: (was: HIVE-21762.06.patch)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

Re-attaching same patch  [^HIVE-21762.06.patch] again as test failures are not 
relevant.

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.06.patch

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Open  (was: Patch Available)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.06.patch

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch, 
> HIVE-21762.06.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-12 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Open  (was: Patch Available)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-11 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.05.patch

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-11 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-11 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: (was: HIVE-21762.05.patch)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-11 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Open  (was: Patch Available)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-11 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.05.patch

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-11 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.05.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-11 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: (was: HIVE-21762.04.patch)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-11 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Open  (was: Patch Available)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.04.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-11 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.04.patch

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch, HIVE-21762.04.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-10 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

04.patch removed support for . format for repl policy. 
We only support .[''].

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-10 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Open  (was: Patch Available)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-10 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.04.patch

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch, HIVE-21762.04.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-10 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Description: 
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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[].  If square brackets are not there, then it is treated as 
single table replication which skips DB level events.
3. Third part is excluded list. Comma separated table names/regex with in 
square brackets[].
{code}
 -- Full DB replication which is currently supported
.['.*?']  -- Full DB replication
.[] -- Replicate just functions and not include any tables.
.['t1', 't2']  -- DB replication with static list of tables t1 and t2 
included.
.['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with all 
tables having prefix t1, with suffix t3 and include table t2 and 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.

  was:
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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[].  If square brackets are not there, then it is treated as 
single table replication which skips DB level events.
3. Third part is excluded list. Comma separated table names/regex with in 
square brackets[].
{code}
 -- Full DB replication which is currently supported
.[]  - Full DB replication
.['.*?']  - Full DB replication
.t1 -- Single table replication (DB events excluded) which is 
currently supported
.['t1', 't2']  -- DB replication with static list of tables t1 and t2 
included.
.['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with all 
tables having prefix t1, with suffix t3 and include table t2 and 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.


> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .['.*?']  -- Full DB replication
> .[] -- Replicate just functions and not include any tables.
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-07 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .[]  - Full DB replication
> .['.*?']  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-07 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.03.patch

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch, 
> HIVE-21762.03.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .[]  - Full DB replication
> .['.*?']  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-07 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Open  (was: Patch Available)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .[]  - Full DB replication
> .['.*?']  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-07 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Description: 
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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[].  If square brackets are not there, then it is treated as 
single table replication which skips DB level events.
3. Third part is excluded list. Comma separated table names/regex with in 
square brackets[].
{code}
 -- Full DB replication which is currently supported
.[]  - Full DB replication
.['.*?']  - Full DB replication
.t1 -- Single table replication (DB events excluded) which is 
currently supported
.['t1', 't2']  -- DB replication with static list of tables t1 and t2 
included.
.['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with all 
tables having prefix t1, with suffix t3 and include table t2 and 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.

  was:
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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[].  If square brackets are not there, then it is treated as 
single table replication which skips DB level events.
3. Third part is excluded list. Comma separated table names/regex with in 
square brackets[].
{code}
 -- Full DB replication which is currently supported
.[]  - Full DB replication
.['*']  - Full DB replication
.t1 -- Single table replication (DB events excluded) which is 
currently supported
.['t1', 't2']  -- DB replication with static list of tables t1 and t2 
included.
.['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with all 
tables having prefix t1, with suffix t3 and include table t2 and 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.


> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .[]  - Full DB replication
> .['.*?']  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-06 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated HIVE-21762:
--
Labels: DR Replication pull-request-available  (was: DR Replication)

> 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, pull-request-available
> Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch
>
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .[]  - Full DB replication
> .['*']  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-05 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

> 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, HIVE-21762.02.patch
>
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .[]  - Full DB replication
> .['*']  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-05 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.02.patch

> 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, HIVE-21762.02.patch
>
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .[]  - Full DB replication
> .['*']  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-05 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Description: 
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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[].  If square brackets are not there, then it is treated as 
single table replication which skips DB level events.
3. Third part is excluded list. Comma separated table names/regex with in 
square brackets[].
{code}
 -- Full DB replication which is currently supported
.[]  - Full DB replication
.['*']  - Full DB replication
.t1 -- Single table replication (DB events excluded) which is 
currently supported
.['t1', 't2']  -- DB replication with static list of tables t1 and t2 
included.
.['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with all 
tables having prefix t1, with suffix t3 and include table t2 and 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.

  was:
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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[].  If square brackets are not there, then it is treated as 
single table replication which skips DB level events.
3. Third part is excluded list. Comma separated table names/regex with in 
square brackets[].
{code}
 -- Full DB replication which is currently supported
.[*]  - Full DB replication
.t1 -- Single table replication (DB events excluded) which is 
currently supported
.[t1, t2]  -- DB replication with static list of tables t1 and t2 
included.
.[t1*, t2, *t3].[t100, 5t3, t4] -- DB replication with all tables 
having prefix t1, with suffix t3 and include table t2 and 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.


> 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  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .[]  - Full DB replication
> .['*']  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .['t1', 't2']  -- DB replication with static list of tables t1 and 
> t2 included.
> .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with 
> all tables having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-05 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Open  (was: Patch Available)

> 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  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .[*]  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .[t1, t2]  -- DB replication with static list of tables t1 and t2 
> included.
> .[t1*, t2, *t3].[t100, 5t3, t4] -- DB replication with all tables 
> having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-04 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Description: 
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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[].  If square brackets are not there, then it is treated as 
single table replication which skips DB level events.
3. Third part is excluded list. Comma separated table names/regex with in 
square brackets[].
{code}
 -- Full DB replication which is currently supported
.[*]  - Full DB replication
.t1 -- Single table replication (DB events excluded) which is 
currently supported
.[t1, t2]  -- DB replication with static list of tables t1 and t2 
included.
.[t1*, t2, *t3].[t100, 5t3, t4] -- DB replication with all tables 
having prefix t1, with suffix t3 and include table t2 and 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.

  was:
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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}
 -- Full DB replication which is currently supported
.[*]  - Full DB replication
.t1 -- Single table replication (DB events excluded) which is 
currently supported
.[t1, t2]  -- DB replication with static list of tables t1 and t2 
included.
.[t1*, t2, *t3].[t100, 5t3, t4] -- DB replication with all tables 
having prefix t1, with suffix t3 and include table t2 and 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.


> 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  [FROM  WITH ;
> {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[].  If square brackets are not there, then it is treated as 
> single table replication which skips DB level events.
> 3. Third part is excluded list. Comma separated table names/regex with in 
> square brackets[].
> {code}
>  -- Full DB replication which is currently supported
> .[*]  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .[t1, t2]  -- DB replication with static list of tables t1 and t2 
> included.
> .[t1*, t2, *t3].[t100, 5t3, t4] -- DB replication with all tables 
> having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-04 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Description: 
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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}
 -- Full DB replication which is currently supported
.[*]  - Full DB replication
.t1 -- Single table replication (DB events excluded) which is 
currently supported
.[t1, t2]  -- DB replication with static list of tables t1 and t2 
included.
.[t1*, t2, *t3].[t100, 5t3, t4] -- DB replication with all tables 
having prefix t1, with suffix t3 and include table t2 and 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.

  was:
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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}
 -- Full DB replication which is currently supported
.[*]  - Full DB replication
.t1 -- Single table replication (DB events excluded) which is 
currently supported
.[t1, t2]  -- DB replication with static list of tables t1 and t2 
included.
.[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.


> 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  [FROM  WITH ;
> {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}
>  -- Full DB replication which is currently supported
> .[*]  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .[t1, t2]  -- DB replication with static list of tables t1 and t2 
> included.
> .[t1*, t2, *t3].[t100, 5t3, t4] -- DB replication with all tables 
> having prefix t1, with suffix t3 and include table t2 and 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)


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

2019-06-04 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Description: 
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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}
 -- Full DB replication which is currently supported
.[*]  - Full DB replication
.t1 -- Single table replication (DB events excluded) which is 
currently supported
.[t1, t2]  -- DB replication with static list of tables t1 and t2 
included.
.[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.

  was:
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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}
   -- Full DB replication which is currently supported.
.*-- Full DB replication
.t1   -- DB level replication with just one table t1. 
.[t1, t2]  -- DB replication with static list of tables t1 and t2 
included.
.[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.


> 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  [FROM  WITH ;
> {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}
>  -- Full DB replication which is currently supported
> .[*]  - Full DB replication
> .t1 -- Single table replication (DB events excluded) which is 
> currently supported
> .[t1, t2]  -- DB replication with static list of tables t1 and t2 
> included.
> .[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)


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

2019-06-04 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Attachment: HIVE-21762.01.patch

> 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  [FROM  WITH ;
> {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}
>-- Full DB replication which is currently supported.
> .*-- Full DB replication
> .t1   -- DB level replication with just one table t1. 
> .[t1, t2]  -- DB replication with static list of tables t1 and t2 
> included.
> .[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)


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

2019-06-04 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Status: Patch Available  (was: Open)

> 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  [FROM  WITH ;
> {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}
>-- Full DB replication which is currently supported.
> .*-- Full DB replication
> .t1   -- DB level replication with just one table t1. 
> .[t1, t2]  -- DB replication with static list of tables t1 and t2 
> included.
> .[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)


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

2019-05-23 Thread Sankar Hariappan (JIRA)


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

Sankar Hariappan updated HIVE-21762:

Description: 
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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}
   -- Full DB replication which is currently supported.
.*-- Full DB replication
.t1   -- DB level replication with just one table t1. 
.[t1, t2]  -- DB replication with static list of tables t1 and t2 
included.
.[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.

  was:
- REPL DUMP syntax:
{code}
REPL DUMP  [FROM  WITH ;
{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}
   -- Full DB replication which is currently supported.
.*-- Full DB replication
.t1   -- DB level replication with just one table t1. 
.[t1, t2]  -- DB replication with static list of tables t1 and t2 
included.
.[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.


> 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
>
> - REPL DUMP syntax:
> {code}
> REPL DUMP  [FROM  WITH ;
> {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}
>-- Full DB replication which is currently supported.
> .*-- Full DB replication
> .t1   -- DB level replication with just one table t1. 
> .[t1, t2]  -- DB replication with static list of tables t1 and t2 
> included.
> .[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)