Yes I understand but that will lead to weird notebooks with paragraph
having one line and no meaningful output (like the one with use somedb).
Would that make sense to output only the last command and have a similar
behavior than ambari and it's hive view?

At least I would suggest to have a more meaningful error message. Currently
the interpreter seems to refuse any additional command - once you have
tried to launch a series of semi-colon separated commands




On Friday, 19 August 2016, Jongyoul Lee <jongy...@gmail.com> wrote:

> Zeppelin's JDBC interpreter support single commands at once. That's
> because Zeppelin cannot handle different multiple output within a paragraph.
>
> On Fri, Aug 19, 2016 at 1:50 AM, tog <guillaume.all...@gmail.com> wrote:
>
>> Hi
>>
>> I have installed Zeppelin so that it can connect to a HDP cluster.
>>
>> I have configured the jdbc interpreter to use HIVE - but I have a strange
>> behavior (i.e. differences with what I get from Ambari)
>>
>> For example, the following *does work* with Ambari:
>> show databases;
>> use mydb;
>> show tables;
>>
>> The following does work in Zeppelin:
>> show databases
>>
>> But the following *does not*:
>> - show databases;
>>   It can not compile the request due to the ;
>>
>> - use mydb
>>   returns a table having one row (Update count) of value -1
>>
>> Is it a misunderstanding on my side - or I cannot chain commands like in
>> Ambari?
>>
>> Cheers
>> Guillaume
>>
>>
>>
>
>
> --
> 이종열, Jongyoul Lee, 李宗烈
> http://madeng.net
>

Reply via email to