Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2802 Support for RW/RO snapshots in HDFS
  3. HDFS-4707

Fix FilterFileSystem and findbugs warning in Snapshot branch

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      The snapshot methods are not added to FilterFileSystem.

      Findbugs warnings:

      • SIC Should snapshot.Snapshot$Root be a static inner class?
      • WMI Method FSImageFormat$Saver.saveImage(ByteBuffer, INodeDirectory, DataOutputStream, Snapshot, boolean) makes inefficient use of keySet iterator instead of entrySet iterator
      • BC Unchecked/unconfirmed cast from FSImageSerialization.writeINodeFile(INodeFile, DataOutput, boolean)
      • BC Unchecked/unconfirmed cast from snapshot.SnapshotFSImageFormat.loadDirectoryDiffList(INodeDirectory, DataInput, FSImageFormat$Loader)

        Attachments

        1. h4707_20130417.patch
          6 kB
          Tsz-wo Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz-wo Sze
              Reporter:
              szetszwo Tsz-wo Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: