[ 
https://issues.apache.org/jira/browse/AVRO-2465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp updated AVRO-2465:
------------------------------
    Fix Version/s: 1.9.1
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Fix a wrong description in the avro-tools random's usage
> --------------------------------------------------------
>
>                 Key: AVRO-2465
>                 URL: https://issues.apache.org/jira/browse/AVRO-2465
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java, tools
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Minor
>             Fix For: 1.9.1
>
>
> {{avro-tools random}}'s usage says the default compression codec is null:
> {code}
> $ java -jar lang/java/tools/target/avro-tools-1.10.0-SNAPSHOT.jar random
> Usage: outFile (filename or '-' for stdout)
> Option                  Description                                       
> ------                  -----------                                       
> --codec <String>        Compression codec (default: null)                 
> {code}
> But actually the deflate codec is used.
> {code}
> $ java -jar lang/java/tools/target/avro-tools-1.10.0-SNAPSHOT.jar random 
> --count 0 --schema-file share/test/schemas/weather.avsc /tmp/outFile.avro
> $ java -jar lang/java/tools/target/avro-tools-1.10.0-SNAPSHOT.jar getmeta 
> /tmp/outFile.avro 
> avro.schema   {"type":"record","name":"Weather","namespace":"test","doc":"A 
> weather 
> reading.","fields":[{"name":"station","type":"string","order":"ignore"},{"name":"time","type":"long"},{"name":"temp","type":"int"}]}
> avro.codec    deflate
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to