[ 
https://issues.apache.org/jira/browse/SQOOP-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527613#comment-13527613
 ] 

Hari Shreedharan commented on SQOOP-738:
----------------------------------------

Also in the logs you posted above, I don't see a call to close at all. This 
should be there in the logs if the close method was called: Closing 
SqoopOutputFormat RecordWriter.

Also, when I changed the close() method, I wrote it with the assumption that it 
is called from the same thread that called write (which was the assumption in 
the close method at that time - it basically did a data.wait() and the notify 
would come from the consumer thread). Unless that somehow changed, I don't see 
a problem in the above code.
                
> Sqoop is not importing all data in Sqoop 2
> ------------------------------------------
>
>                 Key: SQOOP-738
>                 URL: https://issues.apache.org/jira/browse/SQOOP-738
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>            Priority: Blocker
>             Fix For: 1.99.1
>
>
> I've tried to import exactly 408,957 (nice rounded number right?) rows in 10 
> mappers and I've noticed that not all mappers will supply all the data all 
> the time. For example in run I got 6 files with expected size of 10MB whereas 
> the other 4 random files are completely empty. In another run I got 8 files 
> of 10MB and just 2 files empty. I did not quite found any logic regarding how 
> many and which files will end up empty. We definitely need to address this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to