hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10945) Fix the Findbugwaring FSNamesystem#renameTo(String, String, boolean) in branch-2
Date Tue, 04 Oct 2016 01:25:21 GMT

    [ https://issues.apache.org/jira/browse/HDFS-10945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15544001#comment-15544001
] 

Brahma Reddy Battula commented on HDFS-10945:
---------------------------------------------

Thanks [~kihwal] for review and commit.

> Fix the Findbugwaring FSNamesystem#renameTo(String, String, boolean) in branch-2
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-10945
>                 URL: https://issues.apache.org/jira/browse/HDFS-10945
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>             Fix For: 2.8.0
>
>         Attachments: HDFS-10945-branch-2.patch
>
>
> Link : https://builds.apache.org/job/PreCommit-HDFS-Build/16972/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html#Warnings_CORRECTNESS
> {noformat}
> Nullcheck of ret at line 2696 of value previously dereferenced in org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameTo(String,
String, boolean)
> Bug type RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE (click for details) 
> In class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
> In method org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameTo(String, String,
boolean)
> Value loaded from ret
> Return value of org.apache.hadoop.hdfs.server.namenode.FSDirRenameOp.renameToInt(FSDirectory,
String, String, boolean) of type org.apache.hadoop.hdfs.server.namenode.FSDirRenameOp$RenameResult
> At FSNamesystem.java:[line 2696]
> Redundant null check at FSNamesystem.java:[line 2700]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message