As these two constants are used by DFSClient which is to be moved to hadoop-hdfs-client module (see
HDFS-8053), we consider these two constants should be moved to hadoop-hdfs-client module. A good place is HdfsConstants which contains for both server and client side constants.
This jiras tracks the effort of moving LEASE_SOFTLIMIT_PERIOD and LEASE_HARDLIMIT_PERIOD constants from server side class HdfsServerConstants to client side class HdfsConstants.
These two constants are mainly used in server side. It's better to not deprecate them but just leave them as copies of the values from HdfsConstants.