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

Jianbin Wei commented on HADOOP-8865:
-------------------------------------

Yes I saw the code and it intends to do that only when the properties is being 
set but not being loaded.

Following is some log after my initial change

{{[ ../hadoop-3.0.0-SNAPSHOT] ⚡ sbin/start-dfs.sh
12/09/28 09:54:03 WARN (Configuration.java:warnOnceIfDeprecated(826)) 
conf.Configuration: io.bytes.per.checksum is deprecated. Instead, use 
dfs.bytes-per-checksum in core-default.xml
12/09/28 09:54:03 WARN (Configuration.java:warnOnceIfDeprecated(826)) 
conf.Configuration: fs.default.name is deprecated. Instead, use fs.defaultFS in 
core-default.xml
12/09/28 09:54:03 WARN (Configuration.java:warnOnceIfDeprecated(826)) 
conf.Configuration: io.bytes.per.checksum is deprecated. Instead, use 
dfs.bytes-per-checksum in core-default.xml
12/09/28 09:54:03 WARN (Configuration.java:warnOnceIfDeprecated(826)) 
conf.Configuration: fs.default.name is deprecated. Instead, use fs.defaultFS in 
core-default.xml
12/09/28 09:54:03 WARN (Configuration.java:warnOnceIfDeprecated(826)) 
conf.Configuration: io.bytes.per.checksum is deprecated. Instead, use 
dfs.bytes-per-checksum in core-default.xml}}
                
> 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
>            Reporter: Jianbin Wei
>             Fix For: 3.0.0
>
>
> We need to log warn when loading deprecated properties. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to