Re: Data Source Authorization - JDBC Credential

2017-04-26 Thread moon soo Lee
I think actual user passed to JDBC driver is retrieved here https://github.com/apache/zeppelin/blob/v0.7.1/jdbc/src/main/java/org/apache/zeppelin/jdbc/JDBCInterpreter.java#L322 On Tue, Apr 25, 2017 at 11:15 AM Paul Brenner wrote: > I have restarted interpreter after creating the entity in crede

Re: Data Source Authorization - JDBC Credential

2017-04-25 Thread Paul Brenner
I have restarted interpreter after creating the entity in credential menu. It still doesn’t work. I think that, because this issue occurs with both credentials and when I set default.user, it is somehow an issue with how the snowflake driver is connecting with zeppelin’s jdbc driver. I tried tra

Re: Data Source Authorization - JDBC Credential

2017-04-22 Thread moon soo Lee
Hmm that's strange. I can see 0.7.1 works as expected when I remove default.user/default.password and then set credential. Also i can set default.user, default.password without using credential menu and it works as expected as well. Have you tried restart interpreter after create/update entity in

Re: Data Source Authorization - JDBC Credential

2017-04-22 Thread Paul Brenner
Using 0.7.1 and yes I tried removing default.user/default.password after setting my credentials in the credentials section. It did not work.  I found that actually setting the correct value for default.user did not work either. Same error. It seems like the zeppelin jdbc interpreter is not passi

Re: Data Source Authorization - JDBC Credential

2017-04-21 Thread moon soo Lee
Hi, Which version of Zeppelin are you using? Have you tried remove 'default.user' and 'default.password' property from interpreter menu and create entity in credential menu? Thanks, moon On Fri, Apr 21, 2017 at 11:55 AM Paul Brenner wrote: > Are credentials confirmed working with the JDBC inte

Re: Data Source Authorization - JDBC Credential

2017-04-21 Thread Paul Brenner
Are credentials confirmed working with the JDBC interpreter? I’m trying to get jdbc working with snowflake. If I hardcore my username and password into the default url everything works great… but this of course won’t work in a multi user environment. However, if I try to use default username, d

Re: Data Source Authorization - JDBC Credential

2017-04-20 Thread moon soo Lee
Hi, If you remove 'default.user' 'default.password' properties from jdbc interpreter setting, then Zeppelin will use database username and password from credential database for each user. I also created a patch [1] to use credential database when 'default'.user' and 'default.password' is empty

Data Source Authorization - JDBC Credential

2017-04-10 Thread Arpad Beregszaszi
Hi all, I'm pretty new with Zeppeln and I need help with one problem regarding data source authorization as its described here: https://zeppelin.apache.org/docs/0.7.0/security/datasource_authorization.htm l I can successfully connect Zeppelin to my MySQL Server. Now I want to give diff