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 "Mahadev konar (JIRA)" <ji...@apache.org> on 2006/10/27 19:49:16 UTC

[jira] Created: (HADOOP-650) bin/hadoop dfs -lsr / is broken

bin/hadoop dfs -lsr / is broken
-------------------------------

                 Key: HADOOP-650
                 URL: http://issues.apache.org/jira/browse/HADOOP-650
             Project: Hadoop
          Issue Type: Bug
            Reporter: Mahadev konar
            Priority: Minor


bin/hadoop dfs -lsr / 
used to work but seems like its broken now. The output of this command just keeps on listing "/user" again and again and does not list any other files/directories. 

-- 
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-650) bin/hadoop dfs -lsr / is broken

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

Sameer Paranjpye updated HADOOP-650:
------------------------------------

    Component/s: dfs

> bin/hadoop dfs -lsr / is broken
> -------------------------------
>
>                 Key: HADOOP-650
>                 URL: http://issues.apache.org/jira/browse/HADOOP-650
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Mahadev konar
>            Priority: Minor
>
> bin/hadoop dfs -lsr / 
> used to work but seems like its broken now. The output of this command just keeps on listing "/user" again and again and does not list any other files/directories. 

-- 
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-650) bin/hadoop dfs -lsr / is broken

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-650?page=comments#action_12445264 ] 
            
Konstantin Shvachko commented on HADOOP-650:
--------------------------------------------

The problem is with the data not the software.
You have illegal sub-directory "/" inside /user. That is why it loops.

bin/hadoop dfs -ls /user
Found 7 items
/user   <dir>
/       <dir>
/user/mahadev   <dir>
....

The entries were probably created prior to HADOOP-423, which fixed the problem.
But I don't know how to get rid of this entries now when we do not allow them.
I guess a custom code should be written.

> bin/hadoop dfs -lsr / is broken
> -------------------------------
>
>                 Key: HADOOP-650
>                 URL: http://issues.apache.org/jira/browse/HADOOP-650
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: Mahadev konar
>            Priority: Minor
>
> bin/hadoop dfs -lsr / 
> used to work but seems like its broken now. The output of this command just keeps on listing "/user" again and again and does not list any other files/directories. 

-- 
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-650) bin/hadoop dfs -lsr / is broken

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-650?page=comments#action_12446151 ] 
            
Konstantin Shvachko commented on HADOOP-650:
--------------------------------------------

Another proposal is to make the removal of invalid files a part of fsck.


> bin/hadoop dfs -lsr / is broken
> -------------------------------
>
>                 Key: HADOOP-650
>                 URL: http://issues.apache.org/jira/browse/HADOOP-650
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: Mahadev konar
>            Priority: Minor
>
> bin/hadoop dfs -lsr / 
> used to work but seems like its broken now. The output of this command just keeps on listing "/user" again and again and does not list any other files/directories. 

-- 
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-650) bin/hadoop dfs -lsr / is broken

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-650?page=comments#action_12445311 ] 
            
Konstantin Shvachko commented on HADOOP-650:
--------------------------------------------

Nobody else complained, but just in case I'd propose to include a deprecated method in FSImage
that would delete files named ".", ".." and "/" if any when loading the image.


> bin/hadoop dfs -lsr / is broken
> -------------------------------
>
>                 Key: HADOOP-650
>                 URL: http://issues.apache.org/jira/browse/HADOOP-650
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: Mahadev konar
>            Priority: Minor
>
> bin/hadoop dfs -lsr / 
> used to work but seems like its broken now. The output of this command just keeps on listing "/user" again and again and does not list any other files/directories. 

-- 
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