Details
-
Improvement
-
Status: Reopened
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
Reviewed
Description
ViewFsFileStatus.toString is broken. Following code snippet :
FileStatus stat= somefunc(); // somefunc() returns an instance of ViewFsFileStatus System.out.println("path:" + stat.getPath()); System.out.println(stat.toString());
produces the output:
path:viewfs://xxxxxxxxx.com/user/XXXXX/tmp-48 ViewFsFileStatus{path=null; isDirectory=false; length=0; replication=0; blocksize=0; modification_time=0; access_time=0; owner=; group=; permission=rw-rw-rw-; isSymlink=false}
Note that "path=null" is not correct.
Attachments
Attachments
Issue Links
- breaks
-
HADOOP-15128 TestViewFileSystem tests are broken in trunk
- Resolved