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

Attila Doroszlai commented on HDDS-9411:
----------------------------------------

Currently there are no usages of FileInputStream/FileOutputStream in Ozone.  
Let's add ban their import to prevent future use.

See 
https://github.com/szetszwo/ratis/blob/862684066a5b6ac5ba49e3a10c0b0f01e488b775/pom.xml#L489-L507
 for reference.

> Do not use FileInputStream/FileOutputStream
> -------------------------------------------
>
>                 Key: HDDS-9411
>                 URL: https://issues.apache.org/jira/browse/HDDS-9411
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Tsz-wo Sze
>            Priority: Major
>              Labels: GoodForNewContributors
>
> java.io.FileInputStream/FileOutputStream override the finalize() method.  It 
> will cause longer gc time.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to