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

2017-11-13 Thread Suraj Acharya (JIRA)

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

Suraj Acharya commented on AVRO-1597:
-

Seems like the issue is that the patch is present in the code, but it has lost 
its history.
You can see the changes made 
https://issues.apache.org/jira/secure/attachment/12677013/AVRO-1597.patch in 
https://github.com/apache/avro/blame/branch-1.7/lang/java/trevni/core/src/test/java/org/apache/trevni/TestUtil.java


> 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
>Assignee: Doug Cutting
> Fix For: 1.7.8, 1.8.0
>
> Attachments: AVRO-1597.patch
>
>
> 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.4.14#64029)


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

2017-10-24 Thread Nandor Kollar (JIRA)

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

Nandor Kollar commented on AVRO-1597:
-

[~sacharya] it looks like the fix version on this Jira is 1.7.8, but I can't 
see this patch on branch-1.7. Should 1.7 branch include this fix?

> 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
>Assignee: Doug Cutting
> Fix For: 1.7.8, 1.8.0
>
> Attachments: AVRO-1597.patch
>
>
> 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.4.14#64029)


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

2014-11-07 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on AVRO-1597:
---

Commit 1637494 from [~cutting] in branch 'avro/trunk'
[ https://svn.apache.org/r1637494 ]

AVRO-1597. Java: Random data tool writes corrupt files to standard out.

 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

 Attachments: AVRO-1597.patch


 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)


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

2014-11-07 Thread Hudson (JIRA)

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

Hudson commented on AVRO-1597:
--

FAILURE: Integrated in AvroJava #496 (See 
[https://builds.apache.org/job/AvroJava/496/])
AVRO-1597. Java: Random data tool writes corrupt files to standard out. 
(cutting: rev 1637494)
* /avro/trunk/CHANGES.txt
* 
/avro/trunk/lang/java/tools/src/test/java/org/apache/avro/tool/TestCreateRandomFileTool.java
* 
/avro/trunk/lang/java/trevni/core/src/test/java/org/apache/trevni/TestUtil.java


 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
Assignee: Doug Cutting
 Fix For: 1.7.8, 1.8.0

 Attachments: AVRO-1597.patch


 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)


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

2014-10-24 Thread Doug Cutting (JIRA)

[ 
https://issues.apache.org/jira/browse/AVRO-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)