HDFS-11747. Ozone : need to fix OZONE_SCM_DEFAULT_PORT. Contributed by Chen Liang.

This commit is contained in:
Anu Engineer 2017-05-03 13:48:06 -07:00 committed by Owen O'Malley
parent 3158f479d3
commit ee8708ca31

View File

@ -131,7 +131,8 @@ public final class ScmConfigKeys {
// able to send back a new list to the datanodes. // able to send back a new list to the datanodes.
public static final String OZONE_SCM_NAMES = "ozone.scm.names"; public static final String OZONE_SCM_NAMES = "ozone.scm.names";
public static final int OZONE_SCM_DEFAULT_PORT = 9862; public static final int OZONE_SCM_DEFAULT_PORT =
OZONE_SCM_DATANODE_PORT_DEFAULT;
// File Name and path where datanode ID is to written to. // File Name and path where datanode ID is to written to.
// if this value is not set then container startup will fail. // if this value is not set then container startup will fail.
public static final String OZONE_SCM_DATANODE_ID = "ozone.scm.datanode.id"; public static final String OZONE_SCM_DATANODE_ID = "ozone.scm.datanode.id";