wchevreuil commented on code in PR #4419:
URL: https://github.com/apache/hbase/pull/4419#discussion_r870126641
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java:
##########
@@ -119,18 +119,18 @@ public class StoreFileInfo implements Configurable {
*/
public StoreFileInfo(final Configuration conf, final FileSystem fs, final
Path initialPath,
final boolean primaryReplica) throws IOException {
- this(conf, fs, null, initialPath, primaryReplica);
+ this(conf, fs, fs.getFileStatus(initialPath), primaryReplica);
Review Comment:
Ok, haven't thought about that. Let me revert this, and sanitize the path,
instead.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]