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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]