hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3121) dfs -lsr fail with "Could not get listing "
Date Fri, 07 Nov 2008 01:32:46 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645657#action_12645657
] 

Raghu Angadi commented on HADOOP-3121:
--------------------------------------

Thanks Nicholas. looks good. One nit:

instead of ls throwing exception with "There were totally..." message, I think it is better
to make ls return -1 and replace {{ls(..)}} with ' {{exitCode = ls()}} ' in doall(). 

> dfs -lsr fail with "Could not get listing "
> -------------------------------------------
>
>                 Key: HADOOP-3121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3121
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.16.1
>            Reporter: Koji Noguchi
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>             Fix For: 0.18.3
>
>         Attachments: 3121_20081105.patch, 3121_20081106.patch, 3121_20081106b.patch
>
>
> (This happened a lot when namenode was extremely slow due to some other reasons.)
> % hadoop dfs -lsr /   
> failed with 
> > Could not get listing for /aaa/bbb/randomfile
> It's probably because  file  was deleted between  items = fs.listStatus( and ls(items[i]

> I think lsr should ignore this case and continue.

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


Mime
View raw message