You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2022/05/11 02:49:07 UTC
[GitHub] [hbase] Apache9 commented on a diff in pull request #4419: HBASE-27021 StoreFileInfo should set its initialPath in a consistent way
Apache9 commented on code in PR #4419:
URL: https://github.com/apache/hbase/pull/4419#discussion_r869823745
##########
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:
I think this is intentional, we want to reduce the request to namenode...
--
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: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org