YARN-8614. Fix few annotation typos in YarnConfiguration. Contributed by Sen Zhao.

This commit is contained in:
Weiwei Yang 2018-08-15 12:15:54 +08:00
parent bdd0e01ed9
commit 8dc07b4723
1 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ public class YarnConfiguration extends Configuration {
public static final String DEFAULT_IPC_SERVER_FACTORY_CLASS = public static final String DEFAULT_IPC_SERVER_FACTORY_CLASS =
"org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl"; "org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl";
/** Factory to create serializeable records.*/ /** Factory to create serializable records.*/
public static final String IPC_RECORD_FACTORY_CLASS = public static final String IPC_RECORD_FACTORY_CLASS =
IPC_PREFIX + "record.factory.class"; IPC_PREFIX + "record.factory.class";
public static final String DEFAULT_IPC_RECORD_FACTORY_CLASS = public static final String DEFAULT_IPC_RECORD_FACTORY_CLASS =
@ -1151,7 +1151,7 @@ public class YarnConfiguration extends Configuration {
public static final String DEFAULT_NM_ADDRESS = "0.0.0.0:" public static final String DEFAULT_NM_ADDRESS = "0.0.0.0:"
+ DEFAULT_NM_PORT; + DEFAULT_NM_PORT;
/** The actual bind address or the NM.*/ /** The actual bind address for the NM.*/
public static final String NM_BIND_HOST = public static final String NM_BIND_HOST =
NM_PREFIX + "bind-host"; NM_PREFIX + "bind-host";