"Maximum cache size %s must be positive, but is set to %s", PropertyKey.MASTER_METASTORE_INODE_CACHE_MAX_SIZE.getName(), maxSize); float highWaterMarkRatio = ConfigurationUtils.checkRatio(conf, PropertyKey.MASTER_METASTORE_INODE_CACHE_HIGH_WATER_MARK_RATIO); int highWaterMark = Math.round(maxSize * highWaterMarkRatio); float lowWaterMarkRatio = ConfigurationUtils.checkRatio(conf, PropertyKey.MASTER_METASTORE_INODE_CACHE_LOW_WATER_MARK_RATIO); Preconditions.checkState(lowWaterMarkRatio <= highWaterMarkRatio,