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

Hudson commented on AVRO-1583:
------------------------------

FAILURE: Integrated in AvroJava #475 (See 
[https://builds.apache.org/job/AvroJava/475/])
AVRO-1583. Java: Add stdin support to the tojson tool.  Contributed by Clément 
Mahtieu. (cutting: rev 1623881)
* /avro/trunk/CHANGES.txt
* 
/avro/trunk/lang/java/tools/src/main/java/org/apache/avro/tool/DataFileReadTool.java
* 
/avro/trunk/lang/java/tools/src/test/java/org/apache/avro/tool/TestDataFileTools.java


> Add stdin support to tojson
> ---------------------------
>
>                 Key: AVRO-1583
>                 URL: https://issues.apache.org/jira/browse/AVRO-1583
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.7
>            Reporter: Clément MAHTIEU
>            Assignee: Clément MAHTIEU
>             Fix For: 1.8.0
>
>         Attachments: AVRO-1583.patch
>
>
> Unlike most of the avro tools tojson does not currently support reading from 
> stdin. Adding this support would be quite conveniant. For example a pipe of 
> concat and tojson is much easier to use that having to write a shell script 
> to create a local file.
> Source code said that stdin is not supported because we need a seekable 
> stream, however I believe this comment is outdated since it just works and 
> other tools have no issue dealing with stdin.



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

Reply via email to