[jira] [Created] (ZEPPELIN-2385) Release 0.8.0

2017-04-10 Thread Jongyoul Lee (JIRA)
Jongyoul Lee created ZEPPELIN-2385:
--

 Summary: Release 0.8.0
 Key: ZEPPELIN-2385
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2385
 Project: Zeppelin
  Issue Type: Task
Reporter: Jongyoul Lee


This is an umbrella issue for the next major release



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] zeppelin issue #2230: ZEPPELIN-2366 In zeppelin SystemUser fails to authenti...

2017-04-10 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/2230
  
Merging this to master and branch-0.7 if no more 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 #2228: [ZEPPELIN-2365] button to create note into folder

2017-04-10 Thread soralee
Github user soralee commented on the issue:

https://github.com/apache/zeppelin/pull/2228
  
Thanks for improvement @tinkoff-dwh!
Let me test and I'll give you feedback!


---
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-2384) Add configuration for not storing angularObject in note.json

2017-04-10 Thread Jeff Zhang (JIRA)
Jeff Zhang created ZEPPELIN-2384:


 Summary: Add configuration for not storing angularObject in 
note.json
 Key: ZEPPELIN-2384
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2384
 Project: Zeppelin
  Issue Type: New Feature
Affects Versions: 0.7.1
Reporter: Jeff Zhang


AngularObject may contain some credential information of backend,  user may not 
want to store it in note.json via plain text format. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ZEPPELIN-2383) Spark Context stops

2017-04-10 Thread Kevin (Sangwoo) Kim (JIRA)
Kevin (Sangwoo) Kim created ZEPPELIN-2383:
-

 Summary: Spark Context stops
 Key: ZEPPELIN-2383
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2383
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.7.1
Reporter: Kevin (Sangwoo) Kim


Got exception like below when I try to run some spark codes

environment:
1 Zeppelin
1 Spark master
Many Spark worker 
Spark 1.6.3 + Zeppelin 0.7.1
Worked well with 1.3.3 + Zeppelin 0.5.X 

automatically detach worker instances when it's idle.
it happens when worker has been detached. 
I'm finding shortcut to reproduce.

==

java.lang.IllegalStateException: Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at:
org.apache.spark.SparkContext.(SparkContext.scala:82)
org.apache.zeppelin.spark.SparkInterpreter.createSparkContext_1(SparkInterpreter.java:484)
org.apache.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:382)
org.apache.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:146)
org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:828)
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
org.apache.zeppelin.scheduler.Job.run(Job.java:175)
org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
The currently active SparkContext was created at:
(No active SparkContext.)
 
at 
org.apache.spark.SparkContext.org$apache$spark$SparkContext$$assertNotStopped(SparkContext.scala:106)
at 
org.apache.spark.SparkContext$$anonfun$textFile$1.apply(SparkContext.scala:831)
at 
org.apache.spark.SparkContext$$anonfun$textFile$1.apply(SparkContext.scala:830)
at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111)
at org.apache.spark.SparkContext.withScope(SparkContext.scala:714)
at org.apache.spark.SparkContext.textFile(SparkContext.scala:830)
at 
$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.getLog(:61)
at 
$iwC$$iwC$$iwC$$iwC$$iwCad149dbdbd963d0c9dc9b1d6f07f5e$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:88)
at 
$iwC$$iwC$$iwC$$iwC$$iwCad149dbdbd963d0c9dc9b1d6f07f5e$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:93)
at 
$iwC$$iwC$$iwC$$iwC$$iwCad149dbdbd963d0c9dc9b1d6f07f5e$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:95)
at 
$iwC$$iwC$$iwC$$iwC$$iwC6e49527b15a75f3b188beeb1837a4f1$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:97)
at 
$iwC$$iwC$$iwC$$iwC$$iwC6e49527b15a75f3b188beeb1837a4f1$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:99)
at 
$iwC$$iwC$$iwC$$iwC$$iwC6e49527b15a75f3b188beeb1837a4f1$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:101)
at 
$iwC$$iwC$$iwC$$iwC$$iwC6e49527b15a75f3b188beeb1837a4f1$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:103)
at 
$iwC$$iwC$$iwC$$iwC$$iwC6e49527b15a75f3b188beeb1837a4f1$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:105)
at 
$iwC$$iwC$$iwC$$iwC$$iwC93297bcd59dca476dd569cf51abed168$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:107)
at 
$iwC$$iwC$$iwC$$iwC$$iwC93297bcd59dca476dd569cf51abed168$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:109)
at 
$iwC$$iwC$$iwC$$iwC$$iwC93297bcd59dca476dd569cf51abed168$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:111)
at 
$iwC$$iwC$$iwC$$iwC$$iwC93297bcd59dca476dd569cf51abed168$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:113)
at 
$iwC$$iwC$$iwC$$iwC$$iwC93297bcd59dca476dd569cf51abed168$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:115)
at 
$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:117)
at 
$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:119)
at 
$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:121)
at 

[GitHub] zeppelin issue #986: [Zeppelin 946] Permissions not honoring group

2017-04-10 Thread ekantheshwara
Github user ekantheshwara commented on the issue:

https://github.com/apache/zeppelin/pull/986
  
@prabhjyotsingh 

I set the log level to debug and checked the "Groups found for user".  I 
could definitely see the group that has been configured as "admin" in shiro. 
Also, the [urls] section is effective i.e. if I login as a different user who 
is not a member of the group defined as "admin", then I can not see the 
interpreter, configurations etc.

The problem is only with the Note permissions. I have tried configuring the 
"AD group name", "full DN of the AD group" and also the "corresponding role in 
shiro" as the Readers of the Notebook. But when I try to access the Notebook, 
all I get is "But the user user1belongs to: [user1]". 

Another observation:

While setting the note permissions, I am able to search the AD users but 
not the AD groups. So, I am just entering the AD group name and saving it even 
though the search does not resolve it. The search does not resolve even if I 
enter the full group DN or the role name. Any idea why I am not able to look up 
the group names in Note permissions section ?




---
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 #2223: [ZEPPELIN-2355] Livy cancel enhancements

2017-04-10 Thread benoyantony
Github user benoyantony commented on the issue:

https://github.com/apache/zeppelin/pull/2223
  
A testcase errored out and it seems to be unrelated.
ParagraphActionsIT.testRunOnSelectionChange


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


Visualization class of Helium: Which method should I must override?

2017-04-10 Thread Jun Kim
Hi, dear devs!

Currently, I'm developing a Helium visualization package.

But, class Visualization

is
not clear about abstract methods.
It seems like I should override render, but some of them are optional (e.g.
refresh, destroy etc.)

So, If you let me know which method is mandatory and which one is optional,
I would like to create an issue :)
A mandatory method should throw an error if not implemented. (Like SpellBase

!)

Thanks,
-- 
Taejun Kim

Data Mining Lab.
School of Electrical and Computer Engineering
University of Seoul


[GitHub] zeppelin pull request #2133: [ZEPPELIN-1357,1892,1370][Umbrella] Text overla...

2017-04-10 Thread soralee
GitHub user soralee reopened a pull request:

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

[ZEPPELIN-1357,1892,1370][Umbrella] Text overlap in the MultiBarChart

### What is this PR for?
If using the `multiChartBar`, it often occurs overlap in text. So, this PR 
is for preventing to overlap in text. 

>~~The below is the case what I updated.~~
~~1. The xLabel generally show all of the text without rotation (less than 
30).~~
~~2. If the xLabel size is over than 30 and less than 80, the xLabel text 
are rotated as 90 degree and displayed.~~
~~3. If the xLabel size is over than 80, the xLabel text are disappeared, 
but the tooltip is displayed.~~
>~~I have made improvements based on my thinking, so I would appreciate to 
give me your feedback.~~
~~And if merged this PR, I'll update the feature so that user can use `min` 
and `max` variables by user on web.~~

**[Update]**
To prevent overlap in xLabel text, in one way which is talked the below 
mentions, user who is using zeppelin could select to visualization type of 
xLabel such as `rotate 45 degree` or `remove`.

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

### What is the Jira issue?
* [ZEPPELIN-1357; UI - label wrapping not done properly in 
charts](https://issues.apache.org/jira/browse/ZEPPELIN-1357)
* [ZEPPELIN-1892; Display label vertically or horizontally 
smartly](https://issues.apache.org/jira/browse/ZEPPELIN-1892)
* [ZEPPELIN-1370; Label overlaps - in default visualization example 
barchart](https://issues.apache.org/jira/browse/ZEPPELIN-1370)

### How should this be tested?
1. Run the paragraph for bank data in  the `Basic Features (Spark)` 
notebook.
2. Execute the following query.
``` 
%sql
select * from bank
```
3. Use the pivot in the `Setting` toggle in the `MultiBarChart` such as the 
screenshots.

### Screenshots (if appropriate)
**[Before]**

![z_zeppelin-1357_b](https://cloud.githubusercontent.com/assets/8110458/23898303/f80d7bbc-08f3-11e7-9b24-3248c492b8af.png)


![z_1357_b3_](https://cloud.githubusercontent.com/assets/8110458/23898435/75b3ae60-08f4-11e7-9d7c-31746f0d4edc.png)

**[After]**

![z_overlap_in_text_barchart](https://cloud.githubusercontent.com/assets/8110458/24742595/f12d2c76-1ae5-11e7-88bf-534299081190.gif)




### 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/soralee/zeppelin ZEPPELIN-1357_overlap_text

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

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


commit b25c9289d000c91846f24daf5cf00f840b9a8a24
Author: soralee 
Date:   2017-03-14T05:07:44Z

prevent to overlap in text if using multiBarChart

commit ce59800b7892659711da973a9b4c035da2f69010
Author: soralee 
Date:   2017-03-14T10:28:47Z

prevent to overlap in text if using multiBarChart

commit fe39dd768090d06e1400c60d56569fe6e9313e25
Author: soralee 
Date:   2017-03-17T04:35:51Z

fix typo

commit e1fd2866f00e13d043ad77f897cca5c3573e6b3d
Author: soralee 
Date:   2017-03-17T06:32:52Z

move to barchart

commit 5974f417381fae64efe9e2596008ce835d453f35
Author: soralee 
Date:   2017-04-03T03:55:19Z

remove initial defind xlabels

commit d6dfcd5881cb3e2302065e1fdbb9ccc12c9e766e
Author: soralee 
Date:   2017-04-06T07:30:21Z

update select visualization xLabel

commit 58d54a0003c2ffb04b60782cf4fa849823ec0dd4
Author: soralee 
Date:   2017-04-06T07:35:42Z

remove xLabel variable




---
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 #2133: [ZEPPELIN-1357,1892,1370][Umbrella] Text overla...

2017-04-10 Thread soralee
Github user soralee closed the pull request at:

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


---
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 #2239: Show dialog if owners field set to be empty on ...

2017-04-10 Thread soralee
GitHub user soralee opened a pull request:

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

Show dialog if owners field set to be empty on shiro

### What is this PR for?
This PR is for a showing dialog when note's permission set 
`Readers/Writers` but `Owners` is empty. 
Currently, after merged #849, if user set `Owners` is empty, it's 
automatically set as the current user.
So, It would be better to show a dialog before `Owners` is fill with the 
current user because user might think it is not intended. 

Plus, if a user only set `Readers` role, all field(`Writers` and `Owners`) 
role is filled as the current user like below. It's not necessary to our 
because the `Owner` role can read and write note.

![not_need_wirters](https://cloud.githubusercontent.com/assets/8110458/24869746/2a77d2da-1e4f-11e7-86a5-794e1aac02d0.gif)


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


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

### How should this be tested?
1. Turn on shiro.
2. Set permission `Writers` and `Readers` except `Owner` role.
3. Check the dialog appears

### Screenshots (if appropriate)
[Before]
* Set `Readers` and `Writers` except `Owners`

![zeppelin-2206_auto_shiro_b_1](https://cloud.githubusercontent.com/assets/8110458/24869964/cf382676-1e4f-11e7-8e95-30c149a4aba5.gif)

* Set only 'Writers`

![zeppelin-2206_auto_shiro_b_2](https://cloud.githubusercontent.com/assets/8110458/24870112/3821f518-1e50-11e7-9310-fcafd4e26376.gif)

* set only `Readers`; this screen is attached above.

[After]
* Set `Readers` and `Writers` except `Owners` ( Set only `Writers`; this 
result is same)

![zeppelin-2206_auto_shiro_a_1](https://cloud.githubusercontent.com/assets/8110458/24870781/61d8f1c0-1e52-11e7-8faa-38ff4fd64f6f.gif)

* Set only 'Readers`

![zeppelin-2206_auto_shiro_a_2](https://cloud.githubusercontent.com/assets/8110458/24870811/76f547ca-1e52-11e7-98b2-f6a5541284ab.gif)


### 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/soralee/zeppelin ZEPPELIN-2206_auto_shiro

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

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


commit 3197647131a78e01f7d358145ed80ff9d7c4e188
Author: soralee 
Date:   2017-04-10T09:54:25Z

show dialog if owners field is empty

add dialog for insufficient privileges

remove dialog for insufficient privileges

commit b0ec2ced4cc9e612889b93507e81f91f096c5df7
Author: soralee 
Date:   2017-04-10T16:06:41Z

remove annotaion




---
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-2382) 0.7.1 throws InvocationTargetException on Windows 10

2017-04-10 Thread Dawn Lenz (JIRA)
Dawn Lenz created ZEPPELIN-2382:
---

 Summary: 0.7.1 throws InvocationTargetException on Windows 10
 Key: ZEPPELIN-2382
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2382
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.7.1
 Environment: Windows 10
Reporter: Dawn Lenz


Release 0.7.1 downloaded from https://zeppelin.apache.org/download.html

C:\zeppelin-0.7.1-bin-all\bin>zeppelin
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/C:/zeppelin-0.7.1-bin-all/lib/interpreter/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/C:/zeppelin-0.7.1-bin-all/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
 WARN [2017-04-10 09:39:27,207] ({main} ZeppelinConfiguration.java[create]:97) 
- Failed to load configuration, proceeding with a default
 INFO [2017-04-10 09:39:27,280] ({main} ZeppelinConfiguration.java[create]:109) 
- Server Host: 0.0.0.0
 INFO [2017-04-10 09:39:27,280] ({main} ZeppelinConfiguration.java[create]:111) 
- Server Port: 8080
 INFO [2017-04-10 09:39:27,281] ({main} ZeppelinConfiguration.java[create]:115) 
- Context Path: /
 INFO [2017-04-10 09:39:27,289] ({main} ZeppelinConfiguration.java[create]:116) 
- Zeppelin Version: 0.7.1
 INFO [2017-04-10 09:39:27,325] ({main} Log.java[initialized]:186) - Logging 
initialized @1318ms
 INFO [2017-04-10 09:39:27,454] ({main} 
ZeppelinServer.java[setupWebAppContext]:341) - ZeppelinServer Webapp path: 
C:\zeppelin-0.7.1-bin-all\webapps
 INFO [2017-04-10 09:39:27,900] ({main} ZeppelinServer.java[main]:185) - 
Starting zeppelin server
 INFO [2017-04-10 09:39:27,903] ({main} Server.java[doStart]:327) - 
jetty-9.2.15.v20160210
 INFO [2017-04-10 09:40:35,285] ({main} 
StandardDescriptorProcessor.java[visitServlet]:297) - NO JSP Support for /, did 
not find org.eclipse.jetty.jsp.JettyJspServlet
 WARN [2017-04-10 09:40:35,688] ({main} Helium.java[loadConf]:101) - 
C:\zeppelin-0.7.1-bin-all\conf/helium.json does not exists
DEBUG [2017-04-10 09:40:35,723] ({main} 
InterpreterSettingManager.java[]:127) - InterpreterRootPath: 
C:\zeppelin-0.7.1-bin-all\interpreter
DEBUG [2017-04-10 09:40:35,724] ({main} 
InterpreterSettingManager.java[]:129) - InterpreterBindingPath: 
C:\zeppelin-0.7.1-bin-all\conf\interpreter.json
DEBUG [2017-04-10 09:40:36,165] ({main} 
InterpreterSettingManager.java[registerInterpreterFromResource]:377) - Reading 
interpreter-setting.json from 
jar:file:/C:/zeppelin-0.7.1-bin-all/interpreter/alluxio/zeppelin-alluxio-0.7.1.jar!/interpreter-setting.json
DEBUG [2017-04-10 09:40:36,224] ({main} 
InterpreterSettingManager.java[registerInterpreterFromResource]:377) - Reading 
interpreter-setting.json from 
jar:file:/C:/zeppelin-0.7.1-bin-all/interpreter/angular/zeppelin-angular-0.7.1.jar!/interpreter-setting.json
DEBUG [2017-04-10 09:40:36,328] ({main} 
InterpreterSettingManager.java[registerInterpreterFromResource]:377) - Reading 
interpreter-setting.json from 
jar:file:/C:/zeppelin-0.7.1-bin-all/interpreter/bqsql/zeppelin-bigquery-0.7.1.jar!/interpreter-setting.json
DEBUG [2017-04-10 09:40:36,448] ({main} 
InterpreterSettingManager.java[registerInterpreterFromResource]:377) - Reading 
interpreter-setting.json from 
jar:file:/C:/zeppelin-0.7.1-bin-all/interpreter/cassandra/zeppelin-cassandra_2.11-0.7.1.jar!/interpreter-setting.json
DEBUG [2017-04-10 09:40:36,641] ({main} 
InterpreterSettingManager.java[registerInterpreterFromResource]:377) - Reading 
interpreter-setting.json from 
jar:file:/C:/zeppelin-0.7.1-bin-all/interpreter/elasticsearch/zeppelin-elasticsearch-0.7.1.jar!/interpreter-setting.json
DEBUG [2017-04-10 09:40:36,714] ({main} 
InterpreterSettingManager.java[registerInterpreterFromResource]:377) - Reading 
interpreter-setting.json from 
jar:file:/C:/zeppelin-0.7.1-bin-all/interpreter/file/zeppelin-file-0.7.1.jar!/interpreter-setting.json
DEBUG [2017-04-10 09:40:37,041] ({main} 
InterpreterSettingManager.java[registerInterpreterFromResource]:377) - Reading 
interpreter-setting.json from 
jar:file:/C:/zeppelin-0.7.1-bin-all/interpreter/flink/zeppelin-flink_2.11-0.7.1.jar!/interpreter-setting.json
DEBUG [2017-04-10 09:40:37,417] ({main} 
InterpreterSettingManager.java[registerInterpreterFromResource]:377) - Reading 
interpreter-setting.json from 
jar:file:/C:/zeppelin-0.7.1-bin-all/interpreter/hbase/zeppelin-hbase-0.7.1.jar!/interpreter-setting.json
DEBUG [2017-04-10 09:40:37,551] ({main} 
InterpreterSettingManager.java[registerInterpreterFromResource]:377) - Reading 
interpreter-setting.json from 

[GitHub] zeppelin pull request #2232: [ZEPPELIN-2373] Remove -Pyarn build profile

2017-04-10 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #2236: [DOC] Improve documents related to Helium

2017-04-10 Thread tae-jun
Github user tae-jun commented on the issue:

https://github.com/apache/zeppelin/pull/2236
  
@AhyoungRyu Thanks! 👍


---
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 #2098: [ZEPPELIN-2217][WIP] AdvancedTransformation for Visual...

2017-04-10 Thread 1ambda
Github user 1ambda commented on the issue:

https://github.com/apache/zeppelin/pull/2098
  
Few things are fixed. And really ready to be reviewed.

- Use `description` field in `axisType` as description will be displayed 
using tooltip in 7c6768f
- Fix yarn cache issue in c91a033, 4887800
- Add `array:2-key` transform method which is designed for xyz chart (e.g 
bubble) in bf56761

@AhyoungRyu @Leemoonsoo Please help review this. Here is a pretty chart you 
might be interested in using newly added transform method :)


![scatter](https://cloud.githubusercontent.com/assets/4968473/24864896/8fe4806e-1e40-11e7-8263-8000f7d45ff2.gif)

![bubble_1](https://cloud.githubusercontent.com/assets/4968473/24864898/91b8a65e-1e40-11e7-8464-7a612ceb94bb.gif)

![bubble_2](https://cloud.githubusercontent.com/assets/4968473/24864901/93735084-1e40-11e7-9d04-765e74abfa2e.gif)





---
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 #2236: [DOC] Improve documents related to Helium

2017-04-10 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/2236
  
@tae-jun Looks GOOD to merge :)


---
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 #2221: [ZEPPELIN-2216] general solution to precode. refactori...

2017-04-10 Thread tinkoff-dwh
Github user tinkoff-dwh commented on the issue:

https://github.com/apache/zeppelin/pull/2221
  
prevous discussion #2096


---
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 #986: [Zeppelin 946] Permissions not honoring group

2017-04-10 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/986
  
Can you run ldapsearch like
`ldapsearch -D "user1" -w pwd -H ldaps://testcore.test.dir.org.com:636 -b 
"DC=testcore,DC=test,DC=dir,DC=org,DC=com" -s sub 
"(&(objectClass=*)(userPrincipalName=user1))"`
and look for key "memberOf", this should tell you to which all groups 
"user1" belongs.

Alternatively, set log level to debug, then try to login into UI and look 
for string `Groups found for user [<>]: ` this will also give the same 
group information about what group this user belongs.


---
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-2381) Incorrect "Save" behavior after removing ownership rights

2017-04-10 Thread Sora Lee (JIRA)
Sora Lee created ZEPPELIN-2381:
--

 Summary: Incorrect "Save" behavior after removing ownership rights
 Key: ZEPPELIN-2381
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2381
 Project: Zeppelin
  Issue Type: Bug
Reporter: Sora Lee
Assignee: Sora Lee


Although a user in the Owner role removed the own account from the Owner role, 
the user can still grant other users rights.
For the understand, I attached a screenshot.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ZEPPELIN-2380) Zeppelin 0.7.1 unintentionally run a function on declaration

2017-04-10 Thread Kevin (Sangwoo) Kim (JIRA)
Kevin (Sangwoo) Kim created ZEPPELIN-2380:
-

 Summary: Zeppelin 0.7.1 unintentionally run a function on 
declaration
 Key: ZEPPELIN-2380
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2380
 Project: Zeppelin
  Issue Type: Bug
 Environment: Zeppelin 0.7.1
local mode spark 
Reporter: Kevin (Sangwoo) Kim


code 
===
def test() {
println("this must not print.")
}


result 
===
test: ()Unit
this must not print.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Re: Zeppelin 0.7.1 unintentionally run a function on declaration

2017-04-10 Thread Kevin Kim (Sangwoo)
Jeff, thanks for testing it,
I just created an issue.

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


2017년 4월 10일 (월) 오후 6:58, Jeff Zhang 님이 작성:

> hmm, I can reproduce it, please help file a ticket for it
>
>
>
> Kevin Kim (Sangwoo) 于2017年4月10日周一 下午5:34写道:
>
> > code
> > ===
> > def test() {
> > println("this must not print.")
> > }
> >
> >
> > result
> > ===
> > test: ()Unit
> > this must not print.
> >
> >
> > 2017년 4월 10일 (월) 오후 5:55, Jeff Zhang 님이 작성:
> >
> > > Can you paste your code to reproduce it ? Your screenshot can not be
> > > displayed.
> > >
> > >
> > >
> > > Kevin Kim (Sangwoo) 于2017年4月10日周一 下午4:49写道:
> > >
> > > [image: Screen Shot 2017-04-10 at 5.46.29 PM.png]
> > >
> > > Hi everyone, I'm suffering from the problem Z is unintentionally
> running
> > > functions on declaration.
> > >
> > > (You may easily reproduce it)
> > >
> > > Does anyone have idea on this?
> > >
> > > Regards,
> > > Kevin
> > >
> >
>


[GitHub] zeppelin issue #2236: [DOC] Improve documents related to Helium

2017-04-10 Thread tae-jun
Github user tae-jun commented on the issue:

https://github.com/apache/zeppelin/pull/2236
  
@AhyoungRyu Thanks for the review!

I changed the sentence, and now it looks like this:

> You can add any dependencies in package.json, but you **must include two 
dependencies: 
[zeppelin-vis](https://github.com/apache/zeppelin/tree/master/zeppelin-web/src/app/visualization)
 and 
[zeppelin-tabledata](https://github.com/apache/zeppelin/tree/master/zeppelin-web/src/app/tabledata).**

I marked it as bold, since I think it's important 😄 


---
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: Zeppelin 0.7.1 unintentionally run a function on declaration

2017-04-10 Thread Jeff Zhang
hmm, I can reproduce it, please help file a ticket for it



Kevin Kim (Sangwoo) 于2017年4月10日周一 下午5:34写道:

> code
> ===
> def test() {
> println("this must not print.")
> }
>
>
> result
> ===
> test: ()Unit
> this must not print.
>
>
> 2017년 4월 10일 (월) 오후 5:55, Jeff Zhang 님이 작성:
>
> > Can you paste your code to reproduce it ? Your screenshot can not be
> > displayed.
> >
> >
> >
> > Kevin Kim (Sangwoo) 于2017年4月10日周一 下午4:49写道:
> >
> > [image: Screen Shot 2017-04-10 at 5.46.29 PM.png]
> >
> > Hi everyone, I'm suffering from the problem Z is unintentionally running
> > functions on declaration.
> >
> > (You may easily reproduce it)
> >
> > Does anyone have idea on this?
> >
> > Regards,
> > Kevin
> >
>


Re: Zeppelin 0.7.1 unintentionally run a function on declaration

2017-04-10 Thread Kevin Kim (Sangwoo)
code
===
def test() {
println("this must not print.")
}


result
===
test: ()Unit
this must not print.


2017년 4월 10일 (월) 오후 5:55, Jeff Zhang 님이 작성:

> Can you paste your code to reproduce it ? Your screenshot can not be
> displayed.
>
>
>
> Kevin Kim (Sangwoo) 于2017年4月10日周一 下午4:49写道:
>
> [image: Screen Shot 2017-04-10 at 5.46.29 PM.png]
>
> Hi everyone, I'm suffering from the problem Z is unintentionally running
> functions on declaration.
>
> (You may easily reproduce it)
>
> Does anyone have idea on this?
>
> Regards,
> Kevin
>


[jira] [Created] (ZEPPELIN-2379) Make the height of paragraph changeable

2017-04-10 Thread Jeff Zhang (JIRA)
Jeff Zhang created ZEPPELIN-2379:


 Summary: Make the height of paragraph changeable 
 Key: ZEPPELIN-2379
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2379
 Project: Zeppelin
  Issue Type: New Feature
  Components: front-end
Affects Versions: 0.7.1
Reporter: Jeff Zhang


I notice that the width of paragraph can be changed, but height is not 
changeable.  This would make the layout difficult sometimes. Attachment 
illustrate what I want but I can not make it due to the height of paragraph can 
not be changed. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] zeppelin issue #2233: [MINOR] Add paragraph to note

2017-04-10 Thread AlexanderShoshin
Github user AlexanderShoshin commented on the issue:

https://github.com/apache/zeppelin/pull/2233
  
Hi Felix,
thank you for looking through my PR.

Method name must correspond an action it performs. Methods with names like 
`addSomething()` usually mean that we must pass this _something_ into the 
method as an input parameter. I have renamed an `addParagraph()` method because 
it doesn't receive a `Paragraph` instance but creates a new one instead. This 
also gave me an opportunity to add a new `addParagraph()` method which does 
receive a `Paragraph` instance.

As for the `Note.addNewParagraph()` method name it seem to me that it 
sounds like "create new paragraph and add it to the `Note`". But if such name 
is still not clear maybe we should choose another one like 
`createNewParagraph()` or  `createAndAddParagraph()` or something like this. 
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.
---


Re: Zeppelin 0.7.1 unintentionally run a function on declaration

2017-04-10 Thread Jeff Zhang
Can you paste your code to reproduce it ? Your screenshot can not be
displayed.



Kevin Kim (Sangwoo) 于2017年4月10日周一 下午4:49写道:

[image: Screen Shot 2017-04-10 at 5.46.29 PM.png]

Hi everyone, I'm suffering from the problem Z is unintentionally running
functions on declaration.

(You may easily reproduce it)

Does anyone have idea on this?

Regards,
Kevin


Zeppelin 0.7.1 unintentionally run a function on declaration

2017-04-10 Thread Kevin Kim (Sangwoo)
[image: Screen Shot 2017-04-10 at 5.46.29 PM.png]

Hi everyone, I'm suffering from the problem Z is unintentionally running
functions on declaration.

(You may easily reproduce it)

Does anyone have idea on this?

Regards,
Kevin


[GitHub] zeppelin issue #2236: [DOC] Improve documents related to Helium

2017-04-10 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/2236
  
@tae-jun Thanks for the improvement. 

>You can add any dependencies in package.json, but you must include two 
dependencies: zeppelin-vis and zeppelin-tabledata.

Yeah I think you're right. 


---
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 #2237: ZEPPELIN-2377. Hive Support can not be enabled in spar...

2017-04-10 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/2237
  
`HiveConf` only means the hive jar is loaded, but doesn't mean spark is 
built with hive profile enabled. 

`org.apache.spark.sql.hive.HiveSessionState` is private in spark and 
`org.apache.spark.sql.hive.execution.InsertIntoHiveTable` is public which mean 
it should be stable and won't be removed in spark 2.x I believe. 
`SparkSession.hiveClassesArePresent` is private, so I don't think it is stable.


---
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 #2125: [ZEPPELIN-2222] Add Network Visualization

2017-04-10 Thread conker84
Github user conker84 commented on the issue:

https://github.com/apache/zeppelin/pull/2125
  
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 issue #2237: ZEPPELIN-2377. Hive Support can not be enabled in spar...

2017-04-10 Thread felixcheung
Github user felixcheung commented on the issue:

https://github.com/apache/zeppelin/pull/2237
  
I guess it's fine - but we are looking fairly deep into internal stuff. Why 
don't we just look for HiveConf?

Or SparkSession.hiveClassesArePresent if Spark 2.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 #986: [Zeppelin 946] Permissions not honoring group

2017-04-10 Thread ekantheshwara
Github user ekantheshwara commented on the issue:

https://github.com/apache/zeppelin/pull/986
  
@prabhjyotsingh 

This is my complete shiro config:


[users]
admin = password1


# Sample LDAP configuration, for user Authentication, currently tested for 
single Realm
[main]
activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm
activeDirectoryRealm.systemUsername = user1
activeDirectoryRealm.systemPassword = pwd
#activeDirectoryRealm.hadoopSecurityCredentialPath = 
jceks://user/zeppelin/zeppelin.jceks
activeDirectoryRealm.searchBase = DC=testcore,DC=test,DC=dir,DC=org,DC=com
activeDirectoryRealm.url = ldaps://testcore.test.dir.org.com:636
activeDirectoryRealm.groupRolesMap = 
"CN=APPADMIN,OU=Managed,OU=Groups,DC=testcore,DC=test,DC=dir,DC=org,DC=com":"admin"
activeDirectoryRealm.authorizationCachingEnabled = true
activeDirectoryRealm.principalSuffix = @testcore.test.dir.org.com

sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
securityManager.sessionManager = $sessionManager
securityManager.sessionManager.globalSessionTimeout = 8640
shiro.loginUrl = /api/login
securityManager.realms = $activeDirectoryRealm 

[roles]
admin = *

[urls]
/api/version = anon
/api/interpreter/** = authc, roles[admin]
/api/configurations/** = authc, roles[admin]
/api/credential/** = authc, roles[admin]
#/** = anon
/** = authc


---
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 #986: [Zeppelin 946] Permissions not honoring group

2017-04-10 Thread ekantheshwara
Github user ekantheshwara commented on the issue:

https://github.com/apache/zeppelin/pull/986
  
@prabhjyotsingh 

You are right. The log shows:

 WARN [2017-04-10 16:37:27,945] ({qtp1577213552-13} 
LoginRestApi.java[postLogin]:111) - 
{"status":"OK","message":"","body":{"principal":"","ticket":"f7e3dc96-3aea-43ab-9b5a-5d5020eb56fb","roles":"[]"}}

The groupRolesMap property is set as shown:
activeDirectoryRealm.groupRolesMap = 
"CN=APPADMIN,OU=Managed,OU=Groups,DC=testcore,DC=test,DC=dir,DC=,DC=com":"admin"

I have double checked and the group DN is correct. The roles and the url 
sections in shiro are as shown below:

[roles]
admin = *

[urls]
/api/version = anon
/api/interpreter/** = authc, roles[admin]
/api/configurations/** = authc, roles[admin]
/api/credential/** = authc, roles[admin]
#/** = anon
/** = authc

What else could have gone wrong ?




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