deniskuzZ commented on code in PR #6267:
URL: https://github.com/apache/hive/pull/6267#discussion_r3068019699
##########
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:
shouldn't the catalog be under the `warehousePath`?
````
Warehouse Root
└── Catalog (default or named)
└── Database (.db)
└── Table
/warehouse/<catalog_name>.cat/<database_name>.db/<table_name>/ # non
default catalog
/warehouse/hive.cat/<database_name>.db/<table_name>/ #
default catalog
/warehouse/hive.cat/default.db/<table_name>/ # default
catalog & database
````
##########
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:
shouldn't the catalog be under the `warehousePath`?
````
Warehouse Root
└── Catalog (default or named)
└── Database (.db)
└── Table
/warehouse/<catalog_name>.cat/<database_name>.db/<table_name>/ # non
default catalog
/warehouse/hive.cat/<database_name>.db/<table_name>/ #
default catalog
/warehouse/hive.cat/default.db/<table_name>/ # default
catalog & database
````
--
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]