Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15453

hadoop fs -count -v report "-count: Illegal option -v"

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.2
    • None
    • fs
    • None

    Description

      [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 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> ...";
      

      BUT the document states the -v option.

      http://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-common/FileSystemShell.html#count

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            zhoutai.zt zhoutai.zt

            Dates

              Created:
              Updated:

              Slack

                Issue deployment