[
https://issues.apache.org/jira/browse/HADOOP-6795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171444#comment-13171444
]
Uma Maheswara Rao G commented on HADOOP-6795:
---------------------------------------------
Yes, seems patch has been generated against to some cdh versions.
{code}
--- hadoop-0.20.2-cdh3u2.bak/src/core/org/apache/hadoop/fs/FsShell.java
2011-10-14 01:39:59.000000000 -0700
+++ hadoop-0.20.2-cdh3u2/src/core/org/apache/hadoop/fs/FsShell.java
2011-11-07 11:41:55.966030973 -0800
{code}
@Brian, you can do svn check out of the 0.20 versions code and prepare the
patch.
http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-202/
> FsShell 'hadoop fs -text' does not work with other file systems
> -----------------------------------------------------------------
>
> Key: HADOOP-6795
> URL: https://issues.apache.org/jira/browse/HADOOP-6795
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.20.2
> Reporter: Shunsuke Mikami
> Priority: Minor
> Labels: patch
> Attachments: hadoop-6795.patch
>
>
> FsShell 'hadoop fs -text' can only work with file system which set by
> fs.default.name.
> I use Gfarm file system from Hadoop.
> https://gfarm.svn.sourceforge.net/svnroot/gfarm/gfarm_hadoop/trunk/
> If i set fs.default.name to hdfs, the error "Wrong FS" occurred when i submit
> 'hadoop fs -text' to file on gfarm file system.
> $ hadoop fs -text gfarmfs:///home/mikami/random/part-00000
> text: Wrong FS: gfarmfs://null/home/mikami/random/part-00000, expected:
> hdfs://hostname:9000
> if i set fs.default.name to gfarmfs:///, i can get correct result.
> this command's result shouldn't depend on fs.default.name.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira