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

Out of memory errors when number of records to import < 0.5 * splitSize

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.4.3
    • 1.4.6
    • None

    Description

      We are getting out of memory errors during import if the number of records to import is less than 0.5*splitSize (and is nonterminating decimal).

      For example, if the numSplits = 3, minVal = 100, maxVal = 101 then in BigDecimalSplitter.split() an extraordinary number of tiny values will be added to the splits List and run out of memory eventually.

      I also noticed that there are no tests for BigDecimalSplitter.

      Attachments

        1. sqoop_final.patch
          3 kB
          Sai Karthik Ganguru

        Activity

          People

            SaiKarthik Sai Karthik Ganguru
            dkincaid Dave Kincaid
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: