[GitHub] zeppelin issue #1413: [MINOR] Format Fix for InterpreterResultTest.java

2016-09-07 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/1413
  
@Leemoonsoo Please help review


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1413: [MINOR] Format Fix for InterpreterResultTest.ja...

2016-09-07 Thread zjffdu
GitHub user zjffdu opened a pull request:

https://github.com/apache/zeppelin/pull/1413

[MINOR] Format Fix for InterpreterResultTest.java

### What is this PR for?

Java code style format fix.  Seems lots of tabs are in the source code

### What type of PR is it?
[Improvement]

### Todos
* [ ] - Task

### What is the Jira issue?
* No jira created

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/zjffdu/zeppelin format_fix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zeppelin/pull/1413.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1413


commit 7e85e499b149e0c05dd06ad3ab04eb733adb8ad5
Author: Jeff Zhang 
Date:   2016-09-08T04:40:59Z

[MINOR]Format Fix for InterpreterResultTest.java




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1333: [ZEPPELIN-1334] Environment variable defined in interp...

2016-09-07 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/1333
  
@Leemoonsoo @bzz I just fix the unit test. The root cause is that 
`HeliumApplicationFactoryTest` will also register these interpreters. And all 
these unit tests are in the same JVM. So I change `pom.xml` to fork new jvm for 
each unit test. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1412: [Zeppelin 1415] - Adding Zeppelin-Web Good Prac...

2016-09-07 Thread corneadoug
GitHub user corneadoug opened a pull request:

https://github.com/apache/zeppelin/pull/1412

[Zeppelin 1415] - Adding Zeppelin-Web Good Practice Guide #2

### What is this PR for?
In this new Good Practice Guide for Zeppelin-web, we focus on how event 
dispatching($broadcast, $emit, $on) works, and how to correctly use it in the 
app 

### What type of PR is it?
Documentation

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1415

### How should this be tested?
You can check the markdown file for typos or bad sentences :)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/corneadoug/incubator-zeppelin ZEPPELIN-1415

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zeppelin/pull/1412.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1412


commit 86bb51292f582badc2c5300d4d6c17ceab7a0a96
Author: Damien CORNEAU 
Date:   2016-09-08T06:07:15Z

change page title for goodPracticeGuide01

commit d551928cbcbd24a9f957f5a6ce0aac83162b7d16
Author: Damien CORNEAU 
Date:   2016-09-08T06:07:35Z

Add event dispatching documentation




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1395: [ZEPPELIN-1404] invalid html structure for bootstrap i...

2016-09-07 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1395
  
Merging if there is no more discussions


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1395: [ZEPPELIN-1404] invalid html structure for bootstrap i...

2016-09-07 Thread cloverhearts
Github user cloverhearts commented on the issue:

https://github.com/apache/zeppelin/pull/1395
  
@corneadoug  
rebase is done.
ci is green!
Thank you.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (ZEPPELIN-1418) Making bookmarks for zeppelin notes work after authentication

2016-09-07 Thread Prasad Wagle (JIRA)
Prasad Wagle created ZEPPELIN-1418:
--

 Summary: Making bookmarks for zeppelin notes work after 
authentication
 Key: ZEPPELIN-1418
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1418
 Project: Zeppelin
  Issue Type: Improvement
  Components: front-end
Reporter: Prasad Wagle
Priority: Minor


Many users in my company bookmark Zeppelin notes e.g. 
http://localhost:8080/#/notebook/2A94M5J1Z. If users are authenticated, the 
bookmarks work great. If users are not authenticated, we send them to an 
authentication server that has a mechanism to remember the original query 
string that can be used to redirect users to the original note after 
authentication. Since Zeppelin note URLs have # in them, the note name is not 
sent to the server and after authentication, users are sent to the home page.

[~corneadoug] wrote:
However, redirecting to the right page can probably be done on the front-end 
side (cf. 
http://nadeemkhedr.com/redirect-to-the-original-requested-page-after-login-using-angularjs/)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zeppelin issue #1176: [Zeppelin 1165 : improve] Paragraph dynamic relationsh...

2016-09-07 Thread cloverhearts
Github user cloverhearts commented on the issue:

https://github.com/apache/zeppelin/pull/1176
  
This feature is not merged.
This feature will be re-implemented.
However, because there are people who need it, and I hope to continue to 
manage the `PR`.
I will continue the discussion later in a new way.
Thank you.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1406: [ZEPPELIN-1414] Remove CONTRIBUTING.md files

2016-09-07 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1406
  
LGTM 👍 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1406: [ZEPPELIN-1414] Remove CONTRIBUTING.md files

2016-09-07 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1406
  
As long as it's still shown somewhere during the PR process, I think its 
fine?
Should we merge this then?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1406: [ZEPPELIN-1414] Remove CONTRIBUTING.md files

2016-09-07 Thread felixcheung
Github user felixcheung commented on the issue:

https://github.com/apache/zeppelin/pull/1406
  
right, I'm not sure if that makes a difference to us


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1395: [ZEPPELIN-1404] invalid html structure for bootstrap i...

2016-09-07 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1395
  
@cloverhearts Could you rebase this branch?
It should make the CI green


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1396: [ZEPPELIN-1405] ConnectionPool for JDBCInterpreter.

2016-09-07 Thread astroshim
Github user astroshim commented on the issue:

https://github.com/apache/zeppelin/pull/1396
  
ping


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


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 NotebookServer: RECEIVE ROLES << 
16/09/08 02:03:46 ERROR NotebookServer: Can't handle message
java.lang.Exception: Invalid ticket  != f2810e7a-de64-4e41-b615-f31cd5bf7d68
at 
org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:117)
at 
org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:56)
at 
org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:128)
at 
org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69)
at 
org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:65)
at 
org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:122)
at 
org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:161)
at 
org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:309)
at 
org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:214)
at 
org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
at 
org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:632)
at 
org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:480)
at 
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

Looks like it's related to auth process.

From: Polina Marasanova [polina.marasan...@quantium.com.au]
Sent: Thursday, 8 September 2016 10:41 AM
To: us...@zeppelin.apache.org; d...@zeppelin.incubator.apache.org; 
us...@zeppelin.incubator.apache.org
Subject: RE: ActiveDirectoryGroupRealm.java allows user outside of searchBase 
to login

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
activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm
activeDirectoryRealm.systemUsername = userNameA
activeDirectoryRealm.systemPassword = passwordA
activeDirectoryRealm.searchBase = "CN=Notebook Owner,OU=Software 
Development,OU=Users,DC=companyname,DC=local"
activeDirectoryRealm.principalSuffix = @companyname.local
activeDirectoryRealm.url = ldap://ldap-server.local:389
activeDirectoryRealm.groupRolesMap = "CN=Notebook Owner,OU=Software 
Development,OU=Users,DC=companyname,DC=local":"admin"
activeDirectoryRealm.authorizationCachingEnabled = false
securityManager.realms = $activeDirectoryRealm


sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager

securityManager.sessionManager = $sessionManager
securityManager.sessionManager.globalSessionTimeout = 8640
shiro.loginUrl = /api/login

Could you please take care of this issue. We are seriously blocked by it, but 
really want to start using 0.6.0

Cheers
Thanks
Polina Marasanova

From: Weipu Zhao [zhaoweipu@gmail.com]
Sent: Sunday, 21 August 2016 4:37 AM
To: d...@zeppelin.incubator.apache.org; us...@zeppelin.incubator.apache.org
Subject: ActiveDirectoryGroupRealm.java allows user outside of searchBase to 
login

Hi guys,

When using org.apache.zeppelin.server.ActiveDirectoryGroupRealm as my shiro 
realm on v0.6.0, I have trouble understanding the searchBase config. My 
understanding was shiro should only allow user within that searchBase to login, 
but seems like not the case.  When I trace the code of 
ActiveDirectoryGroupRealm.java, the only place searchBase was used is in method 
getRoleNamesForUser
 , if the user is not inside searchBase, a empty roleNames will be return and 
without any exception, thus the user will be login I guess?

I'm not sure if this is expected behaviour or not. I also tried the v0.6.1 and 
seems also have same behaviour. In general I just want to restrict user only in 
certain groups of ActiveDirectory to be able to login. Is that possible without 
rewriting our own Realm?

Thanks,
Weipu




Re: is there way to push stream of updates to Zeppelin dashboard as they come in ?

2016-09-07 Thread Corneau Damien
I explained the workflow a bit more on the other thread.
The front-end react to what the server is sending to him. (through
websocket)

So in the end it's more of a processing issue and
Zeppelin-server/Interpreter communication one.
If you could tell more about the stream updates (technology-wise) you are
talking about, we could maybe help you more with it.
Maybe it would need a special interpreter, maybe you can use an existing
one, maybe an interpreter needs to be modified to handle that case.



On Thu, Sep 8, 2016 at 10:37 AM, kant kodali  wrote:

> Hi Corneau,
>
> I still don't quite understand (probably because I am more of a backend
> engineer). All I want to know is how do I need connect my data that I get
> from my websocket to the charts? other words I shouldn't be writing code to
> build charts (like bar, pie and so on) I should be able to tell zeppellin
> that "here is my latest data that I got from websocket please show me a bar
> graph or pie chart" and so on. is that possible?
>
> Thanks,
> Kant
>
> On Wed, Sep 7, 2016 at 6:10 PM, Corneau Damien 
> wrote:
>
> > Hi Kant,
> >
> > The front-end react to multiple websocket events sent by the server to
> > update its content.
> > The most usual events regarding the paragraph rendering would be "NOTE"
> and
> > "PARAGRAPH"
> > However those are handled by the server itself.
> >
> > The latest link from moon is a good example on how it can be achieved to
> > some degree, however it is meant for custom visualizations.
> >
> >
> > On Thu, Sep 8, 2016 at 4:03 AM, kant kodali  wrote:
> >
> > > Hi Moon,
> > > When I receive the events through a websocket from a server how can I
> use
> > > Zeppelin charts (The charts that get generated after running a sql
> > command
> > > per
> > > say) to display it ?
> > > Thanks,Kant
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Wed, Sep 7, 2016 8:02 AM, moon soo Lee m...@apache.org
> > >
> > > wrote:
> > > You can check
> > >
> > > http://zeppelin.apache.org/docs/latest/displaysystem/
> > back-end-angular.html
> > > to
> > >
> > > how front-end / back-end can exchange data and events.
> > >
> > >
> > >
> > >
> > > Thanks,
> > >
> > > moon
> > >
> > >
> > >
> > >
> > > On Wed, Sep 7, 2016 at 12:00 AM kant kodali 
> wrote:
> > >
> > >
> > >
> > >
> > > Hi Moon,
> > >>
> > >
> > > I don't see any websocket connection from the code you sent so I wonder
> > >>
> > >
> > > how is
> > >>
> > >
> > > it getting push updates?
> > >>
> > >
> > > Thanks,Kant
> > >>
> > >
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > > On Wed, Aug 24, 2016 4:27 AM, moon soo Lee m...@apache.org
> > >>
> > >
> > > wrote:
> > >>
> > >
> > > Hi,
> > >>
> > >
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > > Regarding push update result,
> > >>
> > >
> > >
> > >>
> > > https://gist.github.com/granturing/a09aed4a302a7367be92
> > >>
> > >
> > >
> > >>
> > > can be an interesting example. Which push update map from tweet stream.
> > >>
> > >
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > > Thanks,
> > >>
> > >
> > >
> > >>
> > > moon
> > >>
> > >
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > > On Wed, Aug 24, 2016 at 4:25 AM kant kodali 
> wrote:
> > >>
> > >
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > >
> > >>
> > > > Hi Guys,
> > >>
> > >
> > >
> > >>
> > > > is there way to push stream of updates to 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? and how can the
> > >>
> > >
> > >
> > >>
> > > > dashboard
> > >>
> > >
> > >
> > >>
> > > > be updated automatically (more like push not pull)?
> > >>
> > >
> > >
> > >>
> > > > Thanks,
> > >>
> > >
> > >
> > >>
> > > >
> > >>
> > >
> > >
> > >>
> > > > Kant
> > >
> > >
> >
>


Re: is there way to push stream of updates to Zeppelin dashboard as they come in ?

2016-09-07 Thread kant kodali
Hi Corneau,

I still don't quite understand (probably because I am more of a backend
engineer). All I want to know is how do I need connect my data that I get
from my websocket to the charts? other words I shouldn't be writing code to
build charts (like bar, pie and so on) I should be able to tell zeppellin
that "here is my latest data that I got from websocket please show me a bar
graph or pie chart" and so on. is that possible?

Thanks,
Kant

On Wed, Sep 7, 2016 at 6:10 PM, Corneau Damien  wrote:

> Hi Kant,
>
> The front-end react to multiple websocket events sent by the server to
> update its content.
> The most usual events regarding the paragraph rendering would be "NOTE" and
> "PARAGRAPH"
> However those are handled by the server itself.
>
> The latest link from moon is a good example on how it can be achieved to
> some degree, however it is meant for custom visualizations.
>
>
> On Thu, Sep 8, 2016 at 4:03 AM, kant kodali  wrote:
>
> > Hi Moon,
> > When I receive the events through a websocket from a server how can I use
> > Zeppelin charts (The charts that get generated after running a sql
> command
> > per
> > say) to display it ?
> > Thanks,Kant
> >
> >
> >
> >
> >
> >
> > On Wed, Sep 7, 2016 8:02 AM, moon soo Lee m...@apache.org
> >
> > wrote:
> > You can check
> >
> > http://zeppelin.apache.org/docs/latest/displaysystem/
> back-end-angular.html
> > to
> >
> > how front-end / back-end can exchange data and events.
> >
> >
> >
> >
> > Thanks,
> >
> > moon
> >
> >
> >
> >
> > On Wed, Sep 7, 2016 at 12:00 AM kant kodali  wrote:
> >
> >
> >
> >
> > Hi Moon,
> >>
> >
> > I don't see any websocket connection from the code you sent so I wonder
> >>
> >
> > how is
> >>
> >
> > it getting push updates?
> >>
> >
> > Thanks,Kant
> >>
> >
> >
> >>
> >
> >>
> >
> >>
> >
> >>
> >
> >>
> >
> >>
> > On Wed, Aug 24, 2016 4:27 AM, moon soo Lee m...@apache.org
> >>
> >
> > wrote:
> >>
> >
> > Hi,
> >>
> >
> >
> >>
> >
> >>
> >
> >>
> >
> >>
> > Regarding push update result,
> >>
> >
> >
> >>
> > https://gist.github.com/granturing/a09aed4a302a7367be92
> >>
> >
> >
> >>
> > can be an interesting example. Which push update map from tweet stream.
> >>
> >
> >
> >>
> >
> >>
> >
> >>
> >
> >>
> > Thanks,
> >>
> >
> >
> >>
> > moon
> >>
> >
> >
> >>
> >
> >>
> >
> >>
> >
> >>
> > On Wed, Aug 24, 2016 at 4:25 AM kant kodali  wrote:
> >>
> >
> >
> >>
> >
> >>
> >
> >>
> >
> >>
> > > Hi Guys,
> >>
> >
> >
> >>
> > > is there way to push stream of updates to 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? and how can the
> >>
> >
> >
> >>
> > > dashboard
> >>
> >
> >
> >>
> > > be updated automatically (more like push not pull)?
> >>
> >
> >
> >>
> > > Thanks,
> >>
> >
> >
> >>
> > >
> >>
> >
> >
> >>
> > > Kant
> >
> >
>


Re: is there way to push stream of updates to Zeppelin dashboard as they come in ?

2016-09-07 Thread Corneau Damien
Hi Kant,

The front-end react to multiple websocket events sent by the server to
update its content.
The most usual events regarding the paragraph rendering would be "NOTE" and
"PARAGRAPH"
However those are handled by the server itself.

The latest link from moon is a good example on how it can be achieved to
some degree, however it is meant for custom visualizations.


On Thu, Sep 8, 2016 at 4:03 AM, kant kodali  wrote:

> Hi Moon,
> When I receive the events through a websocket from a server how can I use
> Zeppelin charts (The charts that get generated after running a sql command
> per
> say) to display it ?
> Thanks,Kant
>
>
>
>
>
>
> On Wed, Sep 7, 2016 8:02 AM, moon soo Lee m...@apache.org
>
> wrote:
> You can check
>
> http://zeppelin.apache.org/docs/latest/displaysystem/back-end-angular.html
> to
>
> how front-end / back-end can exchange data and events.
>
>
>
>
> Thanks,
>
> moon
>
>
>
>
> On Wed, Sep 7, 2016 at 12:00 AM kant kodali  wrote:
>
>
>
>
> Hi Moon,
>>
>
> I don't see any websocket connection from the code you sent so I wonder
>>
>
> how is
>>
>
> it getting push updates?
>>
>
> Thanks,Kant
>>
>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
> On Wed, Aug 24, 2016 4:27 AM, moon soo Lee m...@apache.org
>>
>
> wrote:
>>
>
> Hi,
>>
>
>
>>
>
>>
>
>>
>
>>
> Regarding push update result,
>>
>
>
>>
> https://gist.github.com/granturing/a09aed4a302a7367be92
>>
>
>
>>
> can be an interesting example. Which push update map from tweet stream.
>>
>
>
>>
>
>>
>
>>
>
>>
> Thanks,
>>
>
>
>>
> moon
>>
>
>
>>
>
>>
>
>>
>
>>
> On Wed, Aug 24, 2016 at 4:25 AM kant kodali  wrote:
>>
>
>
>>
>
>>
>
>>
>
>>
> > Hi Guys,
>>
>
>
>>
> > is there way to push stream of updates to 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? and how can the
>>
>
>
>>
> > dashboard
>>
>
>
>>
> > be updated automatically (more like push not pull)?
>>
>
>
>>
> > Thanks,
>>
>
>
>>
> >
>>
>
>
>>
> > Kant
>
>


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
activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm
activeDirectoryRealm.systemUsername = userNameA
activeDirectoryRealm.systemPassword = passwordA
activeDirectoryRealm.searchBase = "CN=Notebook Owner,OU=Software 
Development,OU=Users,DC=companyname,DC=local"
activeDirectoryRealm.principalSuffix = @companyname.local
activeDirectoryRealm.url = ldap://ldap-server.local:389
activeDirectoryRealm.groupRolesMap = "CN=Notebook Owner,OU=Software 
Development,OU=Users,DC=companyname,DC=local":"admin"
activeDirectoryRealm.authorizationCachingEnabled = false
securityManager.realms = $activeDirectoryRealm


sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager

securityManager.sessionManager = $sessionManager
securityManager.sessionManager.globalSessionTimeout = 8640
shiro.loginUrl = /api/login

Could you please take care of this issue. We are seriously blocked by it, but 
really want to start using 0.6.0

Cheers
Thanks
Polina Marasanova

From: Weipu Zhao [zhaoweipu@gmail.com]
Sent: Sunday, 21 August 2016 4:37 AM
To: d...@zeppelin.incubator.apache.org; us...@zeppelin.incubator.apache.org
Subject: ActiveDirectoryGroupRealm.java allows user outside of searchBase to 
login

Hi guys,

When using org.apache.zeppelin.server.ActiveDirectoryGroupRealm as my shiro 
realm on v0.6.0, I have trouble understanding the searchBase config. My 
understanding was shiro should only allow user within that searchBase to login, 
but seems like not the case.  When I trace the code of 
ActiveDirectoryGroupRealm.java, the only place searchBase was used is in method 
getRoleNamesForUser
 , if the user is not inside searchBase, a empty roleNames will be return and 
without any exception, thus the user will be login I guess?

I'm not sure if this is expected behaviour or not. I also tried the v0.6.1 and 
seems also have same behaviour. In general I just want to restrict user only in 
certain groups of ActiveDirectory to be able to login. Is that possible without 
rewriting our own Realm?

Thanks,
Weipu




[GitHub] zeppelin issue #1369: [ZEPPELIN-1376] Add proxy credentials for dependency r...

2016-09-07 Thread doanduyhai
Github user doanduyhai commented on the issue:

https://github.com/apache/zeppelin/pull/1369
  
@astroshim @AhyoungRyu it tooks me hours but I have found the root cause of 
the issue and it's pretty ugly. Ready to hear ?

1) First issue is we **do not** set the InterpreterSetting `status` and 
`errorReason` together. For example here: 
https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterFactory.java#L398

```java
...
setting.setStatus(InterpreterSetting.Status.DOWNLOADING_DEPENDENCIES);
interpreterSettings.put(setting.getId(), setting);
...
``` 

 So here we set the status to `DOWNLOADING_DEPENDENCIES` but the 
`errorReason` stills contains the previous value, possible something like 
"Cannot download dependency x.y.z ". That explains why we see 

```
...
"status":"DOWNLOADING_DEPENDENCIES",
"errorReason":"Could not find artifact one:two:jar:1.1.1 in central 
(http://repo1.maven.org/maven2/)",
...
```

2) Second issue is more serious, it is concurrency issue. We set the status 
of the dependency download in a separate thread: 
https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterFactory.java#L400-L433

```java
...
catch (Exception e) {
logger.error(String.format("Error while downloading repos for 
interpreter group : %s," +
" go to interpreter setting page click on edit and save 
it again to make " +
"this interpreter work properly.",
setting.getGroup()), e);
setting.setErrorReason(e.getLocalizedMessage());
setting.setStatus(InterpreterSetting.Status.ERROR);
...
```

The problem is that the initial status is set to `DOWNLOADING_DEPENDENCIES` 
and then the interpreter status is returned by the caller class to the client:  
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/InterpreterRestApi.java#L113-L135

I added extra log message to debug:

```
...
logger.info("** DEBUG_ZEPPELIN setting status 
ERROR");
setting.setStatus(InterpreterSetting.Status.ERROR);
setting.setErrorReason(e.getLocalizedMessage());
...

...
logger.info("** DEBUG_ZEPPELIN setting debug " + 
setting.toDebugString());
return new JsonResponse<>(Status.OK, "", setting).build();
...
```

 And below is what is displayed in the logs:

```
INFO [2016-09-07 12:35:26,151] ({qtp240166646-20} 
InterpreterRestApi.java[updateSetting]:132) - ** DEBUG_ZEPPELIN 
setting debug DOWNLOADING_DEPENDENCIES :
ERROR [2016-09-07 12:35:26,539] ({Thread-25} 
InterpreterFactory.java[run]:433) - Error while downloading repos for 
interpreter group : angular, go to interpreter setting page click on edit and 
save it again to make this interpreter work properly. : Could not find artifact 
one:two:jar:1.1.25 in central (http://repo1.maven.org/maven2/)
org.sonatype.aether.resolution.DependencyResolutionException: Could not 
find artifact one:two:jar:1.1.25 in central (http://repo1.maven.org/maven2/)
at 
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
at 
org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:164)
at 
org.apache.zeppelin.dep.DependencyResolver.loadFromMvn(DependencyResolver.java:116)
at 
org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:79)
at 
org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:96)
at 
org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:88)
at 
org.apache.zeppelin.interpreter.InterpreterFactory$3.run(InterpreterFactory.java:425)
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: 
Could not find artifact one:two:jar:1.1.25 in central 
(http://repo1.maven.org/maven2/)
at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:537)
at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at 
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
... 6 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could 
not find artifact one:two:jar:1.1.25 in central (http://repo1.maven.org/maven2/)
at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:971)
   

[GitHub] zeppelin issue #1409: [ZEPPELIN-1461] Update Flink with latest version 1.1.2

2016-09-07 Thread rawkintrevo
Github user rawkintrevo commented on the issue:

https://github.com/apache/zeppelin/pull/1409
  
Flink Tests all passing now. 

[Profile3](https://travis-ci.org/apache/zeppelin/jobs/158273244) Cassandra 
Test Timeout **Unrelated**

[Profile8](https://travis-ci.org/apache/zeppelin/jobs/158273249)
`- should provide onclick method *** FAILED ***`
Display system 'onclick' method timeout. Known flaky test (I'll find it and 
link soon)

LGTM?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #928: [ZEPPELIN-116] Add Apache Mahout Interpreter

2016-09-07 Thread rawkintrevo
Github user rawkintrevo commented on the issue:

https://github.com/apache/zeppelin/pull/928
  
@bzz and @Leemoonsoo -

Was talking to some other about this- I think we should take a new tack on 
this as Mahout currently only supports Spark v1.5 officially, but also 1.6 in 
practice.  Given Zeppelin ships with Spark 2.0 as default, and you can't have 
multiple SparkContexts (e.g. a Spark 1.6 and a Spark 2.0) it's likely this 
'terp would be dead on arrival for many users.  

New thought, based on a lot of work I've been doing recently- create a 
python script that in essence updates `conf/interpreter.json` with a new 
interpreter based on the current Spark interpreter, and adds the required 
libraries and configurations (such as the Kryo serializers), resulting in 
something called `%sparkMahout`

A much lighter weight version of what you can see here in principal:
[create a new 
interpreter](https://github.com/rawkintrevo/bluemix-extra-services/blob/master/data/services/zeppelin.py#L166)
 [update a spark interpreter with Mahout 
configs](https://github.com/rawkintrevo/bluemix-extra-services/blob/master/data/services/zeppelin.py#L68)

In addition, a page or two of documentation in Zeppelin saying, "If you 
want to use Mahout with Apache Spark, you have to have Spark 1.5 or 1.6 (until 
Mahout is Spark2 compliant), go here run this python script, it will be 
created.  Here is some basic useage on Mahout and links to some other good 
getting started material"

So in short we would scrap all of this code, and replace it with some docs 
and a python script that would create a more resilient (based on my experience) 
interpreter, that will be far less likely to give users a negative experience 
with Zeppelin or Mahout.

Thoughts? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: is there way to push stream of updates to Zeppelin dashboard as they come in ?

2016-09-07 Thread kant kodali

Hi Moon,
When I receive the events through a websocket from a server how can I use
Zeppelin charts (The charts that get generated after running a sql command per
say) to display it ?
Thanks,Kant






On Wed, Sep 7, 2016 8:02 AM, moon soo Lee m...@apache.org
wrote:
You can check

http://zeppelin.apache.org/docs/latest/displaysystem/back-end-angular.html to

how front-end / back-end can exchange data and events.




Thanks,

moon




On Wed, Sep 7, 2016 at 12:00 AM kant kodali  wrote:





Hi Moon,



I don't see any websocket connection from the code you sent so I wonder



how is



it getting push updates?



Thanks,Kant



























On Wed, Aug 24, 2016 4:27 AM, moon soo Lee m...@apache.org



wrote:



Hi,



















Regarding push update result,







https://gist.github.com/granturing/a09aed4a302a7367be92







can be an interesting example. Which push update map from tweet stream.



















Thanks,







moon



















On Wed, Aug 24, 2016 at 4:25 AM kant kodali  wrote:



















> Hi Guys,







> is there way to push stream of updates to 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? and how can the







> dashboard







> be updated automatically (more like push not pull)?







> Thanks,







>







> Kant

[GitHub] zeppelin issue #1384: [ZEPPELIN-1387] Support table syntax in markdown inter...

2016-09-07 Thread 1ambda
Github user 1ambda commented on the issue:

https://github.com/apache/zeppelin/pull/1384
  
@Leemoonsoo I'v fixed license description. Also, now I understand when to 
describe licenses to `licenses` or `bin_licenses`. Thanks. :)

@bzz I think it is better to use more specific exception types in catch 
block as you pointed out. Could you review e08929a again? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: is there way to push stream of updates to Zeppelin dashboard as they come in ?

2016-09-07 Thread moon soo Lee
You can check
http://zeppelin.apache.org/docs/latest/displaysystem/back-end-angular.html to
how front-end / back-end can exchange data and events.

Thanks,
moon

On Wed, Sep 7, 2016 at 12:00 AM kant kodali  wrote:

> Hi Moon,
> I don't see any websocket connection from the code you sent so I wonder
> how is
> it getting push updates?
> Thanks,Kant
>
>
>
>
>
>
> On Wed, Aug 24, 2016 4:27 AM, moon soo Lee m...@apache.org
> wrote:
> Hi,
>
>
>
>
> Regarding push update result,
>
> https://gist.github.com/granturing/a09aed4a302a7367be92
>
> can be an interesting example. Which push update map from tweet stream.
>
>
>
>
> Thanks,
>
> moon
>
>
>
>
> On Wed, Aug 24, 2016 at 4:25 AM kant kodali  wrote:
>
>
>
>
> > Hi Guys,
>
> > is there way to push stream of updates to 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? and how can the
>
> > dashboard
>
> > be updated automatically (more like push not pull)?
>
> > Thanks,
>
> >
>
> > Kant


[GitHub] zeppelin issue #1409: [ZEPPELIN-1461] Update Flink with latest version 1.1.2

2016-09-07 Thread tillrohrmann
Github user tillrohrmann commented on the issue:

https://github.com/apache/zeppelin/pull/1409
  
Changes look good to me. +1 for merging after fixing the failing test case.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Incosistent spark local mode on a secured Cloudera cluster

2016-09-07 Thread Pradeep Reddy
I had a thread regarding this in the user group and I was able to
workaround on 0.6.1 build by setting SPARK_HOME. As there is no workaround
in latest snapshot build, I'm sending this to the dev group. You may need
to have a secure(kerberos) cluster behind a proxy to reproduce these
inconsistencies/issues with spark interpreter.

*0.7 latest Snapshot:* When I git clone & build the 0.7 snapshot and run
spark interpreter in local mode after copying hive_site.xml to conf
directory with just one HADOOP_CONF_DIR property set in zeppelin-env.sh,
I'm able to run a spark paragraph to test the interpreter, but it doesn't
talk to my cluster, it runs in a standalone mode and shows only "default"
database when executing *z.show(sql("show databases"))*. *Now when I set
the SPARK_HOME variable in zeppelin-env.sh and restart, I get the stack
trace cascaded below.*

*0.6.1 build: *When I download the 0.6.1 source and run spark interpreter
in local mode after copying hive_site.xml to conf directory  with just one
HADOOP_CONF_DIR property set in zeppelin-env.sh, I'm able to run a
spark paragraph to test the interpreter, but it doesn't talk to my cluster,
it runs in a standalone mode and shows only "default" database when
executing *z.show(sql("show databases"))*. *Now when I set the SPARK_HOME
variable in zeppelin-env.sh and restart, the spark interpreter is able to
talk to my cluster and show all my databases in the cluster*

*0.5.6 build *When I download the 0.5.6 source and run spark interpreter in
local mode after copying hive_site.xml to conf directory with just one
HADOOP_CONF_DIR property set in zeppelin-env.sh, I'm able to run a
spark paragraph to test the interpreter, *and it talks to my cluster
without even setting "SPARK_HOME" environment variable where I can see all
my databases when executing **z.show(sql("show databases"))*

started by scheduler org.apache.zeppelin.spark.SparkInterpreter335845091
ERROR [2016-08-30 17:45:37,237] ({pool-2-thread-2} Job.java[run]:189) - Job
failed
java.lang.IllegalArgumentException: Invalid rule: L
RULE:[2:$1@$0](.*@\Q.COM\E$)s/@\Q\E$//L
RULE:[1:$1@$0](.*@\Q\E$)s/@\Q\E$//L
RULE:[2:$1@$0](.*@\Q\E$)s/@\Q\E$//L
DEFAULT
at org.apache.hadoop.security.authentication.util.KerberosName.
parseRules(KerberosName.java:321)
at org.apache.hadoop.security.authentication.util.KerberosName.
setRules(KerberosName.java:386)
at org.apache.hadoop.security.HadoopKerberosName.setConfigurati
on(HadoopKerberosName.java:75)
at org.apache.hadoop.security.UserGroupInformation.initialize(U
serGroupInformation.java:227)
at org.apache.hadoop.security.UserGroupInformation.ensureInitia
lized(UserGroupInformation.java:214)
at org.apache.hadoop.security.UserGroupInformation.isAuthentica
tionMethodEnabled(UserGroupInformation.java:275)
at org.apache.hadoop.security.UserGroupInformation.isSecurityEn
abled(UserGroupInformation.java:269)
at org.apache.hadoop.security.UserGroupInformation.loginUserFro
mKeytab(UserGroupInformation.java:820)
at org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpr
eter.java:539)


[GitHub] zeppelin issue #1334: [ZEPPELIN-682] New interpreter for Apache Beam (incuba...

2016-09-07 Thread mfelgamal
Github user mfelgamal commented on the issue:

https://github.com/apache/zeppelin/pull/1334
  
@bzz all required changes are done.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1388: [ZEPPELIN-1399] Refactor automatic interpreter ...

2016-09-07 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/zeppelin/pull/1388


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #928: [ZEPPELIN-116] Add Apache Mahout Interpreter

2016-09-07 Thread rawkintrevo
Github user rawkintrevo commented on the issue:

https://github.com/apache/zeppelin/pull/928
  
*bump* @bzz should we continue work on this or pursue another route? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1371: [ZEPPELIN-1372]Automatically Detect the data type in t...

2016-09-07 Thread Peilin-Yang
Github user Peilin-Yang commented on the issue:

https://github.com/apache/zeppelin/pull/1371
  
@corneadoug sure, I can do that once having time:)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1405: Update Zeppelin Website building instructions

2016-09-07 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/zeppelin/pull/1405


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1411: [ZEPPELIN-1417] Bugfix of "Connect to existing process...

2016-09-07 Thread bzz
Github user bzz commented on the issue:

https://github.com/apache/zeppelin/pull/1411
  
Merging to master if there is no further discussion


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1405: Update Zeppelin Website building instructions

2016-09-07 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1405
  
@corneadoug Yeah please do :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1405: Update Zeppelin Website building instructions

2016-09-07 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1405
  
Let's Merge This since #1410 was merged too


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1411: [ZEPPELIN-1417] Bugfix of "Connect to existing process...

2016-09-07 Thread astroshim
Github user astroshim commented on the issue:

https://github.com/apache/zeppelin/pull/1411
  
@bzz Thank you for review and sorry for making you confused. 
I'll fix version to 0.7.0.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1411: [ZEPPELIN-1417] Bugfix of "Connect to existing process...

2016-09-07 Thread bzz
Github user bzz commented on the issue:

https://github.com/apache/zeppelin/pull/1411
  
Looks good to me, thank you @astroshim 

I'm a bit confused - in JIRA fix-for version is only 0.6.2 but PR is to 
master branch (which implies 0.7.0 as well)

Could you please clarify, which releases shall this be part of?
Also, please feel free to assign issue to yourself so attribution will not 
get lost on next release!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1388: [ZEPPELIN-1399] Refactor automatic interpreter name in...

2016-09-07 Thread minahlee
Github user minahlee commented on the issue:

https://github.com/apache/zeppelin/pull/1388
  
CI is green. Merge if there is no more discussuion


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1393: [ZEPPELIN-1142] Zeppelin allows two users to simultane...

2016-09-07 Thread kavinkumarks
Github user kavinkumarks commented on the issue:

https://github.com/apache/zeppelin/pull/1393
  
The CI build is green.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1407: [ZEPPELIN-1412] add support multiline for pytho...

2016-09-07 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/zeppelin/pull/1407


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1411: change to create local interpreter when option ...

2016-09-07 Thread astroshim
GitHub user astroshim opened a pull request:

https://github.com/apache/zeppelin/pull/1411

change to create local interpreter when option is false.

### What is this PR for?
This PR fixes 
[ZEPPELIN-1417](https://issues.apache.org/jira/browse/ZEPPELIN-1417
).

### What type of PR is it?
Bug Fix


### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1417


### How should this be tested?
1. click `edit` whatever interpreter you want on interpreter setting page.
2. check the `Connect to existing process` and set `host` or `port` value.
3. uncheck the `Connect to existing process` and save
4. run paragraph with just you saved interpreter.


### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/astroshim/zeppelin ZEPPELIN-1417

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zeppelin/pull/1411.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1411


commit c84046ca28be8131233078e983b48f9e28ad5a7c
Author: astroshim 
Date:   2016-09-07T07:29:23Z

change to create local interpreter when option is false.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1410: Fix download links

2016-09-07 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/zeppelin/pull/1410


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1410: Fix download links

2016-09-07 Thread bzz
Github user bzz commented on the issue:

https://github.com/apache/zeppelin/pull/1410
  
Merging it in


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1410: Fix download links

2016-09-07 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1410
  
Yeah tested too and it works as expected. LGTM 👍 
Let's merge this quickly as a Hotfix. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (ZEPPELIN-1417) Problem of "Connect to existing process" function.

2016-09-07 Thread Shim HyungSung (JIRA)
Shim HyungSung created ZEPPELIN-1417:


 Summary: Problem of "Connect to existing process" function.
 Key: ZEPPELIN-1417
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1417
 Project: Zeppelin
  Issue Type: Bug
Reporter: Shim HyungSung
 Fix For: 0.6.2


Zeppelin is trying to connect to remote interpreter server even though the 
"Connect to existing process" is seted false.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zeppelin issue #1393: [ZEPPELIN-1142] Zeppelin allows two users to simultane...

2016-09-07 Thread kavinkumarks
Github user kavinkumarks commented on the issue:

https://github.com/apache/zeppelin/pull/1393
  
Fixed the build test failure and the CI build is in progress.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: is there way to push stream of updates to Zeppelin dashboard as they come in ?

2016-09-07 Thread kant kodali

Hi Moon,
I don't see any websocket connection from the code you sent so I wonder how is
it getting push updates?
Thanks,Kant






On Wed, Aug 24, 2016 4:27 AM, moon soo Lee m...@apache.org
wrote:
Hi,




Regarding push update result,

https://gist.github.com/granturing/a09aed4a302a7367be92

can be an interesting example. Which push update map from tweet stream.




Thanks,

moon




On Wed, Aug 24, 2016 at 4:25 AM kant kodali  wrote:





Hi Guys,



is there way to push stream of updates to 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? and how can the



dashboard



be updated automatically (more like push not pull)?



Thanks,







Kant