You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Bowen Li (Jira)" <ji...@apache.org> on 2019/11/25 21:13:00 UTC

[jira] [Closed] (FLINK-14726) avoid creating new HiveShim instance every time when calling HiveShimLoader.loadHiveShim()

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

Bowen Li closed FLINK-14726.
----------------------------
    Resolution: Invalid

> avoid creating new HiveShim instance every time when calling HiveShimLoader.loadHiveShim()
> ------------------------------------------------------------------------------------------
>
>                 Key: FLINK-14726
>                 URL: https://issues.apache.org/jira/browse/FLINK-14726
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive
>            Reporter: Bowen Li
>            Assignee: Bowen Li
>            Priority: Major
>             Fix For: 1.10.0
>
>
> HiveShim.loadHiveShim(hiveVersion) will return a new HiveShim instance every time. considering it's called many times across our code base, it's really inefficient to do so. We should cache hiveShim instances in a session



--
This message was sent by Atlassian Jira
(v8.3.4#803005)