Hadoop Common
  1. Hadoop Common
  2. HADOOP-8014

ViewFileSystem does not correctly implement getDefaultBlockSize, getDefaultReplication, getContentSummary

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      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

          Daryn Sharp created issue -
          Daryn Sharp made changes -
          Field Original Value New Value
          Link This issue requires HADOOP-8015 [ HADOOP-8015 ]
          Arun C Murthy made changes -
          Target Version/s 0.23.1, 0.24.0 [ 12318884, 12317652 ] 0.23.2 [ 12319855 ]
          John George made changes -
          Link This issue relates to HDFS-3121 [ HDFS-3121 ]
          John George made changes -
          Attachment HADOOP-8014.patch [ 12520179 ]
          John George made changes -
          Summary ViewFileSystem does not correctly implement getDefaultBlockSize and getDefaultReplication ViewFileSystem does not correctly implement getDefaultBlockSize, getDefaultReplication, getContentSummary
          Assignee Daryn Sharp [ daryn ] John George [ johnvijoe ]
          Affects Version/s 0.23.2 [ 12319855 ]
          John George made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          John George made changes -
          Attachment HADOOP-8014.patch [ 12520183 ]
          John George made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          John George made changes -
          Attachment HADOOP-8014.patch [ 12520434 ]
          John George made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Daryn Sharp made changes -
          Attachment HADOOOP-8014.branch-1.patch [ 12520631 ]
          Daryn Sharp made changes -
          Attachment HADOOOP-8014.branch-1.patch [ 12520631 ]
          John George made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          John George made changes -
          Attachment HADOOP-8014.patch [ 12520663 ]
          John George made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          John George made changes -
          Attachment HADOOP-8014.patch [ 12521506 ]
          John George made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          John George made changes -
          Attachment HADOOP-8014.patch [ 12521558 ]
          John George made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          John George made changes -
          Attachment HADOOP-8014.patch [ 12521694 ]
          John George made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          John George made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Robert Joseph Evans made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.23.3 [ 12320059 ]
          Fix Version/s 2.0.0 [ 12320352 ]
          Resolution Fixed [ 1 ]
          Eli Collins made changes -
          Link This issue is related to HADOOP-8422 [ HADOOP-8422 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Eli Collins made changes -
          Link This issue is related to HADOOP-8430 [ HADOOP-8430 ]
          Arun C Murthy made changes -
          Fix Version/s 2.0.2-alpha [ 12322473 ]
          Fix Version/s 2.0.0-alpha [ 12320352 ]
          Daryn Sharp made changes -
          Link This issue relates to HADOOP-9631 [ HADOOP-9631 ]
          Brandon Li made changes -
          Link This issue is related to HADOOP-10425 [ HADOOP-10425 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development