Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-1631

Drop confusing use of --clean-staging-table parameter from PGBulkloadManager

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.6
    • Fix Version/s: 1.4.6
    • Component/s: connectors/postgresql
    • Labels:
      None

      Description

      If we use PGBulkloadManager, the number of staging-tables equals number of map tasks.
      And staging-table's name is decided as follows.

      tmpTableName = table + "_" + context.getTaskAttemptID().toString();

      ExportTools check staging-table's name, but this check don't need using PGBulkloadManager.

        Attachments

        1. SQOOP-1631_1.patch
          2 kB
          Masahiro Yamaguchi
        2. SQOOP-1631_2.patch
          5 kB
          Masahiro Yamaguchi
        3. SQOOP-1631_3.patch
          0.7 kB
          Masahiro Yamaguchi
        4. SQOOP-1631_4.patch
          5 kB
          Masahiro Yamaguchi

          Issue Links

            Activity

              People

              • Assignee:
                yamaguchimsf Masahiro Yamaguchi
                Reporter:
                yamaguchimsf Masahiro Yamaguchi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: