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

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

> This seems already fixed in trunk...

Unfortunately, we still have this bug but the error message have been changed.
{noformat}
"lsr /", then remove /a right before lsr printing the result of /a

bash-3.2$ ./bin/hadoop fs -lsr /
drwxr-xr-x   - tsz supergroup          0 2008-11-05 14:01 /a
lsr: hdfs://namenode9000/a: No such file or directory.
{noformat}

I plan to change lsr such that lsr prints an error message and then keep 
listing other items.

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

Reply via email to