[
https://issues.apache.org/jira/browse/HADOOP-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529986
]
Raghu Angadi commented on HADOOP-1858:
--------------------------------------
I agree. I don't think it is really a bug either. It did not cause any
particular problem.
>From the shell, currently there does not seem to be a way to find if a
>particular directory exists. In that context, I tried if listing '..' might
>fail and indicate that such a directory does not exists.
> ".." for ls does not check for existence of its parent directory.
> ------------------------------------------------------------------
>
> Key: HADOOP-1858
> URL: https://issues.apache.org/jira/browse/HADOOP-1858
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: Raghu Angadi
> Priority: Minor
>
> '{{bin/hadoop -ls /user/nonexistent/..}}' lists /user even if
> /user/nonexistent directory does not exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.