Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8751

Remove setBlocks API from INodeFile and misc code cleanup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • namenode
    • None
    • Reviewed

    Description

      The public INodeFile#setBlocks API, when used outside INodeFile, is always called with null. Therefore we should replace it with a safer clearBlocks API. Also merging code cleanups from HDFS-7285 branch.

      Attachments

        1. HDFS-8751.00.patch
          5 kB
          Zhe Zhang
        2. HDFS-8751.01.patch
          6 kB
          Zhe Zhang

        Activity

          People

            zhz Zhe Zhang
            zhz Zhe Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: