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

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

cnauroth opened a new pull request, #8148:
URL: https://github.com/apache/hadoop/pull/8148

   ### Description of PR
   
   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.)
   
   ```
   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
   ```
   
   ### How was this patch tested?
   
   Build the distro:
   
   ```
   mvn clean package -Pdist -Dtar -DskipTests
   ```
   
   Verify the command above no longer produces deprecation warnings.
   
   ### For code changes:
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




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