Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4522

DBOutputFormat Times out on large batch inserts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 0.20.205.0
    • None
    • task-controller

    Description

      In DBRecordWriter#close(), progress is never updated. In large batch inserts, this can cause the reduce task to time out due to the amount of time it takes the SQL engine to process that insert.

      Potential solutions I can see:
      Don't batch inserts; do the insert when DBRecordWriter#write() is called (awful)
      Spin up a thread in DBRecordWriter#close() and update progress in that. (gross)

      I can provide code for either if you're interested.

      Attachments

        1. MAPREDUCE-4522.001.patch
          4 kB
          Shyam Gavulla

        Activity

          People

            shyam_gav Shyam Gavulla
            jarusn Nathan Jarus
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: