[jira] [Created] (ZEPPELIN-1370) Label overlaps - in default visualization example barchart

2016-08-24 Thread Pankaj Singh (JIRA)
Pankaj Singh created ZEPPELIN-1370:
--

 Summary: Label overlaps - in default visualization example barchart
 Key: ZEPPELIN-1370
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1370
 Project: Zeppelin
  Issue Type: Bug
  Components: GUI
Affects Versions: 0.6.0
Reporter: Pankaj Singh


The default visualization bar chart shows the label horizontally. When the 
number of label increases say to 40-50 or length of text of a label increases I 
was able to see overlaps in the label text. There are visualization tools which 
allows to choose particular a portion of the graph and then zoom that portion. 
I have seen this in http://demo.gethue.com/

Attached a screenshot





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


[jira] [Created] (ZEPPELIN-1369) Authorization in dynamic form - Need of "Executors" permission at notebook level

2016-08-24 Thread Pankaj Singh (JIRA)
Pankaj Singh created ZEPPELIN-1369:
--

 Summary: Authorization in dynamic form - Need of "Executors" 
permission at notebook level
 Key: ZEPPELIN-1369
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1369
 Project: Zeppelin
  Issue Type: Bug
  Components: zeppelin-interpreter, zeppelin-server
Reporter: Pankaj Singh
Priority: Critical


Authorization in dynamic form - 
Currently we have Owners, Readers and Writers permission at notebook level.

The requirement came from the following use-case

I have used Dynamic form ( text box), Now I want to authorize user to modify 
the value in text box and execute the paragraph but does not allow him to 
read/modify the query/code. Currently with the available permission 
(owner/read/write) its not possible. We may need a new permission called 
executors .




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


[GitHub] zeppelin pull request #1359: [ZEPPELIN-966] job manager change information c...

2016-08-24 Thread cloverhearts
GitHub user cloverhearts opened a pull request:

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

[ZEPPELIN-966] job manager change information collection process

### What is this PR for?
`` JOB menu offers traditional data collection has `Polling Get` way.
The PR is switched to `Event` process.
WebSocket is no longer periodically transmit the JOB communications.

### What type of PR is it?
Improvement

### Todos
- [x] - chage to event process from polling get on job manager

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

### How should this be tested?
Create to pargaraph, and notebook or run job.

### Screenshots (if appropriate)
https://cloud.githubusercontent.com/assets/10525473/16113612/0120dec8-33f8-11e6-8dec-c74048fae637.png;>

### 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/cloverhearts/zeppelin dev/eventBaseJob

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

https://github.com/apache/zeppelin/pull/1359.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 #1359


commit 30ffbb9cea8af0af21ea220e10accc2cbd102b19
Author: CloverHearts 
Date:   2016-08-25T03:08:50Z

change event process for job manger information




---
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 #1352: [ZEPPELIN-1327] Fix bug in z.show for Python interpret...

2016-08-24 Thread felixcheung
Github user felixcheung commented on the issue:

https://github.com/apache/zeppelin/pull/1352
  
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.
---



[jira] [Created] (ZEPPELIN-1368) interpreter-setting.json may be loaded mutliple times

2016-08-24 Thread Jeff Zhang (JIRA)
Jeff Zhang created ZEPPELIN-1368:


 Summary: interpreter-setting.json may be loaded mutliple times
 Key: ZEPPELIN-1368
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1368
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.6.1
Reporter: Jeff Zhang
Assignee: Jeff Zhang


There're several ways to load interpreter-setting.json, but for now we will 
load it multiple times. It is supposed to load only one. 

Here's the order to register interpreter
* load from /conf//interpreter-setting.json
* load from interpreter process classpath
* register interpreter using the old way of Interpreter.register()



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


[jira] [Created] (ZEPPELIN-1367) Spark 2 support broken

2016-08-24 Thread Chris Chow (JIRA)
Chris Chow created ZEPPELIN-1367:


 Summary: Spark 2 support broken
 Key: ZEPPELIN-1367
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1367
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Affects Versions: 0.7.0
 Environment: Ubuntu 14.04, Spark-2.0.0 preview
Reporter: Chris Chow


Current version of the zeppelin spark interpreter tries to call a method on the 
spark repl called "getAddedJars":

{code:java}
 jars = (String[]) Utils.invokeStaticMethod(
  Utils.findClass("org.apache.spark.repl.Main"), "getAddedJars");
{code}
calling code located here
https://github.com/apache/zeppelin/blob/master/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java

But that causes an error on my installation of spark:

{noformat}
ERROR [2016-08-25 01:22:05,043] ({pool-2-thread-2} 
Utils.java[invokeStaticMethod]:49) - org.apache.spark.repl.Main.getAddedJars()
java.lang.NoSuchMethodException: org.apache.spark.repl.Main.getAddedJars()
{noformat}

Looking Spark commit below (commited March 14), that method appears to be 
eliminated.
https://github.com/apache/spark/blob/8301fadd8d269da11e72870b7a889596e3337839/repl/scala-2.11/src/main/scala/org/apache/spark/repl/Main.scala



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


[jira] [Created] (ZEPPELIN-1366) Remove legacy alias feature for JDBC

2016-08-24 Thread Jongyoul Lee (JIRA)
Jongyoul Lee created ZEPPELIN-1366:
--

 Summary: Remove legacy alias feature for JDBC
 Key: ZEPPELIN-1366
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1366
 Project: Zeppelin
  Issue Type: Bug
  Components: zeppelin-server
Affects Versions: 0.6.1, 0.6.2
Reporter: Jongyoul Lee
Assignee: Jongyoul Lee
 Fix For: 0.7.0


ZEPPELIN-999 enables users to use JDBC with it's own prefix. But ZEPPELIN-1012 
finished, it makes Zeppelin support general way to use aliases for all 
interpreters. Thus JDBC sugar is not useful anymore and it also contains a 
small bug. It should be removed.



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


[GitHub] zeppelin issue #1348: [ZEPPELIN-1313] NullPointerException when using Clone ...

2016-08-24 Thread jongyoul
Github user jongyoul commented on the issue:

https://github.com/apache/zeppelin/pull/1348
  
@felixcheung Yeah, @kavinkumarks already did it, thus I also am OK to 
include it. CI failure is not related to this PR. 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 #1348: [ZEPPELIN-1313] NullPointerException when using Clone ...

2016-08-24 Thread felixcheung
Github user felixcheung commented on the issue:

https://github.com/apache/zeppelin/pull/1348
  
I agree, that should be a separate PR/JIRA.

I'm ok with including it now since changes are already made? Is CI passing?


---
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 #1295: [ZEPPELIN-1301] fix potential encoding problem in RInt...

2016-08-24 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1295
  
@WeichenXu123 Thanks for the fix. 
LGTM and merge if there're 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 pull request #1340: [MINOR][DOC] Update available interpreters' ima...

2016-08-24 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #1302: [ZEPPELIN-1306] Interpreter restarts on a note.

2016-08-24 Thread astroshim
Github user astroshim commented on the issue:

https://github.com/apache/zeppelin/pull/1302
  
@Leemoonsoo Your suggestion about UI is definitely better!
and also makes sense about restarting action on interpreter binding page.
I will fix them.


---
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 #1358: [ZEPPELIN-1365] Error of Zeppelin Application i...

2016-08-24 Thread astroshim
GitHub user astroshim opened a pull request:

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

[ZEPPELIN-1365] Error of Zeppelin Application in development mode.

### What is this PR for?
This PR fixes the bug of running application in development mode.


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


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


### How should this be tested?
1. run zeppelin
2. run org.apache.zeppelin.interpreter.dev.ZeppelinApplicationDevServer in 
development mode.

(http://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/development/writingzeppelinapplication.html)
3. and run paragraph like screenshot.

### Screenshots (if appropriate)

![image](https://cloud.githubusercontent.com/assets/3348133/17935588/d95ec2de-6a56-11e6-84d9-19030984411d.png)

### 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-1365

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

https://github.com/apache/zeppelin/pull/1358.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 #1358






---
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 #1315: [ZEPPELIN-530] Added changes for Credential Provider, ...

2016-08-24 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1315
  
Merging this if no more discussion.
CI fails for  #6786.9 - Which looks unrelated.


---
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-1365) Error of Zeppelin Application in development mode.

2016-08-24 Thread Shim HyungSung (JIRA)
Shim HyungSung created ZEPPELIN-1365:


 Summary: Error of Zeppelin Application in development mode.
 Key: ZEPPELIN-1365
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1365
 Project: Zeppelin
  Issue Type: Bug
Reporter: Shim HyungSung


In order to 
http://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/development/writingzeppelinapplication.html,
 ZeppelinApplicationDevServer can run Zeppelin Application in development mode 
but It occurs following error.

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.main(RemoteInterpreterServer.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)




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


[GitHub] zeppelin issue #1322: [ZEPPELIN-1320] Run zeppelin interpreter process as we...

2016-08-24 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1322
  
@Leemoonsoo yes thats a good suggestion. Let me try and do it.


---
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 #1357: ZEPPELIN-1364: Return only the ran paragraph de...

2016-08-24 Thread vipul1409
GitHub user vipul1409 opened a pull request:

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

ZEPPELIN-1364: Return only the ran paragraph details for indiviual 
paragraph run.

### What is this PR for?
If you run a note book having lots of paragraphs and few images and svgs. 
Every paragraph run sends the complete notebook instead of sending the details 
of just the executed paragraph. We can see good performance gain if we send 
only the details of ran paragraph.


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

### Todos
* [ ] - Task

### What is the Jira issue?
* Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
* Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. 
[ZEPPELIN-533]

https://issues.apache.org/jira/browse/ZEPPELIN-1364

### How should this be tested?
Create a notebook with few large images etc. so that note.json size is 
around 4 MB and run 
%sh ls . It will take very long without this fix. 

### Screenshots (if appropriate)

### 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/vipul1409/zeppelin ZEPPELIN-1364

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

https://github.com/apache/zeppelin/pull/1357.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 #1357


commit 71eb7d42b07f37202f1969e7fa9be22c7e3bb1f2
Author: Vipul Modi 
Date:   2016-08-24T13:15:42Z

Return only the ran paragraph details for indiviual paragraph run.




---
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-1364) Send details of the executed paragraph instead of complete note json.

2016-08-24 Thread Vipul Modi (JIRA)
Vipul Modi created ZEPPELIN-1364:


 Summary: Send details of the executed paragraph instead of 
complete note json.
 Key: ZEPPELIN-1364
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1364
 Project: Zeppelin
  Issue Type: Bug
Reporter: Vipul Modi


If you run a note book having lots of paragraphs and few images and svgs. Every 
paragraph run sends the complete notebook instead of sending the details of 
just the executed paragraph. We can see good performance gain if we send only 
the details of ran paragraph.



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


Re: Issues in Zeppelin 0.6.0

2016-08-24 Thread Jeff Zhang
All right, then this is the real code you executed, So what kind of error
do you get ? And have you run the sql in spark 1.6 ? As I suspect it is
morely a spark issue.

On Wed, Aug 24, 2016 at 7:45 PM, Sundararajan, Pranav <
pranav.sundarara...@pfizer.com> wrote:

> No Jeff, that is not the issue here.
>
>
>
> For instance, in my previous zeppelin version, I was calling  %sql and
> then writing a create table statement below it, reading data from the spark
> tables I had created in that particular session.
>
>
>
> It reads something like this:
>
>
>
> *%sql*
>
>
>
>
>
> *CREATE TABLE SDS_DIAG_RESTRICTED_3YRS as*
>
>
>
> *select a.PTID, a.SDS_TERM, c.DIAGNOSIS_CD, c.DIAGNOSIS_CD_TYPE from *
>
>
>
>
>
> *(SELECT PTID, SDS_TERM from *
>
> *(*
>
> *SELECT PTID, SDS_TERM ,count(distinct NOTE_DATE) AS counted FROM
> sds201320142015*
>
>
>
> *where lower(SDS_TERM) rlike (${2. Terms of Interest='nash|pain'}) and
> substring(NOTE_DATE,7,10) rlike (${4. Years of Interest='2014'})*
>
>
>
> *GROUP BY PTID, SDS_TERM*
>
>
>
> *) AS B*
>
>
>
> *WHERE counted >=${3. Min Nr of Notes=2} ) as a*
>
>
>
> *inner join *
>
>
>
> *(select PTID,DIAGNOSIS_CD,DIAGNOSIS_CD_TYPE*
>
>
>
> *from diag201320142015*
>
>
>
> *where lower(DIAGNOSIS_CD) rlike (${1. Diagnosis codes='8820'})*
>
>
>
> *) as c *
>
>
>
> *on a.PTID=c.PTID*
>
>
>
>
>
> *group by a.PTID, a.SDS_TERM, c.DIAGNOSIS_CD, c.DIAGNOSIS_CD_TYPE*
>
>
>
> The yellow highlighted portion  of the code, i.e *sds201320142015* is the
> temporary spark table which I am trying to use to create my Hive table
> which is *SDS_DIAG_RESTRICTED_3YRS**. *So the main issue here is this
> code snippet which was working on Zeppelin 0.5.6, is not working on
> Zeppelin 0.6.0, in spite of carrying the same interpreter settings as I’ve
> told you before.
>
>
>
> I hope that you have a better understanding of the problem we are trying
> to resolve here now.
>
>
>
>
>
> Regards,
>
>
>
>
>
>
>
> [image: Description: cid:image001.png@01D1C173.60CDE0C0]
>
> *Pranav Sundararajan| On assignment to **P**fizerWorks*
>
> Cell*: +91 9008412366 <%2B91%209008412366>*
>
> *Email**: **pfizerwor...@pfizer.com **; 
> **pranav.sundarara...@pfizer.com
> *
>
> *Website**: **http://pfizerWorks.pfizer.com
> *
>
>
>
>
>
>
>
> *From:* Jeff Zhang [mailto:zjf...@gmail.com]
> *Sent:* Wednesday, August 24, 2016 4:45 AM
> *To:* Sundararajan, Pranav
> *Cc:* dev@zeppelin.apache.org; d...@zeppelin.incubator.apache.org;
> us...@zeppelin.apache.org; Jaisankar, Saurabh; Patel, Dhaval;
> Nagasravanthi, Valluri
>
> *Subject:* Re: Issues in Zeppelin 0.6.0
>
>
>
> You are using sqlContext to run sql, so it should not relate with hive
> interpreter. It should run under spark interpreter.  I can ran your sql
> successfully with zeppelin 0.6 & spark 1.6. Could you restart your zeppelin
> and try again ? If possible, please attach the interpreter log
>
>
>
> On Wed, Aug 24, 2016 at 4:19 PM, Sundararajan, Pranav <
> pranav.sundarara...@pfizer.com> wrote:
>
> Hi Jeff,
>
>
>
> Thanks for your suggestion, but I believe we have worded our syntax
> exactly that same way, with the ‘Table’ keyword present, we merely missed
> out on capturing it on the mail.
>
>
>
> Coming back to the problem, we are fairly certain this issue has flared up
> due to the Zeppelin upgrade which we performed, as in the previous version
> of Zeppelin which we were using (0.5.6) the very same syntax for create and
> drop statements were working, it is only after the upgrade it is returning
> the error.
>
>
>
>
>
> We have checked the hive interpreter settings multiple times and also
> tried re-configuring it, and are able to successfully call it too. It is
> only with reference to trying to establish a connection between the Spark
> tables created in that sparkcontext instance and previously
> existing/created hive tables we are facing an issue. If you can give us
> come pointers or better yet remedies to this particular problem that’d be
> extremely helpful.
>
>
>
> Thanks a lot for your help!
>
>
>
> Regards,
>
>
>
>
>
>
>
> [image: Description: cid:image001.png@01D1C173.60CDE0C0]
>
> *Pranav Sundararajan| On assignment to **P**fizerWorks*
>
> Cell*: +91 9008412366 <%2B91%209008412366>*
>
> *Email**: **pfizerwor...@pfizer.com **; 
> **pranav.sundarara...@pfizer.com
> *
>
> *Website**: **http://pfizerWorks.pfizer.com
> *
>
>
>
>
>
>
>
> *From:* Jeff Zhang [mailto:zjf...@gmail.com]
> *Sent:* Wednesday, August 24, 2016 4:01 AM
> *To:* Nagasravanthi, Valluri
> *Cc:* dev@zeppelin.apache.org; d...@zeppelin.incubator.apache.org;
> us...@zeppelin.apache.org; Jaisankar, Saurabh; Sundararajan, Pranav;
> Patel, Dhaval
>
>
> *Subject:* Re: Issues in Zeppelin 0.6.0
>
>
>
> I think it is your sql syntax issue. You miss the keyword "table"
>
>
>
> It should be
>
> create *table* tablename as select * from 

[GitHub] zeppelin issue #1302: [ZEPPELIN-1306] Interpreter restarts on a note.

2016-08-24 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1302
  
And i think it's more make sense and useful if we can make restart button 
like,

restart button on interpreter setting page : restart all interpreter 
instances/processes related to the setting.

restart button on interpreter binding page : restart a interpreter 
instance/process for the note when "per Note" is enabled. Otherwise restart all 
interpreter instances/processes.

What do you think?


---
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 #1302: [ZEPPELIN-1306] Interpreter restarts on a note.

2016-08-24 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1302
  
@astroshim Thanks for the contribution.

How about make UI little bit more consistent?

On interpreter setting page, we have interpreter restart button look like

![image](https://cloud.githubusercontent.com/assets/1540981/17929685/ec590336-69b6-11e6-9a14-c36fbc54143d.png)

And interpreter binding page now have different style of restart button

![image](https://cloud.githubusercontent.com/assets/1540981/17929703/0fdd9830-69b7-11e6-994d-27e8fd5da22c.png)

How about use the similar style and similar icon for interpreter restart 
button? so user can easily guess what this button is for. For example,


![image](https://cloud.githubusercontent.com/assets/1540981/17929751/7152ebb0-69b7-11e6-9e2c-1d85ae3e8648.png)





---
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 #1322: [ZEPPELIN-1320] Run zeppelin interpreter process as we...

2016-08-24 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1322
  
Instead of `USE_SSH_IMPERSONATION`, how about let user customize 
impersonation method?
For example,
```
ZEPPELIN_INTERPRETER_IMPERSONATION_CMD="su - ${ZEPPELIN_USER_NAME}"
```
by default. but user can override this env variable, like
```
ZEPPELIN_INTERPRETER_IMPERSONATION_CMD="ssh -p12345 
${ZEPPELIN_USER_NAME}@localhost"
```
It gives more flexibility i think. (e.g. give additional options like -p. 
use different command to impersonate)


---
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-08-24 Thread moon soo Lee
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


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

2016-08-24 Thread kant kodali

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 pull request #1346: Update Utils.java

2016-08-24 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #1283: Buffer append output results + fix extra incorrect res...

2016-08-24 Thread jongyoul
Github user jongyoul commented on the issue:

https://github.com/apache/zeppelin/pull/1283
  
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.
---


[jira] [Created] (ZEPPELIN-1363) Introduce Note level dynamic form

2016-08-24 Thread Lee moon soo (JIRA)
Lee moon soo created ZEPPELIN-1363:
--

 Summary: Introduce Note level dynamic form
 Key: ZEPPELIN-1363
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1363
 Project: Zeppelin
  Issue Type: New Feature
Reporter: Lee moon soo
 Fix For: 0.7.0


Currently, dynamic form is created per paragraph. Either by 
{{FormType.SIMPLE}}, e.g.
{code}
select * from data where key > ${minKey=10}
{code}

or {{FormType.NATIVE}}, e.g.
{code}
val formValue = z.input("minKey", 10)
{code}

And the dynamic form only update the paragraph who defined the form.

But sometimes, updating entire note by changing single dynamic form is useful. 
So, how about introduce note level dynamic form?

*Note Level Dynamic Form*

Note Level Dynamic form is created on top of the Note, always. No matter which 
paragraph defines it. And no matter how many paragraphs define the same form, 
form is displayed only once. Once user updates dynamic form, all the paragraphs 
in the note will run.

{{FormType.SIMPLE}}, use double {{$$}} instead of single {{$}} to define Note 
level dynamic form
{code}
select * from data where key > $${minKey=10}
{code}

{{FormType.NATIVE}}, use {{z.noteInput()}} instead of {{z.input()}} to define 
Note level dynamic form
{code}
val formValue = z.noteInput("minKey", 10)
{code}




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


[GitHub] zeppelin issue #1283: Buffer append output results + fix extra incorrect res...

2016-08-24 Thread vipul1409
Github user vipul1409 commented on the issue:

https://github.com/apache/zeppelin/pull/1283
  
+1 Looking forward to this


---
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 #1353: ZEPPELIN-1326: make profile to select dependency of ha...

2016-08-24 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1353
  
Build fails for #6803-3,4,9.

```
'npm install --color=false' failed
```


---
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: Issues in Zeppelin 0.6.0

2016-08-24 Thread Jeff Zhang
You are using sqlContext to run sql, so it should not relate with hive
interpreter. It should run under spark interpreter.  I can ran your sql
successfully with zeppelin 0.6 & spark 1.6. Could you restart your zeppelin
and try again ? If possible, please attach the interpreter log

On Wed, Aug 24, 2016 at 4:19 PM, Sundararajan, Pranav <
pranav.sundarara...@pfizer.com> wrote:

> Hi Jeff,
>
>
>
> Thanks for your suggestion, but I believe we have worded our syntax
> exactly that same way, with the ‘Table’ keyword present, we merely missed
> out on capturing it on the mail.
>
>
>
> Coming back to the problem, we are fairly certain this issue has flared up
> due to the Zeppelin upgrade which we performed, as in the previous version
> of Zeppelin which we were using (0.5.6) the very same syntax for create and
> drop statements were working, it is only after the upgrade it is returning
> the error.
>
>
>
>
>
> We have checked the hive interpreter settings multiple times and also
> tried re-configuring it, and are able to successfully call it too. It is
> only with reference to trying to establish a connection between the Spark
> tables created in that sparkcontext instance and previously
> existing/created hive tables we are facing an issue. If you can give us
> come pointers or better yet remedies to this particular problem that’d be
> extremely helpful.
>
>
>
> Thanks a lot for your help!
>
>
>
> Regards,
>
>
>
>
>
>
>
> [image: Description: cid:image001.png@01D1C173.60CDE0C0]
>
> *Pranav Sundararajan| On assignment to **P**fizerWorks*
>
> Cell*: +91 9008412366 <%2B91%209008412366>*
>
> *Email**: **pfizerwor...@pfizer.com **; 
> **pranav.sundarara...@pfizer.com
> *
>
> *Website**: **http://pfizerWorks.pfizer.com
> *
>
>
>
>
>
>
>
> *From:* Jeff Zhang [mailto:zjf...@gmail.com]
> *Sent:* Wednesday, August 24, 2016 4:01 AM
> *To:* Nagasravanthi, Valluri
> *Cc:* dev@zeppelin.apache.org; d...@zeppelin.incubator.apache.org;
> us...@zeppelin.apache.org; Jaisankar, Saurabh; Sundararajan, Pranav;
> Patel, Dhaval
>
> *Subject:* Re: Issues in Zeppelin 0.6.0
>
>
>
> I think it is your sql syntax issue. You miss the keyword "table"
>
>
>
> It should be
>
> create *table* tablename as select * from tablename_1
>
> drop *table* if exists tablename
>
>
>
> On Mon, Aug 22, 2016 at 8:10 PM, Nagasravanthi, Valluri <
> valluri.nagasravan...@pfizer.com> wrote:
>
> Hi Jeff,
>
>
>
> We are still trying to sort out the issue that we highlighted before, so
> it’d be great if you could give your insight as soon as possible so that we
> can try and tackle it in a suitable manner.
>
>
>
> Thanks and Regards,
>
> **
>
> *[image: Description: cid:image001.png@01D1EBF4.36D373B0]*
>
> *Valluri Naga Sravanthi| On assignment to **P**fizerWorks*
>
> Cell*: +91 9008412366 <%2B91%209008412366>*
>
> *Email**: **pfizerwor...@pfizer.com* *; *
> *valluri.nagasravan...@pfizer.com* 
>
> *Website**: **http://pfizerWorks.pfizer.com*
> 
>
>
>
> *……*
>
> *From:* Nagasravanthi, Valluri
> *Sent:* Friday, August 19, 2016 8:39 AM
> *To:* 'Jeff Zhang'
> *Cc:* dev@zeppelin.apache.org; d...@zeppelin.incubator.apache.org;
> us...@zeppelin.apache.org; Jaisankar, Saurabh; Sundararajan, Pranav
> *Subject:* RE: Issues in Zeppelin 0.6.0
>
>
>
> We upgraded Ambari Cluster  while we were working with Zeppelin 0.5.6. At
> that point, we were using Spark 1.5.2. After the upgrade of Ambari, the
> Spark version got upgraded to 1.6. Post that we upgraded Zeppelin to 0.6.0.
>
>
>
> *From:* Jeff Zhang [mailto:zjf...@gmail.com]
> *Sent:* Friday, August 19, 2016 7:48 AM
> *To:* Nagasravanthi, Valluri
> *Cc:* dev@zeppelin.apache.org; d...@zeppelin.incubator.apache.org;
> us...@zeppelin.apache.org; Jaisankar, Saurabh; Sundararajan, Pranav
>
>
> *Subject:* Re: Issues in Zeppelin 0.6.0
>
>
>
> Do you change spark version when upgrading zeppelin ?
>
>
>
> On Fri, Aug 19, 2016 at 7:36 PM, Nagasravanthi, Valluri <
> valluri.nagasravan...@pfizer.com> wrote:
>
>
>
> Hi,
>
>
>
> Actually, when we worked on Zeppelin 0.5.6, we used to use sqlContext
> itself for reading hive files, registering spark dataframes as temp tables
> and eventualy processing queries on the temp tables.
>
>
>
> The issue which I am facing on Zeppelin 0.6.0 right now  is that even
> though I am able to execute “SELECT”  query on the temptables but *I am
> not able to execute DDL statements like Create/Drop tables using temptables
> derived from the hive files.  *
>
>
>
> *To elaborate it further:*
>
> When I write the following codes, they work fine. PFB the sample codes:
>
>- sqlContext.sql(“select * from table name”)
>- sqlContext.sql(“Select count(column_name) from table_name”)
>
> But when I write the 

[GitHub] zeppelin pull request #1304: [ZEPPELIN-1190] [WIP] Visit Notebook Revision

2016-08-24 Thread corneadoug
GitHub user corneadoug reopened a pull request:

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

[ZEPPELIN-1190] [WIP] Visit Notebook Revision

### What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - 
https://github.com/apache/zeppelin/blob/master/CONTRIBUTING.md


### What type of PR is it?
To visit the Notebook Revision after selecting it from the dropdown

### Todos
* [x] - API needs to be fixed to send Revision ID
* [ ] - Render Revision
* [ ] - Click on revision action
* [ ] - Select the right revision in the dropdown

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

### How should this be tested?
No test yet

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No (until full feature is implemented)

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

$ git pull https://github.com/corneadoug/incubator-zeppelin 
feature/visitRevision

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

https://github.com/apache/zeppelin/pull/1304.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 #1304


commit e5f28e938587601e78484e5a1eb239803b9c160a
Author: Damien CORNEAU 
Date:   2016-07-29T06:23:18Z

create new root and call revision

commit 8d5d1f3275938258fb4a992221c93722185c
Author: Damien CORNEAU 
Date:   2016-08-17T05:50:52Z

Change call to websocketEvent




---
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 #1356: [ZEPPELIN-1346] Add contribution guidelines to the web...

2016-08-24 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1356
  
@corneadoug Don't worry about that. Let me repush 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.
---


[GitHub] zeppelin issue #1356: [ZEPPELIN-1346] Add contribution guidelines to the web...

2016-08-24 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1356
  
@AhyoungRyu Sorry you will have to re-do your PR here :(


---
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 #1356: [ZEPPELIN-1346] Add contribution guidelines to ...

2016-08-24 Thread corneadoug
GitHub user corneadoug opened a pull request:

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

[ZEPPELIN-1346] Add contribution guidelines to the website

### What is this PR for?
Recreation of #1354 
This PR is bringing Contribution guidelines to the website.
We also introduce a sidemenu on those pages allowing to create additional 
content.
As an example, for the Web Application Guidelines, we added a page about 
"Defining Components"

In a different PR, we will remove the contributing markdown, and change the 
links in the repository to the website.


### What type of PR is it?
Documentation

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

### How should this be tested?
Build the website locally and visit the community page

### Screenshots (if appropriate)
![screen shot 2016-08-23 at 3 50 41 
pm](https://cloud.githubusercontent.com/assets/710411/17882774/8da96b86-6949-11e6-8789-fed606b64fd8.png)

![screen shot 2016-08-23 at 3 50 51 
pm](https://cloud.githubusercontent.com/assets/710411/17882782/99cbcc60-6949-11e6-84d4-937045c9cf55.png)

![screen shot 2016-08-23 at 3 50 33 
pm](https://cloud.githubusercontent.com/assets/710411/17882785/9c0315f6-6949-11e6-963b-3e26190bc72a.png)



### 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 
add/ContributeCategory

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

https://github.com/apache/zeppelin/pull/1356.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 #1356


commit 06238fbc9b3a65085db2ea1ad4aa53630b1660f3
Author: Damien CORNEAU 
Date:   2016-08-22T04:47:46Z

Modify the Community page

commit cb8760861b28b78e2ffc58e65bafd1ee154ce30b
Author: Damien CORNEAU 
Date:   2016-08-22T04:51:45Z

Add forgotten license headers

commit acc68b50d71e16752eb598235d5be32ad6fbf5b8
Author: Damien CORNEAU 
Date:   2016-08-22T05:38:19Z

Add contribution Guidelines to the website

commit 5f7e2bd47c2b027c9d63fb4d0ebc6c9e2b8b2e33
Author: Damien CORNEAU 
Date:   2016-08-22T08:13:14Z

Add a side menu template

commit c933c194b3190961e799b8c9a75071718290c6dd
Author: Damien CORNEAU 
Date:   2016-08-22T08:43:34Z

Add zeppelin-web contribution page

commit 306ae06724a870b2da454283afc851f20b65925f
Author: Damien CORNEAU 
Date:   2016-08-22T09:05:32Z

Add zeppelin-web GPG menu

commit 666f3ec95ed4f7d6aed5efefec3b40269d022bf0
Author: Damien CORNEAU 
Date:   2016-08-23T05:31:29Z

Add first Zeppelin-web best practices page

commit 81493abd9ecbf07cf864f5509e96c1bbabdc72ce
Author: Damien CORNEAU 
Date:   2016-08-23T06:45:29Z

Change Side Menu style

commit 94d653b26eeb44538ef5f07f969de912e324478a
Author: Damien CORNEAU 
Date:   2016-08-24T02:49:35Z

Fix typos

commit 8f69f283d031fcdb5f5c90426ad01f88f4879adf
Author: Damien CORNEAU 
Date:   2016-08-24T03:07:31Z

Add GUI integration tests CLI

commit 98826702a321a6c67e2af030fb7d120560a883d8
Author: Damien CORNEAU 
Date:   2016-08-24T03:25:13Z

Allows contribution page without side Menu

commit e0b4c8d30ffe4df95e3cb1cbc1fe3205191f0266
Author: Damien CORNEAU 
Date:   2016-08-24T03:27:26Z

change name of good practice file

commit e34fc64f0b0f84697720b8aff4ec82a7a83f
Author: Damien CORNEAU 
Date:   2016-08-24T03:41:58Z

fix typo in front-end doc




---
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 #544: [WIP] Multi-Language UI for ZeppelinWebApp

2016-08-24 Thread corneadoug
GitHub user corneadoug reopened a pull request:

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

[WIP] Multi-Language UI for ZeppelinWebApp

### What is this PR for?
This PR has for goal to provide an initial implementation of Multi-Language 
UI for Zeppelin.
This feature will allow the user to switch language using a Language Switch 
Button.
Contributors will be able to create new language translations, and a set of 
documentation will be made to guide them.

The Feature is set to have English as both default and fallback language, 
and a French translation will be included in this PR as an example.

### What type of PR is it?
Feature

### Todos
* [x] - Inital plugin configuration
* [ ] - Finish transferring UI text to english translation
* [ ] - Finish French translation
* [ ] - Add Language Switch Button
* [ ] - Remember language choice
* [ ] - Modify license file for angular-translate
* [ ] - Create documentation on how to make a new translation & tips

### Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-512

### How should this be tested?
No guidelines yet since it is still a work in progress

### Screenshots (if appropriate)

In English:
![screen shot 2015-12-17 at 11 35 40 
am](https://cloud.githubusercontent.com/assets/710411/11860188/965fb374-a4b5-11e5-8665-9ec30d087acb.png)

In French:
![screen shot 2015-12-17 at 11 33 48 
am](https://cloud.githubusercontent.com/assets/710411/11860191/9f4491b2-a4b5-11e5-9230-3725fcea1efd.png)

### Questions:
* Does the licenses files need update? (Yes, not yet updated)
* Is there breaking changes for older versions? (No)
* Does this needs documentation? (Yes, not yet created)

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

$ git pull https://github.com/corneadoug/incubator-zeppelin 
feature/multiLanguageUI

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

https://github.com/apache/zeppelin/pull/544.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 #544


commit 63699fedfde81088452edd1522d5af9484c581a8
Author: Damien CORNEAU 
Date:   2015-12-17T02:35:30Z

Initial step for Multi-Language Feature

commit 75988243b36916177404e14430897f7caf5e0096
Author: Damien CORNEAU 
Date:   2015-12-17T09:40:38Z

Home Page - English Translation

commit 3c43da1258ca1a96e8e1af9dc0b76621f26ec2f1
Author: Damien CORNEAU 
Date:   2015-12-17T10:59:58Z

Home Page - French Translation

commit 902f1c438fae4fdebfbe05f3bbeb4f21b8377ac6
Author: Damien CORNEAU 
Date:   2015-12-17T11:22:06Z

Finishe Navbar component Translation En and Fr

commit d1f53e95732c7aaf5abf1368925c3ad348ff9b2c
Author: Damien CORNEAU 
Date:   2015-12-18T04:42:16Z

Interpreter Page - Translation En

commit c8de0f0d390facf27f69979d2521db1ad2b24201
Author: Damien CORNEAU 
Date:   2015-12-18T06:12:21Z

Interpreter Page - Translation fr

commit 5cffc8e40a6b721f5e2b85577c26208ef548
Author: Damien CORNEAU 
Date:   2016-01-07T05:05:31Z

Update refresh button position on home page

commit 82deee433520e5f2895736448dc22f59e08d8d94
Author: Damien CORNEAU 
Date:   2016-01-07T06:38:26Z

Notebook ActionBar Translation En + Fr




---
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 #544: [WIP] Multi-Language UI for ZeppelinWebApp

2016-08-24 Thread corneadoug
Github user corneadoug closed the pull request at:

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


---
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 #1304: [ZEPPELIN-1190] [WIP] Visit Notebook Revision

2016-08-24 Thread corneadoug
Github user corneadoug closed the pull request at:

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


---
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 #1354: [ZEPPELIN-1346] Add contribution guidelines to ...

2016-08-24 Thread corneadoug
Github user corneadoug closed the pull request at:

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


---
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 #1354: [ZEPPELIN-1346] Add contribution guidelines to the web...

2016-08-24 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1354
  
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.
---


Re: Issues in Zeppelin 0.6.0

2016-08-24 Thread Jeff Zhang
I think it is your sql syntax issue. You miss the keyword "table"

It should be
create *table* tablename as select * from tablename_1
drop *table* if exists tablename

On Mon, Aug 22, 2016 at 8:10 PM, Nagasravanthi, Valluri <
valluri.nagasravan...@pfizer.com> wrote:

> Hi Jeff,
>
>
>
> We are still trying to sort out the issue that we highlighted before, so
> it’d be great if you could give your insight as soon as possible so that we
> can try and tackle it in a suitable manner.
>
>
>
> Thanks and Regards,
>
> **
>
> *[image: Description: cid:image001.png@01D1EBF4.36D373B0]*
>
> *Valluri Naga Sravanthi| On assignment to **P**fizerWorks*
>
> Cell*: +91 9008412366 <%2B91%209008412366>*
>
> *Email**: **pfizerwor...@pfizer.com* *; *
> *valluri.nagasravan...@pfizer.com* 
>
> *Website**: **http://pfizerWorks.pfizer.com*
> 
>
>
>
> *……*
>
> *From:* Nagasravanthi, Valluri
> *Sent:* Friday, August 19, 2016 8:39 AM
> *To:* 'Jeff Zhang'
> *Cc:* dev@zeppelin.apache.org; d...@zeppelin.incubator.apache.org;
> us...@zeppelin.apache.org; Jaisankar, Saurabh; Sundararajan, Pranav
> *Subject:* RE: Issues in Zeppelin 0.6.0
>
>
>
> We upgraded Ambari Cluster  while we were working with Zeppelin 0.5.6. At
> that point, we were using Spark 1.5.2. After the upgrade of Ambari, the
> Spark version got upgraded to 1.6. Post that we upgraded Zeppelin to 0.6.0.
>
>
>
> *From:* Jeff Zhang [mailto:zjf...@gmail.com]
> *Sent:* Friday, August 19, 2016 7:48 AM
> *To:* Nagasravanthi, Valluri
> *Cc:* dev@zeppelin.apache.org; d...@zeppelin.incubator.apache.org;
> us...@zeppelin.apache.org; Jaisankar, Saurabh; Sundararajan, Pranav
>
> *Subject:* Re: Issues in Zeppelin 0.6.0
>
>
>
> Do you change spark version when upgrading zeppelin ?
>
>
>
> On Fri, Aug 19, 2016 at 7:36 PM, Nagasravanthi, Valluri <
> valluri.nagasravan...@pfizer.com> wrote:
>
>
>
> Hi,
>
>
>
> Actually, when we worked on Zeppelin 0.5.6, we used to use sqlContext
> itself for reading hive files, registering spark dataframes as temp tables
> and eventualy processing queries on the temp tables.
>
>
>
> The issue which I am facing on Zeppelin 0.6.0 right now  is that even
> though I am able to execute “SELECT”  query on the temptables but *I am
> not able to execute DDL statements like Create/Drop tables using temptables
> derived from the hive files.  *
>
>
>
> *To elaborate it further:*
>
> When I write the following codes, they work fine. PFB the sample codes:
>
>- sqlContext.sql(“select * from table name”)
>- sqlContext.sql(“Select count(column_name) from table_name”)
>
> But when I write the following codes, it fails to execute:
>
>- sqlContext.sql(“create tablename as select * from tablename_1”)
>- sqlContext.sql(“drop if exists tablename”)
>
>
>
> I am getting the error : *java.lang.RuntimeException: [1.1] failure:
> ``with'' expected but identifier drop found :*
>
> I even tried using sql interpreter.
>
>
>
> *PFB the code for it:*
>
> %sql
>
> Drop if exists tablename
>
> I am getting the same error again: : *java.lang.RuntimeException: [1.1]
> failure: ``with'' expected but identifier drop found :*
>
>
>
> Thanks a lot for being so responsive. Hope to fix this issue soon with
> your help.
>
>
>
> Thanks and Regards,
>
> **
>
> *[image: Description: cid:image001.png@01D1EBF4.36D373B0]*
>
> *Valluri Naga Sravanthi| On assignment to **P**fizerWorks*
>
> Cell*: +91 9008412366 <%2B91%209008412366>*
>
> *Email**: **pfizerwor...@pfizer.com* *; *
> *valluri.nagasravan...@pfizer.com* 
>
> *Website**: **http://pfizerWorks.pfizer.com*
> 
>
>
>
> *……*
>
>
>
>
>
> *From:* Jeff Zhang [mailto:zjf...@gmail.com]
>
>
>
>
> *Sent:* Friday, August 19, 2016 6:49 AM
> *To:* Sundararajan, Pranav
> *Cc:* dev@zeppelin.apache.org; d...@zeppelin.incubator.apache.org;
> us...@zeppelin.apache.org; Jaisankar, Saurabh; Nagasravanthi, Valluri
>
>
> *Subject:* Re: Issues in Zeppelin 0.6.0
>
>
>
> Sorry, you should use sqlContext
>
>
>
> On Fri, Aug 19, 2016 at 6:11 PM, Sundararajan, Pranav <
> pranav.sundarara...@pfizer.com> wrote:
>
> Hi,
>
>
>
> We tried “hiveContext” instead of “HiveContext” but it didn’t work out.
>
> Please find below the code and the error log:
>
>
>
> *import org.apache.spark.sql.hive.HiveContext*
>
> *val df_test_hive = hiveContext.read.parquet("/location/hivefile")*
>
>
>
> *import org.apache.spark.sql.hive.HiveContext*
>
> *:67: error: not found: value hiveContext*
>
> *val df_test_hive = hiveContext.read.parquet("/location/hivefile")*
>
>
>
> It seems hiveContext is not an object of HiveContext package.
>
> Could you please suggest if 

[GitHub] zeppelin issue #989: Added ipfsnotebookrepo [ Zeppelin-683 ]

2016-08-24 Thread khalidhuseynov
Github user khalidhuseynov commented on the issue:

https://github.com/apache/zeppelin/pull/989
  
in a sense i agree with @corneadoug and i'll write more details on that 
later, but for the beginning wouldn't it make sense to save normal notes 
without commit in ipfs as well?


---
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 #1354: [ZEPPELIN-1346] Add contribution guidelines to the web...

2016-08-24 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1354
  
All the changes have been addressed. 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 #989: Added ipfsnotebookrepo [ Zeppelin-683 ]

2016-08-24 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/989
  
I'm a bit lost with this feature, is it really considered as a NotebookRepo 
or does it only keep the revisions? Does importing the Hash mean that it import 
a Revision as Notebook?

Why do we need to comment the VFS while it still save in local file system?

Also I think the ipfs installation steps shouldn't be in the NotebookRepo 
doc since not every user should be having a server running. It would be more 
fitting in this PR description on how to test this PR.

 Import form
I would have classic URL by default, and the hash option only as a checkbox.

 Import Note event listener
I left comments in the code



---
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-1362) Py4j depend on the version of the package declaration, and Spark - 1.6.2 provide inconsistent

2016-08-24 Thread Hefei Li (JIRA)
Hefei Li created ZEPPELIN-1362:
--

 Summary: Py4j depend on the version of the package declaration, 
and Spark - 1.6.2 provide inconsistent
 Key: ZEPPELIN-1362
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1362
 Project: Zeppelin
  Issue Type: Bug
  Components: Core
Affects Versions: 0.6.1
Reporter: Hefei Li


Through the source code to compile, In spark-dependencies module, Py4j version 
of a statement, and spark-1.6.2 provided in inconsistent, lead to compile 
failed.



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


[GitHub] zeppelin pull request #1353: ZEPPELIN-1326: make profile to select dependenc...

2016-08-24 Thread prabhjyotsingh
GitHub user prabhjyotsingh reopened a pull request:

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

ZEPPELIN-1326: make profile to select dependency of hadoop-common for JDBC 
interpreter

### What is this PR for?
java.lang.ClassNotFoundException: 
org.apache.hadoop.security.UserGroupInformation$AuthenticationMethod error on 
using jdbc interpreter after #1205 

```
java.lang.ClassNotFoundException: 
org.apache.hadoop.security.UserGroupInformation$AuthenticationMethod
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at 
org.apache.zeppelin.jdbc.security.JDBCSecurityImpl.getAuthtype(JDBCSecurityImpl.java:71)
at 
org.apache.zeppelin.jdbc.JDBCInterpreter.getConnection(JDBCInterpreter.java:217)
at 
org.apache.zeppelin.jdbc.JDBCInterpreter.getStatement(JDBCInterpreter.java:275)
at 
org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(JDBCInterpreter.java:346)
at 
org.apache.zeppelin.jdbc.JDBCInterpreter.interpret(JDBCInterpreter.java:452)
at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:383)
at org.apache.zeppelin.scheduler.Job.run(Job.java:176)
at 
org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
```


Workaround is adding "org.apache.hadoop:hadoop-common:2.7.2" in the 
Dependencies section of interpreter setting on GUI. But jdbc interpreter 
supposed to work without asking user hadoop-common dependency.

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


### What is the Jira issue?
* [ZEPPELIN-1326](https://issues.apache.org/jira/browse/ZEPPELIN-1326)

### How should this be tested?
On running this (JDBC) interpreter, the above stack trace should not come.

### Screenshots (if appropriate)

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



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

$ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-1326

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

https://github.com/apache/zeppelin/pull/1353.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 #1353


commit f061da03aed48609d07cab2eed199369adb26267
Author: Prabhjyot Singh 
Date:   2016-08-23T05:30:29Z

ZEPPELIN-1326: make profile to select dependency for hadoop-common

commit 0e0016a0b6739b3889689d603e5b340d9efb791e
Author: Prabhjyot Singh 
Date:   2016-08-23T08:39:20Z

move profile hadoop-* to root level pom

commit f64dbf0584a4d1399b7d981b36d8938b075a13c1
Author: Prabhjyot Singh 
Date:   2016-08-23T09:54:57Z

make provided

commit 033da7b3e0bcd6e1349bfa8e0987127a2723fce6
Author: Prabhjyot Singh 
Date:   2016-08-24T05:14:25Z

check if auth type is present in key




---
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 #1353: ZEPPELIN-1326: make profile to select dependenc...

2016-08-24 Thread prabhjyotsingh
Github user prabhjyotsingh closed the pull request at:

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


---
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.
---