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

REPL: Repl dump can output - Database, Table, Dir, last_repl_id

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      INFO  : Completed executing command(queryId=root_20190214061031_639e3a52-5c62-40be-a3cd-3e0b18b7b41d); Time taken: 0.374 seconds
      INFO  : OK
      +----------------------------------------------------+---------------+
      |                      dump_dir                      | last_repl_id  |
      +----------------------------------------------------+---------------+
      | /user/root/repl/a74389d0-7cde-4cf4-aa40-3079a98b80a8 | 1104594       |
      +----------------------------------------------------+---------------+
      1 row selected (0.445 seconds)
      

      is somewhat hard to associate back to the table name.

      The logs a couple of lines above actually print the operation detail.

      INFO  : REPL::TABLE_DUMP: {"dbName":"tpcds_bin_partitioned_orc_1000","tableName":"item","tableType":"MANAGED_TABLE","tablesDumpProgress":"1/38","dumpTime":1550124632}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: