Skip to content

Commit

Permalink
Custom ID_RSA feature in Constants.java and config file (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
iuhoay authored May 23, 2023
1 parent 112ce9a commit d7ce888
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public final class Constants {
public static final String HOST_MAP = "_host_map";
public static final String COMMAND_HOST_ID = "command_host_id";
public static final String HOST_MD5 = "_host_md5";
public static final String ID_RSA = "/.ssh/id_rsa";
public static final String ID_RSA = PropertyUtils.getString("id_rsa", "/.ssh/id_rsa");
public static final String HOSTNAME = "hostname";

public static final String MASTER_MANAGE_PACKAGE_PATH = INSTALL_PATH + "/DDP/packages";
Expand Down
3 changes: 2 additions & 1 deletion datasophon-common/src/main/resources/common.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ rows=200
times=20
timeOutPeriodOne=1
timeOutPeriodTwo=2
HADOOP_HOME=/opt/datasophon/hadoop-3.3.3
HADOOP_HOME=/opt/datasophon/hadoop-3.3.3
id_rsa=/.ssh/id_rsa

0 comments on commit d7ce888

Please sign in to comment.