You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ádám Szita (Jira)" <ji...@apache.org> on 2022/11/16 08:45:00 UTC

[jira] [Work started] (HIVE-26740) HS2 makes direct connections to HMS backend DB due to Compaction/StatsUpdater

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

Work on HIVE-26740 started by Ádám Szita.
-----------------------------------------
> HS2 makes direct connections to HMS backend DB due to Compaction/StatsUpdater
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-26740
>                 URL: https://issues.apache.org/jira/browse/HIVE-26740
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ádám Szita
>            Assignee: Ádám Szita
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> HIVE-20172 solved an issue where HMS was running the compaction worker, and StatUpdater thus ran in the very same JVM causing kerberos issues while connecting to "itself". The fix was to update HMS URI setting to empty string. This way HMS wouldn't have to go around itself to connect to itself :)
> But.. this is not correct anymore, as Hive doesn't support running the compaction worker on HMS side anymore, but only on HS2. So in any case this code part ends up executed in HS2, where an embedded HMS will be created due to this empty string URIs config, and eventually will open connections directly to HMS backend DB.
> We need to remove this setting as it was fixing something that is not relevant anymore.



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