[
https://issues.apache.org/jira/browse/HIVE-28784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitriy Fingerman updated HIVE-28784:
-------------------------------------
Summary: Ensure Hive constructs URI's with IPv6 literals safely. (was:
Fix Hive should avoid unsafe concatenation of host and port literals to support
IPv6 stack)
> 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
>
> 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)