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

Akira AJISAKA commented on HDFS-5866:
-------------------------------------

Attaching a patch to enable these options.
I built with the patch and confirmed the options worked.

> '-maxSize' and '-step' option fail in OfflineImageViewer
> --------------------------------------------------------
>
>                 Key: HDFS-5866
>                 URL: https://issues.apache.org/jira/browse/HDFS-5866
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: tools
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Akira AJISAKA
>            Assignee: Akira AJISAKA
>         Attachments: HDFS-5866.patch
>
>
> Executing -step or/and -maxSize option will get the following error:
> {code}
> $ hdfs oiv -p FileDistribution -step 102400 -i input -o output
> Error parsing command-line options:
> Usage: bin/hdfs oiv [OPTIONS] -i INPUTFILE -o OUTPUTFILE
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to