HBASE-15582 SnapshotManifestV1 too verbose when there are no regions
This commit is contained in:
parent
25419d8b18
commit
79868bd394
|
@ -116,7 +116,7 @@ public final class SnapshotManifestV1 {
|
||||||
final SnapshotDescription desc) throws IOException {
|
final SnapshotDescription desc) throws IOException {
|
||||||
FileStatus[] regions = FSUtils.listStatus(fs, snapshotDir, new FSUtils.RegionDirFilter(fs));
|
FileStatus[] regions = FSUtils.listStatus(fs, snapshotDir, new FSUtils.RegionDirFilter(fs));
|
||||||
if (regions == null) {
|
if (regions == null) {
|
||||||
LOG.info("No regions under directory:" + snapshotDir);
|
LOG.debug("No regions under directory:" + snapshotDir);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue