hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10054) ViewFsFileStatus.toString() is broken
Date Wed, 03 Jan 2018 02:01:00 GMT

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

Hudson commented on HADOOP-10054:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13437 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13437/])
Revert "HADOOP-10054. ViewFsFileStatus.toString() is broken. Contributed (arp: rev 4ad39ec3084ab45fb9bbace13082c88666a76a4c)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileStatus.java


> ViewFsFileStatus.toString() is broken
> -------------------------------------
>
>                 Key: HADOOP-10054
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10054
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Paul Han
>            Assignee: Hanisha Koneru
>            Priority: Minor
>         Attachments: HADOOP-10054.001.patch, HADOOP-10054.002.patch
>
>
> ViewFsFileStatus.toString is broken. Following code snippet :
> {code}
> FileStatus stat= somefunc(); // somefunc() returns an instance of ViewFsFileStatus
> System.out.println("path:" + stat.getPath());
>       System.out.println(stat.toString());
> {code}
> produces the output:
> {code}
> 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}
> {code}
> Note that "path=null" is not correct.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message