-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-1210] Run interpreter per user #1265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6480d1d
94dfed2
ccbedc1
8589545
9a03d40
012cf99
47cc668
7b7eb78
a32afd7
b151366
df423d3
0a73241
fa7fccb
ed558be
daa634f
18b39bd
cb66946
510942b
12a27db
d1c4344
1fb50ab
01c7cf1
960bde1
0b5d671
8586e1f
787a366
1f64e52
b18bff4
d201950
5e7da34
cee39f4
ad80951
e84703d
48a0d8e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # | ||
| # Licensed to the Apache Software Foundation (ASF) under one or more | ||
| # contributor license agreements. See the NOTICE file distributed with | ||
| # this work for additional information regarding copyright ownership. | ||
| # The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| # (the "License"); you may not use this file except in compliance with | ||
| # the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
|
|
||
| log4j.rootLogger = INFO, stdout | ||
|
|
||
| log4j.appender.stdout = org.apache.log4j.ConsoleAppender | ||
| log4j.appender.stdout.layout = org.apache.log4j.PatternLayout | ||
| log4j.appender.stdout.layout.ConversionPattern=%5p [%d] ({%t} %F[%M]:%L) - %m%n | ||
|
|
||
| log4j.additivity.org.apache.zeppelin.interpreter = false | ||
| log4j.logger.org.apache.zeppelin.interpreter = DEBUG, stdout | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we really need this? we already have one
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In case of using debugger from IDE, IDE cannot read any log4j.properties by default. This file would be a default |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,14 +18,19 @@ | |
| [users] | ||
| # List of users with their password allowed to access Zeppelin. | ||
| # To use a different strategy (LDAP / Database / ...) check the shiro doc at http://shiro.apache.org/configuration.html#Configuration-INISections | ||
| admin = password | ||
| admin = password, admin | ||
| user1 = user1, role1 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you should revert this file.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @prabhjyotsingh It's not affected actually because the default option for security is none. It would be affected if |
||
|
|
||
|
|
||
| [urls] | ||
|
|
||
| # anon means the access is anonymous. | ||
| # authcBasic means Basic Auth Security | ||
| # To enfore security, comment the line below and uncomment the next one | ||
| /** = anon | ||
| #/** = authcBasic | ||
| #/** = authc | ||
|
|
||
| [roles] | ||
| role1 = * | ||
| role2 = * | ||
| role3 = * | ||
| admin = * | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jongyoul can you give little more details on when
Jobwould be an instance ofParagraphand otherwiseThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jobis just an interface, thus I think I have to write conservative code.