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 "Runping Qi (JIRA)" <ji...@apache.org> on 2008/04/10 01:20:04 UTC

[jira] Created: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
-------------------------------------------------------------

                 Key: HADOOP-3224
                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
             Project: Hadoop Core
          Issue Type: Bug
            Reporter: Runping Qi




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


[jira] Updated: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

Mahadev konar updated HADOOP-3224:
----------------------------------

    Hadoop Flags: [Reviewed]

> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Runping Qi
>            Assignee: lohit vijayarenu
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-3224-1.patch
>
>


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


[jira] Updated: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

lohit vijayarenu updated HADOOP-3224:
-------------------------------------

    Attachment: HADOOP-3224-1.patch

This patch fixed this issue. Substituted getLen() with getContentSummary(). Added testcase to check this.

> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Runping Qi
>            Assignee: lohit vijayarenu
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-3224-1.patch
>
>


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


[jira] Commented: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

Mahadev konar commented on HADOOP-3224:
---------------------------------------

+1 .. i am curious to know how we broke this ... 
it seems we were just doing 
items[i].getLen());
?

did filestatus.getLen() return recursive lengths before?


> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Runping Qi
>            Assignee: lohit vijayarenu
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-3224-1.patch
>
>


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


[jira] Updated: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

Raghu Angadi updated HADOOP-3224:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks Lohit!

> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Runping Qi
>            Assignee: lohit vijayarenu
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-3224-1.patch
>
>


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


[jira] Commented: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

Runping Qi commented on HADOOP-3224:
------------------------------------


Here is an example:
 
hadoop dfs -du /gridmix/
Found 2 items
hdfs://gs205475:8020/gridmix/data       0
hdfs://gs205475:8020/gridmix/programs   0



> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Runping Qi
>


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


[jira] Commented: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

Hadoop QA commented on HADOOP-3224:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12379794/HADOOP-3224-1.patch
against trunk revision 645773.

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

    tests included +1.  The patch appears to include 7 new or modified tests.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new javac compiler warnings.

    release audit +1.  The applied patch does not generate any new release audit warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2196/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2196/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2196/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2196/console

This message is automatically generated.

> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Runping Qi
>            Assignee: lohit vijayarenu
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-3224-1.patch
>
>


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


[jira] Assigned: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

Robert Chansler reassigned HADOOP-3224:
---------------------------------------

    Assignee: lohit vijayarenu  (was: Mahadev konar)

> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Runping Qi
>            Assignee: lohit vijayarenu
>            Priority: Blocker
>             Fix For: 0.17.0
>
>


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


[jira] Commented: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

Hudson commented on HADOOP-3224:
--------------------------------

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

> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Runping Qi
>            Assignee: lohit vijayarenu
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-3224-1.patch
>
>


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


[jira] Updated: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

lohit vijayarenu updated HADOOP-3224:
-------------------------------------

    Status: Patch Available  (was: Open)

> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Runping Qi
>            Assignee: lohit vijayarenu
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-3224-1.patch
>
>


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


[jira] Commented: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

lohit vijayarenu commented on HADOOP-3224:
------------------------------------------

no, it was getContentLength() which used to work for files and directory. This was replaced by getLen() using within getContentLenght() wich works only for files. So, replaced it with the correct getContentSummary().

> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Runping Qi
>            Assignee: lohit vijayarenu
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-3224-1.patch
>
>


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


[jira] Updated: (HADOOP-3224) hadoop dfs -du /dirPath does not work with hadoop-0.17 branch

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

Robert Chansler updated HADOOP-3224:
------------------------------------

      Component/s: dfs
         Priority: Blocker  (was: Major)
    Fix Version/s: 0.17.0
         Assignee: Mahadev konar

> hadoop dfs -du /dirPath does not work with hadoop-0.17 branch
> -------------------------------------------------------------
>
>                 Key: HADOOP-3224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Runping Qi
>            Assignee: Mahadev konar
>            Priority: Blocker
>             Fix For: 0.17.0
>
>


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