Interface SecondaryNameNodeInfoMXBean
- All Superinterfaces:
VersionInfoMXBean
- All Known Implementing Classes:
SecondaryNameNode
JMX information of the secondary NameNode
-
Method Summary
Methods inherited from interface org.apache.hadoop.hdfs.server.namenode.VersionInfoMXBean
getCompileInfo, getSoftwareVersion
-
Method Details
-
getHostAndPort
String getHostAndPort()Gets the host and port colon separated. -
isSecurityEnabled
boolean isSecurityEnabled()Gets if security is enabled.- Returns:
- true, if security is enabled.
-
getStartTime
long getStartTime()- Returns:
- the timestamp of when the SNN starts
-
getLastCheckpointTime
long getLastCheckpointTime()- Returns:
- the timestamp of the last checkpoint
-
getLastCheckpointDeltaMs
long getLastCheckpointDeltaMs()- Returns:
- the number of msec since the last checkpoint, or -1 if no checkpoint has been done yet.
-
getCheckpointDirectories
String[] getCheckpointDirectories()- Returns:
- the directories that store the checkpoint images
-
getCheckpointEditlogDirectories
String[] getCheckpointEditlogDirectories()- Returns:
- the directories that store the edit logs
-