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

Make DBRecordReader execute queries lazily

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      DBInputFormat's DBRecordReader executes the user's SQL query in the constructor. If the query is long-running, this can cause task timeout. The user is unable to spawn a background thread (e.g., in a MapRunnable) to inform Hadoop of on-going progress.

        Attachments

        1. MAPREDUCE-875.2.patch
          1 kB
          Aaron Kimball
        2. MAPREDUCE-875.patch
          1 kB
          Aaron Kimball

          Activity

            People

            • Assignee:
              kimballa Aaron Kimball
              Reporter:
              kimballa Aaron Kimball
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: