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?
   
   


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


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

Reply via email to