zhoutai.zt created HADOOP-15453: ----------------------------------- Summary: hadoop fs -count -v report "-count: Illegal option -v" Key: HADOOP-15453 URL: https://issues.apache.org/jira/browse/HADOOP-15453 Project: Hadoop Common Issue Type: Bug Components: fs Affects Versions: 2.7.2 Reporter: zhoutai.zt
[hadoop@Hadoop1 bin]$ ./hadoop fs -count -q -h -v SparkHis* -count: Illegal option -v Reading the source code, can't find the -v option. {code:java} // code placeholder private static final String OPTION_QUOTA = "q"; private static final String OPTION_HUMAN = "h"; public static final String NAME = "count"; public static final String USAGE = "[-" + OPTION_QUOTA + "] [-" + OPTION_HUMAN + "] <path> ..."; {code} BUT the document states the -v option. [http://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-common/FileSystemShell.html#count] -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org