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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/08/15 23:59:44 UTC

[jira] Created: (HADOOP-3962) Shell command "fs -count" should support paths with different file systsms

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

                 Key: HADOOP-3962
                 URL: https://issues.apache.org/jira/browse/HADOOP-3962
             Project: Hadoop Core
          Issue Type: Bug
          Components: fs
            Reporter: Tsz Wo (Nicholas), SZE


If there are two different file systems in the path list, "fs -count" does not work.  For example,
{noformat}
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>]
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3962) Shell command "fs -count" should support paths with different file systsms

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-3962:
-------------------------------------------

    Attachment: 3962_20080815b.patch

3962_20080815b.patch: added a test.

> Shell command "fs -count" should support paths with different file systsms
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-3962
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3962
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3957_20080814.patch, 3962_20080815.patch, 3962_20080815b.patch
>
>
> If there are two different file systems in the path list, "fs -count" does not work.  For example,
> {noformat}
> 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>]
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3962) Shell command "fs -count" should support paths with different file systsms

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-3962:
-------------------------------------------

    Attachment: 3957_20080814.patch

3957_20080814.patch: change "fs -count" to support multiple file systems.

> Shell command "fs -count" should support paths with different file systsms
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-3962
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3962
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>         Attachments: 3957_20080814.patch
>
>
> If there are two different file systems in the path list, "fs -count" does not work.  For example,
> {noformat}
> 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>]
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3962) Shell command "fs -count" should support paths with different file systsms

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623412#action_12623412 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3962:
------------------------------------------------

The following is the "ant test-patch" results.  The javadoc warnings are due to HADOOP-3964.
{noformat}
     [exec] -1 overall.  

     [exec]     +1 @author.  The patch does not contain any @author tags.

     [exec]     +1 tests included.  The patch appears to include 3 new or modified tests.

     [exec]     -1 javadoc.  The javadoc tool appears to have generated 1 warning messages.

     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
{noformat}

> Shell command "fs -count" should support paths with different file systsms
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-3962
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3962
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3957_20080814.patch, 3962_20080815.patch, 3962_20080815b.patch
>
>
> If there are two different file systems in the path list, "fs -count" does not work.  For example,
> {noformat}
> 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>]
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3962) Shell command "fs -count" should support paths with different file systsms

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-3962:
-------------------------------------------

    Attachment: 3962_20080815.patch

3962_20080815.patch: uploaded a wrong file previously.  Should be this one.

> Shell command "fs -count" should support paths with different file systsms
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-3962
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3962
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>         Attachments: 3957_20080814.patch, 3962_20080815.patch
>
>
> If there are two different file systems in the path list, "fs -count" does not work.  For example,
> {noformat}
> 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>]
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3962) Shell command "fs -count" should support paths with different file systsms

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated HADOOP-3962:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.19.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I just committed this. Thanks Nicholas.

> Shell command "fs -count" should support paths with different file systsms
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-3962
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3962
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.19.0
>
>         Attachments: 3957_20080814.patch, 3962_20080815.patch, 3962_20080815b.patch
>
>
> If there are two different file systems in the path list, "fs -count" does not work.  For example,
> {noformat}
> 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>]
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3962) Shell command "fs -count" should support paths with different file systsms

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624682#action_12624682 ] 

Hudson commented on HADOOP-3962:
--------------------------------

Integrated in Hadoop-trunk #581 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/581/])

> Shell command "fs -count" should support paths with different file systsms
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-3962
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3962
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.19.0
>
>         Attachments: 3957_20080814.patch, 3962_20080815.patch, 3962_20080815b.patch
>
>
> If there are two different file systems in the path list, "fs -count" does not work.  For example,
> {noformat}
> 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>]
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HADOOP-3962) Shell command "fs -count" should support paths with different file systsms

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar reassigned HADOOP-3962:
-------------------------------------

    Assignee: Tsz Wo (Nicholas), SZE

> Shell command "fs -count" should support paths with different file systsms
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-3962
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3962
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3957_20080814.patch, 3962_20080815.patch
>
>
> If there are two different file systems in the path list, "fs -count" does not work.  For example,
> {noformat}
> 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>]
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3962) Shell command "fs -count" should support paths with different file systsms

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623417#action_12623417 ] 

Mahadev konar commented on HADOOP-3962:
---------------------------------------

+1 .. the patch looks good... 

> Shell command "fs -count" should support paths with different file systsms
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-3962
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3962
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3957_20080814.patch, 3962_20080815.patch, 3962_20080815b.patch
>
>
> If there are two different file systems in the path list, "fs -count" does not work.  For example,
> {noformat}
> 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>]
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3962) Shell command "fs -count" should support paths with different file systsms

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-3962:
-------------------------------------------

    Status: Patch Available  (was: Open)

Passed all tests locally, submitting ...

> Shell command "fs -count" should support paths with different file systsms
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-3962
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3962
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3957_20080814.patch, 3962_20080815.patch, 3962_20080815b.patch
>
>
> If there are two different file systems in the path list, "fs -count" does not work.  For example,
> {noformat}
> 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>]
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.