Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0
Description
Currently the State Store Driver relevant settings only written in its implement classes.
public class StateStoreZooKeeperImpl extends StateStoreSerializableImpl { ... /** Configuration keys. */ public static final String FEDERATION_STORE_ZK_DRIVER_PREFIX = DFSConfigKeys.FEDERATION_STORE_PREFIX + "driver.zk."; public static final String FEDERATION_STORE_ZK_PARENT_PATH = FEDERATION_STORE_ZK_DRIVER_PREFIX + "parent-path"; public static final String FEDERATION_STORE_ZK_PARENT_PATH_DEFAULT = "/hdfs-federation"; ..
Actually, they should be moved into class DFSConfigKeys and documented in file hdfs-default.xml. This will help more users know these settings and know how to use.