Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18754

REPL STATUS should support 'with' clause

    XMLWordPrintableJSON

Details

    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.

      Attachments

        1. HIVE-18754.01.patch
          5 kB
          mahesh kumar behera
        2. HIVE-18754.02.patch
          6 kB
          mahesh kumar behera

        Issue Links

          Activity

            People

              maheshk114 mahesh kumar behera
              maheshk114 mahesh kumar behera
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: