hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Bloniarz (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-6795) FsShell 'hadoop fs -text' does not work with other file systems
Date Mon, 19 Dec 2011 19:25:30 GMT

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

Brian Bloniarz commented on HADOOP-6795:
----------------------------------------

Thanks for the guidance everyone. I've attached hadoop-6795-branch-1.patch which is a fix
for branch-1.

The trunk does not have the same issue, it looks like the issue was resolved during this refactoring:
r1101199 | szetszwo | 2011-05-09 13:08:51 -0700 (Mon, 09 May 2011) | 2 lines

HADOOP-7238. Refactor the cat and text commands to conform to new FsCommand class.  Contributed
by Daryn Sharp

                
> 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
>            Assignee: Brian Bloniarz
>            Priority: Minor
>              Labels: patch
>         Attachments: hadoop-6795-branch-1.patch, 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

        

Mime
View raw message