Skip to content

Commit a633228

Browse files
committed
HBASE-26690 Modify FSTableDescriptors to not rely on renaming when writing TableDescriptor
1 parent 6cd092b commit a633228

File tree

3 files changed

+316
-373
lines changed

3 files changed

+316
-373
lines changed

hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/regionserver/CompactionTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private static boolean isRegionDir(final FileSystem fs, final Path path) throws
191191
}
192192

193193
private static boolean isTableDir(final FileSystem fs, final Path path) throws IOException {
194-
return FSTableDescriptors.getTableInfoPath(fs, path) != null;
194+
return FSTableDescriptors.isTableDir(fs, path);
195195
}
196196

197197
private static boolean isFamilyDir(final FileSystem fs, final Path path) throws IOException {

0 commit comments

Comments
 (0)