You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Dmitriy Fingerman (Jira)" <ji...@apache.org> on 2025/04/15 13:26:00 UTC
[jira] [Closed] (HIVE-28784) Ensure Hive constructs URI's with IPv6 literals safely.
[ https://issues.apache.org/jira/browse/HIVE-28784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitriy Fingerman closed HIVE-28784.
------------------------------------
> Ensure Hive constructs URI's with IPv6 literals safely.
> --------------------------------------------------------
>
> Key: HIVE-28784
> URL: https://issues.apache.org/jira/browse/HIVE-28784
> Project: Hive
> Issue Type: Sub-task
> Reporter: Dmitriy Fingerman
> Assignee: Dmitriy Fingerman
> Priority: Major
> Fix For: 4.1.0
>
>
> There are a lot of code locations where hive constructs URLs by concatenating host + port in a way that is not safe with IPv6 stack.
> Examples:
> {code:java}
> url = "jdbc:hive2://" + host + ":" + port + "/default;principal=" + serverPrincipal;{code}
> {code:java}
> conf.set(HiveConf.ConfVars.METASTORE_URIS.varname, "thrift://localhost:" + port);{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)