-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tony-site.xml configs into tonyConf Moved tony.history.location out of tony-default.xml Fixed util function + skips config check in test Removed redundate else statement in startTHS.sh Replaced history file path in application.example.conf Used TonyConfigurationKeys instead of hardcoded string Added all config for history server in tony-default.xml + TonyConfigurationKeys Refactored Tony config intialization method
- Loading branch information
Showing
10 changed files
with
155 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,37 @@ private TonyConfigurationKeys() { | |
|
||
// History folder configuration | ||
public static final String TONY_HISTORY_LOCATION = TONY_PREFIX + "history.location"; | ||
public static final String DEFAULT_TONY_HISTORY_LOCATION = "/system/tony-history/"; | ||
public static final String DEFAULT_TONY_HISTORY_LOCATION = "/system/tony-history"; | ||
|
||
public static final String TONY_KEYTAB_USER = TONY_PREFIX + "keytab.user"; | ||
public static final String DEFAULT_TONY_KEYTAB_USER = "tony/[email protected]"; | ||
|
||
public static final String TONY_KEYTAB_LOCATION = TONY_PREFIX + "keytab.location"; | ||
public static final String DEFAULT_TONY_KEYTAB_LOCATION = "/export/apps/hadoop/keytabs/tony.keytab"; | ||
|
||
public static final String TONY_HTTPS_PORT = TONY_PREFIX + "https.port"; | ||
public static final String DEFAULT_TONY_HTTPS_PORT = "19886"; | ||
|
||
public static final String TONY_HTTPS_KEYSTORE_PATH = TONY_PREFIX + "https.keystore.path"; | ||
public static final String DEFAULT_TONY_HTTPS_KEYSTORE_PATH = "/export/apps/tony/ltx1-unojh01.grid.linkedin.com.jks"; | ||
|
||
public static final String TONY_HTTPS_KEYSTORE_TYPE = TONY_PREFIX + "https.keystore.type"; | ||
public static final String DEFAULT_TONY_HTTPS_KEYSTORE_TYPE = "JKS"; | ||
|
||
public static final String TONY_HTTPS_KEYSTORE_PASSWORD = TONY_PREFIX + "https.keystore.password"; | ||
public static final String DEFAULT_TONY_HTTPS_KEYSTORE_PASSWORD = "password"; | ||
|
||
public static final String TONY_HTTPS_KEYSTORE_ALGORITHM = TONY_PREFIX + "https.keystore.algorithm"; | ||
public static final String DEFAULT_TONY_HTTPS_KEYSTORE_ALGORITHM = "SunX509"; | ||
|
||
public static final String TONY_HTTP_PORT = TONY_PREFIX + "http.port"; | ||
public static final String DEFAULT_TONY_HTTP_PORT = "disabled"; | ||
|
||
public static final String TONY_SECRET_KEY = TONY_PREFIX + "secret.key"; | ||
public static final String DEFAULT_TONY_SECRET_KEY = "Prod"; | ||
|
||
public static final String TONY_INIT_MODULE = TONY_PREFIX + "init.module"; | ||
public static final String DEFAULT_TONY_INIT_MODULE = "Startup"; | ||
|
||
// Application configurations | ||
public static final String YARN_QUEUE_NAME = TONY_PREFIX + "yarn.queue"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters