public class ReplCopyWork extends CopyWork
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
readSrcAsFilesList
TODO : Refactor
There is an upcoming patch that refactors this bit of code.
|
| Constructor and Description |
|---|
ReplCopyWork(org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path destPath,
boolean errorOnSrcEmpty) |
ReplCopyWork(org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path destPath,
boolean errorOnSrcEmpty,
boolean overWrite) |
ReplCopyWork(org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path destPath,
boolean errorOnSrcEmpty,
boolean overWrite,
String dumpDirectory,
ReplicationMetricCollector metricCollector) |
| Modifier and Type | Method and Description |
|---|---|
String |
distCpDoAsUser() |
boolean |
getDeleteDestIfExist() |
String |
getDumpDirectory() |
boolean |
getIsAutoPurge() |
ReplicationMetricCollector |
getMetricCollector() |
boolean |
getNeedRecycle() |
void |
initializeFromDeferredContext(DeferredWorkContext deferredContext) |
boolean |
isNeedCheckDuplicateCopy() |
boolean |
isOverWrite() |
boolean |
readSrcAsFilesList() |
void |
setAutoPurge(boolean isAutoPurge) |
void |
setCheckDuplicateCopy(boolean flag) |
void |
setDeleteDestIfExist(boolean deleteDestIfExist) |
void |
setDistCpDoAsUser(String distCpDoAsUser) |
void |
setNeedRecycle(boolean needRecycle) |
void |
setReadSrcAsFilesList(boolean readSrcAsFilesList) |
getFromPathExplain, getFromPaths, getFromPathsExplain, getToPathExplain, getToPaths, getToPathsExplain, isErrorOnSrcEmpty, isOverwrite, isReplication, setErrorOnSrcEmpty, setOverwrite, setToPathprotected boolean readSrcAsFilesList
public ReplCopyWork(org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path destPath,
boolean errorOnSrcEmpty)
public ReplCopyWork(org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path destPath,
boolean errorOnSrcEmpty,
boolean overWrite)
public ReplCopyWork(org.apache.hadoop.fs.Path srcPath,
org.apache.hadoop.fs.Path destPath,
boolean errorOnSrcEmpty,
boolean overWrite,
String dumpDirectory,
ReplicationMetricCollector metricCollector)
public void setReadSrcAsFilesList(boolean readSrcAsFilesList)
public boolean readSrcAsFilesList()
public void setDistCpDoAsUser(String distCpDoAsUser)
public String distCpDoAsUser()
public boolean getDeleteDestIfExist()
public void setDeleteDestIfExist(boolean deleteDestIfExist)
public boolean getNeedRecycle()
public void setNeedRecycle(boolean needRecycle)
public boolean getIsAutoPurge()
public void setAutoPurge(boolean isAutoPurge)
public boolean isNeedCheckDuplicateCopy()
public void setCheckDuplicateCopy(boolean flag)
public ReplicationMetricCollector getMetricCollector()
getMetricCollector in class CopyWorkpublic String getDumpDirectory()
getDumpDirectory in class CopyWorkpublic boolean isOverWrite()
public void initializeFromDeferredContext(DeferredWorkContext deferredContext) throws HiveException
initializeFromDeferredContext in interface BaseCopyWorkinitializeFromDeferredContext in class CopyWorkHiveExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.