Re: Paragraph text editor is very slow when number of notes is large (> 1000)

2016-10-01 Thread Corneau Damien
Might be hard to reproduce if we need to have 1000 notes.
And its also difficult to figure it out without more informations.

I don't think there is a real short-term workaround, If the issue is from
the notebook list, then using bind-once on that list could maybe have an
impact.
Otherwise things will get better as the code get cleaned up.

On Sun, Oct 2, 2016 at 6:58 AM, DuyHai Doan  wrote:

> The digest function is an Angular stuff and is a well known perf issue
> related to the way how Angular detects changes in UI components.
>
> This perf issue should be fixed with Angular2, which is using native
> functions for change detection: http://blog.thoughtram.io/angular/2016/02/
> 22/angular-2-change-detection-explained.html
>
> On Fri, Sep 30, 2016 at 9:45 PM, Prasad Wagle 
> wrote:
>
>> Hi,
>>
>> I just created ZEPPELIN-1513
>>  - Paragraph text
>> editor is very slow when number of notes is large (> 1000). The screenshot
>> attached to the Jira issue with profiler information indicates that the
>> problem is with the digest function. How do we fix this problem and is
>> there a short-term workaround?
>>
>> Thanks,
>> Prasad
>>
>
>


Re: command execution time measure

2016-09-28 Thread Corneau Damien
Hi Herman,

This issue was fixed some time ago. (
https://issues.apache.org/jira/browse/ZEPPELIN-1161)
It should be fixed in 0.6.1
It is fixed in Master right now for sure.


On Wed, Sep 28, 2016 at 10:54 PM, Herman Yu  wrote:

> Hi,
>
> with Zeppelin 0.6, it only shows the time measure as "Took a few
> seconds/Took a minute….”. with the tech-preview version comes with HDP
> 2.4.0, it used to show the exact time a command took, like “took 36
> seconds….” Is this configurable? I would like to have it show me the exact
> time a command took.
>
> Thanks
> Herman.
>
>
>


Re: Adding main and access titles to Zeppelin's chart

2016-09-27 Thread Corneau Damien
Hi,
For some charts, the legend of the Yaxis has the name of the data.
However there is currently no option to add a Title, or Axis Title.

You can probably create a Jira Issue for that

On Tue, Sep 27, 2016 at 4:40 PM, Mich Talebzadeh 
wrote:

> Hi,
>
> Is there anyway one can add the main and axis titles to Zeppelin charts
> such as "Company XYZ daily prices", x= day, Y = price etc
>
> 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: Unable to change the height of paragraphs after upgrade 0.5.6 to 0.6.1

2016-09-23 Thread Corneau Damien
Hi,

The way it worked may have changed between 0.5.6 and 0.6.1 in the way that
only the result size can be changed instead of the whole paragraph.
In the case of the Table and Graph, you can resize up or down as much as
you want (there is still a minimum height though).
For basic Text type, you can resize down to the minimum height, and up to
the maximum height of the text.

I will check in the 0.6.1 release in case, but at least it is working well
in the master branch

On Fri, Sep 23, 2016 at 9:35 PM, tolomaus 
wrote:

> Hi,
>
> I noticed that I can't change the height of the table/graph based
> paragraphs
> anymore since I upgraded. Before a handle appeared in the bottom corner to
> allow dragging the height. Now it is stuck at 300
>
> As a temporary workaround I manually increased the height in the note.json.
>
> Angular based paragraphs are doing fine.
>
> Any idea?
>
>
>
> --
> View this message in context: http://apache-zeppelin-users-
> incubating-mailing-list.75479.x6.nabble.com/Unable-to-
> change-the-height-of-paragraphs-after-upgrade-0-5-6-to-0-6-1-tp4205.html
> Sent from the Apache Zeppelin Users (incubating) mailing list mailing list
> archive at Nabble.com.
>


Re: Is there any more angular display system examples ?

2016-09-14 Thread Corneau Damien
Hi Jeff,

I think there might be some examples here:
https://www.zeppelinhub.com/viewer/showcases/Visualization

But I'm sure others that have some of their own, would post it here too

On Wed, Sep 14, 2016 at 5:43 PM, Jeff Zhang  wrote:

> I looked at the following link about angular display system, it is very
> interesting.  I just wonder is there any more examples and small widget
> built upon angular. Thanks
>
> https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/displaysystem/back-end-
> angular.html
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>


Re: table render string to long

2016-09-08 Thread Corneau Damien
Hi dengjh,

It seems to be an effect of a recent commit that try to detect Numbers.(
https://github.com/apache/zeppelin/pull/1371)
I think this PR https://github.com/apache/zeppelin/pull/1363, would be able
to fix this issue as it would allow users to specify the type by themselves.

However keep in mind that this behavior is only applied in the Table, and
the value should be as a string in charts

On Thu, Sep 8, 2016 at 6:00 PM, den...@udcredit.com 
wrote:

> hi team,
>
> I am a new user of zepplin. I used psql to get data from impala. I can get
> data successful, but the type of String was rendered to Long as below.
> The event_time should be String, but now it's long. Is it a bug? If not,
> can you give me some advice?
>
> --
> 杭州有盾网络科技有限公司
> *HANGZHOU UDCREDIT NETWORK TECHNOLOGY CO., LTD.*
>
> 部门:  数据应用技术部
> 姓名:  dengjunhua
> 手机:  15158114898
> 邮箱: den...@udcredit.com
>


Re: How to use web sockets with Zeppellin

2016-09-08 Thread Corneau Damien
There might actually be another way to do that using python or scala code.

I don't have experience in those, but I guess the overall idea behind it
would be to have this type of code in a paragraph that you run:


// Include python websocket library

// pythonWebsocketOpenConnection(myServerWithData)

// pythonWebsocketEventListener(event) {
//   transform data to be in the format "product\tprice\nbanana\t12\
napple\t8"
//   print("%table " + event.data )
//}

This example is for the result of a single paragraph (the one with the
code),
However if you receive result for multiple graphs in that hook, you could
probably prepare other paragraphs with something like:

//  print("%table " + graphData1 )

and change the original hook in previous example to do
// pythonWebsocketEventListener(event) {
//   graphData1 = event.data.graph1 (transformed in the format
"product\tprice\nbanana\t12\napple\t8")
//   z.runParagraph(paragrpahID) (The one with the graphData1, the ID is in
the paragraph dropdown settings)
//   etc...
//}




On Thu, Sep 8, 2016 at 5:31 PM, Corneau Damien <cornead...@gmail.com> wrote:

> To reply to 1)
>
> The type of  charts and its options are set in the UI, and saved as
> settings in the note.
> So the queries do not have any effect on it.
>
> The front-end receive data as a result of a query.
>
> for example:
>
> You can type
>
> ```
> %sql
> select * from bank
> ```
>
> And the front-end will receive a table like result in the form of:
>
> "product\tprice\nbanana\t12\napple\t8"
>
> It will first show it as a Table, but the UI allows you to change the
> visualization type.
>
>
> To reply to 2)
>
> I don't have any knowledge of a websocket interpreter.
>
> However like I explained before in the Zeppelin workflow,
> Zeppelin Server send a Query through an interpreter to whatever type of
> backend, and gets a result back.
> It then send back that result to the UI.
>
> A Spark interpreter is used to query Spark,
> A JDBC interpreter is used to query SQL server
> and so on...
> (We even have a shell interpreter)
>
> If you are using something custom outside of the existing data
> processing/data store technology we have,
> and you want to make Zeppelin communicate with it to render data, you will
> need to create a custom interpreter.
>
> On Thu, Sep 8, 2016 at 4:20 PM, kant kodali <kanth...@gmail.com> wrote:
>
>> @Corneau The links you have pointed out doesnt show how I can retrieve
>> messages through websocket and tie to chars. I would stress again and say
>> how do i tie all this up to charts?
>>
>> On Thu, Sep 8, 2016 at 12:17 AM, kant kodali <kanth...@gmail.com> wrote:
>>
>>> Hi Corneau,
>>>
>>> I appreciate the responses but again I am really looking for a specific
>>> answer
>>>
>>> 1. "This protocol looks interesting but how do I construct messages
>>> such that I can see different visualizations of charts?" This question
>>> is not being addressed.
>>>
>>> 2. How can I use an existing interpreter and achieve my goal otherwords
>>> again how can I tie all this thing to charts (I just haven't heard any
>>> answer related to that)? If I were to write my own interpreter then I might
>>> as well create my own UI.
>>>
>>> It is ok if you guys say it is not possible and I would understand that
>>> and probably pick a different route.
>>>
>>> Thanks much,
>>> Kant
>>>
>>>
>>> On Thu, Sep 8, 2016 at 12:10 AM, Corneau Damien <cornead...@gmail.com>
>>> wrote:
>>>
>>>> You will probably need to make an interpreter for it, or use an
>>>> existing one.
>>>>
>>>> https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/manual/inter
>>>> preters.html
>>>>
>>>> You will find the list of existing interpreters in the menu.
>>>>
>>>> If you do need to create one, then you can refer to this guide
>>>> https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/development/
>>>> writingzeppelininterpreter.html
>>>>
>>>> On Thu, Sep 8, 2016 at 3:56 PM, kant kodali <kanth...@gmail.com> wrote:
>>>>
>>>>> @spacewalkman Just an FYI I don't have anything to do with Spark at
>>>>> the moment. I just have a node.js server which is capable of websocket
>>>>> connections and ready to push data needed for charts.
>>>>>
>>>>> This protocol looks interesting but how do I construct messages such
>>>>> that I can se

Re: How to use web sockets with Zeppellin

2016-09-08 Thread Corneau Damien
To reply to 1)

The type of  charts and its options are set in the UI, and saved as
settings in the note.
So the queries do not have any effect on it.

The front-end receive data as a result of a query.

for example:

You can type

```
%sql
select * from bank
```

And the front-end will receive a table like result in the form of:

"product\tprice\nbanana\t12\napple\t8"

It will first show it as a Table, but the UI allows you to change the
visualization type.


To reply to 2)

I don't have any knowledge of a websocket interpreter.

However like I explained before in the Zeppelin workflow,
Zeppelin Server send a Query through an interpreter to whatever type of
backend, and gets a result back.
It then send back that result to the UI.

A Spark interpreter is used to query Spark,
A JDBC interpreter is used to query SQL server
and so on...
(We even have a shell interpreter)

If you are using something custom outside of the existing data
processing/data store technology we have,
and you want to make Zeppelin communicate with it to render data, you will
need to create a custom interpreter.

On Thu, Sep 8, 2016 at 4:20 PM, kant kodali <kanth...@gmail.com> wrote:

> @Corneau The links you have pointed out doesnt show how I can retrieve
> messages through websocket and tie to chars. I would stress again and say
> how do i tie all this up to charts?
>
> On Thu, Sep 8, 2016 at 12:17 AM, kant kodali <kanth...@gmail.com> wrote:
>
>> Hi Corneau,
>>
>> I appreciate the responses but again I am really looking for a specific
>> answer
>>
>> 1. "This protocol looks interesting but how do I construct messages such
>> that I can see different visualizations of charts?" This question is not
>> being addressed.
>>
>> 2. How can I use an existing interpreter and achieve my goal otherwords
>> again how can I tie all this thing to charts (I just haven't heard any
>> answer related to that)? If I were to write my own interpreter then I might
>> as well create my own UI.
>>
>> It is ok if you guys say it is not possible and I would understand that
>> and probably pick a different route.
>>
>> Thanks much,
>> Kant
>>
>>
>> On Thu, Sep 8, 2016 at 12:10 AM, Corneau Damien <cornead...@gmail.com>
>> wrote:
>>
>>> You will probably need to make an interpreter for it, or use an existing
>>> one.
>>>
>>> https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/manual/interpreters.html
>>>
>>> You will find the list of existing interpreters in the menu.
>>>
>>> If you do need to create one, then you can refer to this guide
>>> https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/development/
>>> writingzeppelininterpreter.html
>>>
>>> On Thu, Sep 8, 2016 at 3:56 PM, kant kodali <kanth...@gmail.com> wrote:
>>>
>>>> @spacewalkman Just an FYI I don't have anything to do with Spark at
>>>> the moment. I just have a node.js server which is capable of websocket
>>>> connections and ready to push data needed for charts.
>>>>
>>>> This protocol looks interesting but how do I construct messages such
>>>> that I can see different visualizations of charts? I am pretty sure I have
>>>> articulated my question clearly it will great if I can see a bit
>>>> detailed description or a simple example.
>>>>
>>>> I believe that I am asking for a very simple feature.
>>>>
>>>> Thanks a ton,
>>>> Kant
>>>>
>>>> On Wed, Sep 7, 2016 at 8:52 PM, spacewalk...@163.com <
>>>> spacewalk...@163.com> wrote:
>>>>
>>>>> maybe a custom SparkStreamingInterpreter  can handle this.
>>>>>
>>>>> zeppelin WS protocol is defined in:
>>>>>
>>>>>
>>>>>1. https://github.com/apache/zeppelin/blob/master/zeppelin-zeng
>>>>>ine/src/main/java/org/apache/zeppelin/notebook/socket/Message.java
>>>>>
>>>>> <https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/socket/Message.java>
>>>>>
>>>>>
>>>>> every [c-s] message is handled by zeppelin backend, [s-c] is handled
>>>>> by zeppelin frontend.All you have to do is when new streaming data is
>>>>> there, triigger a [s-c] message from backend, a frontend event handler may
>>>>> also required.
>>>>>
>>>>>
>>>>> 在 2016年9月8日,11:39,kant kodali <kanth...@gmail.com> 写道:
>>>>>
>>>

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 server to be run
3) The server send it to the right processing engine
4) Processing engine send back the result
5) Zeppelin Server send a websocket event
6) Front-end show whatever he receives

You might be able to find a few Notebook examples on how some people used
Spark Streaming here:
https://www.zeppelinhub.com/viewer/showcases/Streaming

On Thu, Sep 8, 2016 at 3:30 AM, kant kodali  wrote:

> 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 way sure I can change that.
>2. How change this let me grab data from my websocket server and
>display it with the charts/graphs (simple to graphs we see when we run sql
>on Zeppelin notebook)
>3. if there is a simple example that would be awesome.
>
> Thanks again!
>
>
>
> On Wed, Sep 7, 2016 5:05 AM, spacewalk...@163.com spacewalk...@163.com
> wrote:
>
>> @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() +
>> skipTrailingSlash(location.pathname) + '/ws';
>>   };
>>
>>   this.getRestApiBase = function() {
>> return location.protocol + '//your_ip_address:' + this.getPort() +
>> skipTrailingSlash(location.pathname) +
>>   '/api';
>>   };
>>
>> 在 2016年9月7日,15:39,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
>>
>>
>>


Re: Can't download zeppelin 0.6.1 binary

2016-09-06 Thread Corneau Damien
Hi York,

Thanks for reporting it, seems we had a small problem when compiling the
website last time.
We are working on a Hotfix right now, shouldn't take long before it's back
up again.
We will post in this thread once its done.


On Wed, Sep 7, 2016 at 8:50 AM, York Huang  wrote:

> Hi,
>
> I go to the link http://zeppelin.apache.org/download.html.
> But I can't download zeppelin binary from there.
>
> Does anyone know why?
>
> Thanks,
>
> York
>


Re: ajax call

2016-09-03 Thread Corneau Damien
The CORS actually needs to be set where he is trying to fetch the XML, not
on Zeppelin side.

On Sun, Sep 4, 2016 at 4:58 AM, tolomaus 
wrote:

> There is an option zeppelin.server.allowed.origins in zeppelin-site.xml to
> configure the origin you want to allow, but I never got it to work. If I
> recall well it was only partially implemented.
>
> I worked around this problem with jsonp:
>
> $.ajax({
>   url: "http://...;,
>   data: {a: "xxx", b: "..."},
>   async: true,
>   dataType: 'jsonp',
>   crossDomain: true,
>   success: function (data, status, xhr) {
>  ...
>
> Note that the result the server returns should be in javascript.
>
>
>
> --
> View this message in context: http://apache-zeppelin-users-
> incubating-mailing-list.75479.x6.nabble.com/ajax-call-tp4024p4037.html
> Sent from the Apache Zeppelin Users (incubating) mailing list mailing list
> archive at Nabble.com.
>


Re: zeppelin front-end extensibility

2016-08-25 Thread Corneau Damien
Thanks for providing some ideas to the topic.
I guess this architecture could be explored when trying to improve Helium,
or the overall plugin concept.

On Thu, Aug 25, 2016 at 6:12 PM, Andreas Weise 
wrote:

> Hi,
>
> This is about the UI extensibility of zeppelin.
>
> I've read the Helium Proposal [1] and looked at the referenced helium
> examples in github. As far as I see, helium is an notebook centric approach
> - which means that only notebook functionality can be used.
>
> Right now it seems very hard to extend zeppelin overall functionality
> properly without hacking the core application, e.g. when adding additional
> visualization types to the core [2]. What seems to be missing is a kind of
> plugin concept for extending the front-end more easily.
>
> In another project I have worked with camunda [3] which is a backend
> system written in java (for executing business processes) that also
> contains a UI application [4] written in js with angular (called Cockpit
> for administering business processes). The camunda guys found a very neat
> approach [5, 6] allowing developers to extend their cockpit application in
> a modular manner and I wanted to share this with you, as it might be
> adaptable for the zeppelin-web project. Parts of their plugin concept:
>
> * client side extensions written in angular
> * server side extensions written in java (exposing REST apis)
> * single deployment artifact (jar/war) that can be referenced via maven
> (or any other dependency management tool)
> * clear file structure containing server & client side files
> * well-defined extension points for extending the UI [7]
> * priorities for sorting multiple plugins on the same extension point
> * plugin store for sharing plugins with the community [8]
>
> This approach could also be used to make the core artifact itself
> (zeppelin-web) become more modular - e.g. extract existing chart types into
> separate module.
>
> Let me know what you think.
>
> Cheers
> Andreas
>
> [1] http://madhukaudantha.blogspot.de/2015/08/introducing-
> new-chart-library-and-types.html
> [2] https://cwiki.apache.org/confluence/display/ZEPPELIN/Helium+proposal
> [3] https://camunda.org/
> [4] https://docs.camunda.org/manual/7.5/webapps/cockpit/
> [5] https://docs.camunda.org/manual/7.5/webapps/cockpit/extend/plugins/
> [6] https://docs.camunda.org/manual/7.5/examples/tutorials/
> develop-cockpit-plugin/
> [7] https://docs.camunda.org/manual/7.5/webapps/cockpit/exte
> nd/plugins/#plugin-points
> [8] https://camunda.org/plugins/
>
>


Re: is there way to update(push latest data to) Zeppelin dashboard ?

2016-08-24 Thread Corneau Damien
I was referring to this documentation:
https://zeppelin.apache.org/docs/0.6.1/displaysystem/back-end-angular.html

On Thu, Aug 25, 2016 at 11:19 AM, kant kodali <kanth...@gmail.com> wrote:

> I dont know how angular works moreover I don't understand why we should be
> tied to certain framework?
>
>
>
> On Wed, Aug 24, 2016 6:53 PM, Corneau Damien cornead...@gmail.com wrote:
>
>> Wouldn't angular bind work in that case?
>>
>> On Thu, Aug 25, 2016 at 6:13 AM, moon soo Lee <m...@apache.org> wrote:
>>
>> Try find small 'clock' icon on any particular Note next to 'Remove'
>> button.
>> This scheduler feature will help you auto refresh Note.
>>
>> Thanks,
>> moon
>>
>>
>> On Wed, Aug 24, 2016 at 11:31 AM kant kodali <kanth...@gmail.com> wrote:
>>
>> at very least can we auto refreshing on the Zeppelin dashboard on a
>> certain time interval?
>>
>>
>>
>> On Wed, Aug 24, 2016 10:56 AM, kant kodali kanth...@gmail.com wrote:
>>
>> I would say this is like a very basic requirement for a dashboard and it
>> is surprising Zeppelin doesn't have an out of the box solution.
>>
>>
>>
>> On Wed, Aug 24, 2016 9:06 AM, DuyHai Doan doanduy...@gmail.com wrote:
>>
>> "Perhaps some built in visualization widget that can poll a backend for
>> updates?"
>>
>> Surely, but then someone need to code it. And a pre-built solution is
>> never really as flexible as a customized dev. I don't see how we can create
>> a generic component. Unless we decouple the data receiver component from
>> the display component and make them pluggable.
>>
>>
>> On Wed, Aug 24, 2016 at 5:51 PM, Vinay Shukla <vinayshu...@gmail.com>
>> wrote:
>>
>> Is there a way to make it easier for our Zeppelin users? Perhaps some
>> built in visualization widget that can poll a backend for updates?
>>
>>
>> On Wednesday, August 24, 2016, DuyHai Doan <doanduy...@gmail.com> wrote:
>>
>> "I want the updates to be pushed to the dashboard I dont want keep
>> running the query over and over again or do some sort of polling."
>>
>> In this case the only solution for you is:
>>
>> 1) use %angular interpreter
>> 2) import a JS library in a paragraph and do some JS coding to open a
>> web-socket channel to the data source so that the new updates can be pushed
>> directly to the paragraph
>>
>>
>>
>> On Wed, Aug 24, 2016 at 1:15 PM, kant kodali <kanth...@gmail.com> wrote:
>>
>> Hi,
>>
>> Sure, I can either write it to HDFS or Cassandra but not HBASE since we
>> don't use it but how about constant updates? you know what I mean? I want
>> the updates to be pushed to the dashboard I dont want keep running the
>> query over and over again or do some sort of polling.
>>
>> Thanks!
>>
>>
>>
>> On Wed, Aug 24, 2016 3:36 AM, Vinay Shukla vinayshu...@gmail.com wrote:
>>
>> Hey Kant,
>>
>> For fast data updates via streaming the normal flow is to put the
>> aggregated results in things like HBase. You could then use Zeppelin's
>> Phoenix interpreter to read that data.
>> Not sure if this fits your requirements.
>>
>> Thanks,
>> Vinay
>>
>> On Wednesday, August 24, 2016, kant kodali <kanth...@gmail.com> wrote:
>>
>> Hi Guys,
>>
>> is there way to update(push latest data to but not pull) Zeppelin
>> dashboard ? for example I get bunch of data to my spark streaming cluster
>> and as I get more and more data I want to compute and write it somewhere
>> such that my Zeppelin dashboard is updated? If so, where would be the best
>> place to write the latest results?
>>
>> Thanks,
>> Kant
>>
>>
>>
>>
>>


Re: is there way to update(push latest data to) Zeppelin dashboard ?

2016-08-24 Thread Corneau Damien
Wouldn't angular bind work in that case?

On Thu, Aug 25, 2016 at 6:13 AM, moon soo Lee  wrote:

> Try find small 'clock' icon on any particular Note next to 'Remove' button.
> This scheduler feature will help you auto refresh Note.
>
> Thanks,
> moon
>
>
> On Wed, Aug 24, 2016 at 11:31 AM kant kodali  wrote:
>
>> at very least can we auto refreshing on the Zeppelin dashboard on a
>> certain time interval?
>>
>>
>>
>> On Wed, Aug 24, 2016 10:56 AM, kant kodali kanth...@gmail.com wrote:
>>
>>> I would say this is like a very basic requirement for a dashboard and it
>>> is surprising Zeppelin doesn't have an out of the box solution.
>>>
>>>
>>>
>>> On Wed, Aug 24, 2016 9:06 AM, DuyHai Doan doanduy...@gmail.com wrote:
>>>
>>> "Perhaps some built in visualization widget that can poll a backend for
>>> updates?"
>>>
>>> Surely, but then someone need to code it. And a pre-built solution is
>>> never really as flexible as a customized dev. I don't see how we can create
>>> a generic component. Unless we decouple the data receiver component from
>>> the display component and make them pluggable.
>>>
>>>
>>> On Wed, Aug 24, 2016 at 5:51 PM, Vinay Shukla 
>>> wrote:
>>>
>>> Is there a way to make it easier for our Zeppelin users? Perhaps some
>>> built in visualization widget that can poll a backend for updates?
>>>
>>>
>>> On Wednesday, August 24, 2016, DuyHai Doan  wrote:
>>>
>>> "I want the updates to be pushed to the dashboard I dont want keep
>>> running the query over and over again or do some sort of polling."
>>>
>>> In this case the only solution for you is:
>>>
>>> 1) use %angular interpreter
>>> 2) import a JS library in a paragraph and do some JS coding to open a
>>> web-socket channel to the data source so that the new updates can be pushed
>>> directly to the paragraph
>>>
>>>
>>>
>>> On Wed, Aug 24, 2016 at 1:15 PM, kant kodali  wrote:
>>>
>>> Hi,
>>>
>>> Sure, I can either write it to HDFS or Cassandra but not HBASE since we
>>> don't use it but how about constant updates? you know what I mean? I want
>>> the updates to be pushed to the dashboard I dont want keep running the
>>> query over and over again or do some sort of polling.
>>>
>>> Thanks!
>>>
>>>
>>>
>>> On Wed, Aug 24, 2016 3:36 AM, Vinay Shukla vinayshu...@gmail.com wrote:
>>>
>>> Hey Kant,
>>>
>>> For fast data updates via streaming the normal flow is to put the
>>> aggregated results in things like HBase. You could then use Zeppelin's
>>> Phoenix interpreter to read that data.
>>> Not sure if this fits your requirements.
>>>
>>> Thanks,
>>> Vinay
>>>
>>> On Wednesday, August 24, 2016, kant kodali  wrote:
>>>
>>> Hi Guys,
>>>
>>> is there way to update(push latest data to but not pull) Zeppelin
>>> dashboard ? for example I get bunch of data to my spark streaming cluster
>>> and as I get more and more data I want to compute and write it somewhere
>>> such that my Zeppelin dashboard is updated? If so, where would be the best
>>> place to write the latest results?
>>>
>>> Thanks,
>>> Kant
>>>
>>>
>>>
>>>


Re: donut chart

2016-08-22 Thread Corneau Damien
Hard to know, I have no problem importing it in Master or branch-0.6
If there is an issue, it should show in the browser's console.

All of the default charts of Zeppelin rely on nvd3.

That custom one uses the existing library, and do not import any other so
there shouldn't be any issue

On Tue, Aug 23, 2016 at 8:13 AM, Teik Hooi Beh <th...@thbeh.com> wrote:

> Any help on why I am not able to display charts imported from ZeppelinHub
> viewer, specifically the front-end rendering paragraph in 'Customs
> Visualizations Example'?
>
> Thanks
>
> On Fri, Aug 19, 2016 at 3:31 PM, Teik Hooi Beh <th...@thbeh.com> wrote:
>
>> I have re import the notebook, so the back-end shows the graph but the
>> front-end still showing blank and no errors showing on graph's paragraph.
>>
>> On Fri, Aug 19, 2016 at 3:22 PM, Corneau Damien <cornead...@gmail.com>
>> wrote:
>>
>>> You might want to re-import the Notebook.
>>> Maybe you tried to run it and it broke the results.
>>> The inline back-end do not depend on any interpreter, results of
>>> paragraphs are stored in the Notebook and rendered without the need to run
>>> any of the paragraphs.
>>>
>>> If you have any error related to the HTML rendering, you should see them
>>> in your console.
>>>
>>>
>>>
>>> On Fri, Aug 19, 2016 at 12:11 PM, Teik Hooi Beh <th...@thbeh.com> wrote:
>>>
>>>> The inline front-end is not appearing (that was the one I am referring
>>>> to that uses nvd3) and the inline back-end is not appearing as well (this I
>>>> know as there are some issues with my pyspark but I am not using it).
>>>>
>>>> Any possibilities that the nvd3 lib is not available?
>>>>
>>>> On Fri, Aug 19, 2016 at 2:43 PM, Corneau Damien <cornead...@gmail.com>
>>>> wrote:
>>>>
>>>>> I just tried it on Master and branch-0.6 and have no problem rendering
>>>>> this Notebook.
>>>>> There is supposed to be one chart in between "Inline front-end
>>>>> rendering visualization" and "Inline back-end rendering visualization"
>>>>> Any error in the console?
>>>>>
>>>>> On Fri, Aug 19, 2016 at 10:25 AM, Teik Hooi Beh <th...@thbeh.com>
>>>>> wrote:
>>>>>
>>>>>> Trying to simulate the following charts -
>>>>>>
>>>>>> 1. https://dribbble.com/shots/739611-Donut-Charts-with-D3-js
>>>>>> /attachments/71084
>>>>>> 2. http://www.adeveloperdiary.com/d3-js/create-a-simple-donu
>>>>>> t-chart-using-d3-js/
>>>>>>
>>>>>> I also notice that I could not display nvd3 charts in Zeppelin. E.g.
>>>>>> I have imported this https://raw.githubusercon
>>>>>> tent.com/Leemoonsoo/zeppelin-examples/master/2B2XKFCDM/note.json
>>>>>> into my Zeppelin but unable to render the charts in 'Custom javascript 
>>>>>> and
>>>>>> html code renders visualization on the notebook' paragraph. I am using
>>>>>> v0.6.0
>>>>>>
>>>>>> Any advice?
>>>>>>
>>>>>> On Fri, Aug 19, 2016 at 12:45 PM, Corneau Damien <
>>>>>> cornead...@gmail.com> wrote:
>>>>>>
>>>>>>> No, it wasn't merged.
>>>>>>> Is there some special use cases to use donut instead of pie chart?
>>>>>>>
>>>>>>> On Fri, Aug 19, 2016 at 9:34 AM, Teik Hooi Beh <th...@thbeh.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I notice that back in Sept 2015, there was a donut chart added to
>>>>>>>> Zeppelin (adding donut chart #290). Was it committed coz I seem to have
>>>>>>>> seen it in 0.6.0?
>>>>>>>>
>>>>>>>> Anyone have any sample code to use donut chart on Zeppelin?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>


Re: donut chart

2016-08-18 Thread Corneau Damien
I just tried it on Master and branch-0.6 and have no problem rendering this
Notebook.
There is supposed to be one chart in between "Inline front-end rendering
visualization" and "Inline back-end rendering visualization"
Any error in the console?

On Fri, Aug 19, 2016 at 10:25 AM, Teik Hooi Beh <th...@thbeh.com> wrote:

> Trying to simulate the following charts -
>
> 1. https://dribbble.com/shots/739611-Donut-Charts-with-D3-
> js/attachments/71084
> 2. http://www.adeveloperdiary.com/d3-js/create-a-simple-
> donut-chart-using-d3-js/
>
> I also notice that I could not display nvd3 charts in Zeppelin. E.g. I
> have imported this https://raw.githubusercontent.com/
> Leemoonsoo/zeppelin-examples/master/2B2XKFCDM/note.json into my Zeppelin
> but unable to render the charts in 'Custom javascript and html code renders
> visualization on the notebook' paragraph. I am using v0.6.0
>
> Any advice?
>
> On Fri, Aug 19, 2016 at 12:45 PM, Corneau Damien <cornead...@gmail.com>
> wrote:
>
>> No, it wasn't merged.
>> Is there some special use cases to use donut instead of pie chart?
>>
>> On Fri, Aug 19, 2016 at 9:34 AM, Teik Hooi Beh <th...@thbeh.com> wrote:
>>
>>> I notice that back in Sept 2015, there was a donut chart added to
>>> Zeppelin (adding donut chart #290). Was it committed coz I seem to have
>>> seen it in 0.6.0?
>>>
>>> Anyone have any sample code to use donut chart on Zeppelin?
>>>
>>> Thanks
>>>
>>
>>
>


Re: donut chart

2016-08-18 Thread Corneau Damien
No, it wasn't merged.
Is there some special use cases to use donut instead of pie chart?

On Fri, Aug 19, 2016 at 9:34 AM, Teik Hooi Beh  wrote:

> I notice that back in Sept 2015, there was a donut chart added to Zeppelin
> (adding donut chart #290). Was it committed coz I seem to have seen it in
> 0.6.0?
>
> Anyone have any sample code to use donut chart on Zeppelin?
>
> Thanks
>


Re: Filter query results by current user

2016-07-25 Thread Corneau Damien
There was a thread opened not that long ago in the mailing list with a
similar use case.

In short, there is currently no way to have changes made without those
changes being saved.

On Mon, Jul 25, 2016 at 6:25 PM, Panayotis Trapatsas <
p.trapat...@pamediakopes.gr> wrote:

> Thanks moon but this way all users need to have write permissions to run
> the report and every time a user runs the reports with his name all other
> instances are updated with this users data.
>
> I am trying to find a way for a user to filter his own data without
> affecting other users viewing the report at the same time.
>
> On Sun, Jul 24, 2016 at 11:15 AM, moon soo Lee <m...@apache.org> wrote:
>
>> How about something like
>>
>> %spark
>> val userName = z.getInterpreterContext.getAuthenticationInfo.getUser
>> z.show(sqlContext.sql(s"""select * from data where user="${userName}"
>> """))
>>
>> Thanks,
>> moon
>>
>> On Sun, Jul 24, 2016 at 3:25 PM Panayotis Trapatsas <
>> p.trapat...@pamediakopes.gr> wrote:
>>
>>> Does the angular way work even if the user has read-only permissions? Is
>>> there a way to do this without giving the user write permissions to
>>> notebook?
>>>
>>> On Sat, Jul 23, 2016 at 3:02 AM, Corneau Damien <cornead...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Maybe Dynamic Forms (
>>>> https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/manual/dynamicform.html)
>>>> could help in this case?
>>>> It allows you to add some conditioning in your queries.
>>>> In this case, the user would be able to select themselves and rerun the
>>>> query.
>>>>
>>>> If you want to do it on a whole Notebook level, then binding values
>>>> could be another way (
>>>> https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/displaysystem/back-end-angular.html
>>>> )
>>>>
>>>> On Sat, Jul 23, 2016 at 1:58 AM, Panayotis Trapatsas <
>>>> p.trapat...@pamediakopes.gr> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I know I can get current user with
>>>>> 'z.getInterpreterContext.getAuthenticationInfo.getUser' but is there a way
>>>>> to filter query results by the username of the current user?
>>>>>
>>>>> E.g. there are different salesman and each one wants to log in to
>>>>> Zeppelin and see only his own sales.
>>>>>
>>>>> --
>>>>>
>>>>> [image: e-Travel SA] <http://pamediakopes.gr/>
>>>>>
>>>>> Panayotis Trapatsas / Lead Data Engineer
>>>>> p.trapat...@pamediakopes.gr / +30 6979493921
>>>>>
>>>>> e-Travel SA
>>>>> Office: +30 213 0184000/ Fax: +30 211 8001181
>>>>> Leof. Kifisias 7, AmpelokipiAthens 115 23, Greece
>>>>> pamediakopes.gr |  trip.ru |  airtickets24.com |  fantasticgreece.com
>>>>>
>>>>> [image: Google +] <https://plus.google.com/u/0/+PanayotisTrapatsas>[image:
>>>>> Stack Overflow] <http://stackoverflow.com/users/2618541/panayotis>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> [image: e-Travel SA] <http://pamediakopes.gr/>
>>>
>>> Panayotis Trapatsas / Lead Data Engineer
>>> p.trapat...@pamediakopes.gr / +30 6979493921
>>>
>>> e-Travel SA
>>> Office: +30 213 0184000/ Fax: +30 211 8001181
>>> Leof. Kifisias 7, AmpelokipiAthens 115 23, Greece
>>> pamediakopes.gr |  trip.ru |  airtickets24.com |  fantasticgreece.com
>>>
>>> [image: Google +] <https://plus.google.com/u/0/+PanayotisTrapatsas>[image:
>>> Stack Overflow] <http://stackoverflow.com/users/2618541/panayotis>
>>>
>>
>
>
> --
>
> [image: e-Travel SA] <http://pamediakopes.gr/>
>
> Panayotis Trapatsas / Lead Data Engineer
> p.trapat...@pamediakopes.gr / +30 6979493921
>
> e-Travel SA
> Office: +30 213 0184000/ Fax: +30 211 8001181
> Leof. Kifisias 7, AmpelokipiAthens 115 23, Greece
> pamediakopes.gr |  trip.ru |  airtickets24.com |  fantasticgreece.com
>
> [image: Google +] <https://plus.google.com/u/0/+PanayotisTrapatsas>[image:
> Stack Overflow] <http://stackoverflow.com/users/2618541/panayotis>
>


Re: Does zeppelin use angular 1 or angular 2 ?

2016-07-11 Thread Corneau Damien
Angular 1

On Tue, Jul 12, 2016 at 12:10 PM, canan chen  wrote:

>
> Anyone know that ? Thanks
>
>
>


Re: [ANNOUNCE] Apache Zeppelin 0.6.0 released

2016-07-07 Thread Corneau Damien
FYI, the Helium logs in the console should be on master, but not on 0.6.0
branch.
Those 500 errors should not have any effect when running.


On Fri, Jul 8, 2016 at 8:01 AM, Randy Gelhausen  wrote:

> I don't- I hoped providing that information may help finding & fixing the
> problem.
>
> On Thu, Jul 7, 2016 at 5:53 PM, Benjamin Kim  wrote:
>
>> Hi Randy,
>>
>> Do you know of any way to fix it or know of a workaround?
>>
>> Thanks,
>> Ben
>>
>> On Jul 7, 2016, at 2:08 PM, Randy Gelhausen  wrote:
>>
>> HTTP 500 errors from a Helium URL
>>
>>
>>
>


Re: How to remove uglify operation from zeppelin-web

2016-06-17 Thread Corneau Damien
This is happening in the grunt.js

But why would you want to remove it? This is a basic production build rule.
On Jun 17, 2016 22:27, "Vikash Kumar"  wrote:

> Hi all,
>
> How to remove uglify operation from zeppelin-web that I can remove the
> functionality of compression.
>
>
>
> *Thanks & Regards*
>
> *Vikash Kumar*
>


Re: Cannot copy data in tables in Zeppelin 0.6.0

2016-06-08 Thread Corneau Damien
No problem, it can be hard to find the exact issue in JIRA, and the PR is
quite recent.
Hopefully you will be able to get a version of Zeppelin with that change
soon.
There is also a paragraph data download feature in the master right now, in
case it would help

On Thu, Jun 9, 2016 at 2:47 PM, Anton Bubna-Litic <
anton.bubna-li...@quantium.com.au> wrote:

> Thanks,
>
> I tried to have a look around but obviously not hard enough J
>
>
>
> Anton Bubna-Litic
> *QUANTIUM*
> Level 25, 8-12 Chifley Square
> Sydney NSW 2000
> Australia
>
> T: +61 2 8222 3585
> M: +61 424 080 464
>
> W: quantium.com.au <http://www.quantium.com.au/>
> --
>
> linkedin.com/company/quantium <http://www.linkedin.com/company/quantium>
> facebook.com/QuantiumAustralia <http://www.facebook.com/QuantiumAustralia>
> twitter.com/QuantiumAU <http://www.twitter.com/QuantiumAU>
>
> The contents of this email, including attachments, may be confidential
> information. If you are not the intended recipient, any use, disclosure or
> copying of the information is unauthorised. If you have received this email
> in error, we would be grateful if you would notify us immediately by email
> reply, phone (+ 61 2 9292 6400) or fax (+ 61 2 9292 6444) and delete the
> message from your system.
>
>
>
> *From:* Corneau Damien [mailto:cornead...@gmail.com]
> *Sent:* Thursday, 9 June 2016 3:43 PM
> *To:* users@zeppelin.apache.org
> *Subject:* Re: Cannot copy data in tables in Zeppelin 0.6.0
>
>
>
> Hi Anton,
>
>
>
> The bug was already reported, and is soon to be merged into Apache
> Zeppelin's master branch:
>
> https://github.com/apache/incubator-zeppelin/pull/973
>
>
>
> On Thu, Jun 9, 2016 at 2:23 PM, Anton Bubna-Litic <
> anton.bubna-li...@quantium.com.au> wrote:
>
> Hi All,
>
>
>
> I am trying out a mapr build of Zeppelin 0.6.0 and I cannot select and
> copy any data at all from the tables. I could do this in 0.5.6, is this
> because of my build or should I raise it on the JIRA?
>
>
>
> Cheers,
>
> Anton
>
>
>
> Anton Bubna-Litic
> *QUANTIUM*
> Level 25, 8-12 Chifley Square
> Sydney NSW 2000
> Australia
>
> T: +61 2 8222 3585
> M: +61 424 080 464
>
> W: quantium.com.au <http://www.quantium.com.au/>
> --
>
> linkedin.com/company/quantium <http://www.linkedin.com/company/quantium>
> facebook.com/QuantiumAustralia <http://www.facebook.com/QuantiumAustralia>
> twitter.com/QuantiumAU <http://www.twitter.com/QuantiumAU>
>
> The contents of this email, including attachments, may be confidential
> information. If you are not the intended recipient, any use, disclosure or
> copying of the information is unauthorised. If you have received this email
> in error, we would be grateful if you would notify us immediately by email
> reply, phone (+ 61 2 9292 6400) or fax (+ 61 2 9292 6444) and delete the
> message from your system.
>
>
>
>
>