[
https://issues.apache.org/jira/browse/HADOOP-17950?focusedWorklogId=659503&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-659503
]
ASF GitHub Bot logged work on HADOOP-17950:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 04/Oct/21 11:14
Start Date: 04/Oct/21 11:14
Worklog Time Spent: 10m
Work Description: virajjasani commented on pull request #3515:
URL: https://github.com/apache/hadoop/pull/3515#issuecomment-933382469
Thanks @aajisaka. As of today, the default implementation that we are using
is default charset only. For instance:
```
@Deprecated
public static List<String> readLines(final InputStream input) throws
IOException {
return readLines(input, Charset.defaultCharset());
}
```
```
@Deprecated
public static void copy(final InputStream input, final Writer output)
throws IOException {
copy(input, output, Charset.defaultCharset());
}
```
Hence, I thought we should stick to it. Although default is going to use
"UTF-8" underneath, if we use `StandardCharsets.UTF_8` right away, isn't it an
incompatible change in the behaviour of these APIs?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 659503)
Time Spent: 50m (was: 40m)
> Provide replacement for deprecated APIs of commons-io IOUtils
> -------------------------------------------------------------
>
> Key: HADOOP-17950
> URL: https://issues.apache.org/jira/browse/HADOOP-17950
> Project: Hadoop Common
> Issue Type: Task
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Replace deprecated API usage of commons-io IOUtils after we have upgraded
> commons-io as part of HADOOP-17683.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]