public class ReplDumpWork extends Object implements Serializable
| Constructor and Description |
|---|
ReplDumpWork(org.apache.hadoop.hive.common.repl.ReplScope replScope,
String astRepresentationForErrorMsg,
String resultTempPath) |
public ReplDumpWork(org.apache.hadoop.hive.common.repl.ReplScope replScope, String astRepresentationForErrorMsg, String resultTempPath)
public static void injectNextDumpDirForTest(String dumpDir)
public static void injectNextDumpDirForTest(String dumpDir, boolean autoIncr)
public static String getTestInjectDumpDir()
public static String getInjectNextDumpDirForTest()
public static void testDeletePreviousDumpMetaPath(boolean failDeleteDumpMeta)
public boolean isFirstDumpAfterFailover()
public void setFirstDumpAfterFailover(boolean firstDumpAfterFailover)
public boolean isBootstrap()
public void setExternalTblCopyPathIterator(Iterator<String> externalTblCopyPathIterator)
public void setManagedTableCopyPathIterator(Iterator<String> managedTblCopyPathIterator)
public void setFunctionCopyPathIterator(Iterator<EximUtil.DataCopyPath> functionCopyPathIterator)
public boolean dataCopyIteratorsInitialized()
public org.apache.hadoop.fs.Path getCurrentDumpPath()
public void setCurrentDumpPath(org.apache.hadoop.fs.Path currentDumpPath)
public List<Task<?>> externalTableCopyTasks(TaskTracker tracker, HiveConf conf) throws IOException
IOExceptionpublic List<Task<?>> managedTableCopyTasks(TaskTracker tracker, HiveConf conf) throws IOException
IOExceptionpublic List<Task<?>> functionsBinariesCopyTasks(TaskTracker tracker, HiveConf conf)
public boolean shouldOverWrite()
public void setShouldOverwrite(boolean shouldOverwrite)
public ReplicationMetricCollector getMetricCollector()
public void setMetricCollector(ReplicationMetricCollector metricCollector)
public ReplicationSpec getReplicationSpec()
public void setReplicationSpec(ReplicationSpec replicationSpec)
public ReplLogger getReplLogger()
public void setReplLogger(ReplLogger replLogger)
public boolean isSecondDumpAfterFailover()
public void setSecondDumpAfterFailover(boolean secondDumpAfterFailover)
Copyright © 2024 The Apache Software Foundation. All rights reserved.