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

Allow Sqoop to move files from different FileSystems on incremental import

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Sqoop doesn't allow to move files from different FileSystems executing an import (--append or --incremental).

      Trying to import using a local temp-dir and a S3 target-dir, the operation is complete, however the file is not created in S3 bucket and this warning is raised:
      WARN - Cannot append files to target dir; no such directory: sqoop/15151724000000436_31417_localhost.localdomain<tablename>

      Looking into on source, I found that AppendUtils.java considers that tempDir and targetDir are at the same Filesystem.

        Attachments

        1. scenarios.png
          59 kB
          Rodrigo Matihara

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rmatihara Rodrigo Matihara
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: