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

ViewFileSystem does not correctly implement getDefaultBlockSize, getDefaultReplication, getContentSummary

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 0.23.2, 0.24.0
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: fs
    • Labels:
      None

      Description

      ViewFileSystem incorrectly returns the FileSystem default values for getDefaultBlockSize() and getDefaultReplication(). This causes files to be created with incorrect values. The problem is that the current apis are insufficient for viewfs because the defaults depend on the underlying mount point. These methods need counterparts that accept a Path so viewfs can resolve the mount point for a path.

        Attachments

        1. HADOOP-8014.patch
          14 kB
          John George
        2. HADOOP-8014.patch
          14 kB
          John George
        3. HADOOP-8014.patch
          15 kB
          John George
        4. HADOOP-8014.patch
          16 kB
          John George
        5. HADOOP-8014.patch
          16 kB
          John George
        6. HADOOP-8014.patch
          18 kB
          John George
        7. HADOOP-8014.patch
          18 kB
          John George

          Issue Links

            Activity

              People

              • Assignee:
                johnvijoe John George
                Reporter:
                daryn Daryn Sharp
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: