You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Thomas Tauber-Marshall (Jira)" <ji...@apache.org> on 2020/09/22 16:43:00 UTC

[jira] [Resolved] (IMPALA-10074) Set impala-shell's default protocol to hs2

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

Thomas Tauber-Marshall resolved IMPALA-10074.
---------------------------------------------
    Fix Version/s: Impala 4.0
       Resolution: Fixed

This patch potentially breaks tests or dev workflows where impala-shell is being used with the --impalad/-i param with the beeswax port specified (default 21000) but without specifying --protocol.

In that case, the expected error message is "shell_exceptions.MissingThriftMethodException: Invalid method name: 'OpenSession'"

The fix is to either explicitly specify "--protocol=beeswax" or switch to using the hiveserver2 port (default 21050)

> Set impala-shell's default protocol to hs2
> ------------------------------------------
>
>                 Key: IMPALA-10074
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10074
>             Project: IMPALA
>          Issue Type: Task
>          Components: Clients
>    Affects Versions: Impala 4.0
>            Reporter: Thomas Tauber-Marshall
>            Assignee: Thomas Tauber-Marshall
>            Priority: Major
>             Fix For: Impala 4.0
>
>
> The beeswax interface has been marked deprecated for awhile, but it remains the default protocol for impala-shell because we felt that changing the default protocol constituted a break change. Now that 4.0 is the next release, we can switch the default protocol to hs2.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org