Skip to content

Commit 5213656

Browse files
committed
[HUDI-5153] Remove the optional wildcard from FSUtils#LOG_FILE_PATTERN
1 parent 2281175 commit 5213656

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • hudi-common/src/main/java/org/apache/hudi/common/fs

hudi-common/src/main/java/org/apache/hudi/common/fs/FSUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public class FSUtils {
7979
private static final Logger LOG = LogManager.getLogger(FSUtils.class);
8080
// Log files are of this pattern - .b5068208-e1a4-11e6-bf01-fe55135034f3_20170101134598.log.1
8181
private static final Pattern LOG_FILE_PATTERN =
82-
Pattern.compile("\\.(.*)_(.*)\\.(.*)\\.([0-9]*)(_(([0-9]*)-([0-9]*)-([0-9]*)(-cdc)?))?");
82+
Pattern.compile("\\.(.*)_(.*)\\.(.*)\\.([0-9]*)(_(([0-9]*)-([0-9]*)-([0-9]*)(-cdc)?))");
8383
private static final String LOG_FILE_PREFIX = ".";
8484
private static final int MAX_ATTEMPTS_RECOVER_LEASE = 10;
8585
private static final long MIN_CLEAN_TO_KEEP = 10;

0 commit comments

Comments
 (0)