Package org.apache.storm.utils
Class ServerConfigUtils
java.lang.Object
org.apache.storm.utils.ServerConfigUtils
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringabsoluteHealthCheckDir(Map<String, Object> conf) static intstatic FilegetLogMetaDataFile(String fname) static FilegetTopoLogsGroups(Map<String, Object> topologyConf) getTopoLogsUsers(Map<String, Object> topologyConf) static StringmasterInbox(Map<String, Object> conf) static StringmasterInimbusDir(Map<String, Object> conf) static StringmasterLocalDir(Map<String, Object> conf) static StringmasterStormDistRoot(Map<String, Object> conf) static StringmasterStormDistRoot(Map<String, Object> conf, String stormId) static StringmasterStormJarPath(String stormRoot) static LocalStatenimbusTopoHistoryState(Map<String, Object> conf) static ServerConfigUtilsProvide an instance of this class for delegates to use.static StringsupervisorIsupervisorDir(Map<String, Object> conf) static LocalStatesupervisorState(Map<String, Object> conf) supervisorStateImpl(Map<String, Object> conf) static StringsupervisorTmpDir(Map<String, Object> conf) 
- 
Field Details- 
FILE_SEPARATOR
- 
NIMBUS_DO_NOT_REASSIGN- See Also:
 
- 
RESOURCES_SUBDIR- See Also:
 
 
- 
- 
Constructor Details- 
ServerConfigUtilspublic ServerConfigUtils()
 
- 
- 
Method Details- 
setInstanceProvide an instance of this class for delegates to use. To mock out delegated methods, provide an instance of a subclass that overrides the implementation of the delegated method.- Parameters:
- u- a ServerConfigUtils instance
- Returns:
- the previously set instance
 
- 
masterLocalDir- Throws:
- IOException
 
- 
masterInimbusDir- Throws:
- IOException
 
- 
nimbusTopoHistoryState- Throws:
- IOException
 
- 
masterInbox- Throws:
- IOException
 
- 
masterStormDistRoot- Throws:
- IOException
 
- 
masterStormDistRootpublic static String masterStormDistRoot(Map<String, Object> conf, String stormId) throws IOException- Throws:
- IOException
 
- 
getTopoLogsUsers
- 
getTopoLogsGroups
- 
supervisorTmpDir- Throws:
- IOException
 
- 
supervisorIsupervisorDir- Throws:
- IOException
 
- 
supervisorState- Throws:
- IOException
 
- 
absoluteHealthCheckDir
- 
getLogMetaDataFile
- 
getLogMetaDataFile
- 
masterStormJarPath
- 
supervisorStateImpl- Throws:
- IOException
 
- 
nimbusTopoHistoryStateImpl- Throws:
- IOException
 
- 
getLocalizerUpdateBlobInterval
 
-