Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6415

Missing null check in FSImageSerialization#writePermissionStatus()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:

      Description

          PermissionStatus.write(out, inode.getUserName(), inode.getGroupName(), p);
      

      getUserName() / getGroupName() may return null.
      null check should be added for these two calls.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Chen He
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development