[ https://issues.apache.org/jira/browse/SQOOP-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154735#comment-15154735 ]
Jarek Jarcec Cecho commented on SQOOP-2847: ------------------------------------------- Thank you for providing so excellent test case describing the problem [~markuskem...@me.com], good job! I've took a look and I believe that that you've uncovered a real bug that has been there for a while. I'll submit a patch shortly. > Sqoop --incremental + missing parent --target-dir reports success with no data > ------------------------------------------------------------------------------ > > Key: SQOOP-2847 > URL: https://issues.apache.org/jira/browse/SQOOP-2847 > Project: Sqoop > Issue Type: Bug > Reporter: Markus Kemper > Attachments: SQOOP-2847_TestCase.txt > > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)