Hi DuyHai,

3. In the paragraph, the notation %instance2.cassandra does not work, neither 
%instance2 nor %cassandra.instance2,  only %cassandra works and it indeed 
refers to the second instance because I chose it at the notebook config level

How to tell the notebook to choose interpreter which I created. Can you please 
explain where exactly I need to make changes (do you mean in need to edit 
zeppelin-env.sh ??).

I just tried to create new interpreter with name hiveonspark which is instance 
of hive .  I tried to access with %hiveonspark but it does not work.

Thanks
Karthik

From: DuyHai Doan [mailto:[email protected]]
Sent: Wednesday, July 29, 2015 1:49 PM
To: [email protected]
Subject: Re: Multiple instances of the same Interpreter, each with different 
configuration

So I tried this trick with my Cassandra interpreter:

1. Create a new interpreter named "instance2" (the group name is "cassandra")

2. Create a new notebook and choose "instance2" instead of the original 
"cassandra" as interpreter for this notebook"

3. In the paragraph, the notation %instance2.cassandra does not work, neither 
%instance2 nor %cassandra.instance2,  only %cassandra works and it indeed 
refers to the second instance because I chose it at the notebook config level


On Wed, Jul 29, 2015 at 5:33 AM, Corneau Damien 
<[email protected]<mailto:[email protected]>> wrote:
Hi,
This should be pretty much how it works (Creating + binding to notebook)
But I think the syntax when using group in your paragraph might be 
%GROUP_NEW.NAME<http://GROUP_NEW.NAME>

Tell me if this works

On Tue, Jul 28, 2015 at 8:34 PM, Christian Tzolov 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

Is it possible to instantiate multiple instances of the same Interpreter type, 
where each instance is configured differently?

Assuming there is a working instance: GROUP:NAME. From the 'Interpreter' 
section i can create a new Interpreter instance from particular Interpreter 
type: GROUP_NEW:NAME. Then I can bind the new instance (GROUP_NEW:NAME) through 
the Notebook's configuration but if i try to use it i get:

%GROUP_NEW:NAME
.....
"XXXX interpreter not found"

Am i missing something?

Apologies if this question has been asked already (couldn't found related infor 
in the archive).

Thanks,
Christian

--
Christian Tzolov<http://www.linkedin.com/in/tzolov> | Solution Architect, EMEA 
Practice Team | Pivotal<http://pivotal.io/>
[email protected]<mailto:[email protected]>|+31610285517


Reply via email to