[
https://issues.apache.org/jira/browse/HDFS-16567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ruancongyong updated HDFS-16567:
--------------------------------
Description: when calling setPermission and permission parameter is null, a
NullPointerException will occurs. According to the [official
manual,|https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HdfsPermissionsGuide.html]
the method doesn't say that the parameter is not empty
Summary: A NullPointerException occurs when calling setPermission and
permission is null (was: A NullPointerException occurs when call
setPermission and permission is null )
> A NullPointerException occurs when calling setPermission and permission is
> null
> --------------------------------------------------------------------------------
>
> Key: HDFS-16567
> URL: https://issues.apache.org/jira/browse/HDFS-16567
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Reporter: ruancongyong
> Priority: Minor
> Fix For: 3.3.2
>
>
> when calling setPermission and permission parameter is null, a
> NullPointerException will occurs. According to the [official
> manual,|https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HdfsPermissionsGuide.html]
> the method doesn't say that the parameter is not empty
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]