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

Redundant checkOperation() in FSN.analyzeFileState()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.7.0
    • Component/s: namenode
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      FSN.analyzeFileState() should not call checkOperation(). It is already properly checked before the call. First time as READ category, second time as WRITE.

        Attachments

        1. HDFS-7335.patch
          0.7 kB
          Milan Desai
        2. HDFS-7335.patch
          0.7 kB
          Milan Desai

          Activity

            People

            • Assignee:
              milandesai Milan Desai
              Reporter:
              shv Konstantin Shvachko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: