You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "zhoutai.zt (JIRA)" <ji...@apache.org> on 2018/05/10 04:06:00 UTC
[jira] [Created] (HADOOP-15453) hadoop fs -count -v report "-count:
Illegal option -v"
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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org