Details
Description
MasterSnapshotVerifier::verifyRegion():
...
// check to see if hfile is present in the real table
String fileName = hfile.getPath().getName();
Path file = new Path(realCfDir, fileName);
Path archived = new Path(archivedCfDir, fileName);
if (!fs.exists(file) && !file.equals(archived))
....
The second part of the if condition will always be true:
!file.equals(archived)
Corrected:
if (!fs.exists(file) && !fs.exists(archived))