Re: Paragraphs Aborting Unexpectedly

2016-10-05 Thread moon soo Lee
Thanks for sharing the problem.
It maybe not helping you directly, but i have created a patch for
ZEPPELIN-1480 https://github.com/apache/zeppelin/pull/1490

If you can use scheduler, the patch will help.

Best,
moon

On Tue, Sep 27, 2016 at 10:54 PM Jonathan Gough 
wrote:

> I'm using Amazon EMR 5.0.0 and am having real difficulties with paragraphs
> aborting.  I have a number of paragraphs that I want to run daily in
> sequence.  If I run them with the scheduler a minute apart in sequence I
> think that I get this problem:
> https://issues.apache.org/jira/browse/ZEPPELIN-1480
>
>
>
> So to work around this I have added a paragraph at the end of each
> notebook to call the REST API to trigger execution of the next notebook.
> The first notebook runs fine (except the "Last updated" doesn't update?),
> but then the paragraphs in the second notebook fail in "ABORT" state.  It
> doesn't always abort at the same point, sometimes in one paragraph and
> sometimes another.  Below are some log excerpts with different interpreter
> settings, which all exhibit the same ABORT behaviour - but I see different
> errors for each.
>
>
>
> Shared Interpreter for note:
>
> Zeppelin Log: http://hastebin.com/raw/zerexepozu
>
> Spark Interpreter Log: http://hastebin.com/raw/urowuvodat
>
>
>
> Scoped Interpreter for note:
>
> Zeppelin Log: http://hastebin.com/raw/leraxaleze
>
> Spark Interpreter Log: http://hastebin.com/raw/gizepuyaqi
>
>
>
> Isolated Interpreter for note:
>
> Zeppelin Log: http://hastebin.com/raw/yebudaloze
>
> Spark Interpreter Log: http://hastebin.com/raw/etuqaxejis
>
>
>
> I think https://issues.apache.org/jira/browse/ZEPPELIN-1270 is causing
> some of those errors in the logs, but I don't know to what extent the
> "ABORT" problems are related to that.  Note that if I run these using the
> "Run all paragraphs" button then this problem only sometimes occurs.  I've
> checked the container logs and there's nothing obvious in there.  It
> doesn't appear to be a memory issue that I can see.
>
>
>
> Anyone got any ideas at all because I'm stumped!?  Thanks!
>
>
>
> Jonathan
>


Re: Multiple concurrent spark notebooks

2016-10-05 Thread Mich Talebzadeh
Hi Mark,

Zeppelin on Park uses Spark interpreter

Edit the interpreter. By default Zeppelin uses local mode as seen below

[image: Inline images 1]

You can of course change that to standalone mode by specifying

master spark://:7077

and increase cores.max and spark.executor.memory as shown above.

HTH



Dr Mich Talebzadeh



LinkedIn * 
https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
*



http://talebzadehmich.wordpress.com


*Disclaimer:* Use it at your own risk. Any and all responsibility for any
loss, damage or destruction of data or any other property which may arise
from relying on this email's technical content is explicitly disclaimed.
The author will in no case be liable for any monetary damages arising from
such loss, damage or destruction.



On 5 October 2016 at 19:20, Mohit Jaggi  wrote:

> change your spark settings so that the REPL does not get the whole
> cluster. e.g. by reducing the executor memory and cpu allocation.
>
> Mohit Jaggi
> Founder,
> Data Orchard LLC
> www.dataorchardllc.com
>
>
>
>
> > On Oct 5, 2016, at 11:02 AM, Mark Libucha  wrote:
> >
> > Hi everyone,
> >
> > I've got Zeppelin running against a Cloudera/Yarn/Spark cluster and
> everything seems to be working fine. Very cool.
> >
> > One minor issue, though. When one notebook is running, others queue up
> behind it. Is there a way to run multiple notebooks concurrently? Both
> notebooks are running the pyspark interpreter.
> >
> > Thanks,
> >
> > Mark
> >
>
>


Re: Multiple concurrent spark notebooks

2016-10-05 Thread Mohit Jaggi
change your spark settings so that the REPL does not get the whole cluster. 
e.g. by reducing the executor memory and cpu allocation.

Mohit Jaggi
Founder,
Data Orchard LLC
www.dataorchardllc.com




> On Oct 5, 2016, at 11:02 AM, Mark Libucha  wrote:
> 
> Hi everyone,
> 
> I've got Zeppelin running against a Cloudera/Yarn/Spark cluster and 
> everything seems to be working fine. Very cool.
> 
> One minor issue, though. When one notebook is running, others queue up behind 
> it. Is there a way to run multiple notebooks concurrently? Both notebooks are 
> running the pyspark interpreter.
> 
> Thanks,
> 
> Mark
> 



Multiple concurrent spark notebooks

2016-10-05 Thread Mark Libucha
Hi everyone,

I've got Zeppelin running against a Cloudera/Yarn/Spark cluster and
everything seems to be working fine. Very cool.

One minor issue, though. When one notebook is running, others queue up
behind it. Is there a way to run multiple notebooks concurrently? Both
notebooks are running the pyspark interpreter.

Thanks,

Mark


Re: Using Zeppelin continuously with the same UI open

2016-10-05 Thread Mich Talebzadeh
Hi Moon,

I am using Spark/Scala code as below

import java.util.Calendar
import org.joda.time._
val option = z.input("option","2").toString.toInt
val today = new DateTime()
val minutes = -15
val  minutesago =
today.plusMinutes(minutes).toString.toString.substring(11,19)
val date = java.time.LocalDate.now.toString
val hour = java.time.LocalTime.now.toString
val location="hdfs://rhes564:9000/data/prices/"+date+"/prices.*"
case class columns(SECURITY: String, TIMECREATED: String,  PRICE: String)
val rs = option match {
  case 1 => {
println("option = 1")
val df1 = spark.read.option("header", false).csv(location)
val df2 = df1.map(p => columns(p(0).toString,p(1).toString,
p(2).toString))
val rs = df2.filter('security > "").filter('price > "15" &&
substring('TIMECREATED,12,19)>
minutesago).select(substring('TIMECREATED,12,19).as("TIMECREATED"),
'SECURITY, substring('PRICE,1,7).as("PRICE")).orderBy('TIMECREATED)
rs
  }
  case 2 => {
println("option = 2")
val df2 =
spark.table("test.marketData").select('TIMECREATED,'SECURITY,'PRICE,
'DateStamp)
val rs = df2.filter('security > "").filter('DateStamp >= "${today}" &&
'price > "15" && 'TIMECREATED > date && substring('TIMECREATED,12,19)>
minutesago).select(substring('TIMECREATED,12,19).as("TIMECREATED"),
'SECURITY, substring('PRICE,1,7).as("PRICE")).orderBy('TIMECREATED)
rs
  }
  case _ => {
sys.error("No valid option provided")
  }
}
z.show(rs)


Anything I can do to reduce the effect? The UI is kept open and I just run
the code again and again if I need to

Thanks

Dr Mich Talebzadeh



LinkedIn * 
https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
*



http://talebzadehmich.wordpress.com


*Disclaimer:* Use it at your own risk. Any and all responsibility for any
loss, damage or destruction of data or any other property which may arise
from relying on this email's technical content is explicitly disclaimed.
The author will in no case be liable for any monetary damages arising from
such loss, damage or destruction.



On 5 October 2016 at 15:33, moon soo Lee  wrote:

> Hi,
>
> Thanks for sharing problem.
>
> If you're using Scala in SparkInterpreter, Scala REPL may have some
> problem [1] when there is a lot of calls.
>
> If you're using only SparkSQL or other interpreter, but still experience
> the same, then it is Zeppelin's own problem.
>
> Could you share little more information to reproduce the problem?
>
> Thanks,
> moon
>
> [1] https://issues.scala-lang.org/browse/SI-4331
>
>
> On Mon, Oct 3, 2016 at 6:21 PM Mich Talebzadeh 
> wrote:
>
>> Hi,
>>
>> I have been testing Zeppelin in conjunction with Spark sql and Spark
>> functional programming. I notice that as time gets by and many calls are
>> made with the same session open with different codes and plots, Zeppelin
>> becomes very slow and eventually one gets a message "pipe broken" in the
>> run.
>>
>> Then in order to make this work I recycle (stop/start) Zeppelin daemon
>> and things start working.
>>
>> Is this behavior expected or is this due to excessive memory usage/GC
>> issue.
>>
>> FYI I am using zeppelin-0.6.1
>>
>> Thanks
>>
>>
>>
>>
>> Dr Mich Talebzadeh
>>
>>
>>
>> LinkedIn * 
>> https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
>> *
>>
>>
>>
>> http://talebzadehmich.wordpress.com
>>
>>
>> *Disclaimer:* Use it at your own risk. Any and all responsibility for
>> any loss, damage or destruction of data or any other property which may
>> arise from relying on this email's technical content is explicitly
>> disclaimed. The author will in no case be liable for any monetary damages
>> arising from such loss, damage or destruction.
>>
>>
>>
>


Re: Using Zeppelin continuously with the same UI open

2016-10-05 Thread moon soo Lee
Hi,

Thanks for sharing problem.

If you're using Scala in SparkInterpreter, Scala REPL may have some problem
[1] when there is a lot of calls.

If you're using only SparkSQL or other interpreter, but still experience
the same, then it is Zeppelin's own problem.

Could you share little more information to reproduce the problem?

Thanks,
moon

[1] https://issues.scala-lang.org/browse/SI-4331


On Mon, Oct 3, 2016 at 6:21 PM Mich Talebzadeh 
wrote:

> Hi,
>
> I have been testing Zeppelin in conjunction with Spark sql and Spark
> functional programming. I notice that as time gets by and many calls are
> made with the same session open with different codes and plots, Zeppelin
> becomes very slow and eventually one gets a message "pipe broken" in the
> run.
>
> Then in order to make this work I recycle (stop/start) Zeppelin daemon and
> things start working.
>
> Is this behavior expected or is this due to excessive memory usage/GC
> issue.
>
> FYI I am using zeppelin-0.6.1
>
> Thanks
>
>
>
>
> Dr Mich Talebzadeh
>
>
>
> LinkedIn * 
> https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
> *
>
>
>
> http://talebzadehmich.wordpress.com
>
>
> *Disclaimer:* Use it at your own risk. Any and all responsibility for any
> loss, damage or destruction of data or any other property which may arise
> from relying on this email's technical content is explicitly disclaimed.
> The author will in no case be liable for any monetary damages arising from
> such loss, damage or destruction.
>
>
>


Re: User specific interpreter

2016-10-05 Thread moon soo Lee
Currently community is working on making release 0.6.2 [1].
I think it's bit hard to say when 0.7.0 is going to be released at this
point. I'll  start a thread for scope of 0.7.0, soon. Please keep an eye on
the mailing list.

Thanks,
moon

[1] https://issues.apache.org/jira/browse/ZEPPELIN-1347

On Wed, Oct 5, 2016 at 10:33 PM Vikash Kumar 
wrote:

> Thanks moon,
>
>Yes this task solves my problem but we have to wait for 7
> release. So is there nearby plan to release 07 version?
>
>
>
> Thanks & Regards,
>
> *Vikash Kumar*
>
> *From:* moon soo Lee [mailto:m...@apache.org]
> *Sent:* Wednesday, October 5, 2016 6:53 PM
>
>
> *To:* users@zeppelin.apache.org
> *Subject:* Re: User specific interpreter
>
>
>
> Regarding two interpreter settings,
>
>
>
> 1.   Phoenix (Accessible only to admin)
>
> 2.   Phoenix-custom (Accessible to other user)
>
>
>
> I think interpreter authorization [1] can help. which is available on
> master branch (0.7.0-SNAPSHOT).
>
>
>
> Thanks,
>
> moon
>
>
>
> [1] https://issues.apache.org/jira/browse/ZEPPELIN-945
>
>
>
> On Wed, Oct 5, 2016 at 4:26 PM Jongyoul Lee  wrote:
>
> Thanks,
>
>
>
> I'll think of it more, too. :-) Please keep the status at JIRA.
>
>
>
> Regards,
>
> Jongyoul
>
>
>
> On Wed, Oct 5, 2016 at 4:04 PM, Vikash Kumar 
> wrote:
>
> Hi,
>
> Here you  can use two ways
>
> 1.   Add another tenant filed in authentication object and set the
> value when you are authentication the user.(Along with principle, ticket
> and role)That’s the right way.
>
> 2.   Use ticket as tenant id. Then you need to change the way of
> creation of ticket.
>
>
>
> We are using the second way as we are not using the shiro for
> authentication and it’s simple as well.
>
>
>
> Thanks & Regards,
>
> *Vikash Kumar*
>
>
>
> *From:* Jongyoul Lee [mailto:jongy...@gmail.com]
> *Sent:* Wednesday, October 5, 2016 12:24 PM
>
>
> *To:* users@zeppelin.apache.org
> *Subject:* Re: User specific interpreter
>
>
>
> Hi Vikash,
>
>
>
> I'm also considering passing some tenancies into interpreter. it would be
> helpful but we should think of mix of those two cases like you. Do you have
> any idea to handle them nicely?
>
>
>
> On Wed, Oct 5, 2016 at 3:16 PM, Vikash Kumar 
> wrote:
>
> Hi Jongyoul,
>
> Thanks for your quick response.
>
>
>
> I created an interpreter as same phoenix which works with
> multi-tenant concept. So only user with their specific tenant_id can access
> their data. But for admin user  need another phoenix interpreter who can
> access the data for any tenant.
>
>
>
> But user other than admin permission  should not be able to use phoenix
> interpreter.
>
>
>
> Just assume there are two interpreters:
>
> 1.   Phoenix (Accessible only to admin)
>
> 2.   Phoenix-custom (Accessible to other user)
>
>
>
>
>
> And but about release date for 7 version?
>
> Thanks & Regards,
>
> *Vikash Kumar*
>
>
>
> *From:* Jongyoul Lee [mailto:jongy...@gmail.com]
> *Sent:* Wednesday, October 5, 2016 11:30 AM
> *To:* users@zeppelin.apache.org
> *Subject:* Re: User specific interpreter
>
>
>
> Hi,
>
>
>
> Can you share your idea in more details? If you want to new interpreter
> setting with existing interpreter, it's very simple. You can go to the
> inteterpreter tab and create new one with different name. Unfortunately,
> others can see that new setting and use it. About Multiuser implementation,
> there're a lot of requests and we are keeping it with
> https://issues.apache.org/jira/browse/ZEPPELIN-1337
>
>
>
> Hope this help,
>
> Jongyoul
>
>
>
> On Wed, Oct 5, 2016 at 2:20 PM, Vikash Kumar 
> wrote:
>
> Hi all,
>
> Can we create user specific interpreters? Like I want to
> create phoenix jdbc interpreter only for admin user. I am using branch
> 0.6.2.
>
> And question regarding
>
> 1.   release date for branch 7 so that we can demo for Helium
>
> 2.Multiuser implementation roadmap?
>
>
>
>
>
>
>
> Thanks & Regards,
>
> *Vikash Kumar*
>
>
>
>
>
> --
>
> 이종열, Jongyoul Lee, 李宗烈
>
> http://madeng.net
>
>
>
>
>
> --
>
> 이종열, Jongyoul Lee, 李宗烈
>
> http://madeng.net
>
>
>
>
>
> --
>
> 이종열, Jongyoul Lee, 李宗烈
>
> http://madeng.net
>
>


RE: User specific interpreter

2016-10-05 Thread Vikash Kumar
Thanks moon,
   Yes this task solves my problem but we have to wait for 7 
release. So is there nearby plan to release 07 version?

Thanks & Regards,
Vikash Kumar
From: moon soo Lee [mailto:m...@apache.org]
Sent: Wednesday, October 5, 2016 6:53 PM
To: users@zeppelin.apache.org
Subject: Re: User specific interpreter

Regarding two interpreter settings,

1.   Phoenix (Accessible only to admin)

2.   Phoenix-custom (Accessible to other user)

I think interpreter authorization [1] can help. which is available on master 
branch (0.7.0-SNAPSHOT).

Thanks,
moon

[1] https://issues.apache.org/jira/browse/ZEPPELIN-945

On Wed, Oct 5, 2016 at 4:26 PM Jongyoul Lee 
mailto:jongy...@gmail.com>> wrote:
Thanks,

I'll think of it more, too. :-) Please keep the status at JIRA.

Regards,
Jongyoul

On Wed, Oct 5, 2016 at 4:04 PM, Vikash Kumar 
mailto:vikash.ku...@resilinc.com>> wrote:
Hi,
Here you  can use two ways

1.   Add another tenant filed in authentication object and set the value 
when you are authentication the user.(Along with principle, ticket and 
role)That’s the right way.

2.   Use ticket as tenant id. Then you need to change the way of creation 
of ticket.

We are using the second way as we are not using the shiro for authentication 
and it’s simple as well.

Thanks & Regards,
Vikash Kumar

From: Jongyoul Lee [mailto:jongy...@gmail.com]
Sent: Wednesday, October 5, 2016 12:24 PM

To: users@zeppelin.apache.org
Subject: Re: User specific interpreter

Hi Vikash,

I'm also considering passing some tenancies into interpreter. it would be 
helpful but we should think of mix of those two cases like you. Do you have any 
idea to handle them nicely?

On Wed, Oct 5, 2016 at 3:16 PM, Vikash Kumar 
mailto:vikash.ku...@resilinc.com>> wrote:
Hi Jongyoul,
Thanks for your quick response.

I created an interpreter as same phoenix which works with 
multi-tenant concept. So only user with their specific tenant_id can access 
their data. But for admin user  need another phoenix interpreter who can access 
the data for any tenant.

But user other than admin permission  should not be able to use phoenix 
interpreter.

Just assume there are two interpreters:

1.   Phoenix (Accessible only to admin)

2.   Phoenix-custom (Accessible to other user)


And but about release date for 7 version?
Thanks & Regards,
Vikash Kumar

From: Jongyoul Lee [mailto:jongy...@gmail.com]
Sent: Wednesday, October 5, 2016 11:30 AM
To: users@zeppelin.apache.org
Subject: Re: User specific interpreter

Hi,

Can you share your idea in more details? If you want to new interpreter setting 
with existing interpreter, it's very simple. You can go to the inteterpreter 
tab and create new one with different name. Unfortunately, others can see that 
new setting and use it. About Multiuser implementation, there're a lot of 
requests and we are keeping it with 
https://issues.apache.org/jira/browse/ZEPPELIN-1337

Hope this help,
Jongyoul

On Wed, Oct 5, 2016 at 2:20 PM, Vikash Kumar 
mailto:vikash.ku...@resilinc.com>> wrote:
Hi all,
Can we create user specific interpreters? Like I want to create 
phoenix jdbc interpreter only for admin user. I am using branch 0.6.2.
And question regarding

1.   release date for branch 7 so that we can demo for Helium

2.Multiuser implementation roadmap?



Thanks & Regards,
Vikash Kumar



--
이종열, Jongyoul Lee, 李宗烈
http://madeng.net



--
이종열, Jongyoul Lee, 李宗烈
http://madeng.net



--
이종열, Jongyoul Lee, 李宗烈
http://madeng.net


Re: User specific interpreter

2016-10-05 Thread moon soo Lee
Regarding two interpreter settings,

1.   Phoenix (Accessible only to admin)

2.   Phoenix-custom (Accessible to other user)

I think interpreter authorization [1] can help. which is available on
master branch (0.7.0-SNAPSHOT).

Thanks,
moon

[1] https://issues.apache.org/jira/browse/ZEPPELIN-945

On Wed, Oct 5, 2016 at 4:26 PM Jongyoul Lee  wrote:

> Thanks,
>
> I'll think of it more, too. :-) Please keep the status at JIRA.
>
> Regards,
> Jongyoul
>
> On Wed, Oct 5, 2016 at 4:04 PM, Vikash Kumar 
> wrote:
>
> Hi,
>
> Here you  can use two ways
>
> 1.   Add another tenant filed in authentication object and set the
> value when you are authentication the user.(Along with principle, ticket
> and role)That’s the right way.
>
> 2.   Use ticket as tenant id. Then you need to change the way of
> creation of ticket.
>
>
>
> We are using the second way as we are not using the shiro for
> authentication and it’s simple as well.
>
>
>
> Thanks & Regards,
>
> *Vikash Kumar*
>
>
>
> *From:* Jongyoul Lee [mailto:jongy...@gmail.com]
> *Sent:* Wednesday, October 5, 2016 12:24 PM
>
> *To:* users@zeppelin.apache.org
> *Subject:* Re: User specific interpreter
>
>
>
> Hi Vikash,
>
>
>
> I'm also considering passing some tenancies into interpreter. it would be
> helpful but we should think of mix of those two cases like you. Do you have
> any idea to handle them nicely?
>
>
>
> On Wed, Oct 5, 2016 at 3:16 PM, Vikash Kumar 
> wrote:
>
> Hi Jongyoul,
>
> Thanks for your quick response.
>
>
>
> I created an interpreter as same phoenix which works with
> multi-tenant concept. So only user with their specific tenant_id can access
> their data. But for admin user  need another phoenix interpreter who can
> access the data for any tenant.
>
>
>
> But user other than admin permission  should not be able to use phoenix
> interpreter.
>
>
>
> Just assume there are two interpreters:
>
> 1.   Phoenix (Accessible only to admin)
>
> 2.   Phoenix-custom (Accessible to other user)
>
>
>
>
>
> And but about release date for 7 version?
>
> Thanks & Regards,
>
> *Vikash Kumar*
>
>
>
> *From:* Jongyoul Lee [mailto:jongy...@gmail.com]
> *Sent:* Wednesday, October 5, 2016 11:30 AM
> *To:* users@zeppelin.apache.org
> *Subject:* Re: User specific interpreter
>
>
>
> Hi,
>
>
>
> Can you share your idea in more details? If you want to new interpreter
> setting with existing interpreter, it's very simple. You can go to the
> inteterpreter tab and create new one with different name. Unfortunately,
> others can see that new setting and use it. About Multiuser implementation,
> there're a lot of requests and we are keeping it with
> https://issues.apache.org/jira/browse/ZEPPELIN-1337
>
>
>
> Hope this help,
>
> Jongyoul
>
>
>
> On Wed, Oct 5, 2016 at 2:20 PM, Vikash Kumar 
> wrote:
>
> Hi all,
>
> Can we create user specific interpreters? Like I want to
> create phoenix jdbc interpreter only for admin user. I am using branch
> 0.6.2.
>
> And question regarding
>
> 1.   release date for branch 7 so that we can demo for Helium
>
> 2.Multiuser implementation roadmap?
>
>
>
>
>
>
>
> Thanks & Regards,
>
> *Vikash Kumar*
>
>
>
>
>
> --
>
> 이종열, Jongyoul Lee, 李宗烈
>
> http://madeng.net
>
>
>
>
>
> --
>
> 이종열, Jongyoul Lee, 李宗烈
>
> http://madeng.net
>
>
>
>
> --
> 이종열, Jongyoul Lee, 李宗烈
> http://madeng.net
>


Re: User specific interpreter

2016-10-05 Thread Jongyoul Lee
Thanks,

I'll think of it more, too. :-) Please keep the status at JIRA.

Regards,
Jongyoul

On Wed, Oct 5, 2016 at 4:04 PM, Vikash Kumar 
wrote:

> Hi,
>
> Here you  can use two ways
>
> 1.   Add another tenant filed in authentication object and set the
> value when you are authentication the user.(Along with principle, ticket
> and role)That’s the right way.
>
> 2.   Use ticket as tenant id. Then you need to change the way of
> creation of ticket.
>
>
>
> We are using the second way as we are not using the shiro for
> authentication and it’s simple as well.
>
>
>
> Thanks & Regards,
>
> *Vikash Kumar*
>
>
>
> *From:* Jongyoul Lee [mailto:jongy...@gmail.com]
> *Sent:* Wednesday, October 5, 2016 12:24 PM
>
> *To:* users@zeppelin.apache.org
> *Subject:* Re: User specific interpreter
>
>
>
> Hi Vikash,
>
>
>
> I'm also considering passing some tenancies into interpreter. it would be
> helpful but we should think of mix of those two cases like you. Do you have
> any idea to handle them nicely?
>
>
>
> On Wed, Oct 5, 2016 at 3:16 PM, Vikash Kumar 
> wrote:
>
> Hi Jongyoul,
>
> Thanks for your quick response.
>
>
>
> I created an interpreter as same phoenix which works with
> multi-tenant concept. So only user with their specific tenant_id can access
> their data. But for admin user  need another phoenix interpreter who can
> access the data for any tenant.
>
>
>
> But user other than admin permission  should not be able to use phoenix
> interpreter.
>
>
>
> Just assume there are two interpreters:
>
> 1.   Phoenix (Accessible only to admin)
>
> 2.   Phoenix-custom (Accessible to other user)
>
>
>
>
>
> And but about release date for 7 version?
>
> Thanks & Regards,
>
> *Vikash Kumar*
>
>
>
> *From:* Jongyoul Lee [mailto:jongy...@gmail.com]
> *Sent:* Wednesday, October 5, 2016 11:30 AM
> *To:* users@zeppelin.apache.org
> *Subject:* Re: User specific interpreter
>
>
>
> Hi,
>
>
>
> Can you share your idea in more details? If you want to new interpreter
> setting with existing interpreter, it's very simple. You can go to the
> inteterpreter tab and create new one with different name. Unfortunately,
> others can see that new setting and use it. About Multiuser implementation,
> there're a lot of requests and we are keeping it with
> https://issues.apache.org/jira/browse/ZEPPELIN-1337
>
>
>
> Hope this help,
>
> Jongyoul
>
>
>
> On Wed, Oct 5, 2016 at 2:20 PM, Vikash Kumar 
> wrote:
>
> Hi all,
>
> Can we create user specific interpreters? Like I want to
> create phoenix jdbc interpreter only for admin user. I am using branch
> 0.6.2.
>
> And question regarding
>
> 1.   release date for branch 7 so that we can demo for Helium
>
> 2.Multiuser implementation roadmap?
>
>
>
>
>
>
>
> Thanks & Regards,
>
> *Vikash Kumar*
>
>
>
>
>
> --
>
> 이종열, Jongyoul Lee, 李宗烈
>
> http://madeng.net
>
>
>
>
>
> --
>
> 이종열, Jongyoul Lee, 李宗烈
>
> http://madeng.net
>



-- 
이종열, Jongyoul Lee, 李宗烈
http://madeng.net


RE: User specific interpreter

2016-10-05 Thread Vikash Kumar
Hi,
Here you  can use two ways

1.   Add another tenant filed in authentication object and set the value 
when you are authentication the user.(Along with principle, ticket and 
role)That’s the right way.

2.   Use ticket as tenant id. Then you need to change the way of creation 
of ticket.

We are using the second way as we are not using the shiro for authentication 
and it’s simple as well.

Thanks & Regards,
Vikash Kumar

From: Jongyoul Lee [mailto:jongy...@gmail.com]
Sent: Wednesday, October 5, 2016 12:24 PM
To: users@zeppelin.apache.org
Subject: Re: User specific interpreter

Hi Vikash,

I'm also considering passing some tenancies into interpreter. it would be 
helpful but we should think of mix of those two cases like you. Do you have any 
idea to handle them nicely?

On Wed, Oct 5, 2016 at 3:16 PM, Vikash Kumar 
mailto:vikash.ku...@resilinc.com>> wrote:
Hi Jongyoul,
Thanks for your quick response.

I created an interpreter as same phoenix which works with 
multi-tenant concept. So only user with their specific tenant_id can access 
their data. But for admin user  need another phoenix interpreter who can access 
the data for any tenant.

But user other than admin permission  should not be able to use phoenix 
interpreter.

Just assume there are two interpreters:

1.   Phoenix (Accessible only to admin)

2.   Phoenix-custom (Accessible to other user)


And but about release date for 7 version?
Thanks & Regards,
Vikash Kumar

From: Jongyoul Lee [mailto:jongy...@gmail.com]
Sent: Wednesday, October 5, 2016 11:30 AM
To: users@zeppelin.apache.org
Subject: Re: User specific interpreter

Hi,

Can you share your idea in more details? If you want to new interpreter setting 
with existing interpreter, it's very simple. You can go to the inteterpreter 
tab and create new one with different name. Unfortunately, others can see that 
new setting and use it. About Multiuser implementation, there're a lot of 
requests and we are keeping it with 
https://issues.apache.org/jira/browse/ZEPPELIN-1337

Hope this help,
Jongyoul

On Wed, Oct 5, 2016 at 2:20 PM, Vikash Kumar 
mailto:vikash.ku...@resilinc.com>> wrote:
Hi all,
Can we create user specific interpreters? Like I want to create 
phoenix jdbc interpreter only for admin user. I am using branch 0.6.2.
And question regarding

1.   release date for branch 7 so that we can demo for Helium

2.Multiuser implementation roadmap?



Thanks & Regards,
Vikash Kumar



--
이종열, Jongyoul Lee, 李宗烈
http://madeng.net



--
이종열, Jongyoul Lee, 李宗烈
http://madeng.net