You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by Thomas Tauber-Marshall <tm...@cloudera.com> on 2020/09/22 15:51:46 UTC

Breaking change in impala-shell

Impala devs,

There is a patch that has just gone into master which switches the default
protocol for impala-shell from beeswax to hiveserver2, as part of the
ongoing process of deprecating and removing beeswax, see
https://issues.apache.org/jira/browse/IMPALA-10074 Because this is a
breaking change, it was timed to be included with Impala 4.0, per previous
discussions.

I wanted to bring attention to this patch because it has the potential to
break tests and dev workflows in any situation where impala-shell is being
used with the --impalad/-i parameter with the beeswax port specified (by
default 21000) but without the --protocol parameter. In this situation, the
expected error message is "shell_exceptions.MissingThriftMethodException:
Invalid method name: 'OpenSession'"

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

Re: Breaking change in impala-shell

Posted by Tim Armstrong <ta...@cloudera.com>.
Thanks for the update and for fixing this bit of legacy!

On Tue, Sep 22, 2020 at 8:52 AM Thomas Tauber-Marshall <
tmarshall@cloudera.com> wrote:

> Impala devs,
>
> There is a patch that has just gone into master which switches the default
> protocol for impala-shell from beeswax to hiveserver2, as part of the
> ongoing process of deprecating and removing beeswax, see
> https://issues.apache.org/jira/browse/IMPALA-10074 Because this is a
> breaking change, it was timed to be included with Impala 4.0, per previous
> discussions.
>
> I wanted to bring attention to this patch because it has the potential to
> break tests and dev workflows in any situation where impala-shell is being
> used with the --impalad/-i parameter with the beeswax port specified (by
> default 21000) but without the --protocol parameter. In this situation, the
> expected error message is "shell_exceptions.MissingThriftMethodException:
> Invalid method name: 'OpenSession'"
>
> The fix is to either explicitly specify "--protocol=beeswax" or to switch
> to using the hiveserver2 port (by default, 21050)
>