Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6795

FsShell 'hadoop fs -text' does not work with other file systems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.20.2
    • None
    • fs

    Description

      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.

      Attachments

        1. hadoop-6795.patch
          1 kB
          Brian Bloniarz
        2. hadoop-6795-branch-1.patch
          1 kB
          Brian Bloniarz

        Activity

          People

            brianbloniarz Brian Bloniarz
            shun0102 Shunsuke Mikami
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: