@InterfaceAudience.Private public class ReplicationChecker extends Object
Modifier and Type | Field and Description |
---|---|
private ReplicationZKNodeCleaner |
cleaner |
private HbckErrorReporter |
errorReporter |
private static org.slf4j.Logger |
LOG |
private Set<String> |
undeletedHFileRefsQueueIds |
private Map<String,List<String>> |
undeletedQueueIds |
Constructor and Description |
---|
ReplicationChecker(org.apache.hadoop.conf.Configuration conf,
ZKWatcher zkw,
ClusterConnection connection,
HbckErrorReporter errorReporter) |
Modifier and Type | Method and Description |
---|---|
private void |
checkUnDeletedHFileRefsQueues() |
void |
checkUnDeletedQueues() |
private void |
fixUnDeletedHFileRefsQueue() |
void |
fixUnDeletedQueues() |
boolean |
hasUnDeletedQueues() |
private static final org.slf4j.Logger LOG
private final HbckErrorReporter errorReporter
private Map<String,List<String>> undeletedQueueIds
private Set<String> undeletedHFileRefsQueueIds
private final ReplicationZKNodeCleaner cleaner
public ReplicationChecker(org.apache.hadoop.conf.Configuration conf, ZKWatcher zkw, ClusterConnection connection, HbckErrorReporter errorReporter) throws IOException
IOException
public boolean hasUnDeletedQueues()
public void checkUnDeletedQueues() throws IOException
IOException
private void checkUnDeletedHFileRefsQueues() throws IOException
IOException
public void fixUnDeletedQueues() throws IOException
IOException
private void fixUnDeletedHFileRefsQueue() throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.