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

Fokko Driesprong resolved PARQUET-1910.
---------------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

> Parquet-cli is broken after TransCompressionCommand was added
> -------------------------------------------------------------
>
>                 Key: PARQUET-1910
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1910
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cli
>    Affects Versions: 1.12.0
>            Reporter: Grisha Weintraub
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> +Scenario+
> Run parquet-cli
> {code:java}
> java -cp 'target/*:target/dependency/*' org.apache.parquet.cli.Main
> {code}
>  
> +Expected result+ 
> parquet-cli usage is presented
> {code:java}
> Usage: parquet [options] [command] [command options]
> {code}
>  
> +Actual result+
> the following error is presented
> {code:java}
> Exception in thread "main" com.beust.jcommander.ParameterException: Only one 
> @Parameter with no names attribute is allowed, 
> found:com.beust.jcommander.JCommander$MainParameter@6442b0a6 and 
> com.beust.jcommander.Parameterized@f5bfa59d
>         at com.beust.jcommander.JCommander.addDescription(JCommander.java:606)
>         at 
> com.beust.jcommander.JCommander.createDescriptions(JCommander.java:587)
>         at com.beust.jcommander.JCommander.addCommand(JCommander.java:1533)
>         at com.beust.jcommander.JCommander.addCommand(JCommander.java:1512)
>         at org.apache.parquet.cli.Main.<init>(Main.java:95)
>         at org.apache.parquet.cli.Main.main(Main.java:181)
> {code}
>  
> +Notes+
> The error is related to the recent changes in PARQUET-1872.
> The fix is trivial - see PR.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to