Sqoop
  1. Sqoop
  2. SQOOP-1306

Allow Sqoop to move files from different FileSystems on incremental import

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major 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.

      1. scenarios.png
        59 kB
        Rodrigo Matihara

        Activity

        Rodrigo Matihara created issue -
        Rodrigo Matihara made changes -
        Field Original Value New Value
        Attachment scenarios.png [ 12640548 ]

          People

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

            Dates

            • Created:
              Updated:

              Development