[
https://issues.apache.org/jira/browse/HDFS-12789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Íñigo Goiri updated HDFS-12789:
-------------------------------
Description:
Other JIRAs (e.g., HDFS-12671), generate a FindBug issues:
{code}
Bug type OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE (click for details)
In class org.apache.hadoop.hdfs.server.namenode.ImageWriter
In method new
org.apache.hadoop.hdfs.server.namenode.ImageWriter(ImageWriter$Options)
Reference type java.io.OutputStream
1 instances of obligation remaining
Obligation to clean up resource created at ImageWriter.java:[line 170] is not
discharged
Remaining obligations: {OutputStream x 1}
{code}
> [READ] Image generation tool does not close an opened stream
> ------------------------------------------------------------
>
> Key: HDFS-12789
> URL: https://issues.apache.org/jira/browse/HDFS-12789
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Virajith Jalaparti
>
> Other JIRAs (e.g., HDFS-12671), generate a FindBug issues:
> {code}
> Bug type OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE (click for details)
> In class org.apache.hadoop.hdfs.server.namenode.ImageWriter
> In method new
> org.apache.hadoop.hdfs.server.namenode.ImageWriter(ImageWriter$Options)
> Reference type java.io.OutputStream
> 1 instances of obligation remaining
> Obligation to clean up resource created at ImageWriter.java:[line 170] is not
> discharged
> Remaining obligations: {OutputStream x 1}
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]