pankaj72981 commented on a change in pull request #1198: HBASE-23740 Invalid
StoreFile WARN log message printed for recovered.…
URL: https://github.com/apache/hbase/pull/1198#discussion_r383157788
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
##########
@@ -245,7 +245,11 @@ public String getStoragePolicyName(String familyName) {
ArrayList<StoreFileInfo> storeFiles = new ArrayList<>(files.length);
for (FileStatus status: files) {
if (validate && !StoreFileInfo.isValid(status)) {
- LOG.warn("Invalid StoreFile: " + status.getPath());
+ // recovered.hfiles directory is expected inside CF path when
hbase.wal.split.to.hfile to
+ // true, refer HBASE-23740
+ if
(!HConstants.RECOVERED_HFILES_DIR.equals(status.getPath().getName())) {
+ LOG.warn("Invalid StoreFile: " + status.getPath());
Review comment:
Done in
https://github.com/apache/hbase/pull/1198/commits/34f2189716dd98c7a8319a1b7f2185a40b775503
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services