You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2014/10/24 20:43:34 UTC

[jira] [Commented] (AVRO-1597) Random data tool writes corrupt data to standard output

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

Doug Cutting commented on AVRO-1597:
------------------------------------

This is because a debug message containing the random seed is logged to standard output rather than to standard error (or not at all).

The workaround is to name the output file in the command rather than directing it to standard output.

> Random data tool writes corrupt data to standard output
> -------------------------------------------------------
>
>                 Key: AVRO-1597
>                 URL: https://issues.apache.org/jira/browse/AVRO-1597
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Doug Cutting
>             Fix For: 1.7.8, 1.8.0
>
>
> When 'random' command is used to write a data file to standard output that file is corrupt.



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