You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Shunsuke Mikami (JIRA)" <ji...@apache.org> on 2010/06/01 10:14:38 UTC

[jira] Created: (HADOOP-6795) FsShell 'hadoop fs -text' does not work with other file systems

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


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.
-
You can reply to this email to add a comment to the issue online.