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

Can only write to default file system on incremental import

    Details

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

      Description

      Running 'sqoop import' with the --incremental option fails if the --target-dir option points to a directory that is not in fs.default.name. In my case I was writing to s3 on a machine not configured so default fs was file:///.

      When running I received this error:
      ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.IllegalArgumentException: Wrong FS: s3://mybucket/mydirectory, expected: file:///

        Attachments

          Activity

            People

            • Assignee:
              markroddy Mark Roddy
              Reporter:
              markroddy Mark Roddy
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: