[jira] [Updated] (HIVE-18754) REPL STATUS should support 'with' clause

2018-02-21 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-18754:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Thanks for the patch [~maheshk114]!
Committer to master.


> REPL STATUS should support 'with' clause
> 
>
> Key: HIVE-18754
> URL: https://issues.apache.org/jira/browse/HIVE-18754
> Project: Hive
>  Issue Type: Task
>  Components: repl, Standalone Metastore
>Affects Versions: 3.0.0
>Reporter: mahesh kumar behera
>Assignee: mahesh kumar behera
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.0.0
>
> Attachments: HIVE-18754.01.patch, HIVE-18754.02.patch
>
>
> We have support for "WITH" clause in "REPL LOAD" command, but we don't have 
> that for "REPL STATUS" command.
>  With the cloud replication model , HiveServer2 is only running in the source 
> on-prem cluster.
>  "REPL LOAD"'s with clause is currently used to pass the remote cloud 
> clusters metastore uri, using "hive.metastore.uri" parameter.
> Once "REPL LOAD" is run, "REPL STATUS" needs to be run to determine where the 
> next incremental replication should start from. Since "REPL STATUS" is also 
> going to run on source cluster, we need to add support for the "WITH" clause 
> for it.
> We should also change the privilege required for "REPL STATUS" command to 
> what is required by "REPL LOAD" command as now arbitrary configs can be set 
> for "REPL STATUS" using the WITH clause.



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


[jira] [Updated] (HIVE-18754) REPL STATUS should support 'with' clause

2018-02-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot updated HIVE-18754:
--
Labels: pull-request-available  (was: )

> REPL STATUS should support 'with' clause
> 
>
> Key: HIVE-18754
> URL: https://issues.apache.org/jira/browse/HIVE-18754
> Project: Hive
>  Issue Type: Task
>  Components: repl, Standalone Metastore
>Affects Versions: 3.0.0
>Reporter: mahesh kumar behera
>Assignee: mahesh kumar behera
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.0.0
>
> Attachments: HIVE-18754.01.patch, HIVE-18754.02.patch
>
>
> We have support for "WITH" clause in "REPL LOAD" command, but we don't have 
> that for "REPL STATUS" command.
>  With the cloud replication model , HiveServer2 is only running in the source 
> on-prem cluster.
>  "REPL LOAD"'s with clause is currently used to pass the remote cloud 
> clusters metastore uri, using "hive.metastore.uri" parameter.
> Once "REPL LOAD" is run, "REPL STATUS" needs to be run to determine where the 
> next incremental replication should start from. Since "REPL STATUS" is also 
> going to run on source cluster, we need to add support for the "WITH" clause 
> for it.
> We should also change the privilege required for "REPL STATUS" command to 
> what is required by "REPL LOAD" command as now arbitrary configs can be set 
> for "REPL STATUS" using the WITH clause.



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


[jira] [Updated] (HIVE-18754) REPL STATUS should support 'with' clause

2018-02-20 Thread mahesh kumar behera (JIRA)

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

mahesh kumar behera updated HIVE-18754:
---
Attachment: HIVE-18754.02.patch

> REPL STATUS should support 'with' clause
> 
>
> Key: HIVE-18754
> URL: https://issues.apache.org/jira/browse/HIVE-18754
> Project: Hive
>  Issue Type: Task
>  Components: repl, Standalone Metastore
>Affects Versions: 3.0.0
>Reporter: mahesh kumar behera
>Assignee: mahesh kumar behera
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: HIVE-18754.01.patch, HIVE-18754.02.patch
>
>
> We have support for "WITH" clause in "REPL LOAD" command, but we don't have 
> that for "REPL STATUS" command.
>  With the cloud replication model , HiveServer2 is only running in the source 
> on-prem cluster.
>  "REPL LOAD"'s with clause is currently used to pass the remote cloud 
> clusters metastore uri, using "hive.metastore.uri" parameter.
> Once "REPL LOAD" is run, "REPL STATUS" needs to be run to determine where the 
> next incremental replication should start from. Since "REPL STATUS" is also 
> going to run on source cluster, we need to add support for the "WITH" clause 
> for it.
> We should also change the privilege required for "REPL STATUS" command to 
> what is required by "REPL LOAD" command as now arbitrary configs can be set 
> for "REPL STATUS" using the WITH clause.



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


[jira] [Updated] (HIVE-18754) REPL STATUS should support 'with' clause

2018-02-20 Thread mahesh kumar behera (JIRA)

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

mahesh kumar behera updated HIVE-18754:
---
Description: 
We have support for "WITH" clause in "REPL LOAD" command, but we don't have 
that for "REPL STATUS" command.
 With the cloud replication model , HiveServer2 is only running in the source 
on-prem cluster.
 "REPL LOAD"'s with clause is currently used to pass the remote cloud clusters 
metastore uri, using "hive.metastore.uri" parameter.

Once "REPL LOAD" is run, "REPL STATUS" needs to be run to determine where the 
next incremental replication should start from. Since "REPL STATUS" is also 
going to run on source cluster, we need to add support for the "WITH" clause 
for it.

We should also change the privilege required for "REPL STATUS" command to what 
is required by "REPL LOAD" command as now arbitrary configs can be set for 
"REPL STATUS" using the WITH clause.

  was:
We have support for "WITH" clause in "REPL LOAD" command, but we don't have 
that for "REPL STATUS" command.
With the cloud replication model for DLM 1.1, HiveServer2 is only running in 
the source on-prem cluster.
"REPL LOAD"'s with clause is currently used to pass the remote cloud clusters 
metastore uri, using "hive.metastore.uri" parameter.

Once "REPL LOAD" is run, "REPL STATUS" needs to be run to determine where the 
next incremental replication should start from. Since "REPL STATUS" is also 
going to run on source cluster, we need to add support for the "WITH" clause 
for it.

We should also change the privilege required for "REPL STATUS" command to what 
is required by "REPL LOAD" command as now arbitrary configs can be set for 
"REPL STATUS" using the WITH clause.


> REPL STATUS should support 'with' clause
> 
>
> Key: HIVE-18754
> URL: https://issues.apache.org/jira/browse/HIVE-18754
> Project: Hive
>  Issue Type: Task
>  Components: repl, Standalone Metastore
>Affects Versions: 3.0.0
>Reporter: mahesh kumar behera
>Assignee: mahesh kumar behera
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: HIVE-18754.01.patch
>
>
> We have support for "WITH" clause in "REPL LOAD" command, but we don't have 
> that for "REPL STATUS" command.
>  With the cloud replication model , HiveServer2 is only running in the source 
> on-prem cluster.
>  "REPL LOAD"'s with clause is currently used to pass the remote cloud 
> clusters metastore uri, using "hive.metastore.uri" parameter.
> Once "REPL LOAD" is run, "REPL STATUS" needs to be run to determine where the 
> next incremental replication should start from. Since "REPL STATUS" is also 
> going to run on source cluster, we need to add support for the "WITH" clause 
> for it.
> We should also change the privilege required for "REPL STATUS" command to 
> what is required by "REPL LOAD" command as now arbitrary configs can be set 
> for "REPL STATUS" using the WITH clause.



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


[jira] [Updated] (HIVE-18754) REPL STATUS should support 'with' clause

2018-02-20 Thread mahesh kumar behera (JIRA)

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

mahesh kumar behera updated HIVE-18754:
---
Status: Patch Available  (was: Open)

added support for with clause same as repl load command.

> REPL STATUS should support 'with' clause
> 
>
> Key: HIVE-18754
> URL: https://issues.apache.org/jira/browse/HIVE-18754
> Project: Hive
>  Issue Type: Task
>  Components: repl, Standalone Metastore
>Affects Versions: 3.0.0
>Reporter: mahesh kumar behera
>Assignee: mahesh kumar behera
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: HIVE-18754.01.patch
>
>
> We have support for "WITH" clause in "REPL LOAD" command, but we don't have 
> that for "REPL STATUS" command.
> With the cloud replication model for DLM 1.1, HiveServer2 is only running in 
> the source on-prem cluster.
> "REPL LOAD"'s with clause is currently used to pass the remote cloud clusters 
> metastore uri, using "hive.metastore.uri" parameter.
> Once "REPL LOAD" is run, "REPL STATUS" needs to be run to determine where the 
> next incremental replication should start from. Since "REPL STATUS" is also 
> going to run on source cluster, we need to add support for the "WITH" clause 
> for it.
> We should also change the privilege required for "REPL STATUS" command to 
> what is required by "REPL LOAD" command as now arbitrary configs can be set 
> for "REPL STATUS" using the WITH clause.



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


[jira] [Updated] (HIVE-18754) REPL STATUS should support 'with' clause

2018-02-20 Thread mahesh kumar behera (JIRA)

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

mahesh kumar behera updated HIVE-18754:
---
Attachment: HIVE-18754.01.patch

> REPL STATUS should support 'with' clause
> 
>
> Key: HIVE-18754
> URL: https://issues.apache.org/jira/browse/HIVE-18754
> Project: Hive
>  Issue Type: Task
>  Components: repl, Standalone Metastore
>Affects Versions: 3.0.0
>Reporter: mahesh kumar behera
>Assignee: mahesh kumar behera
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: HIVE-18754.01.patch
>
>
> We have support for "WITH" clause in "REPL LOAD" command, but we don't have 
> that for "REPL STATUS" command.
> With the cloud replication model for DLM 1.1, HiveServer2 is only running in 
> the source on-prem cluster.
> "REPL LOAD"'s with clause is currently used to pass the remote cloud clusters 
> metastore uri, using "hive.metastore.uri" parameter.
> Once "REPL LOAD" is run, "REPL STATUS" needs to be run to determine where the 
> next incremental replication should start from. Since "REPL STATUS" is also 
> going to run on source cluster, we need to add support for the "WITH" clause 
> for it.
> We should also change the privilege required for "REPL STATUS" command to 
> what is required by "REPL LOAD" command as now arbitrary configs can be set 
> for "REPL STATUS" using the WITH clause.



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