Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14841 Replication - Phase 2
  3. HIVE-16006

Incremental REPL LOAD Inserts doesn't operate on the target database if name differs from source database.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • repl
    • None

    Description

      During "Incremental Load", it is not considering the database name input in the command line. Hence load doesn't happen. At the same time, database with original name is getting modified.
      Steps:
      1. INSERT INTO default.tbl values (10, 20);
      2. REPL DUMP default FROM 52;
      3. REPL LOAD replDb FROM '/tmp/dump/1487588522621';
      – This step modifies the default Db instead of replDb.

      ==

      Additional note - this is happening for INSERT events, not other events.

      Attachments

        1. HIVE-16006.03.patch
          13 kB
          Sankar Hariappan
        2. HIVE-16006.02.patch
          7 kB
          Sankar Hariappan
        3. HIVE-16006.01.patch
          2 kB
          Sankar Hariappan

        Activity

          People

            sankarh Sankar Hariappan
            sankarh Sankar Hariappan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: