You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2026/02/12 15:26:00 UTC

[jira] [Updated] (HIVE-29461) Iceberg: HIVE_METASTORE_WAREHOUSE_EXTERNAL is ignored when initializing HiveCatalog

     [ https://issues.apache.org/jira/browse/HIVE-29461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denys Kuzmenko updated HIVE-29461:
----------------------------------
    Description: 
stacktrace
{code}
(executor-thread-1) Unhandled exception returning INTERNAL_SERVER_ERROR : java.lang.NullPointerException: Warehouse location is not set: hive.metastore.warehouse.external.dir=null
{code}

invokation
{code}
  private String getExternalWarehouseLocation() {
    String warehouseLocation = conf.get(HiveConf.ConfVars.HIVE_METASTORE_WAREHOUSE_EXTERNAL.varname);
    Preconditions.checkNotNull(warehouseLocation,
        "Warehouse location is not set: hive.metastore.warehouse.external.dir=null");
    return warehouseLocation;
  }
{code}

> Iceberg: HIVE_METASTORE_WAREHOUSE_EXTERNAL is ignored when initializing HiveCatalog
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-29461
>                 URL: https://issues.apache.org/jira/browse/HIVE-29461
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Denys Kuzmenko
>            Priority: Major
>
> stacktrace
> {code}
> (executor-thread-1) Unhandled exception returning INTERNAL_SERVER_ERROR : java.lang.NullPointerException: Warehouse location is not set: hive.metastore.warehouse.external.dir=null
> {code}
> invokation
> {code}
>   private String getExternalWarehouseLocation() {
>     String warehouseLocation = conf.get(HiveConf.ConfVars.HIVE_METASTORE_WAREHOUSE_EXTERNAL.varname);
>     Preconditions.checkNotNull(warehouseLocation,
>         "Warehouse location is not set: hive.metastore.warehouse.external.dir=null");
>     return warehouseLocation;
>   }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)