Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.1.0-beta
-
None
-
None
Description
decster:~/hadoop> bin/hadoop fs -ls "/foo/.snapshot"
13/08/16 01:17:22 INFO hdfs.DFSClient: +++++ listPath(/)
13/08/16 01:17:22 INFO hdfs.DFSClient: +++++ listPath(/foo)
ls: `/foo/.snapshot': No such file or directory
HADOOP-9817 refactor some globStatus code, but forgot to handle special case that .snapshot dir is not show up in listStatus but exists, so we need to explicitly check path existence using getFileStatus, rather than depending on listStatus results.
Attachments
Attachments
Issue Links
- breaks
-
HADOOP-9912 globStatus of a symlink to a directory does not report symlink as a directory
- Resolved
-
HDFS-5125 TestCreateEditsLog#testCanLoadCreatedEditsLog fails on Windows in globStatus
- Resolved
- duplicates
-
HADOOP-9981 globStatus should minimize its listStatus and getFileStatus calls
- Closed
- is blocked by
-
HADOOP-9972 new APIs for listStatus and globStatus to deal with symlinks
- Open
- is broken by
-
HADOOP-9817 FileSystem#globStatus and FileContext#globStatus need to work with symlinks
- Closed