Class JournalNodeSyncer
java.lang.Object
org.apache.hadoop.hdfs.qjournal.server.JournalNodeSyncer
A Journal Sync thread runs through the lifetime of the JN. It periodically
gossips with other journal nodes to compare edit log manifests and if it
detects any missing log segment, it downloads it from the other journal node
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected List<InetSocketAddress>getJournalAddrList(String uriStr) booleanvoid
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Method Details
-
start
-
isJournalSyncerStarted
public boolean isJournalSyncerStarted() -
getJournalAddrList
@VisibleForTesting protected List<InetSocketAddress> getJournalAddrList(String uriStr) throws URISyntaxException, IOException - Throws:
URISyntaxExceptionIOException
-