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

Validation of source file after distcp in repl load

    XMLWordPrintableJSON

Details

    Description

      time between deciding the source and destination path for distcp to invoking of distcp can have a change of the source file, hence distcp might copy the wrong file to destination, hence we should an additional check on the checksum of the source file path after distcp finishes to make sure the path didnot change during the copy process. if it has take additional steps to delete the previous file on destination and copy the new source and repeat the same process as above till we copy the correct file.

      Attachments

        1. HIVE-16898.1.patch
          16 kB
          Daniel Dai
        2. HIVE-16898.2.patch
          17 kB
          Daniel Dai
        3. HIVE-16898.3.patch
          17 kB
          Daniel Dai
        4. HIVE-16898.4.patch
          17 kB
          Daniel Dai
        5. HIVE-16898.5.patch
          17 kB
          Daniel Dai
        6. HIVE-16898.6.patch
          17 kB
          Daniel Dai
        7. HIVE-16898.7.patch
          17 kB
          Daniel Dai
        8. HIVE-16898.8.patch
          18 kB
          Sankar Hariappan

        Issue Links

          Activity

            People

              daijy Daniel Dai
              anishek Anishek Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: