Skip to content
Permalink
Browse files
HBASE-26979 StoreFileListFile logs frequent stacktraces at INFO level (
…#4373)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
  • Loading branch information
apurtell committed Apr 28, 2022
1 parent ee0c921 commit 90d42f2733e9cc6ac627d85aea47bce5ded5c927
Showing 1 changed file with 3 additions and 3 deletions.
@@ -200,8 +200,8 @@ StoreFileList load(boolean readOnly) throws IOException {
lists[i] = load(files.get(i));
loaded = true;
} catch (EOFException e) {
// this is normal case, so use info and do not log stacktrace
LOG.info("Failed to load track file {}: {}", trackFiles[i], e.toString());
// this is normal case, so just log at debug
LOG.debug("EOF loading track file {}, ignoring the exception", trackFiles[i], e);
}
}
if (loaded) {
@@ -258,7 +258,7 @@ void update(StoreFileList.Builder builder) throws IOException {
} catch (IOException e) {
// we will create new file with overwrite = true, so not a big deal here, only for speed up
// loading as we do not need to read this file when loading
LOG.debug("failed to delete old track file {}, not a big deal, just ignore", e);
LOG.debug("Failed to delete old track file {}, ignoring the exception", e);
}
}
}

0 comments on commit 90d42f2

Please sign in to comment.