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

A NullPointerException occurs when calling setPermission and permission is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 3.3.2
    • hdfs-client
    • None

    Description

      when calling setPermission and permission parameter is null, a  NullPointerException will occurs. According to the official manual, the method doesn't say that the parameter is not empty. when without the permission parameter  the mode of new directory is P & ^umask & 0777 and the mode of the new file is P & ^umask & 0666

      Attachments

        Activity

          People

            Unassigned Unassigned
            iabetor Congyong Ruan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: