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

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

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

   @zabetak and @slfan1989 , sorry, I think we may need to revert #7766 and 
#7737 . I noticed that all of the deprecation warnings are coming out in shell 
command output, which is unexpected and may break scripting. These are warnings 
for properties declared in core-default.xml, so they aren't easily within the 
user's control.
   
   ```
   > bin/hadoop fs -ls gs://cnauroth-bucket
   2025-08-29 21:08:04,116 INFO Configuration.deprecation: fs.default.name in 
core-default.xml is deprecated. Instead, use fs.defaultFS
   2025-08-29 21:08:04,311 INFO Configuration.deprecation: fs.default.name in 
core-default.xml is deprecated. Instead, use fs.defaultFS
   2025-08-29 21:08:04,397 INFO Configuration.deprecation: fs.default.name in 
core-default.xml is deprecated. Instead, use fs.defaultFS
   2025-08-29 21:08:04,558 INFO Configuration.deprecation: fs.default.name in 
core-default.xml is deprecated. Instead, use fs.defaultFS
   2025-08-29 21:08:04,724 INFO Configuration.deprecation: 
io.bytes.per.checksum in core-default.xml is deprecated. Instead, use 
dfs.bytes-per-checksum
   2025-08-29 21:08:04,724 INFO Configuration.deprecation: fs.default.name in 
core-default.xml is deprecated. Instead, use fs.defaultFS
   Found 80 items
   ...
   ```
   




> log warn when loading deprecated properties
> -------------------------------------------
>
>                 Key: HADOOP-8865
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8865
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: conf
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Jianbin Wei
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>              Labels: BB2015-05-TBR, newbie, pull-request-available
>             Fix For: 3.5.0
>
>         Attachments: HADOOP-8865.patch, HADOOP-8865.patch, HADOOP-8865.patch
>
>
> We need to log warn when loading deprecated properties. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to