Re: Authenticate 1 user per notebook

2016-09-07 Thread Khalid Huseynov
Regarding the latter message on invalid token. That stacktrace possible when someone logs out from Zeppelin but keeps the window open in browser. Then it keeps sending websocket ping messages with invalid ticket which errors in Zeppelin. On Thu, Sep 8, 2016 at 11:06 AM, Polina Marasanova <

RE: Config for spark interpreter

2016-09-07 Thread Polina Marasanova
Hi Mina, Thank you for your response. I double checked approach 1 and 3, still no luck. Probably the point is that I'm not using default Zeppelin binary zeppelin-0.6.0-bin-netinst.tgz because it doesn't fit our cluster architecture (we use MapR 5.1). I built it from source code for version

Re: How to use web sockets with Zeppellin

2016-09-07 Thread kant kodali
ok here is a concrete example. I am still trying to connect the dots..If I were to split Zeppelin as both front end and backend then I wouldn't choose to use Zeppelin in the first place. The main motivation for me to explore Zeppelin is that I don't have to spend time developing different

Install external jar for zeppelin

2016-09-07 Thread York Huang
Hi, I am using HDP 2.4 sandbox. I download spark-avro jar file and add the following to /etc/spark/2.4.0.0-169/0/spark-defaults.conf and /usr/hdp/2.4.0.0-169/etc/spark/conf/spark-defaults.conf. spark.driver.extraClassPath /opt/spark-jars/spark-avro_2.10-2.0.1.jar spark.executor.extraClassPath

Re: How to use web sockets with Zeppellin

2016-09-07 Thread spacewalk...@163.com
i thought it was a separating zeppelin backend and frontend problem, but what @corneadoug say is a high-level WS description, maybe i misinterpretation @kant kodali’s issue > 在 2016年9月8日,09:48,Corneau Damien 写道: > > This change wouldn't solve your issue, it is the

RE: ActiveDirectoryGroupRealm.java allows user outside of searchBase to login

2016-09-07 Thread Polina Marasanova
Related to this issue: One more thing. In Zeppelin logs there are many messages like this 16/09/08 02:03:46 DEBUG NotebookServer: RECEIVE << PING 16/09/08 02:03:46 DEBUG NotebookServer: RECEIVE PRINCIPAL << 16/09/08 02:03:46 DEBUG NotebookServer: RECEIVE TICKET << 16/09/08 02:03:46 DEBUG

RE: Authenticate 1 user per notebook

2016-09-07 Thread Polina Marasanova
One more thing. In Zeppelin logs there are many messages like this: 16/09/08 02:03:46 DEBUG NotebookServer: RECEIVE << PING 16/09/08 02:03:46 DEBUG NotebookServer: RECEIVE PRINCIPAL << 16/09/08 02:03:46 DEBUG NotebookServer: RECEIVE TICKET << 16/09/08 02:03:46 DEBUG NotebookServer: RECEIVE

Re: How to use web sockets with Zeppellin

2016-09-07 Thread Corneau Damien
This change wouldn't solve your issue, it is the address where the front-end send his API requests and listen to WS (zeppelin server) I guess your requirements are different. The way Zeppelin works is usually pretty simple: 1) You type your code in the front-end 2) That code is sent to Zeppelin

Re: How to use web sockets with Zeppellin

2016-09-07 Thread spacewalk...@163.com
@kan kodali, i’m not a front guy either.i’v got the same requirement as you recently, i have to separate zeppelin backend and frontend to different servers, i did as what the previous mail says,i works. for you questions: 1. AFAK,is not configurable. if you are familiar with Grunt ,maybe a

RE: ActiveDirectoryGroupRealm.java allows user outside of searchBase to login

2016-09-07 Thread Polina Marasanova
Hi everyone, I'm experiencing exactly same problem with Zeppelin 0.6.0 It shiro plugin lets everyone in and it cannot be limited by searchbase. Here is an example of my config. In fact it lets everyone in from OU=Users. [main] ### A sample for configuring Active Directory Realm

Re: Can't download zeppelin 0.6.1 binary

2016-09-07 Thread York Huang
HI guys, Can the binary work for mapr directly? Do I need to download the source and build for mapr? Thanks York Sent from my iPhone > On 7 Sep 2016, at 5:51 PM, Alexander Bezzubov wrote: > > Hi, > > hotfix for the website has just went live - download page should work

Re: How to use web sockets with Zeppellin

2016-09-07 Thread kant kodali
Hi! Thanks for this but I still see the big picture. I have not used Angular before nor I am a frontend guy. so I have the following questions. 1. Why do we need to change the source code? isn't this configurable or isn't there a way to pass url as a parameter? If you think it is the easiest

Re: Hbase configuration storage without data

2016-09-07 Thread moon soo Lee
Hi, For now, code and result data are mixed in note.json, which is represented by 'class Note' [1]. And every Notebook storage layer need to implement 'NotebookRepo.get()' [2] to read note.json from underlying storage and convert it into 'class Note'. As you see the related API and class

Re: Spark DataFrame Plotting

2016-09-07 Thread moon soo Lee
You will need to generate extra column which can be used as a X-axis for column A and B. On Wed, Sep 7, 2016 at 2:34 AM Abhisar Mohapatra < abhisar.mohapa...@inmobi.com> wrote: > I am not sure ,But can you try once by grouby function in zeppelin.If uou > can group by columns then i guess that

Re: How to use web sockets with Zeppellin

2016-09-07 Thread spacewalk...@163.com
@kant kodali change zeppelin-web\ src\components\baseUrl\baseUrl.service.js like this: this.getWebsocketUrl = function() { var wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:'; return wsProtocol + ‘//your_ip_address:' + this.getPort() +

Hbase configuration storage without data

2016-09-07 Thread Vikash Kumar
Hi all, We are storing the note.json configuration into hbase as it is stored into File system. As default behavior in note.json the query data is stored along with configuration. But we want to store the configurations only and when user loading its note then query should get

Re: Spark DataFrame Plotting

2016-09-07 Thread Abhisar Mohapatra
I am not sure ,But can you try once by grouby function in zeppelin.If uou can group by columns then i guess that would do the trick or pass the data to another HTML block and use d3 comparison chart to plot it On Wed, Sep 7, 2016 at 2:56 PM, patcharee wrote: > Normal

Re: Spark DataFrame Plotting

2016-09-07 Thread patcharee
Normal select * gives me one column on X-axis and another on Y-axis. I cannot make both A:Double, B:Double displayed on Y-axis. How to do that? Patcharee On 07. sep. 2016 11:05, Abhisar Mohapatra wrote: You can do a normal select * on the dataframe and it would be automatically interpreted.

Re: Spark DataFrame Plotting

2016-09-07 Thread Abhisar Mohapatra
You can do a normal select * on the dataframe and it would be automatically interpreted. On Wed, Sep 7, 2016 at 2:29 PM, patcharee wrote: > Hi, > > I have a dataframe with this schema A:Double, B:Double. How can I plot > this dataframe as two lines (comparing A and B

Spark DataFrame Plotting

2016-09-07 Thread patcharee
Hi, I have a dataframe with this schema A:Double, B:Double. How can I plot this dataframe as two lines (comparing A and B at each step)? Best, Patcharee

How to use web sockets with Zeppellin

2016-09-07 Thread kant kodali
HI Guys, I have a server which can handle websocket connections. Now I would like to see if there is a way to tell apache zeppellin to create to websocket connect to my server and display the whatever it received? Thanks, Kant