Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-2811

Sqoop2: Extracting sequence files may result in duplicates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.99.6
    • 1.99.7
    • None
    • None

    Description

      In the hdfs extractor we use:

          if (start > filereader.getPosition()) {
            filereader.sync(start); // sync to start
          }
      

      to jump to the correct point in the sequence file that we want to extract.

      If the sequence file is small, multiple start points may `sync` to the same point and we could end up extracting the same record multiple times.

      Attachments

        1. SQOOP-2811.patch
          12 kB
          Abraham Fine

        Issue Links

          Activity

            People

              abrahamfine Abraham Fine
              abrahamfine Abraham Fine
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: