You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Sailesh Mukil (JIRA)" <ji...@apache.org> on 2017/10/04 17:10:01 UTC

[jira] [Resolved] (IMPALA-4786) Refactor CreateImpalaServer() to allow it to be used in tests.

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

Sailesh Mukil resolved IMPALA-4786.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.11.0

Commit in:
https://github.com/apache/incubator-impala/commit/fed75810bc8eba0195e5c55845ae04715ea75203

> Refactor CreateImpalaServer() to allow it to be used in tests.
> --------------------------------------------------------------
>
>                 Key: IMPALA-4786
>                 URL: https://issues.apache.org/jira/browse/IMPALA-4786
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Backend
>    Affects Versions: Impala 2.9.0
>            Reporter: Henry Robinson
>            Assignee: Sailesh Mukil
>             Fix For: Impala 2.11.0
>
>
> Historically, {{InProcessImpalaServer}} existed because of the difficulties managing the lifecycle of Thrift servers without hitting problems on shutdown, and also because {{ImpalaServer}} itself didn't own the Thrift server objects. KRPC helps some with the lifecycle issues, and so might the upcoming move to Thrift 0.9.2. We should also refactor {{CreateImpalaServer()}} so that we can use an actual {{ImpalaServer}} in tests without needing the wrapper class.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)