Brahma Reddy Battula created HDFS-10945:
-------------------------------------------

             Summary: 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


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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to