public class ApiHdfsReplicationResult extends Object
Constructor and Description |
---|
ApiHdfsReplicationResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<ApiHdfsReplicationCounter> |
getCounters()
The counters collected from the replication job.
|
List<String> |
getFailedFiles()
The list of files that failed during replication.
|
String |
getJobDetailsUri()
Read-only.
|
String |
getJobId()
Read-only.
|
long |
getNumBytesCopied()
The number of bytes actually copied.
|
long |
getNumBytesCopyFailed()
The aggregate number of bytes in the files for which copy failed.
|
long |
getNumBytesDryRun()
The number of bytes found to copy.
|
long |
getNumBytesExpected()
The number of bytes expected to be copied.
|
long |
getNumBytesSkipped()
The aggregate number of bytes in the skipped files.
|
long |
getNumFilesCopied()
The number of files actually copied.
|
long |
getNumFilesCopyFailed()
The number of files for which copy failed.
|
long |
getNumFilesDeleted()
The number of files deleted since they were present at destination, but
missing from source.
|
long |
getNumFilesDryRun()
The number of files found to copy.
|
long |
getNumFilesExpected()
The number of files expected to be copied.
|
long |
getNumFilesSkipped()
The number of files that were unchanged and thus skipped during
copying.
|
int |
getProgress()
The file copy progress percentage.
|
String |
getRunAsUser()
Returns run-as user name.
|
String |
getSetupError()
The error that happened during job setup, if any.
|
List<String> |
getSnapshottedDirs()
The list of directories for which snapshots were taken and used as part of
this replication.
|
int |
hashCode() |
boolean |
isDryRun()
Whether this was a dry run.
|
void |
setCounters(List<ApiHdfsReplicationCounter> counters) |
void |
setDryRun(boolean dryRun) |
void |
setFailedFiles(List<String> failedFiles) |
void |
setJobDetailsUri(String jobDetailsUri) |
void |
setJobId(String jobId) |
void |
setNumBytesCopied(long numBytesCopied) |
void |
setNumBytesCopyFailed(long numBytesCopyFailed) |
void |
setNumBytesDryRun(long numBytesDryRun) |
void |
setNumBytesExpected(long numBytesExpected) |
void |
setNumBytesSkipped(long numBytesSkipped) |
void |
setNumFilesCopied(long numFiledCopied) |
void |
setNumFilesCopyFailed(long numFilesCopyFailed) |
void |
setNumFilesDeleted(long numFilesDeleted) |
void |
setNumFilesDryRun(long numFilesDryRun) |
void |
setNumFilesExpected(long numFiledExpected) |
void |
setNumFilesSkipped(long numFilesSkipped) |
void |
setProgress(int progress) |
void |
setRunAsUser(String runAsUser) |
void |
setSetupError(String setupError) |
void |
setSnapshottedDirs(List<String> snapshottedDirs) |
String |
toString() |
public int getProgress()
public void setProgress(int progress)
public List<ApiHdfsReplicationCounter> getCounters()
public void setCounters(List<ApiHdfsReplicationCounter> counters)
public long getNumFilesDryRun()
public void setNumFilesDryRun(long numFilesDryRun)
public long getNumBytesDryRun()
public void setNumBytesDryRun(long numBytesDryRun)
public long getNumFilesExpected()
public void setNumFilesExpected(long numFiledExpected)
public long getNumBytesExpected()
public void setNumBytesExpected(long numBytesExpected)
public long getNumFilesCopied()
public void setNumFilesCopied(long numFiledCopied)
public long getNumBytesCopied()
public void setNumBytesCopied(long numBytesCopied)
public long getNumFilesSkipped()
public void setNumFilesSkipped(long numFilesSkipped)
public long getNumBytesSkipped()
public void setNumBytesSkipped(long numBytesSkipped)
public long getNumFilesDeleted()
public void setNumFilesDeleted(long numFilesDeleted)
public long getNumFilesCopyFailed()
public void setNumFilesCopyFailed(long numFilesCopyFailed)
public long getNumBytesCopyFailed()
public void setNumBytesCopyFailed(long numBytesCopyFailed)
public String getSetupError()
public void setSetupError(String setupError)
public String getJobId()
public void setJobId(String jobId)
public String getJobDetailsUri()
public void setJobDetailsUri(String jobDetailsUri)
public boolean isDryRun()
public void setDryRun(boolean dryRun)
public List<String> getSnapshottedDirs()
public String getRunAsUser()
public void setRunAsUser(String runAsUser)
public List<String> getFailedFiles()
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.