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

Manuel Godbert commented on AVRO-1529:
--------------------------------------

Actually I wrote my own ConcatTool because we needed some intelligence in which 
files to concat and which were big enough to let them alone. I reported the 
JIRA on the ConcatTool for easier communication with Apache, after checking the 
problem was not just mine. I did not keep the commands used for this test, but 
I remember I just followed the provided documentation. Sorry :-)

> ConcatTool issue with empty files
> ---------------------------------
>
>                 Key: AVRO-1529
>                 URL: https://issues.apache.org/jira/browse/AVRO-1529
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.6
>            Reporter: Manuel Godbert
>
> I am using the ConcatTool to merge 2 avro files. The first one is empty, the 
> second one has records. The merged file is seen as empty when I am opening it.
> My investigations showed the cause is that DataFileWriter.appendAllFrom(...) 
> copies blocks from source to target even if they are empty, and 
> DataFileReader.hasNext() returns false if the first block of an avro file is 
> empty.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to