hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Han (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10054) ViewFsFileStatus.toString() is broken
Date Thu, 17 Oct 2013 00:54:42 GMT
Paul Han created HADOOP-10054:

             Summary: ViewFsFileStatus.toString() is broken
                 Key: HADOOP-10054
                 URL: https://issues.apache.org/jira/browse/HADOOP-10054
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs
    Affects Versions: 2.0.5-alpha
            Reporter: Paul Han
            Priority: Minor

ViewFsFileStatus.toString is broken. Following code snippet :
FileStatus stat= somefunc(); // somefunc() returns an instance of ViewFsFileStatus
System.out.println("path:" + stat.getPath());
produces the output:
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.

This message was sent by Atlassian JIRA

View raw message