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

Shell command "fs -count" should support paths with different file systsms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.19.0
    • fs
    • None
    • Reviewed

    Description

      If there are two different file systems in the path list, "fs -count" does not work. For example,

      bash-3.2$ ./bin/hadoop fs -count / file:///    
                13            4              27369 hdfs://nnn:9000/
      count: Wrong FS: file:/, expected: hdfs://nnn:9000
      Usage: java FsShell [-count[-q] <path>]
      

      Attachments

        1. 3957_20080814.patch
          24 kB
          Tsz-wo Sze
        2. 3962_20080815.patch
          5 kB
          Tsz-wo Sze
        3. 3962_20080815b.patch
          7 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: