HBASE-15668 HFileReplicator fails to replicate other hfiles in the request when a hfile in not found in FS anywhere
This commit is contained in:
parent
ee78b6da7a
commit
6d40b7a0e4
|
@ -378,11 +378,11 @@ public class HFileReplicator {
|
||||||
FileUtil.copy(sourceFs, sourceHFilePath, sinkFs, localHFilePath, false, conf);
|
FileUtil.copy(sourceFs, sourceHFilePath, sinkFs, localHFilePath, false, conf);
|
||||||
} catch (FileNotFoundException e1) {
|
} catch (FileNotFoundException e1) {
|
||||||
// This will mean that the hfile does not exists any where in source cluster FS. So we
|
// This will mean that the hfile does not exists any where in source cluster FS. So we
|
||||||
// cannot do anything here just log and return.
|
// cannot do anything here just log and continue.
|
||||||
LOG.error("Failed to copy hfile from " + sourceHFilePath + " to " + localHFilePath
|
LOG.error("Failed to copy hfile from " + sourceHFilePath + " to " + localHFilePath
|
||||||
+ ". Hence ignoring this hfile from replication..",
|
+ ". Hence ignoring this hfile from replication..",
|
||||||
e1);
|
e1);
|
||||||
return null;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sinkFs.setPermission(localHFilePath, PERM_ALL_ACCESS);
|
sinkFs.setPermission(localHFilePath, PERM_ALL_ACCESS);
|
||||||
|
|
Loading…
Reference in New Issue