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 "Yoram Arnon (JIRA)" <ji...@apache.org> on 2006/08/31 09:45:24 UTC

[jira] Created: (HADOOP-498) fsck should execute faster

fsck should execute faster
--------------------------

                 Key: HADOOP-498
                 URL: http://issues.apache.org/jira/browse/HADOOP-498
             Project: Hadoop
          Issue Type: Improvement
          Components: dfs
            Reporter: Yoram Arnon


on a good size dfs, with a few 100000 blocks, fsck takes around 30 minutes, while dfs -du takes only a couple of seconds.
fsck should take seconds, rather than minutes. It should be a namenode operation, not a client program.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-498) fsck should execute faster

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-498?page=all ]

Milind Bhandarkar updated HADOOP-498:
-------------------------------------

               Status: Patch Available  (was: Open)
        Fix Version/s: 0.7.1
    Affects Version/s: 0.7.0

Fixed. Fsck executes much faster now.

> fsck should execute faster
> --------------------------
>
>                 Key: HADOOP-498
>                 URL: http://issues.apache.org/jira/browse/HADOOP-498
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.7.0
>            Reporter: Yoram Arnon
>         Assigned To: Milind Bhandarkar
>             Fix For: 0.7.1
>
>         Attachments: fsck.patch
>
>
> on a good size dfs, with a few 100000 blocks, fsck takes around 30 minutes, while dfs -du takes only a couple of seconds.
> fsck should take seconds, rather than minutes. It should be a namenode operation, not a client program.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-498) fsck should execute faster

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-498?page=all ]

Milind Bhandarkar updated HADOOP-498:
-------------------------------------

    Attachment: fsck.patch

Attached patch. fsck functionality is moved into namenode aand made available as a servlet. This avoids multiple roundtrips from dfs client to the namenode. The commandline interface for fsck on the client now uses http to do fsck. Also added a test for fsck. Also, fixed the copyFiles test to actually run instead of exiting.


> fsck should execute faster
> --------------------------
>
>                 Key: HADOOP-498
>                 URL: http://issues.apache.org/jira/browse/HADOOP-498
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.7.0
>            Reporter: Yoram Arnon
>         Assigned To: Milind Bhandarkar
>             Fix For: 0.7.1
>
>         Attachments: fsck.patch
>
>
> on a good size dfs, with a few 100000 blocks, fsck takes around 30 minutes, while dfs -du takes only a couple of seconds.
> fsck should take seconds, rather than minutes. It should be a namenode operation, not a client program.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HADOOP-498) fsck should execute faster

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-498?page=all ]

Milind Bhandarkar reassigned HADOOP-498:
----------------------------------------

    Assignee: Milind Bhandarkar

> fsck should execute faster
> --------------------------
>
>                 Key: HADOOP-498
>                 URL: http://issues.apache.org/jira/browse/HADOOP-498
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Yoram Arnon
>         Assigned To: Milind Bhandarkar
>
> on a good size dfs, with a few 100000 blocks, fsck takes around 30 minutes, while dfs -du takes only a couple of seconds.
> fsck should take seconds, rather than minutes. It should be a namenode operation, not a client program.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-498) fsck should execute faster

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-498?page=all ]

Doug Cutting updated HADOOP-498:
--------------------------------

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

I just committed this.  Thanks, Milind!

> fsck should execute faster
> --------------------------
>
>                 Key: HADOOP-498
>                 URL: http://issues.apache.org/jira/browse/HADOOP-498
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.7.0
>            Reporter: Yoram Arnon
>         Assigned To: Milind Bhandarkar
>             Fix For: 0.8.0
>
>         Attachments: fsck.patch
>
>
> on a good size dfs, with a few 100000 blocks, fsck takes around 30 minutes, while dfs -du takes only a couple of seconds.
> fsck should take seconds, rather than minutes. It should be a namenode operation, not a client program.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-498) fsck should execute faster

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-498?page=all ]

Owen O'Malley updated HADOOP-498:
---------------------------------

    Fix Version/s: 0.8.0
                       (was: 0.7.1)

> fsck should execute faster
> --------------------------
>
>                 Key: HADOOP-498
>                 URL: http://issues.apache.org/jira/browse/HADOOP-498
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.7.0
>            Reporter: Yoram Arnon
>         Assigned To: Milind Bhandarkar
>             Fix For: 0.8.0
>
>         Attachments: fsck.patch
>
>
> on a good size dfs, with a few 100000 blocks, fsck takes around 30 minutes, while dfs -du takes only a couple of seconds.
> fsck should take seconds, rather than minutes. It should be a namenode operation, not a client program.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-498) fsck should execute faster

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-498?page=comments#action_12438225 ] 
            
Milind Bhandarkar commented on HADOOP-498:
------------------------------------------

Started work on this issue.

> fsck should execute faster
> --------------------------
>
>                 Key: HADOOP-498
>                 URL: http://issues.apache.org/jira/browse/HADOOP-498
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Yoram Arnon
>         Assigned To: Milind Bhandarkar
>
> on a good size dfs, with a few 100000 blocks, fsck takes around 30 minutes, while dfs -du takes only a couple of seconds.
> fsck should take seconds, rather than minutes. It should be a namenode operation, not a client program.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira