You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2015/11/25 21:40:11 UTC
[jira] [Commented] (HADOOP-12601) findbugs highlights problem with
FsPermission
[ https://issues.apache.org/jira/browse/HADOOP-12601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15027558#comment-15027558 ]
Wei-Chiu Chuang commented on HADOOP-12601:
------------------------------------------
Hi [~steve_l]. My patch at HDFS-9451 will remove the unused local variable oldUmask.
> findbugs highlights problem with FsPermission
> ---------------------------------------------
>
> Key: HADOOP-12601
> URL: https://issues.apache.org/jira/browse/HADOOP-12601
> Project: Hadoop Common
> Issue Type: Bug
> Components: build, io
> Affects Versions: 3.0.0
> Environment: yetus
> Reporter: Steve Loughran
>
> Findbugs is warning of a problem in {{FsPermission}}
> {code}
> n class org.apache.hadoop.fs.permission.FsPermission
> In method org.apache.hadoop.fs.permission.FsPermission.getUMask(Configuration)
> Local variable named oldUmask
> At FsPermission.java:[line 249]
> {code}
> This may actually be a sign of a bug in the code, but as it's reading a key tagged as deprecated since 2010 and to be culled in 0.23, maybe cutting the line is the strategy. After all, if the code has been broken, and nobody complained, that deprecation worked
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)