[ 
https://issues.apache.org/jira/browse/SPARK-36737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yang Jie updated SPARK-36737:
-----------------------------
    Description: 
{{`JavaUtils.closeQuietly`}} looks to be slightly different from 
`{{IOUtils.closeQuietly`}} in default behavior. Swallowing IOException is same, 
but the former logs it as ERROR while the latter doesn't log by default. 

 

And Apache commons-io community decided to retain the `IOUtils.closeQuietly` 
method in new version and removed deprecated annotation.

 

So we can upgrade `{{commons-io`}} to version 2.11.0, and revert the change of 
SPARK-36456

to maintain original behavior(don't print error log).

 

  was:
{{`JavaUtils.closeQuietly`}} looks to be slightly different from 
`{{IOUtils.closeQuietly`}} in default behavior. Swallowing IOException is same, 
but the former logs it as ERROR while the latter doesn't log by default. 

 

And Apache commons-io community decided to retain the 
`{{IOUtils.closeQuietly`}}method in new version and removed deprecated 
annotation.

 

So we can upgrade `{{commons-io`}} to version 2.11.0, and revert the change of 
SPARK-36456

to maintain original behavior(don't print error log).

 


> Upgrade commons-io to 2.11.0 and revert change of SPARK-36456
> -------------------------------------------------------------
>
>                 Key: SPARK-36737
>                 URL: https://issues.apache.org/jira/browse/SPARK-36737
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build, Spark Core, SQL, Structured Streaming
>    Affects Versions: 3.3.0
>            Reporter: Yang Jie
>            Priority: Minor
>
> {{`JavaUtils.closeQuietly`}} looks to be slightly different from 
> `{{IOUtils.closeQuietly`}} in default behavior. Swallowing IOException is 
> same, but the former logs it as ERROR while the latter doesn't log by 
> default. 
>  
> And Apache commons-io community decided to retain the `IOUtils.closeQuietly` 
> method in new version and removed deprecated annotation.
>  
> So we can upgrade `{{commons-io`}} to version 2.11.0, and revert the change 
> of SPARK-36456
> to maintain original behavior(don't print error log).
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to