[
https://issues.apache.org/jira/browse/HDFS-10841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiao Chen updated HDFS-10841:
-----------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 3.0.0-alpha2
2.8.0
Status: Resolved (was: Patch Available)
Committed to trunk, branch-2 and branch-2.8. Backporting to branch-2 has a
trivial conflict, compiled before pushing.
Thanks Kihwal for the quick fix!
> Remove duplicate or unused variable in appendFile()
> ---------------------------------------------------
>
> Key: HDFS-10841
> URL: https://issues.apache.org/jira/browse/HDFS-10841
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Priority: Minor
> Fix For: 2.8.0, 3.0.0-alpha2
>
> Attachments: HDFS-10841.patch
>
>
> A new findbugs warning was reported (See HDFS-10745). branch-2.8 might have
> the same problem.
> {noformat}
> Code Warning
> DLS Dead store to src in
> org.apache.hadoop.hdfs.server.namenode.FSDirAppendOp
> .appendFile(FSNamesystem, String, FSPermissionChecker, String, String,
> boolean, boolean)
> Bug type DLS_DEAD_LOCAL_STORE (click for details)
> In class org.apache.hadoop.hdfs.server.namenode.FSDirAppendOp
> In method org.apache.hadoop.hdfs.server.namenode.FSDirAppendOp
> .appendFile(FSNamesystem, String, FSPermissionChecker, String, String,
> boolean, boolean)
> Local variable named src
> At FSDirAppendOp.java:[line 92]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]