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

Namenode operation checks should be done in a consistent manner

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-beta
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Different operations performs checks in different order. I propose consistently checking the following in namenode operations:

      1. Print debug log related to the operation
      2. validate the input parameters, file names
      3. Grab read or write lock
        • check if system is ready for read or write operation
        • check if system is in safemode (for write operations)
        • check permissions to see if the user is owner, has access or is super user privileges
      4. Release the lock

        Attachments

        1. HDFS-4679.patch
          23 kB
          Suresh Srinivas
        2. HDFS-4679.patch
          25 kB
          Suresh Srinivas

          Issue Links

            Activity

              People

              • Assignee:
                sureshms Suresh Srinivas
                Reporter:
                sureshms Suresh Srinivas
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: