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

ASF GitHub Bot commented on HADOOP-19763:
-----------------------------------------

cnauroth commented on PR #8148:
URL: https://github.com/apache/hadoop/pull/8148#issuecomment-3697243573

   @zabetak , great idea! I pushed up a new test. I'll do the same for YARN in 
#8149 .
   
   I don't have plans right now for adding test coverage of others 
(hdfs-default.xml, mapred-default.xml, distcp-default.xml, etc.). The same 
technique could apply there though if anyone wants to add those in the future.




> Remove deprecated properties from core-default.xml
> --------------------------------------------------
>
>                 Key: HADOOP-19763
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19763
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Major
>              Labels: pull-request-available
>
> Recent trunk changes now produce more assertive warnings about use of 
> deprecated configuration properties. With some of these deprecated properties 
> included in core-default.xml, that means every process launched logs the 
> warnings. Remove them from core-default.xml to avoid these warnings. (Note 
> that this does not take the step of actually removing the code that uses the 
> deprecated properties. They'll continue to work. We just don't want warnings 
> logged by default if the user didn't specifically use these properties.)
> {code}
> hadoop fs -ls /
> 2025-12-26 23:17:33,154 INFO Configuration.deprecation: fs.default.name in 
> core-default.xml is deprecated. Instead, use fs.defaultFS
> 2025-12-26 23:17:33,307 INFO Configuration.deprecation: io.bytes.per.checksum 
> in core-default.xml is deprecated. Instead, use dfs.bytes-per-checksum
> {code}



--
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