-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add check for taskmanager config (#1262)
* Add check for taskmanager config * Add config exception * Add check for spark.default.conf * Add config of hadoop.conf.dir * Ignore the taskmanager client which starts local taskmanager server
- Loading branch information
1 parent
37e4a6f
commit d4a07c5
Showing
7 changed files
with
188 additions
and
66 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
...taskmanager/src/main/java/com/_4paradigm/openmldb/taskmanager/config/ConfigException.java
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com._4paradigm.openmldb.taskmanager.config; | ||
|
||
/** | ||
* The exception for incorrect configuration. | ||
*/ | ||
public class ConfigException extends Exception { | ||
|
||
public ConfigException(String config, String message) { | ||
super(String.format("Error of config '%s': %s", config, message)); | ||
} | ||
|
||
} |
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