You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Yebgenya Lazarkhosrouabadi <la...@integration-factory.de> on 2019/07/16 18:22:25 UTC

Cannot access the data from Hive-Tables in Blink

Hello,

I'm trying to use BigBench queries on Blink in Cloudera. I have defined a catalog in YAML-file and can see my Hive-tables in SQL-client.
But I can't see the data of the tables, or run any other SQL-Query. I get this error:

[ERROR] Could not execute SQL statement. Reason:
org.apache.flink.hive.shaded.org.apache.thrift.TApplicationException: Invalid method name: 'get_table_req'

[cid:image001.png@01D53C13.BE5563D0]

How can I get rid of this error?

Regards
Yebgenya
HINWEIS: Dies ist eine vertrauliche Nachricht und nur f?r den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zug?nglich zu machen. Sollten Sie diese Nachricht irrt?mlich erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.

Re: Cannot access the data from Hive-Tables in Blink

Posted by Bowen Li <bo...@gmail.com>.
Hi Yebgenya,

This is caused by Hive version mismatch, you are either not using the right
Hive version (double check your Hive version is supported by Blink), or not
specifying the right version in yaml config (e.g. you use 2.3.4 but specify
it as 1.2.1).

Bowen

On Tue, Jul 16, 2019 at 11:22 AM Yebgenya Lazarkhosrouabadi <
lazarkhosrouabadi@integration-factory.de> wrote:

> Hello,
>
>
>
> I’m trying to use BigBench queries on Blink in Cloudera. I have defined a
> catalog in YAML-file and can see my Hive-tables in SQL-client.
>
> But I can’t see the data of the tables, or run any other SQL-Query. I get
> this error:
>
>
>
> [ERROR] Could not execute SQL statement. Reason:
>
> org.apache.flink.hive.shaded.org.apache.thrift.TApplicationException:
> Invalid method name: 'get_table_req'
>
>
>
>
>
> How can I get rid of this error?
>
>
>
> Regards
>
> Yebgenya
> HINWEIS: Dies ist eine vertrauliche Nachricht und nur für den Adressaten
> bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten
> zugänglich zu machen. Sollten Sie diese Nachricht irrtümlich erhalten
> haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben
> angegebenen Telefonnummer.
>