[GitHub] zeppelin issue #2442: [ZEPPELIN-2679] JDBC. precode for session

2018-04-09 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/2442
  
@tinkoff-dwh @mebelousov Could you retrigger the build ? Travis seems fail


---


[GitHub] zeppelin pull request #2917: Remove Zeppelin help and community links on zep...

2018-04-09 Thread slinlee
Github user slinlee closed the pull request at:

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


---


[GitHub] zeppelin pull request #2917: Remove Zeppelin help and community links on zep...

2018-04-09 Thread slinlee
GitHub user slinlee opened a pull request:

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

Remove Zeppelin help and community links on zeppelin start page

The links weren't pointing correctly to the zeppelin docs and they
cause confusion about which community and project they link to.

This page will be less important once users are logged into Zeppelin
automatically, but it's one we can customize better if we want.


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

$ git pull https://github.com/SkymindIO/zeppelin sl/help_links

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

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


commit 37a57b8f1e7b0c4f55499c25d96337f42afcd086
Author: Slin Lee 
Date:   2018-04-09T21:09:42Z

Remove Zeppelin help and community links on zeppelin start page

The links weren't pointing correctly to the zeppelin docs and they
cause confusion about which community and project they link to.

This page will be less important once users are logged into Zeppelin
automatically, but it's one we can customize better if we want.




---


[jira] [Created] (ZEPPELIN-3397) User with read only access can update the permissions of a notebook and gain write access

2018-04-09 Thread Ying Chen (JIRA)
Ying Chen created ZEPPELIN-3397:
---

 Summary: User with read only access can update the permissions of 
a notebook and gain write access
 Key: ZEPPELIN-3397
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3397
 Project: Zeppelin
  Issue Type: Bug
  Components: security
Affects Versions: 0.7.3
 Environment: Linux: Centos 7.2 

HDP: 2.6.3 

Zeppelin: 0.7.3 
Reporter: Ying Chen
 Attachments: image-2018-04-09-12-08-39-371.png, 
image-2018-04-09-12-09-27-992.png, image-2018-04-09-12-09-49-994.png

Currently I have a notebook in which is own by the admin, in which user1 has 
"Read" access.

 As user1,  I can click on "Note permissions" and display the permissions.

!image-2018-04-09-12-08-39-371.png!

 

I then proceed to modify it and save it . 

!image-2018-04-09-12-09-27-992.png!

!image-2018-04-09-12-09-49-994.png!

 

Then as user1,  I can actually go edit the paragraphs and run it after my 
permission has been updated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (ZEPPELIN-3396) UI should not show edit/run options when user has only "Read" access

2018-04-09 Thread Ying Chen (JIRA)
Ying Chen created ZEPPELIN-3396:
---

 Summary: UI should not show edit/run options when user has only 
"Read" access
 Key: ZEPPELIN-3396
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3396
 Project: Zeppelin
  Issue Type: Improvement
  Components: GUI
Affects Versions: 0.7.3
 Environment: Linux: Centos 7.2 

HDP 2.6.3

Zeppelin 0.7.3 

 
Reporter: Ying Chen
 Attachments: image-2018-04-09-11-55-04-878.png, 
image-2018-04-09-11-55-28-706.png, image-2018-04-09-11-58-12-487.png

User should not have certain options available when they do not have the 
permissions to execute it.  (or these options should be greyed out ) 

Example:  When setting up a notebook, user admin wants to make sure that other 
people has only read access to her notebook.  So, the permission is set to 
owners=admin , writers=admin, reader="" . 

When user1 navigates to this notebook,  all the UI options that user1 cannot 
use are displayed.  In which, the user then clicks on "Run" 

!image-2018-04-09-11-55-04-878.png!

 

When this happens, User is warned with insufficient permissions and is routed 
back to the main page. 

!image-2018-04-09-11-55-28-706.png!

 

!image-2018-04-09-11-58-12-487.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: zeppelin build is failing

2018-04-09 Thread Jeff Zhang
It has been fixed, please try the latest master branch



Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore) <
naveenakumar_gurushantap.panchappana...@nokia.com>于2018年4月9日周一 下午6:35写道:

> Hi Jeff,
>
> Is there any other alternative way of building the code,till fix comes.
>
> Regards
> Naveen
>
>
> -Original Message-
> From: Jeff Zhang [mailto:zjf...@gmail.com]
> Sent: Saturday, April 7, 2018 8:07 AM
> To: dev@zeppelin.apache.org
> Subject: Re: zeppelin build is failing
>
> This is due to ZEPPELIN-3367, I will fix it soon.
>
>
>
> Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore) <
> naveenakumar_gurushantap.panchappana...@nokia.com>于2018年4月7日周六 上午5:30写道:
>
> > Hi All,
> >
> > I am trying out building latest zeppelin source on one of my vm machine .
> >
> > I getting the following error can any body help on this.
> >
> > Zeppelin 0.9.0-SNAPSHOT  SUCCESS [  3.985
> > s] [INFO] Zeppelin: Interpreter Parent ... SUCCESS
> > [
> > 0.859 s]
> > [INFO] Zeppelin: Interpreter .. SUCCESS [
> > 11.889 s]
> > [INFO] Zeppelin: Display system apis .. SUCCESS [
> > 16.443 s]
> > [INFO] Zeppelin: Spark Parent . SUCCESS [
> > 1.133 s]
> > [INFO] Zeppelin: Spark Scala Parent ... SUCCESS [
> > 13.495 s]
> > [INFO] Zeppelin: Spark Interpreter Scala_2.11 . SUCCESS [
> > 8.681 s]
> > [INFO] Zeppelin: Spark Interpreter Scala_2.10 . SUCCESS [
> > 9.181 s]
> > [INFO] Zeppelin: Spark Shims .. SUCCESS [
> > 0.985 s]
> > [INFO] Zeppelin: Spark1 Shims . SUCCESS [
> > 3.905 s]
> > [INFO] Zeppelin: Spark2 Shims . SUCCESS [
> > 3.629 s]
> > [INFO] Zeppelin: Python interpreter ... SUCCESS [
> > 17.105 s]
> > [INFO] Zeppelin: Spark Interpreter  SUCCESS [
> > 37.335 s]
> > [INFO] Zeppelin: Zengine .. SUCCESS [
> > 8.997 s]
> > [INFO] Zeppelin: Groovy interpreter ... SUCCESS [
> > 1.375 s]
> > [INFO] Zeppelin: Spark dependencies ... SUCCESS [
> > 50.364 s]
> > [INFO] Zeppelin: Markdown interpreter . SUCCESS [
> > 1.612 s]
> > [INFO] Zeppelin: Angular interpreter .. SUCCESS [
> > 1.182 s]
> > [INFO] Zeppelin: Shell interpreter  SUCCESS [
> > 1.348 s]
> > [INFO] Zeppelin: Livy interpreter . SUCCESS [
> > 3.897 s]
> > [INFO] Zeppelin: HBase interpreter  SUCCESS [
> > 4.578 s]
> > [INFO] Zeppelin: Apache Pig Interpreter ... SUCCESS [
> > 6.657 s]
> > [INFO] Zeppelin: JDBC interpreter . SUCCESS [
> > 2.123 s]
> > [INFO] Zeppelin: File System Interpreters . SUCCESS [
> > 1.926 s]
> > [INFO] Zeppelin: Flink  SUCCESS [
> > 8.150 s]
> > [INFO] Zeppelin: Apache Ignite interpreter  SUCCESS [
> > 2.706 s]
> > [INFO] Zeppelin: Kylin interpreter  SUCCESS [
> > 1.465 s]
> > [INFO] Zeppelin: Lens interpreter . SUCCESS [
> > 8.852 s]
> > [INFO] Zeppelin: Apache Cassandra interpreter . SUCCESS
> > [01:00 min] [INFO] Zeppelin: Elasticsearch interpreter
> >  SUCCESS [
> > 4.360 s]
> > [INFO] Zeppelin: BigQuery interpreter . SUCCESS [
> > 1.731 s]
> > [INFO] Zeppelin: Alluxio interpreter .. SUCCESS [
> > 3.478 s]
> > [INFO] Zeppelin: Scio . SUCCESS [
> > 47.500 s]
> > [INFO] Zeppelin: Neo4j interpreter  SUCCESS [
> > 3.099 s]
> > [INFO] Zeppelin: Sap .. SUCCESS [
> > 1.234 s]
> > [INFO] Zeppelin: web Application .. SUCCESS
> > [17:26 min] [INFO] Zeppelin: Server
> > ... SUCCESS [01:39 min] [INFO]
> > Zeppelin: Jupyter Support .. SUCCESS [
> > 1.051 s]
> > [INFO] Zeppelin: Plugins Parent ... FAILURE [
> > 2.499 s]
> > [INFO] Zeppelin: Plugin S3NotebookRepo  SKIPPED
> > [INFO] Zeppelin: Plugin VFSNotebookRepo ... SKIPPED
> > [INFO] Zeppelin: Plugin GitNotebookRepo ... SKIPPED
> > [INFO] Zeppelin: Plugin GitHubNotebookRepo  SKIPPED
> > [INFO] Zeppelin: Plugin AzureNotebookRepo . SKIPPED
> > [INFO] Zeppelin: Plugin GCSNotebookRepo ... SKIPPED
> > [INFO] Zeppelin: Plugin MongoNotebookRepo . SKIPPED
> > [INFO] Zeppelin: Plugin ZeppelinHubRepo ... SKIPPED
> > [INFO] Zeppelin: Plugin FileSystemNotebookRepo  SKIPPED
> > [INFO] Zeppelin: Packaging distribution 0.9.0-SNAPSHOT  SKIPPED
> > [INFO]
> > 

[GitHub] zeppelin pull request #2916: ZEPPELIN-3395 Fix: Spark interpreter does not r...

2018-04-09 Thread iijima-satoshi
GitHub user iijima-satoshi opened a pull request:

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

ZEPPELIN-3395 Fix: Spark interpreter does not run as impersonated user when 
disable…

### What is this PR for?
Fix impersonate spark interpreter.
Currently, impersonate spark interpreter always runs as zeppelin user, not 
impersonated user when disable proxy-user option.

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

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

### How should this be tested?
1. ZEPPELIN_IMPERSONATE_SPARK_PROXY_USER=false in zeppelin-env.sh
2. set up user impersonation flag
3. run some job using that spark interpreter
4. spark interpreter process should be created with currently logged-in user

### 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/iijima-satoshi/zeppelin fix-impersonate-spark

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

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


commit 13d446d2c4886fccffb4278c4fa18ecbd1121cf7
Author: iijima_satoshi 
Date:   2018-04-09T12:24:34Z

Fix: Spark interpreter does not run as impersonated user when disable 
proxy-user option




---


[jira] [Created] (ZEPPELIN-3395) Spark interpreter does not run as impersonated user when disable proxy-user option

2018-04-09 Thread Satoshi Iijima (JIRA)
Satoshi Iijima created ZEPPELIN-3395:


 Summary: Spark interpreter does not run as impersonated user when 
disable proxy-user option
 Key: ZEPPELIN-3395
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3395
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Affects Versions: 0.8.0, 0.9.0
Reporter: Satoshi Iijima


Impersonate spark interpreter always runs as zeppelin user when disable 
proxy-user option.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] zeppelin pull request #2915: ZEPPELIN-3391 Incorrect status shown for '%livy...

2018-04-09 Thread r-kamath
GitHub user r-kamath opened a pull request:

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

ZEPPELIN-3391 Incorrect status shown for '%livy2.conf' and %spark2.conf' 
interpreters

### What is this PR for?
Incorrect status shown for '%livy2.conf' and %spark2.conf' interpreters

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

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

### How should this be tested?
* see jira ticket description

### 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/r-kamath/zeppelin ZEPPELIN-3391

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

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


commit 6870f1ce9549f77ef40bf37ba93a93da16e539ca
Author: Renjith Kamath 
Date:   2018-04-09T12:33:30Z

ZEPPELIN-3391 Incorrect status shown for '%livy2.conf' and %spark2.conf' 
interpreters




---


[jira] [Created] (ZEPPELIN-3394) Interpreter Settings are not refreshed for older notebooks

2018-04-09 Thread Prabhu Joseph (JIRA)
Prabhu Joseph created ZEPPELIN-3394:
---

 Summary: Interpreter Settings are not refreshed for older notebooks
 Key: ZEPPELIN-3394
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3394
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Affects Versions: 0.7.1
Reporter: Prabhu Joseph


The older notebooks are failing with below exception when it runs an 
interpreter which got created now.

{code}


WARN [2018-04-09 06:24:47,822] ({qtp760563749-12} 
NotebookServer.java[afterStatusChange]:2058) - Job 20180409-062426_2032775629 
is finished, status: ERROR, exception: 
org.apache.zeppelin.interpreter.InterpreterException: 
paragraph_1523255066000_1811724187's Interpreter pig not found, result: %text 
paragraph_1523255066000_1811724187's Interpreter pig not found
ERROR [2018-04-09 06:24:47,864] ({qtp760563749-12} 
NotebookServer.java[persistAndExecuteSingleParagraph]:1643) - Exception from run
org.apache.zeppelin.interpreter.InterpreterException: 
paragraph_1523255066000_1811724187's Interpreter pig not found
at org.apache.zeppelin.notebook.Note.run(Note.java:605)
at 
org.apache.zeppelin.socket.NotebookServer.persistAndExecuteSingleParagraph(NotebookServer.java:1641)
at 
org.apache.zeppelin.socket.NotebookServer.runParagraph(NotebookServer.java:1615)
at 
org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:265)
at 
org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:59)
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)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
{code}

New notes are working fine.

Repro:

1. Create a Pig Interpreter from Zeppelin UI -> Interpreter
2. Run a pig script with a notebook which is existing before.







--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (ZEPPELIN-3393) Export a notebook REST API returns wrapped wraps body

2018-04-09 Thread Alexander Radzin (JIRA)
Alexander Radzin created ZEPPELIN-3393:
--

 Summary: Export a notebook REST API returns wrapped wraps body
 Key: ZEPPELIN-3393
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3393
 Project: Zeppelin
  Issue Type: Bug
Reporter: Alexander Radzin


According to 
[documentation|https://zeppelin.apache.org/docs/0.7.2/rest-api/rest-notebook.html#export-a-notebook]
 REST API that exports note and looks like

[http://[zeppelin-server]:[zeppelin-port]/api/notebook/export/[noteId|http://[zeppelin-server][zeppelin-port]/]]
 

Should return output like:

{{{ }}

{{ "paragraphs": [...], }}

{{ "name": "THE NAME", }}

{{ "id": "1", }}

{{...}}}

 

In fact its output is wrapped by envelope 

{{{ "status": "OK", "message": "", "body": ...}}}

The body field is escaped and stored as a string. 

This behavior is not convenient since there is not simple way to export 
notebook and then import it again. 

 

The workaround that I found is using jq utility in order to extract and 
unescape the enclosed body as a standalone JSON. 

I am using Zeppelin 0.7.2. 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] zeppelin issue #2904: ZEPPELIN-3378 Dependency errors on hadoop 2.8 with had...

2018-04-09 Thread iijima-satoshi
Github user iijima-satoshi commented on the issue:

https://github.com/apache/zeppelin/pull/2904
  
The build with some patches including this fix has already completed on my 
environment. 
At bigtop build command, -Dhadoop.version argument is specified. Is this 
argument unnecessary?
If so, this fix also would be unnecessary.

Zeppelin build command at bigtop: 

https://github.com/apache/bigtop/blob/master/bigtop-packages/src/common/zeppelin/do-component-build#L27



---


[jira] [Created] (ZEPPELIN-3392) User need to be informed if path to the provided jar file is incorrect

2018-04-09 Thread Supreeth Sharma (JIRA)
Supreeth Sharma created ZEPPELIN-3392:
-

 Summary: User need to be informed if path to the provided jar file 
is incorrect
 Key: ZEPPELIN-3392
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3392
 Project: Zeppelin
  Issue Type: Bug
  Components: zeppelin-server
Affects Versions: 0.8.0
Reporter: Supreeth Sharma
 Fix For: 0.8.0


The user need to be informed if path to the provided jar file is incorrect.

Steps to reproduce :
Step 1: Create para1 as below:
{code:java}
%livy2.conf
livy.spark.jars /tmp/spark2-examples-assembly-2.3.0.3.0.0.0-1145.jar
livy.spark.app.name per_user_hrt_1_1livy2
{code}
where '/tmp/spark2-examples-assembly-2.3.0.3.0.0.0-1145.jar' is incorect

Step 2: Run para2 as below
{code:java}
%livy2
sc.version
{code}
If user provides incorrect jar file path, then first para which creates the 
config("%livy2.conf") runs fine without providing any errors or warnings.

Now when the user tries to run subsequent para, then it fails with very generic 
message as below and it doesn't provide any information for user to know that 
the failure is due to bad configuration.
{code:java}
org.apache.zeppelin.livy.LivyException: Session 45 is finished, appId: null, 
log: [ at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1682),
at 
org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:177), at 
org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:227),  at 
org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:136),at 
org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala), 18/04/05 18:02:07 
INFO ShutdownHookManager: Shutdown hook called, 18/04/05 18:02:07 INFO 
ShutdownHookManager: Deleting directory 
/tmp/spark-5522cee9-9df3-4482-a827-e08001e6f6a3, 
YARN Diagnostics: , java.lang.Exception: No YARN application is found with tag 
livy-session-45-kt6n4cuy in 120 seconds. Please check your cluster status, it 
is may be very busy., 
org.apache.livy.utils.SparkYarnApp.org$apache$livy$utils$SparkYarnApp$$getAppIdFromTag(SparkYarnApp.scala:182)
 
org.apache.livy.utils.SparkYarnApp$$anonfun$1$$anonfun$4.apply(SparkYarnApp.scala:239)
 
org.apache.livy.utils.SparkYarnApp$$anonfun$1$$anonfun$4.apply(SparkYarnApp.scala:236)
 scala.Option.getOrElse(Option.scala:121) 
org.apache.livy.utils.SparkYarnApp$$anonfun$1.apply$mcV$sp(SparkYarnApp.scala:236)
 org.apache.livy.Utils$$anon$1.run(Utils.scala:94)]
at 
org.apache.zeppelin.livy.BaseLivyInterpreter.createSession(BaseLivyInterpreter.java:351)
{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (ZEPPELIN-3391) Incorrect status shown for '%livy2.conf' and %spark2.conf' interpreters

2018-04-09 Thread Supreeth Sharma (JIRA)
Supreeth Sharma created ZEPPELIN-3391:
-

 Summary: Incorrect status shown for '%livy2.conf' and 
%spark2.conf' interpreters
 Key: ZEPPELIN-3391
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3391
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.8.0
Reporter: Supreeth Sharma
 Fix For: 0.8.0
 Attachments: spark_conf.png

'%livy2.conf' and %spark2.conf' interpreters are showing the status as 
'FINISHED' even when it has actually failed.
For example, if a user tries to modify the interpreter property when the 
session is already created, then the para fails.
But on the UI it still shows the status as Finished. Attaching the screenshot.
Need to appropriately reflect the status on the UI.
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


RE: zeppelin build is failing

2018-04-09 Thread Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore)
Hi Jeff,

Is there any other alternative way of building the code,till fix comes.

Regards
Naveen


-Original Message-
From: Jeff Zhang [mailto:zjf...@gmail.com] 
Sent: Saturday, April 7, 2018 8:07 AM
To: dev@zeppelin.apache.org
Subject: Re: zeppelin build is failing

This is due to ZEPPELIN-3367, I will fix it soon.



Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore) <
naveenakumar_gurushantap.panchappana...@nokia.com>于2018年4月7日周六 上午5:30写道:

> Hi All,
>
> I am trying out building latest zeppelin source on one of my vm machine .
>
> I getting the following error can any body help on this.
>
> Zeppelin 0.9.0-SNAPSHOT  SUCCESS [  3.985 
> s] [INFO] Zeppelin: Interpreter Parent ... SUCCESS 
> [
> 0.859 s]
> [INFO] Zeppelin: Interpreter .. SUCCESS [
> 11.889 s]
> [INFO] Zeppelin: Display system apis .. SUCCESS [
> 16.443 s]
> [INFO] Zeppelin: Spark Parent . SUCCESS [
> 1.133 s]
> [INFO] Zeppelin: Spark Scala Parent ... SUCCESS [
> 13.495 s]
> [INFO] Zeppelin: Spark Interpreter Scala_2.11 . SUCCESS [
> 8.681 s]
> [INFO] Zeppelin: Spark Interpreter Scala_2.10 . SUCCESS [
> 9.181 s]
> [INFO] Zeppelin: Spark Shims .. SUCCESS [
> 0.985 s]
> [INFO] Zeppelin: Spark1 Shims . SUCCESS [
> 3.905 s]
> [INFO] Zeppelin: Spark2 Shims . SUCCESS [
> 3.629 s]
> [INFO] Zeppelin: Python interpreter ... SUCCESS [
> 17.105 s]
> [INFO] Zeppelin: Spark Interpreter  SUCCESS [
> 37.335 s]
> [INFO] Zeppelin: Zengine .. SUCCESS [
> 8.997 s]
> [INFO] Zeppelin: Groovy interpreter ... SUCCESS [
> 1.375 s]
> [INFO] Zeppelin: Spark dependencies ... SUCCESS [
> 50.364 s]
> [INFO] Zeppelin: Markdown interpreter . SUCCESS [
> 1.612 s]
> [INFO] Zeppelin: Angular interpreter .. SUCCESS [
> 1.182 s]
> [INFO] Zeppelin: Shell interpreter  SUCCESS [
> 1.348 s]
> [INFO] Zeppelin: Livy interpreter . SUCCESS [
> 3.897 s]
> [INFO] Zeppelin: HBase interpreter  SUCCESS [
> 4.578 s]
> [INFO] Zeppelin: Apache Pig Interpreter ... SUCCESS [
> 6.657 s]
> [INFO] Zeppelin: JDBC interpreter . SUCCESS [
> 2.123 s]
> [INFO] Zeppelin: File System Interpreters . SUCCESS [
> 1.926 s]
> [INFO] Zeppelin: Flink  SUCCESS [
> 8.150 s]
> [INFO] Zeppelin: Apache Ignite interpreter  SUCCESS [
> 2.706 s]
> [INFO] Zeppelin: Kylin interpreter  SUCCESS [
> 1.465 s]
> [INFO] Zeppelin: Lens interpreter . SUCCESS [
> 8.852 s]
> [INFO] Zeppelin: Apache Cassandra interpreter . SUCCESS 
> [01:00 min] [INFO] Zeppelin: Elasticsearch interpreter 
>  SUCCESS [
> 4.360 s]
> [INFO] Zeppelin: BigQuery interpreter . SUCCESS [
> 1.731 s]
> [INFO] Zeppelin: Alluxio interpreter .. SUCCESS [
> 3.478 s]
> [INFO] Zeppelin: Scio . SUCCESS [
> 47.500 s]
> [INFO] Zeppelin: Neo4j interpreter  SUCCESS [
> 3.099 s]
> [INFO] Zeppelin: Sap .. SUCCESS [
> 1.234 s]
> [INFO] Zeppelin: web Application .. SUCCESS 
> [17:26 min] [INFO] Zeppelin: Server 
> ... SUCCESS [01:39 min] [INFO] 
> Zeppelin: Jupyter Support .. SUCCESS [
> 1.051 s]
> [INFO] Zeppelin: Plugins Parent ... FAILURE [
> 2.499 s]
> [INFO] Zeppelin: Plugin S3NotebookRepo  SKIPPED 
> [INFO] Zeppelin: Plugin VFSNotebookRepo ... SKIPPED 
> [INFO] Zeppelin: Plugin GitNotebookRepo ... SKIPPED 
> [INFO] Zeppelin: Plugin GitHubNotebookRepo  SKIPPED 
> [INFO] Zeppelin: Plugin AzureNotebookRepo . SKIPPED 
> [INFO] Zeppelin: Plugin GCSNotebookRepo ... SKIPPED 
> [INFO] Zeppelin: Plugin MongoNotebookRepo . SKIPPED 
> [INFO] Zeppelin: Plugin ZeppelinHubRepo ... SKIPPED 
> [INFO] Zeppelin: Plugin FileSystemNotebookRepo  SKIPPED 
> [INFO] Zeppelin: Packaging distribution 0.9.0-SNAPSHOT  SKIPPED 
> [INFO]
> --
> --
> [INFO] BUILD FAILURE
> [INFO]
> --
> --
> [INFO] Total time: 25:06 min
> [INFO] Finished at: 2018-04-06T16:06:04-05:00 [INFO]
> --
> --
> [ERROR] Failed to execute goal
> 

[GitHub] zeppelin issue #2914: [ZEPPELIN-3350] Don't allow set cronExecutionUser

2018-04-09 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/2914
  
Doc is added


---


[GitHub] zeppelin pull request #2912: ZEPPELIN-3115 Fix bigquery interpreter to remov...

2018-04-09 Thread asfgit
Github user asfgit closed the pull request at:

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


---


[GitHub] zeppelin issue #2914: [ZEPPELIN-3350] Don't allow set cronExecutionUser

2018-04-09 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/2914
  
@prabhjyotsingh @felixcheung Could you help review this ? Thanks


---


[GitHub] zeppelin pull request #2914: [ZEPPELIN-3350] Don't allow set cronExecutionUs...

2018-04-09 Thread zjffdu
GitHub user zjffdu opened a pull request:

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

[ZEPPELIN-3350] Don't allow set cronExecutionUser

### What is this PR for?
This PR just does a quick fix this security issue. 
1. Remove the setting cron user in frontend
2. Run the note via owner.


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

### Todos
* [ ] - Task

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

### How should this be tested?
* Manually tested

### Screenshots (if appropriate)
![screen shot 2018-04-09 at 3 04 06 
pm](https://user-images.githubusercontent.com/164491/38483974-707dca56-3c07-11e8-918a-cd47ed94ee99.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/zjffdu/zeppelin ZEPPELIN-3350

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

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


commit 805bffad10bc60bca613101953cc4ecefa72cf14
Author: Jeff Zhang 
Date:   2018-04-04T10:13:06Z

[ZEPPELIN-3350] Don't allow set cronExecutionUser




---


[GitHub] zeppelin issue #2904: ZEPPELIN-3378 Dependency errors on hadoop 2.8 with had...

2018-04-09 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/2904
  
@iijima-satoshi Could you try build zeppelin with the default hadoop 
version (2.7) and run against hadoop 2.8 ? Because the goal of zeppelin is one 
build instance of zeppelin to work with multiple hadoop & spark versions. And I 
guess most likely it would work with hadoop 2.8 even you build it with hadoop 
2.7


---


[GitHub] zeppelin issue #2904: ZEPPELIN-3378 Dependency errors on hadoop 2.8 with had...

2018-04-09 Thread iijima-satoshi
Github user iijima-satoshi commented on the issue:

https://github.com/apache/zeppelin/pull/2904
  
I retried the tests and got another error
ci: https://travis-ci.org/iijima-satoshi/zeppelin/builds/362086204
```
[ERROR] Failed to execute goal 
net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on 
project zeppelin-flink_2.10: wrap: org.apache.commons.exec.ExecuteException: 
Process exited with an error: 1 (Exit value: 1) -> [Help 1]
```
This error might be solved by #2811



---


[GitHub] zeppelin pull request #2904: ZEPPELIN-3378 Dependency errors on hadoop 2.8 w...

2018-04-09 Thread iijima-satoshi
GitHub user iijima-satoshi reopened a pull request:

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

ZEPPELIN-3378 Dependency errors on hadoop 2.8 with hadoop2 profile

### What is this PR for?
Fix dependency errors caused by different versions of the same libraries on 
zeppelin-zengine

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

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

### How should this be tested?
* Travis CI
* Build command:
`mvn clean package -Dhadoop.version=2.8.1 -Phadoop2 -Pspark-2.1 
-Pscala-2.11 -Pbuild-distr`
### 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/iijima-satoshi/zeppelin 
fix-zengine-dependencies

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

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


commit 9522b943063f0c58e04dbe81f63e8e86ad67dadd
Author: iijima_satoshi 
Date:   2018-04-07T14:12:58Z

Fix zeppelin-zengine dependencies error




---


[GitHub] zeppelin pull request #2904: ZEPPELIN-3378 Dependency errors on hadoop 2.8 w...

2018-04-09 Thread iijima-satoshi
Github user iijima-satoshi closed the pull request at:

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


---


[GitHub] zeppelin issue #2811: [ZEPPELIN-3252] Update the Apache Flink version to 1.4...

2018-04-09 Thread jan0sch
Github user jan0sch commented on the issue:

https://github.com/apache/zeppelin/pull/2811
  
Currently I'm low on time for this. State so far:

* "downgrading" the upgrade to Flink 1.3.x seems to fix a build problem 
with an older spark version
* on my travis the other branches (master, branch-0.8) error out therefore 
it is hard to look at failed tests

It would be cool to go for Flink 1.4.x (as 1.5.x is on the horizon) but 
that would require switching to scala 2.11 which breaks older spark stuff, so 
this is not an option right now.



---


[GitHub] zeppelin issue #2442: [ZEPPELIN-2679] JDBC. precode for session

2018-04-09 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/2442
  
@tinkoff-dwh Could you rebase the PR ?


---