deniskuzZ commented on code in PR #6267:
URL: https://github.com/apache/hive/pull/6267#discussion_r3137343191


##########
itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestMiniClusters.java:
##########
@@ -554,23 +556,27 @@ private void setFsRelatedProperties(HiveConf conf, 
boolean isLocalFs, FileSystem
       // Create a fake fs root for local fs
       Path localFsRoot = new Path(path, "localfs");
       warehousePath = new Path(localFsRoot, "warehouse");
+      warehouseCatPath = new Path(localFsRoot, "catalog");

Review Comment:
   @dengzhhu653 
   > I don't like to add a new metastore.warehouse.catalog.dir as a default 
location for new catalogs(non-default). this could bring some concerns IMO
   
   if user doesn't explicitly set the catalog location, why not use default set 
by `metastore.warehouse.catalog.dir` ?
   
   > On creating the catalog, we create the default database as well, the 
default database will stay at the old location even if we change the location 
of the catalog
   
   default DB location should be under it's catalog location in my opinion



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to