deniskuzZ commented on code in PR #6267:
URL: https://github.com/apache/hive/pull/6267#discussion_r3068068477
##########
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java:
##########
@@ -86,17 +90,26 @@ public class Warehouse {
public Warehouse(Configuration conf) throws MetaException {
this.conf = conf;
- whRootString = MetastoreConf.getVar(conf, ConfVars.WAREHOUSE);
- if (StringUtils.isBlank(whRootString)) {
- throw new MetaException(ConfVars.WAREHOUSE.getVarname()
- + " is not set in the config or blank");
- }
+
+ whRootString = getRequiredVar(conf, ConfVars.WAREHOUSE);
+ whCatRootString = getRequiredVar(conf, ConfVars.WAREHOUSE_CATALOG);
Review Comment:
please see the comment on default FS structure
--
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]