[ 
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)

Reply via email to