apurtell commented on code in PR #7406:
URL: https://github.com/apache/hbase/pull/7406#discussion_r2466475975


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java:
##########
@@ -764,7 +764,7 @@ private static void writeRegionInfoFileContent(final 
Configuration conf, final F
     // First check to get the permissions
     FsPermission perms = CommonFSUtils.getFilePermissions(fs, conf, 
HConstants.DATA_FILE_UMASK_KEY);
     // Write the RegionInfo file content
-    try (FSDataOutputStream out = FSUtils.create(conf, fs, regionInfoFile, 
perms, null)) {
+    try (FSDataOutputStream out = FSUtils.create(conf, fs, regionInfoFile, 
perms, null, false)) {

Review Comment:
   Add a comment here why this change, providing the JIRA identifier. The 
reason not to recursively create directories is important, we don't want 
someone refactoring this code later to miss that.



-- 
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]

Reply via email to