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

Sqoop --incremental + missing parent --target-dir reports success with no data

    XMLWordPrintableJSON

    Details

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

      Description

      The test case attached demonstrates inconsistent behavior between import (incremental and non-incremental) when the path for --target-dir contains parent directories that do not exist.
      1. Incremental reports import success however the data is not found in HDFS
      2. Non-incremental reports success, creates the missing directories and writes the data to HDFS

        Attachments

        1. SQOOP-2847.patch
          4 kB
          Jarek Jarcec Cecho
        2. SQOOP-2847_TestCase.txt
          12 kB
          Markus Kemper

          Issue Links

            Activity

              People

              • Assignee:
                jarcec Jarek Jarcec Cecho
                Reporter:
                markuskemper@me.com Markus Kemper
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: