ZhaoBQ commented on pull request #3139:
URL: https://github.com/apache/hbase/pull/3139#issuecomment-833286386


   At the beginning, I imitated other deprecated configurations and tried to 
use Configuration.addDeprecation(), I found that our use of 
Configuration.addDeprecation() was wrong. The key is that the order of calling 
is wrong, we should addDeprecation() before init Configuration object. We can 
see org.apache.hadoop.hdfs.HdfsConfiguration: 
https://github.com/apache/hadoop/blob/b93e448f9aa66689f1ce5059f6cdce8add130457/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/HdfsConfiguration.java#L34
 . 
   So do we need to create another issue to correct this wrong usage first 
@ndimiduk ?


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to