You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by elbamos <gi...@git.apache.org> on 2015/08/13 09:07:54 UTC
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
GitHub user elbamos opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/208
R Interpreter for Zeppelin
This is the initial PR for an R Interpreter for Zeppelin. There's still some work to be done (e.g., tests), but its useable, it brings to Zeppelin features from R like its library of statistics and machine learning packages, as well as advanced interactive visualizations. So I'd like to open it up for others to comment and/or become involved.
Summary:
- There are two interpreters, one emulates a REPL, the other uses knitr to weave markdown and formatted R output. The two interpreters share a single execution environment.
- Visualisations: Besides R's own graphics, this also supports interactive visualizations with googleVis and rCharts. I am working on htmlwidgets (almost done) with the author of that package, and a next-step project is to get Shiny/ggvis working. Sometimes, a visualization won't load until the page is reloaded. I'm not sure why this is.
- Licensing: To talk to R, this integrates code forked from rScala. rScala was released with a BSD-license option, and the author's permission was obtained.
- Spark: Getting R to share a single spark context with the Spark interpreter group is going to be a project. For right now, the R interpreters live in their own "r" interpreter group, and new spark contexts are created on startup.
- Zeppelin Context: Not yet integrated, in significant part because there's no ZeppelinContext to talk to until it lives in the Spark interpreter group.
- Documentation: A notebook is included that demonstrates what the interpreter does and how to use it.
- Tests: Working on it...
P.S.: This is my first PR on a project of this size; let me know what I messed up and I'll try to fix it ASAP.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/elbamos/incubator-zeppelin rinterpreter
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/208.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 #208
----
commit b416544c7ddc1c1ceb5316a53a69234a1e1a33f4
Author: elbamos <am...@me.com>
Date: 2015-08-13T06:49:07Z
This is the initial commit for an R Interpreter for Zeppelin
----
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-zeppelin/pull/208
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203235774
@bzz I don't know what the implications are of those options.
Honestly, I feel like if we spend time on that, its going to be a distraction, because I have a suspicion that if there is a non-obvious bug here, and you wrote the testing infrastructure, that the bug is going to be found 15 minutes after someone starts looking.
Can you take a look at what's going on in the push when I removed the test class? What concerns me here is not that the tests that had failed, started to pass --- its that the tests that had passed before, started to *fail* after the test was deleted.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-193619433
@elbamos sorry for slow re, the only things that are left:
- [ ] master and this branch have diverged: we need to either merge master in here, or rebase it on top of the master. Can you look into that please?
- [ ] CI failure. I volunteered to help and working on it elbamos/Zeppelin-With-R#12 Help is welcome, I hope to have more spare cycles this week to look into this one.
- [ ] putting the license for files forked from other open-sourced projects in the right place (should be trivial, so can do as a final step)
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188464303
@sourav-mazumder this is not changing the final convenience binary for the release - as we will update release script too, to include this profile (+ docs for Release Manager on what's required for a build)
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-142443136
If you look in the log, it should show what packages are missing. Repr shouldn't be needed unless something else is going wrong.
Can you send me your complete log?
It sounds like what's happening is that initialization is failing if some packages are missing and that definitely has to be fixed.
> On Sep 22, 2015, at 6:47 PM, Jeff A. Bowles <no...@github.com> wrote:
>
> On the basic RInterpreter notebook, the first paragraph fails with:
>
> could not find function "repr"
> The following paragraph hits "knit" and fails with
> org.apache.zeppelin.rinterpreter.rscala.RException
> at the .sparkREnv directive.
>
> What assumptions/prerequisites is it looking for in the installation?
>
> —
> Reply to this email directly or view it on GitHub.
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203134960
I just spent 3 hours trying to replicate the error. I cannot replicate it on Ubuntu or OSX with Spark 1.5.2 or Spark 1.6.
Looking at the error closely, CI is not making Spark available to the testing suite, which is essentially the issue it's been since September.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203714774
@bzz - The test is back in with @ignore, and CI is green. Do you have a decision on the license files?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203684695
@bzz I will look into junit ignore. Regarding the licenses, that issue is where it has been: For files that are forked from other things, but also contain changes, I need to know where you would like the licenses to go.
What is necessary is simply a *decision*. We can't just put the apache header in those files, because some of the content is covered by another license. Currently those files are identified in the "other licenses" file -- but, the portion of the files that has *changed*, is covered by the Apache license.
So, again, what's necessary here is simply the *decision*, and because it is a licensing issue, it cannot be made by anyone but a member of the PPMC.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203693548
@elbamos right, I'm looking into licenses and will post back soon. Meanwhile can you please help providing the list of such files to save the time identifying them? I have updated the comment above to my knowledge, but that may be not everything.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204597130
Yeah, I may let it load from the Zeppelin R library if we can't find another solution.
I really don't want to use a user-specific directory, because I think we're going to end up with library conflicts related to sparkR.
As for Windows --- are we supporting Windows outside of docker?
> On Apr 1, 2016, at 6:06 PM, Enzo <no...@github.com> wrote:
>
> @elbamos A minor comment:
> sudo type of solution won't work on windows, of course.
>
> From a R perspective, the alternatives I can see are:
>
> write packages into the user package library. This is what RStudio does with packages like rstudioapi or manipulate, installed (and updated) into the user package library in a totally transparent way by RStudio
> create a "dedicated", Zeppelin own, library. The solution should make sure that any package loaded or installed by the user is kept "separate" form this dedicated library (for consistency and error avoidance).
> —
> You are receiving this because you were mentioned.
> Reply to this email directly or view it on GitHub
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-205094815
@elbamos awesome, thank you! Please, let me do a final pass and I'll post back ASAP.
Just FYI - I'm still working on fixing random CI failures under [ZEPPELIN-783](https://issues.apache.org/jira/browse/ZEPPELIN-783) (not related\blocking this work)
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189102577
@elbamos I tested a full build of a Zeppelin distribution using this PR in a virtual machine.
When running from the source directory (not the distribution directory) - this works:
```
%r
2+2
```
However when running from the distribution directory, I get the error listed below.
Virtual Machine additions include:
R version 3.2.3
packages:
- evaluate
- knitr
- repr
- htmltools
- base64enc
exact steps to replicate:
```
git clone https://github.com/apache/incubator-zeppelin.git
git fetch origin pull/208/head:208
git checkout 208
mvn clean package -Pbuild-distr -Pspark-1.6 -Phadoop-2.4 -Ppyspark -DskipTests
cd zeppelin-distribution/target/zeppelin-0.6.0-incubating-SNAPSHOT/zeppelin-0.6.0-incubating-SNAPSHOT
bin/zeppelin.sh
```
error (when using r or knitr interpreter):
```
org.apache.thrift.transport.TTransportException
at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.recv_interpret(RemoteInterpreterService.java:237)
at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Client.interpret(RemoteInterpreterService.java:222)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.interpret(RemoteInterpreter.java:222)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93)
at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:213)
at org.apache.zeppelin.scheduler.Job.run(Job.java:171)
at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:326)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
```
this however works:
```
git clone https://github.com/apache/incubator-zeppelin.git
git fetch origin pull/208/head:208
git checkout 208
mvn package install -DskipTests
bin/zeppelin.sh
```
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203726463
re Docs: I noticed this `docs/interpreter/screenshots/knitmotion.png` and a few other screen shots no longer reflect the current implementation.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-184692116
I have reviewed and commented inline.
Generally it looks great, but I have the feeling that we could dramatically speed merging it up by reducing the scope of changes.
What do you think about creating a new, much simpler PR, with just copy of `./r/` from here (with ASF headers and fixed formatting) + adding `./docs` and updated `zeppelin-distribution/src/bin_license/LICENSE`?
Otherwise we are at risk that changes in different modules might slow reivew\merge process, as well as struggling with git rebase artifacts is not the best way to spend the time (at least in my experience).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by btiernay <gi...@git.apache.org>.
Github user btiernay commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-186216059
I apologize if this is not the right forum, but I am confused as to why there are 2 PRs for R integration. Is someone wasting their time, or is it expected that both will be merged? I have read both and cannot figure this out.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jongyoul <gi...@git.apache.org>.
Github user jongyoul commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156909214
@elbamos Could you please tell me the usage of `r/src/main/scala/scala/Console.scala`? I can't find the codes calls `Console`. And If you want to include some files not to check in apache-rat, you should tell us the reason. This is even a source file and will be included by binary.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
Re: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
And could you run mvn test from the r subdirectory and send the result?
I just checked and it looks like in the revision currently up, repr is getting called to handle some warnings/errors. It should really only be called to process some images. It isn't supposed to be a dependency. That's my bad and an easy bug for me to fix and I'll do so tonight.
But it should be failing gracefully, and I want to make sure that's really nailed down.
> On Sep 22, 2015, at 6:47 PM, jabowles <gi...@git.apache.org> wrote:
>
> Github user jabowles commented on the pull request:
>
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-142442646
>
> On the basic RInterpreter notebook, the first paragraph fails with:
>> could not find function "repr"
> The following paragraph hits "knit" and fails with
> org.apache.zeppelin.rinterpreter.rscala.RException
> at the .sparkREnv directive.
>
> What assumptions/prerequisites is it looking for in the installation?
>
>
> ---
> 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 infrastructure@apache.org or file a JIRA ticket
> with INFRA.
> ---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jabowles <gi...@git.apache.org>.
Github user jabowles commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-142442646
On the basic RInterpreter notebook, the first paragraph fails with:
> could not find function "repr"
The following paragraph hits "knit" and fails with
org.apache.zeppelin.rinterpreter.rscala.RException
at the .sparkREnv directive.
What assumptions/prerequisites is it looking for in the installation?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195114026
Yes you did understand - I just checked and I know why it didn't work for you, I'll fix it next time I'm in the code.
The xtable package generates html, as a simple example. I will confess, I haven't tested the html functionality in quite a while-the reason is, anyone who wants html displayed, i can't think of a reason they wouldn't use the knitr interpreter. But it should work.
Regarding the locked environment error, it seems like you've loaded a package that has a dependency on a package that defines a "Person" object. What happens when search the namespaces for Person? But honestly I've never seen that error before.
> On Mar 10, 2016, at 5:46 PM, Jeff Steinmetz <no...@github.com> wrote:
>
> To confirm, are you saying this should return Zeppelin displayed html? (I may have misunderstood)
>
> ```
> %r
>
> cat("%html <h1>hello!</h1>”)
> ```
>
> If so, it outputs text as is (which still makes sense based on your explanation, since its not an HTML class?)
>
> %html <h1>hello!</h1>
>
> Do you have an example of how to create an HTML class in the interpreter?
>
> As an aside, while testing this I ran across a locked environment error
>
> ```
> setClass("Person", representation(name = "character", age = "numeric"),
> prototype(name = NA_character_, age = NA_real_))
> ```
>
> Returns an error:
> <simpleError in assign(mname, def, where): cannot add bindings to a locked environment>
>
>
>
> From: elbamos
> Reply-To: apache/incubator-zeppelin
> Date: Thursday, March 10, 2016 at 1:18 PM
> To: apache/incubator-zeppelin
> Cc: Jeff Steinmetz
> Subject: Re: [incubator-zeppelin] R Interpreter for Zeppelin (#208)
>
> In R, when a string gets returned to the repl by an expression, it gets formatted by calling print(). This is why the magic isn't working as you expect-R is adding formatting. If you write the string with cat() instead of print, it should work, and I'll fix if it doesn't.
>
> However, in R, html is generally created using the 'html' class. If an object of class 'html' is returned by this interpreter, it is passed to Zeppelin with the %html magic for native display.
>
> This is necessary to handle some kinds of interactive visualization. It also means the interpreter will properly display html created by R packages in the manner the user expects.
>
> While I'm somewhat open on this issue as well, I'm pretty sure that the current design is the one that R users will find the most natural.
>
> > On Mar 10, 2016, at 3:59 PM, Jeff Steinmetz <no...@github.com> wrote:
> >
> > This doesn't work as I would expect:
> >
> > %r
> > print("%html <h1>HTML Works</h1>")
> > and %table, %md, etc
> > Shouldn't this work similar to other interpreters, and support the zeppelin display system?
> >
> > this returns rendered html in pyspark
> >
> > %pyspark
> >
> > print("%html <h1>HTML Works</h1>")
> > as does
> >
> > %spark
> >
> > print("%html <h1>HTML Works</h1>")
> > —
> > Reply to this email directly or view it on GitHub.
> >
>
> —
> Reply to this email directly or view it on GitHub.
>
>
>
> —
> Reply to this email directly or view it on GitHub.
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Konstantin Boudnik <co...@apache.org>.
Thanks for insightful reply, Moon.
I want to address one point specifically though. If a code change is
relatively large and touches the existing source base in multiple places, it
makes sense to break it down in a smaller chunks and get them in one by one.
Firstly, reviewing smaller patches is easier for everyone.
Secondly, maintaining and rebasing a large patch over a long period of time is
no easy job easily. Especially, if the project is active and the patch is
touching existing code. Contributors time is also valuable - they are
volunteering as well as everyone else.
Hopefully, with the two small things in mind, the community should be able to
find what works best when it comes to the accommodation of bigger changes.
You also mentioned elsewhere on this thread, that this isn't a single PR that
sits there for a long time. That's exactly the sign that something could be
improved along the way.
Cheers,
Cos
On Tue, Dec 01, 2015 at 06:33AM, moon soo Lee wrote:
> Hi Cos,
>
> Thanks for opening a discussion.
> My answer about 'Why this PR is open for three months' is
>
> 1. This PR does not passes CI
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> 3. Need more time to review.
>
> It's my personal answer, other committers may have different opinion.
>
>
> I think the question should be generalized. Because this PR is not the only
> PR that is in impasse. There're more. For example
>
> Here's some examples that PR is not been merged.
> https://github.com/apache/incubator-zeppelin/pull/53,
> https://github.com/apache/incubator-zeppelin/pull/60
> and so on.
>
> I can categorize the cases, based on experience of involving Zeppelin
> community from the beginning.
>
> 1. Large code base change
>
> When contribution has large code base changes, it tend to take more time to
> review and merged. Normally, most contributions merged in 1day~1 week.
> But some contribution has large code base changes take 2~4 weeks. Few
> contribution that has very large code base change take months.
>
> 2. Communication lost
>
> Sometimes, committer is not responding, or contributor is not responding.
>
> 3. Opinion diverges
>
> For some changes, included in contribution. When people have different
> opinion and it continue to diverges, those PRs are not been merged.
>
>
> I think having a guide such as ping other committer when a committer is not
> responding, and divide contribution into small peaces if possible, would
> help most of the cases.
> Of course committer have to pay attention more to the contribution and
> helping people. That's the first one.
>
> Thanks,
> moon
>
> On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
>
> > To make sure we're on the same page, here are two threads that I found
> > related
> > to this topic.
> >
> > Thread 1:
> > Subject: R?
> > Started on: July 1, 2015
> >
> > Thread 2:
> > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > Started on: August 13, 2015
> >
> > If you want to fetch these from our archive send emails to
> > dev-thread.1735@zeppelin.incubator.apache.org
> > dev-thread.3573@zeppelin.incubator.apache.org
> >
> > Cos
> >
> > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > Guys,
> > >
> > > While catching up on my emails from the last a couple of weeks, this
> > thread
> > > caught my attention. I am not normally paying much attention to the code
> > > reviews traffic from GH, but this one is pretty different as it spans
> > three
> > > months and counting.
> > >
> > > First, here are my five cents:
> > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > contributed to
> > > an ASF project this file should simply contain ASL2 text, like in [1]
> > > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
> > but
> > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > maintain this in the source code, but we have the list of all the
> > > committers on the project's site [2] Every new committer's first
> > commit is
> > > to update the team page ;)
> > > - comments like in
> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > >
> > > +/**
> > > + * Created by aelberg on 7/28/15.
> > > + */
> > >
> > > is better to be removed. It has been already discussed here [3]. And
> > the
> > > initial discussion on the topic [4] was linked as well
> > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > R-specific
> > > stuff - I have no idea about R, honestly, but
> > >
> > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > ...
> > > +Author: David B. Dahl
> > >
> > > shouldn't be here, IMO. Normally, if some additional licenses are
> > used,
> > > they have to be listed in the top-level NOTICE file (already there).
> > >
> > > - I am not going to offer any comments on the technical merits of the
> > patch,
> > > as I haven't tried it personally. However, I don't see any serious
> > > technical objections to the functionality in question.
> > >
> > > So, the question is - why the PR is open for three months? I hasn't been
> > able
> > > to get a clear answer. What I found out though is pretty unsettling,
> > really.
> > > The communication on the topic is almost non-existent, except for this
> > sparse
> > > and bitter thread in the GH.
> > >
> > > I would love to hear from the committers what's stopping the acceptance
> > of the
> > > code, besides of the minor issues I've mentioned earlier? What are the
> > reasons for it?
> > > Is there anything wrong with it?
> > > One of the responsibilities of the committers is to make sure the
> > > contributions are reviewed; new contributors are guided and do
> > understand how
> > > the project ticks. The easy feedback flow attracts new people, allowing
> > the
> > > community to grow and thrive.
> > >
> > > I am asking _explicitely_ not to re-start the bickering I have already
> > > seen. At this point I am interested in the purely technical side of this.
> > >
> > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > [2] http://bigtop.apache.org/team-list.html
> > > [3]
> > http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > [4] http://s.apache.org/iZl
> > >
> > > With regards,
> > > Cos
> > >
> > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > Github user elbamos commented on the pull request:
> > > >
> > > >
> > https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > >
> > > > The current push should resolve some issues with changes in the
> > > > Spark-Zeppelin interface that had created issues for users, as
> > well as
> > > > support for 1.5.1.
> > > >
> > > > Knitr support is improved, and the reason for a separate knitr
> > interpreter may be clearer now.
> > > >
> > > > The amount of code borrowed from rscala is reduced.
> > > >
> > > > I did not address issues with @author tags, or files under the R/
> > > > folder. The reason is, to be blunt, I don't understand what the
> > precise
> > > > concerns actually are.
> > > >
> > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > later.
> > > > I'm sure there is a better way to do it, but I'm just not in a
> > position
> > > > to try to figure out the entire Zeppelin build process.
> > > >
> > > > Integrating this with the rest of zeppelin is going to take some
> > work
> > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > but I'm
> > > > going to need to discuss it with the people who have been "owning"
> > those
> > > > files. There are just too many moving pieces here.
> > > >
> > > > Because of the size of this (which is, unfortunately, necessary),
> > > > posting here is probably not the most efficient way. That is also
> > true
> > > > because certain people chose to use this PR as a forum to air other
> > > > issues. Therefore, it would be better if reviewers e-mail me
> > directly.
> >
> >
> >
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Roman Shaposhnik <rv...@apache.org>.
Hi!
On Mon, Nov 30, 2015 at 10:33 PM, moon soo Lee <mo...@apache.org> wrote:
> Hi Cos,
>
> Thanks for opening a discussion.
> My answer about 'Why this PR is open for three months' is
>
> 1. This PR does not passes CI
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> 3. Need more time to review.
After inspecting both implementation AND the bundle I'd like
to render my mentor AND an ASF member opinion here: the
PR (as implemented on 5th of December 2015) clearly does
NOT have any licensing issues. Thus, I'd like this discussion
between Zeppelin community and Amos to ONLY focus on
resolving #1 and #3. To me this is definitely a loop that needs
to be closed before we start any kind of serious conversation
around graduation.
For the curious ones, here's the basis for my opinion. First of all,
the dependency on R itself is mediated by the
org.apache.zeppelin.rinterpreter.rscala.RClient
implementation that is clearly treating R as a self-contained
external process thus avoiding GPL implications. All the
communications are done via a network protocol over
sockets.
Second of all, a further dependency on knitr is mediated by
explicitly NOT automating the step of installing it, but rather
reporting to the user that it needs to be installed via the means
that R package management provides:
https://github.com/apache/incubator-zeppelin/pull/208/files#diff-1b1779bbf782da9507bacc3396ab6676R297
Thanks,
Roman.
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
On Thu, Dec 3, 2015 at 4:54 AM Konstantin Boudnik <co...@apache.org> wrote:
> On Wed, Dec 02, 2015 at 01:17PM, Amos B. Elberg wrote:
> > Moon — I think there is a misunderstanding about the topic of the
> discussion.
> >
> > The PR has its own userbase. It has been and is being presented at user
> > groups. Its been blogged and tweeted about (none of that came from me!)
> > The features are the subject of two jiras and on the Zeppelin roadmap.
> So,
> > the discussion isn't about whether the PR is “good."
>
> We aren't talking about the user-base or who sent what twits. Moreover,
> statements about the project's road map should only be made by the
> community
> working on the project. 3rd party opinions are irrelevant, unless said
> party
> is contributing something. You might be familiar with "Words are cheap,
> show
> me the code" saying. Apache is a do-ocracy: actions (ie the contributions)
> speak louder than anything else.
>
> > But no-one responded to the PR until users began to tweet publicly
> @nflabs
> > asking why the PR had not been adopted, and e-mailing you directly. This
> > looks really bad, especially when the project is considering applying to
> > leave incubation.
>
> This is one of the things that worries me dearly. So, let's figure out how
> to
> make sure that PRs aren't sitting there for three months.
>
I am not really interested in who said what where. I intend to give people
> a benefit of the doubt and not interpret their actions as hostile or
> intentionally bad, unless I have evidence of such.
>
> Cos
>
Thanks Cos,
Following is one of the reasons for some PRs that they're sitting there,
1. Contributor opens a pullrequest,
2. Have discussions and decided add some commit,
3. Contributor adds more commits into pullrequest
4. Contributor wait for a review.
5. But committer does respond anymore.
I received direct email message about 5) from different contributors couple
of times. I think it happens when committer does not regularly check
pullrequest while 3) does not generate any automatic notification.
But checking every pullrequest manually is not practically possible,
especially when the pullrequest is not in active discussion. So guide
contributor, always leave a comment such as "review this", "ready to
review" after adding commit would improve one more case that make
contribution impasse.
I'd like to learn how the other project who uses github pullrequest deal
this problem.
Thanks,
moon
> > The question here is what, if anything, prevents us from letting bygones
> be
> > bygones and moving forward with this now?
> >
> > Claims about CI issues, or licenses, or the PR shouldn’t have been
> rebased
> > (!?!) — well, they don’t really make sense.
> >
> > I keep offering to begin coordinating to integrate the PR with
> Zeppelin’s CI
> > and build system.
> >
> > But the answer (except from Roman) is still “nah, let us know if you
> figure
> > it out.”
> >
> > Regarding the history:
> >
> > Konstantin wisely started this thread by saying let’s keep the history
> out
> > of the discussion. I am respecting that.
> >
> > If the PR becomes part of Zeppelin, its going to need to be maintained,
> > which means that we are going to need to be able to work together.
> >
> > I have been persuaded to give Moon the benefit of the doubt regarding
> > certain issues. He certainly knows what my view of the history is.
> >
> > If anyone else would like to know, I am happy to share it with them
> off-list.
> >
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 7:45:11 AM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull request: R Interpreter for Zeppelin
> >
> > Thanks Roman and Eran for the feedback.
> >
> > *A. About contribution impasse in general*
> >
> > I think i summarized why it happens and how it can be improved. ie.
> >
> > 1. Large code base change
> > 2. Communication lost
> > 3. Opinion diverges
> >
> > And my solution was
> >
> > Guide to ping other committer when a committer is not responding, divide
> > contribution into small peaces if possible. And committer pay more
> > attention to the contribution.
> >
> > I'd like to hear and learn any more idea to improve.
> >
> >
> > *B. About contribution impasses in R interpreter for Zeppelin*
> >
> > Although I'was the first one who reviewed and commented this contribution
> > among the committer, I feel contributor (Amos) is unhappy about the
> review.
> >
> > I want to analyze the reasons and improve this, too.
> >
> > Here's reason i guess
> >
> > 1. Late responding (first review has been made after 3 months)
> > 2. Lack of help on CI fail (Amos keep complained about CI fail)
> >
> > I think both 1 and 2 can be improved by the solution i suggested in
> section
> > A.
> >
> > Amos, if you think there're more reasons, please feel free to say and let
> > me improve. What is the history you're mentioning?
> >
> > Best,
> > moon
> >
> >
> > On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org>
> wrote:
> >
> > > Just pushing discussion back on the list
> > >
> > > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com>
> wrote:
> > >
> > > > Alex — if you genuinely do not know the history of this, then I will
> fill
> > > > you in.
> > > >
> > > > lmk…
> > > >
> > > >
> > > > --
> > > > Amos Elberg
> > > > Sent with Airmail
> > > >
> > > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > Date: December 1, 2015 at 6:14:20 AM
> > > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > > >
> > > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > > > <am...@gmail.com> <am...@gmail.com>
> > > >
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > > > pull request: R Interpreter for Zeppelin
> > > >
> > > > @Amos, we had plenty of cases of CI failing and always the
> pre-condition
> > > > for a merge was a green CI. Sometimes that requires time, polite
> > > > collaboration, extra mile in direct asking for help from more
> experienced
> > > > members and fixes in different places, which indeed might take time,
> as
> > > > everyone is busy.
> > > >
> > > >
> > >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Konstantin Boudnik <co...@apache.org>.
On Wed, Dec 02, 2015 at 01:17PM, Amos B. Elberg wrote:
> Moon — I think there is a misunderstanding about the topic of the discussion.
>
> The PR has its own userbase. It has been and is being presented at user
> groups. Its been blogged and tweeted about (none of that came from me!)
> The features are the subject of two jiras and on the Zeppelin roadmap. So,
> the discussion isn't about whether the PR is “good."
We aren't talking about the user-base or who sent what twits. Moreover,
statements about the project's road map should only be made by the community
working on the project. 3rd party opinions are irrelevant, unless said party
is contributing something. You might be familiar with "Words are cheap, show
me the code" saying. Apache is a do-ocracy: actions (ie the contributions)
speak louder than anything else.
> But no-one responded to the PR until users began to tweet publicly @nflabs
> asking why the PR had not been adopted, and e-mailing you directly. This
> looks really bad, especially when the project is considering applying to
> leave incubation.
This is one of the things that worries me dearly. So, let's figure out how to
make sure that PRs aren't sitting there for three months.
I am not really interested in who said what where. I intend to give people
a benefit of the doubt and not interpret their actions as hostile or
intentionally bad, unless I have evidence of such.
Cos
> The question here is what, if anything, prevents us from letting bygones be
> bygones and moving forward with this now?
>
> Claims about CI issues, or licenses, or the PR shouldn’t have been rebased
> (!?!) — well, they don’t really make sense.
>
> I keep offering to begin coordinating to integrate the PR with Zeppelin’s CI
> and build system.
>
> But the answer (except from Roman) is still “nah, let us know if you figure
> it out.”
>
> Regarding the history:
>
> Konstantin wisely started this thread by saying let’s keep the history out
> of the discussion. I am respecting that.
>
> If the PR becomes part of Zeppelin, its going to need to be maintained,
> which means that we are going to need to be able to work together.
>
> I have been persuaded to give Moon the benefit of the doubt regarding
> certain issues. He certainly knows what my view of the history is.
>
> If anyone else would like to know, I am happy to share it with them off-list.
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 7:45:11 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
>
> Thanks Roman and Eran for the feedback.
>
> *A. About contribution impasse in general*
>
> I think i summarized why it happens and how it can be improved. ie.
>
> 1. Large code base change
> 2. Communication lost
> 3. Opinion diverges
>
> And my solution was
>
> Guide to ping other committer when a committer is not responding, divide
> contribution into small peaces if possible. And committer pay more
> attention to the contribution.
>
> I'd like to hear and learn any more idea to improve.
>
>
> *B. About contribution impasses in R interpreter for Zeppelin*
>
> Although I'was the first one who reviewed and commented this contribution
> among the committer, I feel contributor (Amos) is unhappy about the review.
>
> I want to analyze the reasons and improve this, too.
>
> Here's reason i guess
>
> 1. Late responding (first review has been made after 3 months)
> 2. Lack of help on CI fail (Amos keep complained about CI fail)
>
> I think both 1 and 2 can be improved by the solution i suggested in section
> A.
>
> Amos, if you think there're more reasons, please feel free to say and let
> me improve. What is the history you're mentioning?
>
> Best,
> moon
>
>
> On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org> wrote:
>
> > Just pushing discussion back on the list
> >
> > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com> wrote:
> >
> > > Alex — if you genuinely do not know the history of this, then I will fill
> > > you in.
> > >
> > > lmk…
> > >
> > >
> > > --
> > > Amos Elberg
> > > Sent with Airmail
> > >
> > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > Date: December 1, 2015 at 6:14:20 AM
> > > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> > >
> > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > > <am...@gmail.com> <am...@gmail.com>
> > >
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > > pull request: R Interpreter for Zeppelin
> > >
> > > @Amos, we had plenty of cases of CI failing and always the pre-condition
> > > for a merge was a green CI. Sometimes that requires time, polite
> > > collaboration, extra mile in direct asking for help from more experienced
> > > members and fixes in different places, which indeed might take time, as
> > > everyone is busy.
> > >
> > >
> >
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Moon -
You say publicly "I have some history about something/someone. And i can send you privately." But you can not bringing anything into the public even after i asked multiple times. Then asking me 'guess' what you meant.
I didn’t bring this issue public. Alex did.
And you don’t need to guess. You know perfectly well.
But because of i think your way of communication is very wrong.
That isn’t bickering?
***
As far as I can tell, the only progress that’s been made in this entire thread, is that Roman agreed to look at the PR.
I am disinclined to continue responding to this.
From: moon soo Lee <mo...@apache.org>
Reply: moon soo Lee <mo...@apache.org>
Date: December 3, 2015 at 12:15:41 AM
To: Amos B. Elberg <am...@gmail.com>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Thu, Dec 3, 2015 at 12:32 PM Amos B. Elberg <am...@gmail.com> wrote:
Is there any reason that you can't tell here?
Please re-read the e-mail from Konstantine that started the thread.
If you can't tell anything, Is it okay to me assume that you just wanted make negative noise in the community with unidentified words?
Please just share your thinking and let me hear and improve from it.
I don’t see how having that discussion in public would serve any purpose.
If you genuinely don’t understand — the end of our e-mail exchange was an invitation for you to call me on the phone and attempt to resolve those issues without the misunderstandings of tone that can happen in our e-mail exchange.
The invitation stands.
I will continue to look for ways to move forward in the spirit of cooperation and teamwork.
Dear amos,
The reason i'm keep replying with this unpleasant response here is, not to bickering. But because of i think your way of communication is very wrong.
You say publicly "I have some history about something/someone. And i can send you privately." But you can not bringing anything into the public even after i asked multiple times. Then asking me 'guess' what you meant.
I'm sorry, this is one of the worst way you can communicate in opensource project. I do not want to see this way of communication never again.
I don't think this is what you call sprit of cooperation and teamwork.
So please communicate the way you call sprit of cooperation and teamwork.
Thanks,
moon
From: moon soo Lee <mo...@apache.org>
Reply: moon soo Lee <mo...@apache.org>
Date: December 2, 2015 at 10:24:52 PM
To: Amos B. Elberg <am...@gmail.com>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Thu, Dec 3, 2015 at 12:05 PM Amos B. Elberg <am...@gmail.com> wrote:
Moon,
I still suggest, one of the best way you can find that person is, file an
issue about the CI problem that you found on Zeppelin Core.
All of the relevant people are already informed.
I continue to be ready to work cooperatively with anyone who would like to help me resolve the issues.
I did clearly pointed what rule could be violated and provided a link and
tried the best at explanation.
Maybe this is a language issue, but I have no idea what your concern about a license is.
You did cite to two web pages. Neither of them said anything that would explain your position. In fact, they confirmed what I had been saying all along.
So i'm going to continue the discussion in the other thread about the
license and will move the discussion to legal-discuss@.
You’re welcome to do that, of course. I don’t know that I will participate.
What i'm not really fine is, having not enough discussion and concern about
license. That's sign of unhealthy community.
As Konstantine has pointed out: The ASF has existed for 16 years. This cannot be the first time that this issue arose. The ASF has a “legal faq” and other public documents that discuss various licensing issues.
In addition, a primary responsibility of the PMCC — perhaps the most important responsibility — is making sure the project conforms to ASF licensing policy.
In terms of community health, my concern is that there is a great deal of confusion about these licensing issues, and people are not able to find a definitive answer simply by checking the ASF documents (or even attempting to do so).
(Hint: I reviewed the ASF materials in great detail in preparing the PR.)
I still don't know which part of the email are you referring. … What are you referring "the history"?
You know *exactly* what I’m talking about.
Amos,
This mailing list is subscribed by hundreds of people. Let's not trying to make meaningless posts.
I told you i *exactly* don't know what you're talking about "the history".
So why don't you pin point what *exactly* you talking about, in public?
Is there any reason that you can't tell here?
If you can't tell anything, Is it okay to me assume that you just wanted make negative noise in the community with unidentified words?
Please just share your thinking and let me hear and improve from it.
Thanks,
moon
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 2, 2015 at 9:19:50 PM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Thu, Dec 3, 2015 at 7:34 AM Amos B. Elberg <am...@gmail.com> wrote:
> Moon, thank you for your reply.
>
> Of course, I can claim CI, license, etc and any other issue. Especially
> when CI is not passing, I can not sure about the license. To me, these
> claims are sign of 'healthy community' not sign of 'does not make sense'.
>
> You're not meaning, your contribution always need to be accepted without
> any claim. right?
> I believe the constructive way to move forward, would be for someone who
> well-understands the CI & build structure, to begin working with me to
> resolve the CI/build integration issues.
>
> I continue to be ready to work with that person.
>
I still suggest, one of the best way you can find that person is, file an
issue about the CI problem that you found on Zeppelin Core.
That'll reduce the scope of the problem and that'll help people quickly
getting into without understanding your contribution entirely.
>
> Regarding licensing, I took extensive research steps before submitting the
> PR to make sure there was not a licensing problem.
>
> In fact, many things in the structure of the code were chosen specifically
> to avoid any licensing problem. I even negotiated with the authors of some
> libraries to switch to Apache-compatible licenses, and did some work on
> their projects in exchange.
>
> Considering all of that — If anyone thinks there is a licensing issue, if
> they want to be constructive, the *least* they can do is say clearly
> exactly what rule is being violated, how it is being violated, and provide
> a link or citation or *something* that shows the opinion is more than
> hand-waving.
>
> I am ready to engage with anyone who does that.
>
There is separate thread for the license. So i'll leave minimal comment
here.
I did clearly pointed what rule could be violated and provided a link and
tried the best at explanation. You don't agree on my concern does not mean
it's okay to pass. Just like i don't agree on your opinion does not mean
it's confirmation of license problem.
Of course my concern could be wrong, that's totally fine to me. I don't
have any problem on that. I'm not a legal expert.
What i'm not really fine is, having not enough discussion and concern about
license. That's sign of unhealthy community.
So i'm going to continue the discussion in the other thread about the
license and will move the discussion to legal-discuss@.
>
> I don't know your view of history and what you think the history is.
> Yeah you do.
>
> We had an exchange about it a week before this thread began.
>
> Some of it even spilled-over into the PR comments after I saw the video.
>
>
I still don't know which part of the email are you referring. The
suggestion i made about your code? about the review? about the conference?
about the meetup? What are you referring "the history"?
Please say in public. What is the history and show how they're related to
this thread topic. Otherwise I'll assume you just want to make a negative
noise in the community.
Thanks,
moon
> So please share them in PUBLIC on this thread NOT off-list, if you think
> that's reason you think your contribution is in impasse.
>
> I am going to follow Konstantin’s lead reading this issue, and try to give
> you the benefit of the doubt.
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 5:06:52 PM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Thanks Amos for replying.
>
> On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Moon — I think there is a misunderstanding about the topic of the
> > discussion.
> >
> > The PR has its own userbase. It has been and is being presented at user
> > groups. Its been blogged and tweeted about (none of that came from me!)
> > The features are the subject of two jiras and on the Zeppelin roadmap.
> > So, the discussion isn't about whether the PR is “good."
> >
> > But no-one responded to the PR until users began to tweet publicly
> @nflabs
> > asking why the PR had not been adopted, and e-mailing you directly. This
> > looks really bad, especially when the project is considering applying to
> > leave incubation.
> >
> >
>
> Thanks for pinging me. Otherwise i couldn't able to know that you're still
> working on it and ready to review. I think it's good practice that pinging
> committer for review when there is no sign of response. Except for ping
> message has been made on twitter and private email instead of public
> mailing list / jira / github issue comment.
>
>
>
>
> > The question here is what, if anything, prevents us from letting bygones
> > be bygones and moving forward with this now?
> >
> > Claims about CI issues, or licenses, or the PR shouldn’t have been
> rebased
> > (!?!) — well, they don’t really make sense.
> >
> >
> Although i didn't review your contribution from day 1,
> I'm reviewing your contribution, discussing about license, discussing about
> improvement of impasse, all they're part of moving forward. I am moving
> forward.
>
> Of course, I can claim CI, license, etc and any other issue. Especially
> when CI is not passing, I can not sure about the license. To me, these
> claims are sign of 'healthy community' not sign of 'does not make sense'.
>
> You're not meaning, your contribution always need to be accepted without
> any claim. right?
>
>
>
> > I keep offering to begin coordinating to integrate the PR with Zeppelin’s
> > CI and build system.
> >
> > But the answer (except from Roman) is still “nah, let us know if you
> > figure it out.”
> >
> >
> >
> Actually, my answer was, "If you think CI is failing not because of your
> change but because of Zeppelin core problem, then file an jira issue about
> it. Everyone will look into".
>
>
>
> >
> >
> > Regarding the history:
> >
> > Konstantin wisely started this thread by saying let’s keep the history
> out
> > of the discussion. I am respecting that.
> >
> > If the PR becomes part of Zeppelin, its going to need to be maintained,
> > which means that we are going to need to be able to work together.
> >
> > I have been persuaded to give Moon the benefit of the doubt regarding
> > certain issues. He certainly knows what my view of the history is.
> >
> > If anyone else would like to know, I am happy to share it with them
> > off-list.
> >
>
>
> I don't know your view of history and what you think the history is. So
> please share them in PUBLIC on this thread NOT off-list, if you think
> that's reason you think your contribution is in impasse.
>
> Otherwise I'll never know what you're thinking and I'll not improve. More
> importantly, it's easy to make people misunderstand you that you're just
> trying to make a negative noises.
>
> So, do you mind share your view of history in this thread?
>
> Thanks,
> moon
>
>
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 7:45:11 AM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > Thanks Roman and Eran for the feedback.
> >
> > *A. About contribution impasse in general*
> >
> > I think i summarized why it happens and how it can be improved. ie.
> >
> > 1. Large code base change
> > 2. Communication lost
> > 3. Opinion diverges
> >
> > And my solution was
> >
> > Guide to ping other committer when a committer is not responding, divide
> > contribution into small peaces if possible. And committer pay more
> > attention to the contribution.
> >
> > I'd like to hear and learn any more idea to improve.
> >
> >
> > *B. About contribution impasses in R interpreter for Zeppelin*
> >
> > Although I'was the first one who reviewed and commented this contribution
> > among the committer, I feel contributor (Amos) is unhappy about the
> review.
> >
> > I want to analyze the reasons and improve this, too.
> >
> > Here's reason i guess
> >
> > 1. Late responding (first review has been made after 3 months)
> > 2. Lack of help on CI fail (Amos keep complained about CI fail)
> >
> > I think both 1 and 2 can be improved by the solution i suggested in
> section
> > A.
> >
> > Amos, if you think there're more reasons, please feel free to say and let
> > me improve. What is the history you're mentioning?
> >
> > Best,
> > moon
> >
> >
> > On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org>
> wrote:
> >
> > > Just pushing discussion back on the list
> > >
> > > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com>
> wrote:
> > >
> > > > Alex — if you genuinely do not know the history of this, then I will
> > fill
> > > > you in.
> > > >
> > > > lmk…
> > > >
> > > >
> > > > --
> > > > Amos Elberg
> > > > Sent with Airmail
> > > >
> > > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > Date: December 1, 2015 at 6:14:20 AM
> > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > >
> > > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > > > <am...@gmail.com> <am...@gmail.com>
> > > >
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > > > pull request: R Interpreter for Zeppelin
> > > >
> > > > @Amos, we had plenty of cases of CI failing and always the
> > pre-condition
> > > > for a merge was a green CI. Sometimes that requires time, polite
> > > > collaboration, extra mile in direct asking for help from more
> > experienced
> > > > members and fixes in different places, which indeed might take time,
> as
> > > > everyone is busy.
> > > >
> > > >
> > >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
On Thu, Dec 3, 2015 at 12:32 PM Amos B. Elberg <am...@gmail.com>
wrote:
> Is there any reason that you can't tell here?
>
> Please re-read the e-mail from Konstantine that started the thread.
>
> If you can't tell anything, Is it okay to me assume that you just wanted
> make negative noise in the community with unidentified words?
>
> Please just share your thinking and let me hear and improve from it.
>
>
> I don’t see how having that discussion in public would serve any purpose.
>
>
If you genuinely don’t understand — the end of our e-mail exchange was an
> invitation for you to call me on the phone and attempt to resolve those
> issues without the misunderstandings of tone that can happen in our e-mail
> exchange.
>
> The invitation stands.
>
> I will continue to look for ways to move forward in the spirit of
> cooperation and teamwork.
>
>
Dear amos,
The reason i'm keep replying with this unpleasant response here is, not to
bickering. But because of i think your way of communication is very wrong.
You say publicly "I have some history about something/someone. And i can
send you privately." But you can not bringing anything into the public even
after i asked multiple times. Then asking me 'guess' what you meant.
I'm sorry, this is one of the worst way you can communicate in opensource
project. I do not want to see this way of communication never again.
I don't think this is what you call sprit of cooperation and teamwork.
So please communicate the way you call sprit of cooperation and teamwork.
Thanks,
moon
>
> From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> Reply: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> Date: December 2, 2015 at 10:24:52 PM
> To: Amos B. Elberg <am...@gmail.com> <am...@gmail.com>,
> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> <de...@zeppelin.incubator.apache.org>
>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull request: R Interpreter for Zeppelin
>
>
>
> On Thu, Dec 3, 2015 at 12:05 PM Amos B. Elberg <am...@gmail.com>
> wrote:
>
>> Moon,
>>
>> I still suggest, one of the best way you can find that person is, file an
>> issue about the CI problem that you found on Zeppelin Core.
>>
>> All of the relevant people are already informed.
>>
>> I continue to be ready to work cooperatively with anyone who would like
>> to help me resolve the issues.
>>
>> I did clearly pointed what rule could be violated and provided a link and
>> tried the best at explanation.
>>
>> Maybe this is a language issue, but I have no idea what your concern
>> about a license is.
>>
>> You did cite to two web pages. Neither of them said anything that would
>> explain your position. In fact, they confirmed what I had been saying all
>> along.
>>
>> So i'm going to continue the discussion in the other thread about the
>> license and will move the discussion to legal-discuss@.
>>
>> You’re welcome to do that, of course. I don’t know that I will
>> participate.
>>
>> What i'm not really fine is, having not enough discussion and concern
>> about
>> license. That's sign of unhealthy community.
>>
>> As Konstantine has pointed out: The ASF has existed for 16 years. This
>> cannot be the first time that this issue arose. The ASF has a “legal faq”
>> and other public documents that discuss various licensing issues.
>>
>> In addition, a primary responsibility of the PMCC — perhaps the most
>> important responsibility — is making sure the project conforms to ASF
>> licensing policy.
>>
>> In terms of community health, my concern is that there is a great deal of
>> confusion about these licensing issues, and people are not able to find a
>> definitive answer simply by checking the ASF documents (or even attempting
>> to do so).
>>
>> (Hint: I reviewed the ASF materials in great detail in preparing the
>> PR.)
>>
>> I still don't know which part of the email are you referring. … What are
>> you referring "the history"?
>>
>>
>> You know *exactly* what I’m talking about.
>>
>>
> Amos,
>
> This mailing list is subscribed by hundreds of people. Let's not trying to
> make meaningless posts.
>
> I told you i *exactly* don't know what you're talking about "the history".
> So why don't you pin point what *exactly* you talking about, in public?
>
> Is there any reason that you can't tell here?
> If you can't tell anything, Is it okay to me assume that you just wanted
> make negative noise in the community with unidentified words?
>
> Please just share your thinking and let me hear and improve from it.
>
> Thanks,
> moon
>
>
>
>> From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
>> Reply: dev@zeppelin.incubator.apache.org
>> <de...@zeppelin.incubator.apache.org> <de...@zeppelin.incubator.apache.org>
>> Date: December 2, 2015 at 9:19:50 PM
>>
>> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>> <de...@zeppelin.incubator.apache.org>
>> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull request: R Interpreter for Zeppelin
>>
>> On Thu, Dec 3, 2015 at 7:34 AM Amos B. Elberg <am...@gmail.com>
>> wrote:
>>
>> > Moon, thank you for your reply.
>> >
>> > Of course, I can claim CI, license, etc and any other issue. Especially
>> > when CI is not passing, I can not sure about the license. To me, these
>> > claims are sign of 'healthy community' not sign of 'does not make
>> sense'.
>> >
>> > You're not meaning, your contribution always need to be accepted without
>> > any claim. right?
>> > I believe the constructive way to move forward, would be for someone who
>> > well-understands the CI & build structure, to begin working with me to
>> > resolve the CI/build integration issues.
>> >
>> > I continue to be ready to work with that person.
>> >
>>
>>
>> I still suggest, one of the best way you can find that person is, file an
>> issue about the CI problem that you found on Zeppelin Core.
>> That'll reduce the scope of the problem and that'll help people quickly
>> getting into without understanding your contribution entirely.
>>
>>
>>
>> >
>> > Regarding licensing, I took extensive research steps before submitting
>> the
>> > PR to make sure there was not a licensing problem.
>> >
>> > In fact, many things in the structure of the code were chosen
>> specifically
>> > to avoid any licensing problem. I even negotiated with the authors of
>> some
>> > libraries to switch to Apache-compatible licenses, and did some work on
>> > their projects in exchange.
>> >
>> > Considering all of that — If anyone thinks there is a licensing issue,
>> if
>> > they want to be constructive, the *least* they can do is say clearly
>> > exactly what rule is being violated, how it is being violated, and
>> provide
>> > a link or citation or *something* that shows the opinion is more than
>> > hand-waving.
>> >
>> > I am ready to engage with anyone who does that.
>> >
>>
>> There is separate thread for the license. So i'll leave minimal comment
>> here.
>>
>> I did clearly pointed what rule could be violated and provided a link and
>> tried the best at explanation. You don't agree on my concern does not mean
>> it's okay to pass. Just like i don't agree on your opinion does not mean
>> it's confirmation of license problem.
>>
>> Of course my concern could be wrong, that's totally fine to me. I don't
>> have any problem on that. I'm not a legal expert.
>>
>> What i'm not really fine is, having not enough discussion and concern
>> about
>> license. That's sign of unhealthy community.
>>
>> So i'm going to continue the discussion in the other thread about the
>> license and will move the discussion to legal-discuss@.
>>
>>
>>
>> >
>> > I don't know your view of history and what you think the history is.
>> > Yeah you do.
>> >
>> > We had an exchange about it a week before this thread began.
>> >
>> > Some of it even spilled-over into the PR comments after I saw the video.
>> >
>> >
>>
>> I still don't know which part of the email are you referring. The
>> suggestion i made about your code? about the review? about the conference?
>> about the meetup? What are you referring "the history"?
>>
>> Please say in public. What is the history and show how they're related to
>> this thread topic. Otherwise I'll assume you just want to make a negative
>> noise in the community.
>>
>> Thanks,
>> moon
>>
>>
>>
>> > So please share them in PUBLIC on this thread NOT off-list, if you think
>> > that's reason you think your contribution is in impasse.
>> >
>> > I am going to follow Konstantin’s lead reading this issue, and try to
>> give
>> > you the benefit of the doubt.
>> >
>> >
>> > From: moon soo Lee <mo...@apache.org>
>> > Reply: dev@zeppelin.incubator.apache.org <
>> > dev@zeppelin.incubator.apache.org>
>> > Date: December 2, 2015 at 5:06:52 PM
>> > To: dev@zeppelin.incubator.apache.org <
>> dev@zeppelin.incubator.apache.org>
>> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull
>> > request: R Interpreter for Zeppelin
>> >
>> > Thanks Amos for replying.
>> >
>> > On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com>
>> > wrote:
>> >
>> > > Moon — I think there is a misunderstanding about the topic of the
>> > > discussion.
>> > >
>> > > The PR has its own userbase. It has been and is being presented at
>> user
>> > > groups. Its been blogged and tweeted about (none of that came from
>> me!)
>> > > The features are the subject of two jiras and on the Zeppelin roadmap.
>> > > So, the discussion isn't about whether the PR is “good."
>> > >
>> > > But no-one responded to the PR until users began to tweet publicly
>> > @nflabs
>> > > asking why the PR had not been adopted, and e-mailing you directly.
>> This
>> > > looks really bad, especially when the project is considering applying
>> to
>> > > leave incubation.
>> > >
>> > >
>> >
>> > Thanks for pinging me. Otherwise i couldn't able to know that you're
>> still
>> > working on it and ready to review. I think it's good practice that
>> pinging
>> > committer for review when there is no sign of response. Except for ping
>> > message has been made on twitter and private email instead of public
>> > mailing list / jira / github issue comment.
>> >
>> >
>> >
>> >
>> > > The question here is what, if anything, prevents us from letting
>> bygones
>> > > be bygones and moving forward with this now?
>> > >
>> > > Claims about CI issues, or licenses, or the PR shouldn’t have been
>> > rebased
>> > > (!?!) — well, they don’t really make sense.
>> > >
>> > >
>> > Although i didn't review your contribution from day 1,
>> > I'm reviewing your contribution, discussing about license, discussing
>> about
>> > improvement of impasse, all they're part of moving forward. I am moving
>> > forward.
>> >
>> > Of course, I can claim CI, license, etc and any other issue. Especially
>> > when CI is not passing, I can not sure about the license. To me, these
>> > claims are sign of 'healthy community' not sign of 'does not make
>> sense'.
>> >
>> > You're not meaning, your contribution always need to be accepted without
>> > any claim. right?
>> >
>> >
>> >
>> > > I keep offering to begin coordinating to integrate the PR with
>> Zeppelin’s
>> > > CI and build system.
>> > >
>> > > But the answer (except from Roman) is still “nah, let us know if you
>> > > figure it out.”
>> > >
>> > >
>> > >
>> > Actually, my answer was, "If you think CI is failing not because of your
>> > change but because of Zeppelin core problem, then file an jira issue
>> about
>> > it. Everyone will look into".
>> >
>> >
>> >
>> > >
>> > >
>> > > Regarding the history:
>> > >
>> > > Konstantin wisely started this thread by saying let’s keep the history
>> > out
>> > > of the discussion. I am respecting that.
>> > >
>> > > If the PR becomes part of Zeppelin, its going to need to be
>> maintained,
>> > > which means that we are going to need to be able to work together.
>> > >
>> > > I have been persuaded to give Moon the benefit of the doubt regarding
>> > > certain issues. He certainly knows what my view of the history is.
>> > >
>> > > If anyone else would like to know, I am happy to share it with them
>> > > off-list.
>> > >
>> >
>> >
>> > I don't know your view of history and what you think the history is. So
>> > please share them in PUBLIC on this thread NOT off-list, if you think
>> > that's reason you think your contribution is in impasse.
>> >
>> > Otherwise I'll never know what you're thinking and I'll not improve.
>> More
>> > importantly, it's easy to make people misunderstand you that you're just
>> > trying to make a negative noises.
>> >
>> > So, do you mind share your view of history in this thread?
>> >
>> > Thanks,
>> > moon
>> >
>> >
>> > >
>> > > From: moon soo Lee <mo...@apache.org>
>> > > Reply: dev@zeppelin.incubator.apache.org <
>> > > dev@zeppelin.incubator.apache.org>
>> > > Date: December 2, 2015 at 7:45:11 AM
>> > > To: dev@zeppelin.incubator.apache.org <
>> dev@zeppelin.incubator.apache.org
>> > >
>> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull
>> > > request: R Interpreter for Zeppelin
>> > >
>> > > Thanks Roman and Eran for the feedback.
>> > >
>> > > *A. About contribution impasse in general*
>> > >
>> > > I think i summarized why it happens and how it can be improved. ie.
>> > >
>> > > 1. Large code base change
>> > > 2. Communication lost
>> > > 3. Opinion diverges
>> > >
>> > > And my solution was
>> > >
>> > > Guide to ping other committer when a committer is not responding,
>> divide
>> > > contribution into small peaces if possible. And committer pay more
>> > > attention to the contribution.
>> > >
>> > > I'd like to hear and learn any more idea to improve.
>> > >
>> > >
>> > > *B. About contribution impasses in R interpreter for Zeppelin*
>> > >
>> > > Although I'was the first one who reviewed and commented this
>> contribution
>> > > among the committer, I feel contributor (Amos) is unhappy about the
>> > review.
>> > >
>> > > I want to analyze the reasons and improve this, too.
>> > >
>> > > Here's reason i guess
>> > >
>> > > 1. Late responding (first review has been made after 3 months)
>> > > 2. Lack of help on CI fail (Amos keep complained about CI fail)
>> > >
>> > > I think both 1 and 2 can be improved by the solution i suggested in
>> > section
>> > > A.
>> > >
>> > > Amos, if you think there're more reasons, please feel free to say and
>> let
>> > > me improve. What is the history you're mentioning?
>> > >
>> > > Best,
>> > > moon
>> > >
>> > >
>> > > On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org>
>> > wrote:
>> > >
>> > > > Just pushing discussion back on the list
>> > > >
>> > > > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com>
>> > wrote:
>> > > >
>> > > > > Alex — if you genuinely do not know the history of this, then I
>> will
>> > > fill
>> > > > > you in.
>> > > > >
>> > > > > lmk…
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Amos Elberg
>> > > > > Sent with Airmail
>> > > > >
>> > > > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
>> > > > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
>> > > > > Date: December 1, 2015 at 6:14:20 AM
>> > > > > To: dev@zeppelin.incubator.apache.org <
>> > > dev@zeppelin.incubator.apache.org
>> > > > >
>> > > > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
>> > > > > <am...@gmail.com> <am...@gmail.com>
>> > > > >
>> > > > > Subject: Re: contributions impasse. Was: [GitHub]
>> incubator-zeppelin
>> > > > > pull request: R Interpreter for Zeppelin
>> > > > >
>> > > > > @Amos, we had plenty of cases of CI failing and always the
>> > > pre-condition
>> > > > > for a merge was a green CI. Sometimes that requires time, polite
>> > > > > collaboration, extra mile in direct asking for help from more
>> > > experienced
>> > > > > members and fixes in different places, which indeed might take
>> time,
>> > as
>> > > > > everyone is busy.
>> > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Following contribution is a recent example, that i think ping committer
after push commit will can help.
https://github.com/apache/incubator-zeppelin/pull/389
In this contribution, last comment has been made 2 weeks ago and then code
change has pushed a week later (a week ago from now), but committer
couldn't be notified about new code change push. and contribution didn't
get any chance to have attention from that time.
I think just pinging committer after push commit will save a lot of similar
cases.
Thanks,
moon
On Thu, Dec 3, 2015 at 3:57 PM moon soo Lee <mo...@apache.org> wrote:
> Apologies about being upset in this thread with non-technical issue.
>
>
> How about we start from adding such things like
>
> - Ping the other committer when no response from committer
> - Keep codebase change small if possible (or break contribution into small
> peaces when possible)
>
> in somewhere
> https://github.com/apache/incubator-zeppelin/blob/master/CONTRIBUTING.md
>
> Does it make sense?
>
> Thanks,
> moon
>
>
>
> On Thu, Dec 3, 2015 at 1:24 PM Corneau Damien <co...@gmail.com>
> wrote:
>
>> As Cos stated before:
>>
>> I am asking _explicitely_ not to re-start the bickering I have already
>>> seen. At this point I am interested in the purely technical side of this.
>>
>>
>> I guess the way to work towards resolving this PR's blocking elements
>> have already been listed before,
>> and there is another discussion to prepare a topic for legal@
>>
>> So there is no reason to continue that thread if it isn't to find a way
>> to resolve it.
>>
>> We already discussed a bit about the PR review process here and in
>> another mailing list thread.
>> We are also having a PR to document our current review process [1]
>>
>> We do have a lot of PR on stand by and I feel sorry for that (currently
>> 85), we usually tend to be more on alert on those that have some activity
>> (notifications).
>> We always try to keep track on old PR that needs review or help, but we
>> also have new PR and issues coming everyday.
>> We try to satisfy everybody but are also keen on maintaining code quality.
>> Reviewing PR is not an easy job, it's time consuming, time committers
>> would probably prefer spending coding.
>> We do it mainly on our spare time, and it's easy to fall into
>> productivity issues when it comes to prioritizing.
>>
>> So I hope you understand better how this works, and that your PR will be
>> good to go soon.
>>
>> [1] https://github.com/apache/incubator-zeppelin/pull/502
>>
>> On Thu, Dec 3, 2015 at 12:32 PM, Amos B. Elberg <am...@gmail.com>
>> wrote:
>>
>>> Is there any reason that you can't tell here?
>>> Please re-read the e-mail from Konstantine that started the thread.
>>>
>>> If you can't tell anything, Is it okay to me assume that you just wanted
>>> make negative noise in the community with unidentified words?
>>> Please just share your thinking and let me hear and improve from it.
>>>
>>> I don’t see how having that discussion in public would serve any
>>> purpose.
>>>
>>> If you genuinely don’t understand — the end of our e-mail exchange was
>>> an invitation for you to call me on the phone and attempt to resolve those
>>> issues without the misunderstandings of tone that can happen in our e-mail
>>> exchange.
>>>
>>> The invitation stands.
>>>
>>> I will continue to look for ways to move forward in the spirit of
>>> cooperation and teamwork.
>>>
>>>
>>> From: moon soo Lee <mo...@apache.org>
>>> Reply: moon soo Lee <mo...@apache.org>
>>> Date: December 2, 2015 at 10:24:52 PM
>>> To: Amos B. Elberg <am...@gmail.com>,
>>> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>>> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>>> pull request: R Interpreter for Zeppelin
>>>
>>>
>>>
>>> On Thu, Dec 3, 2015 at 12:05 PM Amos B. Elberg <am...@gmail.com>
>>> wrote:
>>> Moon,
>>>
>>> I still suggest, one of the best way you can find that person is, file
>>> an
>>> issue about the CI problem that you found on Zeppelin Core.
>>> All of the relevant people are already informed.
>>>
>>> I continue to be ready to work cooperatively with anyone who would like
>>> to help me resolve the issues.
>>>
>>> I did clearly pointed what rule could be violated and provided a link
>>> and
>>> tried the best at explanation.
>>> Maybe this is a language issue, but I have no idea what your concern
>>> about a license is.
>>>
>>> You did cite to two web pages. Neither of them said anything that would
>>> explain your position. In fact, they confirmed what I had been saying all
>>> along.
>>>
>>> So i'm going to continue the discussion in the other thread about the
>>> license and will move the discussion to legal-discuss@.
>>> You’re welcome to do that, of course. I don’t know that I will
>>> participate.
>>>
>>> What i'm not really fine is, having not enough discussion and concern
>>> about
>>> license. That's sign of unhealthy community.
>>> As Konstantine has pointed out: The ASF has existed for 16 years. This
>>> cannot be the first time that this issue arose. The ASF has a “legal faq”
>>> and other public documents that discuss various licensing issues.
>>>
>>> In addition, a primary responsibility of the PMCC — perhaps the most
>>> important responsibility — is making sure the project conforms to ASF
>>> licensing policy.
>>>
>>> In terms of community health, my concern is that there is a great deal
>>> of confusion about these licensing issues, and people are not able to find
>>> a definitive answer simply by checking the ASF documents (or even
>>> attempting to do so).
>>>
>>> (Hint: I reviewed the ASF materials in great detail in preparing the
>>> PR.)
>>>
>>> I still don't know which part of the email are you referring. … What are
>>> you referring "the history"?
>>>
>>> You know *exactly* what I’m talking about.
>>>
>>>
>>> Amos,
>>>
>>> This mailing list is subscribed by hundreds of people. Let's not trying
>>> to make meaningless posts.
>>>
>>> I told you i *exactly* don't know what you're talking about "the
>>> history".
>>> So why don't you pin point what *exactly* you talking about, in public?
>>>
>>> Is there any reason that you can't tell here?
>>> If you can't tell anything, Is it okay to me assume that you just wanted
>>> make negative noise in the community with unidentified words?
>>>
>>> Please just share your thinking and let me hear and improve from it.
>>>
>>> Thanks,
>>> moon
>>>
>>>
>>> From: moon soo Lee <mo...@apache.org>
>>> Reply: dev@zeppelin.incubator.apache.org <
>>> dev@zeppelin.incubator.apache.org>
>>> Date: December 2, 2015 at 9:19:50 PM
>>>
>>> To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
>>> >
>>> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>>> pull request: R Interpreter for Zeppelin
>>>
>>> On Thu, Dec 3, 2015 at 7:34 AM Amos B. Elberg <am...@gmail.com>
>>> wrote:
>>>
>>> > Moon, thank you for your reply.
>>> >
>>> > Of course, I can claim CI, license, etc and any other issue. Especially
>>> > when CI is not passing, I can not sure about the license. To me, these
>>> > claims are sign of 'healthy community' not sign of 'does not make
>>> sense'.
>>> >
>>> > You're not meaning, your contribution always need to be accepted
>>> without
>>> > any claim. right?
>>> > I believe the constructive way to move forward, would be for someone
>>> who
>>> > well-understands the CI & build structure, to begin working with me to
>>> > resolve the CI/build integration issues.
>>> >
>>> > I continue to be ready to work with that person.
>>> >
>>>
>>>
>>> I still suggest, one of the best way you can find that person is, file an
>>> issue about the CI problem that you found on Zeppelin Core.
>>> That'll reduce the scope of the problem and that'll help people quickly
>>> getting into without understanding your contribution entirely.
>>>
>>>
>>>
>>> >
>>> > Regarding licensing, I took extensive research steps before submitting
>>> the
>>> > PR to make sure there was not a licensing problem.
>>> >
>>> > In fact, many things in the structure of the code were chosen
>>> specifically
>>> > to avoid any licensing problem. I even negotiated with the authors of
>>> some
>>> > libraries to switch to Apache-compatible licenses, and did some work on
>>> > their projects in exchange.
>>> >
>>> > Considering all of that — If anyone thinks there is a licensing issue,
>>> if
>>> > they want to be constructive, the *least* they can do is say clearly
>>> > exactly what rule is being violated, how it is being violated, and
>>> provide
>>> > a link or citation or *something* that shows the opinion is more than
>>> > hand-waving.
>>> >
>>> > I am ready to engage with anyone who does that.
>>> >
>>>
>>> There is separate thread for the license. So i'll leave minimal comment
>>> here.
>>>
>>> I did clearly pointed what rule could be violated and provided a link and
>>> tried the best at explanation. You don't agree on my concern does not
>>> mean
>>> it's okay to pass. Just like i don't agree on your opinion does not mean
>>> it's confirmation of license problem.
>>>
>>> Of course my concern could be wrong, that's totally fine to me. I don't
>>> have any problem on that. I'm not a legal expert.
>>>
>>> What i'm not really fine is, having not enough discussion and concern
>>> about
>>> license. That's sign of unhealthy community.
>>>
>>> So i'm going to continue the discussion in the other thread about the
>>> license and will move the discussion to legal-discuss@.
>>>
>>>
>>>
>>> >
>>> > I don't know your view of history and what you think the history is.
>>> > Yeah you do.
>>> >
>>> > We had an exchange about it a week before this thread began.
>>> >
>>> > Some of it even spilled-over into the PR comments after I saw the
>>> video.
>>> >
>>> >
>>>
>>> I still don't know which part of the email are you referring. The
>>> suggestion i made about your code? about the review? about the
>>> conference?
>>> about the meetup? What are you referring "the history"?
>>>
>>> Please say in public. What is the history and show how they're related to
>>> this thread topic. Otherwise I'll assume you just want to make a negative
>>> noise in the community.
>>>
>>> Thanks,
>>> moon
>>>
>>>
>>>
>>> > So please share them in PUBLIC on this thread NOT off-list, if you
>>> think
>>> > that's reason you think your contribution is in impasse.
>>> >
>>> > I am going to follow Konstantin’s lead reading this issue, and try to
>>> give
>>> > you the benefit of the doubt.
>>> >
>>> >
>>> > From: moon soo Lee <mo...@apache.org>
>>> > Reply: dev@zeppelin.incubator.apache.org <
>>> > dev@zeppelin.incubator.apache.org>
>>> > Date: December 2, 2015 at 5:06:52 PM
>>> > To: dev@zeppelin.incubator.apache.org <
>>> dev@zeppelin.incubator.apache.org>
>>> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>>> pull
>>> > request: R Interpreter for Zeppelin
>>> >
>>> > Thanks Amos for replying.
>>> >
>>> > On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com>
>>> > wrote:
>>> >
>>> > > Moon — I think there is a misunderstanding about the topic of the
>>> > > discussion.
>>> > >
>>> > > The PR has its own userbase. It has been and is being presented at
>>> user
>>> > > groups. Its been blogged and tweeted about (none of that came from
>>> me!)
>>> > > The features are the subject of two jiras and on the Zeppelin
>>> roadmap.
>>> > > So, the discussion isn't about whether the PR is “good."
>>> > >
>>> > > But no-one responded to the PR until users began to tweet publicly
>>> > @nflabs
>>> > > asking why the PR had not been adopted, and e-mailing you directly.
>>> This
>>> > > looks really bad, especially when the project is considering
>>> applying to
>>> > > leave incubation.
>>> > >
>>> > >
>>> >
>>> > Thanks for pinging me. Otherwise i couldn't able to know that you're
>>> still
>>> > working on it and ready to review. I think it's good practice that
>>> pinging
>>> > committer for review when there is no sign of response. Except for ping
>>> > message has been made on twitter and private email instead of public
>>> > mailing list / jira / github issue comment.
>>> >
>>> >
>>> >
>>> >
>>> > > The question here is what, if anything, prevents us from letting
>>> bygones
>>> > > be bygones and moving forward with this now?
>>> > >
>>> > > Claims about CI issues, or licenses, or the PR shouldn’t have been
>>> > rebased
>>> > > (!?!) — well, they don’t really make sense.
>>> > >
>>> > >
>>> > Although i didn't review your contribution from day 1,
>>> > I'm reviewing your contribution, discussing about license, discussing
>>> about
>>> > improvement of impasse, all they're part of moving forward. I am moving
>>> > forward.
>>> >
>>> > Of course, I can claim CI, license, etc and any other issue. Especially
>>> > when CI is not passing, I can not sure about the license. To me, these
>>> > claims are sign of 'healthy community' not sign of 'does not make
>>> sense'.
>>> >
>>> > You're not meaning, your contribution always need to be accepted
>>> without
>>> > any claim. right?
>>> >
>>> >
>>> >
>>> > > I keep offering to begin coordinating to integrate the PR with
>>> Zeppelin’s
>>> > > CI and build system.
>>> > >
>>> > > But the answer (except from Roman) is still “nah, let us know if you
>>> > > figure it out.”
>>> > >
>>> > >
>>> > >
>>> > Actually, my answer was, "If you think CI is failing not because of
>>> your
>>> > change but because of Zeppelin core problem, then file an jira issue
>>> about
>>> > it. Everyone will look into".
>>> >
>>> >
>>> >
>>> > >
>>> > >
>>> > > Regarding the history:
>>> > >
>>> > > Konstantin wisely started this thread by saying let’s keep the
>>> history
>>> > out
>>> > > of the discussion. I am respecting that.
>>> > >
>>> > > If the PR becomes part of Zeppelin, its going to need to be
>>> maintained,
>>> > > which means that we are going to need to be able to work together.
>>> > >
>>> > > I have been persuaded to give Moon the benefit of the doubt regarding
>>> > > certain issues. He certainly knows what my view of the history is.
>>> > >
>>> > > If anyone else would like to know, I am happy to share it with them
>>> > > off-list.
>>> > >
>>> >
>>> >
>>> > I don't know your view of history and what you think the history is. So
>>> > please share them in PUBLIC on this thread NOT off-list, if you think
>>> > that's reason you think your contribution is in impasse.
>>> >
>>> > Otherwise I'll never know what you're thinking and I'll not improve.
>>> More
>>> > importantly, it's easy to make people misunderstand you that you're
>>> just
>>> > trying to make a negative noises.
>>> >
>>> > So, do you mind share your view of history in this thread?
>>> >
>>> > Thanks,
>>> > moon
>>> >
>>> >
>>> > >
>>> > > From: moon soo Lee <mo...@apache.org>
>>> > > Reply: dev@zeppelin.incubator.apache.org <
>>> > > dev@zeppelin.incubator.apache.org>
>>> > > Date: December 2, 2015 at 7:45:11 AM
>>> > > To: dev@zeppelin.incubator.apache.org <
>>> dev@zeppelin.incubator.apache.org
>>> > >
>>> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>>> pull
>>> > > request: R Interpreter for Zeppelin
>>> > >
>>> > > Thanks Roman and Eran for the feedback.
>>> > >
>>> > > *A. About contribution impasse in general*
>>> > >
>>> > > I think i summarized why it happens and how it can be improved. ie.
>>> > >
>>> > > 1. Large code base change
>>> > > 2. Communication lost
>>> > > 3. Opinion diverges
>>> > >
>>> > > And my solution was
>>> > >
>>> > > Guide to ping other committer when a committer is not responding,
>>> divide
>>> > > contribution into small peaces if possible. And committer pay more
>>> > > attention to the contribution.
>>> > >
>>> > > I'd like to hear and learn any more idea to improve.
>>> > >
>>> > >
>>> > > *B. About contribution impasses in R interpreter for Zeppelin*
>>> > >
>>> > > Although I'was the first one who reviewed and commented this
>>> contribution
>>> > > among the committer, I feel contributor (Amos) is unhappy about the
>>> > review.
>>> > >
>>> > > I want to analyze the reasons and improve this, too.
>>> > >
>>> > > Here's reason i guess
>>> > >
>>> > > 1. Late responding (first review has been made after 3 months)
>>> > > 2. Lack of help on CI fail (Amos keep complained about CI fail)
>>> > >
>>> > > I think both 1 and 2 can be improved by the solution i suggested in
>>> > section
>>> > > A.
>>> > >
>>> > > Amos, if you think there're more reasons, please feel free to say
>>> and let
>>> > > me improve. What is the history you're mentioning?
>>> > >
>>> > > Best,
>>> > > moon
>>> > >
>>> > >
>>> > > On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org>
>>> > wrote:
>>> > >
>>> > > > Just pushing discussion back on the list
>>> > > >
>>> > > > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com>
>>> > wrote:
>>> > > >
>>> > > > > Alex — if you genuinely do not know the history of this, then I
>>> will
>>> > > fill
>>> > > > > you in.
>>> > > > >
>>> > > > > lmk…
>>> > > > >
>>> > > > >
>>> > > > > --
>>> > > > > Amos Elberg
>>> > > > > Sent with Airmail
>>> > > > >
>>> > > > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
>>> > > > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
>>> > > > > Date: December 1, 2015 at 6:14:20 AM
>>> > > > > To: dev@zeppelin.incubator.apache.org <
>>> > > dev@zeppelin.incubator.apache.org
>>> > > > >
>>> > > > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
>>> > > > > <am...@gmail.com> <am...@gmail.com>
>>> > > > >
>>> > > > > Subject: Re: contributions impasse. Was: [GitHub]
>>> incubator-zeppelin
>>> > > > > pull request: R Interpreter for Zeppelin
>>> > > > >
>>> > > > > @Amos, we had plenty of cases of CI failing and always the
>>> > > pre-condition
>>> > > > > for a merge was a green CI. Sometimes that requires time, polite
>>> > > > > collaboration, extra mile in direct asking for help from more
>>> > > experienced
>>> > > > > members and fixes in different places, which indeed might take
>>> time,
>>> > as
>>> > > > > everyone is busy.
>>> > > > >
>>> > > > >
>>> > > >
>>> > >
>>> >
>>>
>>
>>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Sure, that's perfect place we can test drive.
Thanks,
moon
On Sun, Dec 6, 2015 at 12:46 PM Roman Shaposhnik <ro...@shaposhnik.org>
wrote:
> On Wed, Dec 2, 2015 at 10:56 PM, moon soo Lee <mo...@apache.org> wrote:
> > Apologies about being upset in this thread with non-technical issue.
> >
> >
> > How about we start from adding such things like
> >
> > - Ping the other committer when no response from committer
> > - Keep codebase change small if possible (or break contribution into
> small
> > peaces when possible)
> >
> > in somewhere
> > https://github.com/apache/incubator-zeppelin/blob/master/CONTRIBUTING.md
> >
> > Does it make sense?
>
> Yes it does, but I'd like you guys to test drive this process with Amos
>
> Thanks,
> Roman.
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Roman Shaposhnik <ro...@shaposhnik.org>.
On Wed, Dec 2, 2015 at 10:56 PM, moon soo Lee <mo...@apache.org> wrote:
> Apologies about being upset in this thread with non-technical issue.
>
>
> How about we start from adding such things like
>
> - Ping the other committer when no response from committer
> - Keep codebase change small if possible (or break contribution into small
> peaces when possible)
>
> in somewhere
> https://github.com/apache/incubator-zeppelin/blob/master/CONTRIBUTING.md
>
> Does it make sense?
Yes it does, but I'd like you guys to test drive this process with Amos
Thanks,
Roman.
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Apologies about being upset in this thread with non-technical issue.
How about we start from adding such things like
- Ping the other committer when no response from committer
- Keep codebase change small if possible (or break contribution into small
peaces when possible)
in somewhere
https://github.com/apache/incubator-zeppelin/blob/master/CONTRIBUTING.md
Does it make sense?
Thanks,
moon
On Thu, Dec 3, 2015 at 1:24 PM Corneau Damien <co...@gmail.com> wrote:
> As Cos stated before:
>
> I am asking _explicitely_ not to re-start the bickering I have already
>> seen. At this point I am interested in the purely technical side of this.
>
>
> I guess the way to work towards resolving this PR's blocking elements have
> already been listed before,
> and there is another discussion to prepare a topic for legal@
>
> So there is no reason to continue that thread if it isn't to find a way to
> resolve it.
>
> We already discussed a bit about the PR review process here and in another
> mailing list thread.
> We are also having a PR to document our current review process [1]
>
> We do have a lot of PR on stand by and I feel sorry for that (currently
> 85), we usually tend to be more on alert on those that have some activity
> (notifications).
> We always try to keep track on old PR that needs review or help, but we
> also have new PR and issues coming everyday.
> We try to satisfy everybody but are also keen on maintaining code quality.
> Reviewing PR is not an easy job, it's time consuming, time committers
> would probably prefer spending coding.
> We do it mainly on our spare time, and it's easy to fall into productivity
> issues when it comes to prioritizing.
>
> So I hope you understand better how this works, and that your PR will be
> good to go soon.
>
> [1] https://github.com/apache/incubator-zeppelin/pull/502
>
> On Thu, Dec 3, 2015 at 12:32 PM, Amos B. Elberg <am...@gmail.com>
> wrote:
>
>> Is there any reason that you can't tell here?
>> Please re-read the e-mail from Konstantine that started the thread.
>>
>> If you can't tell anything, Is it okay to me assume that you just wanted
>> make negative noise in the community with unidentified words?
>> Please just share your thinking and let me hear and improve from it.
>>
>> I don’t see how having that discussion in public would serve any purpose.
>>
>> If you genuinely don’t understand — the end of our e-mail exchange was an
>> invitation for you to call me on the phone and attempt to resolve those
>> issues without the misunderstandings of tone that can happen in our e-mail
>> exchange.
>>
>> The invitation stands.
>>
>> I will continue to look for ways to move forward in the spirit of
>> cooperation and teamwork.
>>
>>
>> From: moon soo Lee <mo...@apache.org>
>> Reply: moon soo Lee <mo...@apache.org>
>> Date: December 2, 2015 at 10:24:52 PM
>> To: Amos B. Elberg <am...@gmail.com>,
>> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull request: R Interpreter for Zeppelin
>>
>>
>>
>> On Thu, Dec 3, 2015 at 12:05 PM Amos B. Elberg <am...@gmail.com>
>> wrote:
>> Moon,
>>
>> I still suggest, one of the best way you can find that person is, file an
>> issue about the CI problem that you found on Zeppelin Core.
>> All of the relevant people are already informed.
>>
>> I continue to be ready to work cooperatively with anyone who would like
>> to help me resolve the issues.
>>
>> I did clearly pointed what rule could be violated and provided a link and
>> tried the best at explanation.
>> Maybe this is a language issue, but I have no idea what your concern
>> about a license is.
>>
>> You did cite to two web pages. Neither of them said anything that would
>> explain your position. In fact, they confirmed what I had been saying all
>> along.
>>
>> So i'm going to continue the discussion in the other thread about the
>> license and will move the discussion to legal-discuss@.
>> You’re welcome to do that, of course. I don’t know that I will
>> participate.
>>
>> What i'm not really fine is, having not enough discussion and concern
>> about
>> license. That's sign of unhealthy community.
>> As Konstantine has pointed out: The ASF has existed for 16 years. This
>> cannot be the first time that this issue arose. The ASF has a “legal faq”
>> and other public documents that discuss various licensing issues.
>>
>> In addition, a primary responsibility of the PMCC — perhaps the most
>> important responsibility — is making sure the project conforms to ASF
>> licensing policy.
>>
>> In terms of community health, my concern is that there is a great deal of
>> confusion about these licensing issues, and people are not able to find a
>> definitive answer simply by checking the ASF documents (or even attempting
>> to do so).
>>
>> (Hint: I reviewed the ASF materials in great detail in preparing the
>> PR.)
>>
>> I still don't know which part of the email are you referring. … What are
>> you referring "the history"?
>>
>> You know *exactly* what I’m talking about.
>>
>>
>> Amos,
>>
>> This mailing list is subscribed by hundreds of people. Let's not trying
>> to make meaningless posts.
>>
>> I told you i *exactly* don't know what you're talking about "the history".
>> So why don't you pin point what *exactly* you talking about, in public?
>>
>> Is there any reason that you can't tell here?
>> If you can't tell anything, Is it okay to me assume that you just wanted
>> make negative noise in the community with unidentified words?
>>
>> Please just share your thinking and let me hear and improve from it.
>>
>> Thanks,
>> moon
>>
>>
>> From: moon soo Lee <mo...@apache.org>
>> Reply: dev@zeppelin.incubator.apache.org <
>> dev@zeppelin.incubator.apache.org>
>> Date: December 2, 2015 at 9:19:50 PM
>>
>> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull request: R Interpreter for Zeppelin
>>
>> On Thu, Dec 3, 2015 at 7:34 AM Amos B. Elberg <am...@gmail.com>
>> wrote:
>>
>> > Moon, thank you for your reply.
>> >
>> > Of course, I can claim CI, license, etc and any other issue. Especially
>> > when CI is not passing, I can not sure about the license. To me, these
>> > claims are sign of 'healthy community' not sign of 'does not make
>> sense'.
>> >
>> > You're not meaning, your contribution always need to be accepted without
>> > any claim. right?
>> > I believe the constructive way to move forward, would be for someone who
>> > well-understands the CI & build structure, to begin working with me to
>> > resolve the CI/build integration issues.
>> >
>> > I continue to be ready to work with that person.
>> >
>>
>>
>> I still suggest, one of the best way you can find that person is, file an
>> issue about the CI problem that you found on Zeppelin Core.
>> That'll reduce the scope of the problem and that'll help people quickly
>> getting into without understanding your contribution entirely.
>>
>>
>>
>> >
>> > Regarding licensing, I took extensive research steps before submitting
>> the
>> > PR to make sure there was not a licensing problem.
>> >
>> > In fact, many things in the structure of the code were chosen
>> specifically
>> > to avoid any licensing problem. I even negotiated with the authors of
>> some
>> > libraries to switch to Apache-compatible licenses, and did some work on
>> > their projects in exchange.
>> >
>> > Considering all of that — If anyone thinks there is a licensing issue,
>> if
>> > they want to be constructive, the *least* they can do is say clearly
>> > exactly what rule is being violated, how it is being violated, and
>> provide
>> > a link or citation or *something* that shows the opinion is more than
>> > hand-waving.
>> >
>> > I am ready to engage with anyone who does that.
>> >
>>
>> There is separate thread for the license. So i'll leave minimal comment
>> here.
>>
>> I did clearly pointed what rule could be violated and provided a link and
>> tried the best at explanation. You don't agree on my concern does not mean
>> it's okay to pass. Just like i don't agree on your opinion does not mean
>> it's confirmation of license problem.
>>
>> Of course my concern could be wrong, that's totally fine to me. I don't
>> have any problem on that. I'm not a legal expert.
>>
>> What i'm not really fine is, having not enough discussion and concern
>> about
>> license. That's sign of unhealthy community.
>>
>> So i'm going to continue the discussion in the other thread about the
>> license and will move the discussion to legal-discuss@.
>>
>>
>>
>> >
>> > I don't know your view of history and what you think the history is.
>> > Yeah you do.
>> >
>> > We had an exchange about it a week before this thread began.
>> >
>> > Some of it even spilled-over into the PR comments after I saw the video.
>> >
>> >
>>
>> I still don't know which part of the email are you referring. The
>> suggestion i made about your code? about the review? about the conference?
>> about the meetup? What are you referring "the history"?
>>
>> Please say in public. What is the history and show how they're related to
>> this thread topic. Otherwise I'll assume you just want to make a negative
>> noise in the community.
>>
>> Thanks,
>> moon
>>
>>
>>
>> > So please share them in PUBLIC on this thread NOT off-list, if you think
>> > that's reason you think your contribution is in impasse.
>> >
>> > I am going to follow Konstantin’s lead reading this issue, and try to
>> give
>> > you the benefit of the doubt.
>> >
>> >
>> > From: moon soo Lee <mo...@apache.org>
>> > Reply: dev@zeppelin.incubator.apache.org <
>> > dev@zeppelin.incubator.apache.org>
>> > Date: December 2, 2015 at 5:06:52 PM
>> > To: dev@zeppelin.incubator.apache.org <
>> dev@zeppelin.incubator.apache.org>
>> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull
>> > request: R Interpreter for Zeppelin
>> >
>> > Thanks Amos for replying.
>> >
>> > On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com>
>> > wrote:
>> >
>> > > Moon — I think there is a misunderstanding about the topic of the
>> > > discussion.
>> > >
>> > > The PR has its own userbase. It has been and is being presented at
>> user
>> > > groups. Its been blogged and tweeted about (none of that came from
>> me!)
>> > > The features are the subject of two jiras and on the Zeppelin roadmap.
>> > > So, the discussion isn't about whether the PR is “good."
>> > >
>> > > But no-one responded to the PR until users began to tweet publicly
>> > @nflabs
>> > > asking why the PR had not been adopted, and e-mailing you directly.
>> This
>> > > looks really bad, especially when the project is considering applying
>> to
>> > > leave incubation.
>> > >
>> > >
>> >
>> > Thanks for pinging me. Otherwise i couldn't able to know that you're
>> still
>> > working on it and ready to review. I think it's good practice that
>> pinging
>> > committer for review when there is no sign of response. Except for ping
>> > message has been made on twitter and private email instead of public
>> > mailing list / jira / github issue comment.
>> >
>> >
>> >
>> >
>> > > The question here is what, if anything, prevents us from letting
>> bygones
>> > > be bygones and moving forward with this now?
>> > >
>> > > Claims about CI issues, or licenses, or the PR shouldn’t have been
>> > rebased
>> > > (!?!) — well, they don’t really make sense.
>> > >
>> > >
>> > Although i didn't review your contribution from day 1,
>> > I'm reviewing your contribution, discussing about license, discussing
>> about
>> > improvement of impasse, all they're part of moving forward. I am moving
>> > forward.
>> >
>> > Of course, I can claim CI, license, etc and any other issue. Especially
>> > when CI is not passing, I can not sure about the license. To me, these
>> > claims are sign of 'healthy community' not sign of 'does not make
>> sense'.
>> >
>> > You're not meaning, your contribution always need to be accepted without
>> > any claim. right?
>> >
>> >
>> >
>> > > I keep offering to begin coordinating to integrate the PR with
>> Zeppelin’s
>> > > CI and build system.
>> > >
>> > > But the answer (except from Roman) is still “nah, let us know if you
>> > > figure it out.”
>> > >
>> > >
>> > >
>> > Actually, my answer was, "If you think CI is failing not because of your
>> > change but because of Zeppelin core problem, then file an jira issue
>> about
>> > it. Everyone will look into".
>> >
>> >
>> >
>> > >
>> > >
>> > > Regarding the history:
>> > >
>> > > Konstantin wisely started this thread by saying let’s keep the history
>> > out
>> > > of the discussion. I am respecting that.
>> > >
>> > > If the PR becomes part of Zeppelin, its going to need to be
>> maintained,
>> > > which means that we are going to need to be able to work together.
>> > >
>> > > I have been persuaded to give Moon the benefit of the doubt regarding
>> > > certain issues. He certainly knows what my view of the history is.
>> > >
>> > > If anyone else would like to know, I am happy to share it with them
>> > > off-list.
>> > >
>> >
>> >
>> > I don't know your view of history and what you think the history is. So
>> > please share them in PUBLIC on this thread NOT off-list, if you think
>> > that's reason you think your contribution is in impasse.
>> >
>> > Otherwise I'll never know what you're thinking and I'll not improve.
>> More
>> > importantly, it's easy to make people misunderstand you that you're just
>> > trying to make a negative noises.
>> >
>> > So, do you mind share your view of history in this thread?
>> >
>> > Thanks,
>> > moon
>> >
>> >
>> > >
>> > > From: moon soo Lee <mo...@apache.org>
>> > > Reply: dev@zeppelin.incubator.apache.org <
>> > > dev@zeppelin.incubator.apache.org>
>> > > Date: December 2, 2015 at 7:45:11 AM
>> > > To: dev@zeppelin.incubator.apache.org <
>> dev@zeppelin.incubator.apache.org
>> > >
>> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull
>> > > request: R Interpreter for Zeppelin
>> > >
>> > > Thanks Roman and Eran for the feedback.
>> > >
>> > > *A. About contribution impasse in general*
>> > >
>> > > I think i summarized why it happens and how it can be improved. ie.
>> > >
>> > > 1. Large code base change
>> > > 2. Communication lost
>> > > 3. Opinion diverges
>> > >
>> > > And my solution was
>> > >
>> > > Guide to ping other committer when a committer is not responding,
>> divide
>> > > contribution into small peaces if possible. And committer pay more
>> > > attention to the contribution.
>> > >
>> > > I'd like to hear and learn any more idea to improve.
>> > >
>> > >
>> > > *B. About contribution impasses in R interpreter for Zeppelin*
>> > >
>> > > Although I'was the first one who reviewed and commented this
>> contribution
>> > > among the committer, I feel contributor (Amos) is unhappy about the
>> > review.
>> > >
>> > > I want to analyze the reasons and improve this, too.
>> > >
>> > > Here's reason i guess
>> > >
>> > > 1. Late responding (first review has been made after 3 months)
>> > > 2. Lack of help on CI fail (Amos keep complained about CI fail)
>> > >
>> > > I think both 1 and 2 can be improved by the solution i suggested in
>> > section
>> > > A.
>> > >
>> > > Amos, if you think there're more reasons, please feel free to say and
>> let
>> > > me improve. What is the history you're mentioning?
>> > >
>> > > Best,
>> > > moon
>> > >
>> > >
>> > > On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org>
>> > wrote:
>> > >
>> > > > Just pushing discussion back on the list
>> > > >
>> > > > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com>
>> > wrote:
>> > > >
>> > > > > Alex — if you genuinely do not know the history of this, then I
>> will
>> > > fill
>> > > > > you in.
>> > > > >
>> > > > > lmk…
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Amos Elberg
>> > > > > Sent with Airmail
>> > > > >
>> > > > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
>> > > > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
>> > > > > Date: December 1, 2015 at 6:14:20 AM
>> > > > > To: dev@zeppelin.incubator.apache.org <
>> > > dev@zeppelin.incubator.apache.org
>> > > > >
>> > > > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
>> > > > > <am...@gmail.com> <am...@gmail.com>
>> > > > >
>> > > > > Subject: Re: contributions impasse. Was: [GitHub]
>> incubator-zeppelin
>> > > > > pull request: R Interpreter for Zeppelin
>> > > > >
>> > > > > @Amos, we had plenty of cases of CI failing and always the
>> > > pre-condition
>> > > > > for a merge was a green CI. Sometimes that requires time, polite
>> > > > > collaboration, extra mile in direct asking for help from more
>> > > experienced
>> > > > > members and fixes in different places, which indeed might take
>> time,
>> > as
>> > > > > everyone is busy.
>> > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Corneau Damien <co...@gmail.com>.
As Cos stated before:
I am asking _explicitely_ not to re-start the bickering I have already
> seen. At this point I am interested in the purely technical side of this.
I guess the way to work towards resolving this PR's blocking elements have
already been listed before,
and there is another discussion to prepare a topic for legal@
So there is no reason to continue that thread if it isn't to find a way to
resolve it.
We already discussed a bit about the PR review process here and in another
mailing list thread.
We are also having a PR to document our current review process [1]
We do have a lot of PR on stand by and I feel sorry for that (currently
85), we usually tend to be more on alert on those that have some activity
(notifications).
We always try to keep track on old PR that needs review or help, but we
also have new PR and issues coming everyday.
We try to satisfy everybody but are also keen on maintaining code quality.
Reviewing PR is not an easy job, it's time consuming, time committers would
probably prefer spending coding.
We do it mainly on our spare time, and it's easy to fall into productivity
issues when it comes to prioritizing.
So I hope you understand better how this works, and that your PR will be
good to go soon.
[1] https://github.com/apache/incubator-zeppelin/pull/502
On Thu, Dec 3, 2015 at 12:32 PM, Amos B. Elberg <am...@gmail.com>
wrote:
> Is there any reason that you can't tell here?
> Please re-read the e-mail from Konstantine that started the thread.
>
> If you can't tell anything, Is it okay to me assume that you just wanted
> make negative noise in the community with unidentified words?
> Please just share your thinking and let me hear and improve from it.
>
> I don’t see how having that discussion in public would serve any purpose.
>
> If you genuinely don’t understand — the end of our e-mail exchange was an
> invitation for you to call me on the phone and attempt to resolve those
> issues without the misunderstandings of tone that can happen in our e-mail
> exchange.
>
> The invitation stands.
>
> I will continue to look for ways to move forward in the spirit of
> cooperation and teamwork.
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: moon soo Lee <mo...@apache.org>
> Date: December 2, 2015 at 10:24:52 PM
> To: Amos B. Elberg <am...@gmail.com>,
> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
>
>
> On Thu, Dec 3, 2015 at 12:05 PM Amos B. Elberg <am...@gmail.com>
> wrote:
> Moon,
>
> I still suggest, one of the best way you can find that person is, file an
> issue about the CI problem that you found on Zeppelin Core.
> All of the relevant people are already informed.
>
> I continue to be ready to work cooperatively with anyone who would like to
> help me resolve the issues.
>
> I did clearly pointed what rule could be violated and provided a link and
> tried the best at explanation.
> Maybe this is a language issue, but I have no idea what your concern about
> a license is.
>
> You did cite to two web pages. Neither of them said anything that would
> explain your position. In fact, they confirmed what I had been saying all
> along.
>
> So i'm going to continue the discussion in the other thread about the
> license and will move the discussion to legal-discuss@.
> You’re welcome to do that, of course. I don’t know that I will
> participate.
>
> What i'm not really fine is, having not enough discussion and concern
> about
> license. That's sign of unhealthy community.
> As Konstantine has pointed out: The ASF has existed for 16 years. This
> cannot be the first time that this issue arose. The ASF has a “legal faq”
> and other public documents that discuss various licensing issues.
>
> In addition, a primary responsibility of the PMCC — perhaps the most
> important responsibility — is making sure the project conforms to ASF
> licensing policy.
>
> In terms of community health, my concern is that there is a great deal of
> confusion about these licensing issues, and people are not able to find a
> definitive answer simply by checking the ASF documents (or even attempting
> to do so).
>
> (Hint: I reviewed the ASF materials in great detail in preparing the PR.)
>
> I still don't know which part of the email are you referring. … What are
> you referring "the history"?
>
> You know *exactly* what I’m talking about.
>
>
> Amos,
>
> This mailing list is subscribed by hundreds of people. Let's not trying to
> make meaningless posts.
>
> I told you i *exactly* don't know what you're talking about "the history".
> So why don't you pin point what *exactly* you talking about, in public?
>
> Is there any reason that you can't tell here?
> If you can't tell anything, Is it okay to me assume that you just wanted
> make negative noise in the community with unidentified words?
>
> Please just share your thinking and let me hear and improve from it.
>
> Thanks,
> moon
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 9:19:50 PM
>
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> On Thu, Dec 3, 2015 at 7:34 AM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Moon, thank you for your reply.
> >
> > Of course, I can claim CI, license, etc and any other issue. Especially
> > when CI is not passing, I can not sure about the license. To me, these
> > claims are sign of 'healthy community' not sign of 'does not make sense'.
> >
> > You're not meaning, your contribution always need to be accepted without
> > any claim. right?
> > I believe the constructive way to move forward, would be for someone who
> > well-understands the CI & build structure, to begin working with me to
> > resolve the CI/build integration issues.
> >
> > I continue to be ready to work with that person.
> >
>
>
> I still suggest, one of the best way you can find that person is, file an
> issue about the CI problem that you found on Zeppelin Core.
> That'll reduce the scope of the problem and that'll help people quickly
> getting into without understanding your contribution entirely.
>
>
>
> >
> > Regarding licensing, I took extensive research steps before submitting
> the
> > PR to make sure there was not a licensing problem.
> >
> > In fact, many things in the structure of the code were chosen
> specifically
> > to avoid any licensing problem. I even negotiated with the authors of
> some
> > libraries to switch to Apache-compatible licenses, and did some work on
> > their projects in exchange.
> >
> > Considering all of that — If anyone thinks there is a licensing issue, if
> > they want to be constructive, the *least* they can do is say clearly
> > exactly what rule is being violated, how it is being violated, and
> provide
> > a link or citation or *something* that shows the opinion is more than
> > hand-waving.
> >
> > I am ready to engage with anyone who does that.
> >
>
> There is separate thread for the license. So i'll leave minimal comment
> here.
>
> I did clearly pointed what rule could be violated and provided a link and
> tried the best at explanation. You don't agree on my concern does not mean
> it's okay to pass. Just like i don't agree on your opinion does not mean
> it's confirmation of license problem.
>
> Of course my concern could be wrong, that's totally fine to me. I don't
> have any problem on that. I'm not a legal expert.
>
> What i'm not really fine is, having not enough discussion and concern about
> license. That's sign of unhealthy community.
>
> So i'm going to continue the discussion in the other thread about the
> license and will move the discussion to legal-discuss@.
>
>
>
> >
> > I don't know your view of history and what you think the history is.
> > Yeah you do.
> >
> > We had an exchange about it a week before this thread began.
> >
> > Some of it even spilled-over into the PR comments after I saw the video.
> >
> >
>
> I still don't know which part of the email are you referring. The
> suggestion i made about your code? about the review? about the conference?
> about the meetup? What are you referring "the history"?
>
> Please say in public. What is the history and show how they're related to
> this thread topic. Otherwise I'll assume you just want to make a negative
> noise in the community.
>
> Thanks,
> moon
>
>
>
> > So please share them in PUBLIC on this thread NOT off-list, if you think
> > that's reason you think your contribution is in impasse.
> >
> > I am going to follow Konstantin’s lead reading this issue, and try to
> give
> > you the benefit of the doubt.
> >
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 5:06:52 PM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > Thanks Amos for replying.
> >
> > On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com>
> > wrote:
> >
> > > Moon — I think there is a misunderstanding about the topic of the
> > > discussion.
> > >
> > > The PR has its own userbase. It has been and is being presented at user
> > > groups. Its been blogged and tweeted about (none of that came from me!)
> > > The features are the subject of two jiras and on the Zeppelin roadmap.
> > > So, the discussion isn't about whether the PR is “good."
> > >
> > > But no-one responded to the PR until users began to tweet publicly
> > @nflabs
> > > asking why the PR had not been adopted, and e-mailing you directly.
> This
> > > looks really bad, especially when the project is considering applying
> to
> > > leave incubation.
> > >
> > >
> >
> > Thanks for pinging me. Otherwise i couldn't able to know that you're
> still
> > working on it and ready to review. I think it's good practice that
> pinging
> > committer for review when there is no sign of response. Except for ping
> > message has been made on twitter and private email instead of public
> > mailing list / jira / github issue comment.
> >
> >
> >
> >
> > > The question here is what, if anything, prevents us from letting
> bygones
> > > be bygones and moving forward with this now?
> > >
> > > Claims about CI issues, or licenses, or the PR shouldn’t have been
> > rebased
> > > (!?!) — well, they don’t really make sense.
> > >
> > >
> > Although i didn't review your contribution from day 1,
> > I'm reviewing your contribution, discussing about license, discussing
> about
> > improvement of impasse, all they're part of moving forward. I am moving
> > forward.
> >
> > Of course, I can claim CI, license, etc and any other issue. Especially
> > when CI is not passing, I can not sure about the license. To me, these
> > claims are sign of 'healthy community' not sign of 'does not make sense'.
> >
> > You're not meaning, your contribution always need to be accepted without
> > any claim. right?
> >
> >
> >
> > > I keep offering to begin coordinating to integrate the PR with
> Zeppelin’s
> > > CI and build system.
> > >
> > > But the answer (except from Roman) is still “nah, let us know if you
> > > figure it out.”
> > >
> > >
> > >
> > Actually, my answer was, "If you think CI is failing not because of your
> > change but because of Zeppelin core problem, then file an jira issue
> about
> > it. Everyone will look into".
> >
> >
> >
> > >
> > >
> > > Regarding the history:
> > >
> > > Konstantin wisely started this thread by saying let’s keep the history
> > out
> > > of the discussion. I am respecting that.
> > >
> > > If the PR becomes part of Zeppelin, its going to need to be maintained,
> > > which means that we are going to need to be able to work together.
> > >
> > > I have been persuaded to give Moon the benefit of the doubt regarding
> > > certain issues. He certainly knows what my view of the history is.
> > >
> > > If anyone else would like to know, I am happy to share it with them
> > > off-list.
> > >
> >
> >
> > I don't know your view of history and what you think the history is. So
> > please share them in PUBLIC on this thread NOT off-list, if you think
> > that's reason you think your contribution is in impasse.
> >
> > Otherwise I'll never know what you're thinking and I'll not improve. More
> > importantly, it's easy to make people misunderstand you that you're just
> > trying to make a negative noises.
> >
> > So, do you mind share your view of history in this thread?
> >
> > Thanks,
> > moon
> >
> >
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > Date: December 2, 2015 at 7:45:11 AM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull
> > > request: R Interpreter for Zeppelin
> > >
> > > Thanks Roman and Eran for the feedback.
> > >
> > > *A. About contribution impasse in general*
> > >
> > > I think i summarized why it happens and how it can be improved. ie.
> > >
> > > 1. Large code base change
> > > 2. Communication lost
> > > 3. Opinion diverges
> > >
> > > And my solution was
> > >
> > > Guide to ping other committer when a committer is not responding,
> divide
> > > contribution into small peaces if possible. And committer pay more
> > > attention to the contribution.
> > >
> > > I'd like to hear and learn any more idea to improve.
> > >
> > >
> > > *B. About contribution impasses in R interpreter for Zeppelin*
> > >
> > > Although I'was the first one who reviewed and commented this
> contribution
> > > among the committer, I feel contributor (Amos) is unhappy about the
> > review.
> > >
> > > I want to analyze the reasons and improve this, too.
> > >
> > > Here's reason i guess
> > >
> > > 1. Late responding (first review has been made after 3 months)
> > > 2. Lack of help on CI fail (Amos keep complained about CI fail)
> > >
> > > I think both 1 and 2 can be improved by the solution i suggested in
> > section
> > > A.
> > >
> > > Amos, if you think there're more reasons, please feel free to say and
> let
> > > me improve. What is the history you're mentioning?
> > >
> > > Best,
> > > moon
> > >
> > >
> > > On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org>
> > wrote:
> > >
> > > > Just pushing discussion back on the list
> > > >
> > > > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com>
> > wrote:
> > > >
> > > > > Alex — if you genuinely do not know the history of this, then I
> will
> > > fill
> > > > > you in.
> > > > >
> > > > > lmk…
> > > > >
> > > > >
> > > > > --
> > > > > Amos Elberg
> > > > > Sent with Airmail
> > > > >
> > > > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > > Date: December 1, 2015 at 6:14:20 AM
> > > > > To: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org
> > > > >
> > > > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > > > > <am...@gmail.com> <am...@gmail.com>
> > > > >
> > > > > Subject: Re: contributions impasse. Was: [GitHub]
> incubator-zeppelin
> > > > > pull request: R Interpreter for Zeppelin
> > > > >
> > > > > @Amos, we had plenty of cases of CI failing and always the
> > > pre-condition
> > > > > for a merge was a green CI. Sometimes that requires time, polite
> > > > > collaboration, extra mile in direct asking for help from more
> > > experienced
> > > > > members and fixes in different places, which indeed might take
> time,
> > as
> > > > > everyone is busy.
> > > > >
> > > > >
> > > >
> > >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Is there any reason that you can't tell here?
Please re-read the e-mail from Konstantine that started the thread.
If you can't tell anything, Is it okay to me assume that you just wanted make negative noise in the community with unidentified words?
Please just share your thinking and let me hear and improve from it.
I don’t see how having that discussion in public would serve any purpose.
If you genuinely don’t understand — the end of our e-mail exchange was an invitation for you to call me on the phone and attempt to resolve those issues without the misunderstandings of tone that can happen in our e-mail exchange.
The invitation stands.
I will continue to look for ways to move forward in the spirit of cooperation and teamwork.
From: moon soo Lee <mo...@apache.org>
Reply: moon soo Lee <mo...@apache.org>
Date: December 2, 2015 at 10:24:52 PM
To: Amos B. Elberg <am...@gmail.com>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Thu, Dec 3, 2015 at 12:05 PM Amos B. Elberg <am...@gmail.com> wrote:
Moon,
I still suggest, one of the best way you can find that person is, file an
issue about the CI problem that you found on Zeppelin Core.
All of the relevant people are already informed.
I continue to be ready to work cooperatively with anyone who would like to help me resolve the issues.
I did clearly pointed what rule could be violated and provided a link and
tried the best at explanation.
Maybe this is a language issue, but I have no idea what your concern about a license is.
You did cite to two web pages. Neither of them said anything that would explain your position. In fact, they confirmed what I had been saying all along.
So i'm going to continue the discussion in the other thread about the
license and will move the discussion to legal-discuss@.
You’re welcome to do that, of course. I don’t know that I will participate.
What i'm not really fine is, having not enough discussion and concern about
license. That's sign of unhealthy community.
As Konstantine has pointed out: The ASF has existed for 16 years. This cannot be the first time that this issue arose. The ASF has a “legal faq” and other public documents that discuss various licensing issues.
In addition, a primary responsibility of the PMCC — perhaps the most important responsibility — is making sure the project conforms to ASF licensing policy.
In terms of community health, my concern is that there is a great deal of confusion about these licensing issues, and people are not able to find a definitive answer simply by checking the ASF documents (or even attempting to do so).
(Hint: I reviewed the ASF materials in great detail in preparing the PR.)
I still don't know which part of the email are you referring. … What are you referring "the history"?
You know *exactly* what I’m talking about.
Amos,
This mailing list is subscribed by hundreds of people. Let's not trying to make meaningless posts.
I told you i *exactly* don't know what you're talking about "the history".
So why don't you pin point what *exactly* you talking about, in public?
Is there any reason that you can't tell here?
If you can't tell anything, Is it okay to me assume that you just wanted make negative noise in the community with unidentified words?
Please just share your thinking and let me hear and improve from it.
Thanks,
moon
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 2, 2015 at 9:19:50 PM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Thu, Dec 3, 2015 at 7:34 AM Amos B. Elberg <am...@gmail.com> wrote:
> Moon, thank you for your reply.
>
> Of course, I can claim CI, license, etc and any other issue. Especially
> when CI is not passing, I can not sure about the license. To me, these
> claims are sign of 'healthy community' not sign of 'does not make sense'.
>
> You're not meaning, your contribution always need to be accepted without
> any claim. right?
> I believe the constructive way to move forward, would be for someone who
> well-understands the CI & build structure, to begin working with me to
> resolve the CI/build integration issues.
>
> I continue to be ready to work with that person.
>
I still suggest, one of the best way you can find that person is, file an
issue about the CI problem that you found on Zeppelin Core.
That'll reduce the scope of the problem and that'll help people quickly
getting into without understanding your contribution entirely.
>
> Regarding licensing, I took extensive research steps before submitting the
> PR to make sure there was not a licensing problem.
>
> In fact, many things in the structure of the code were chosen specifically
> to avoid any licensing problem. I even negotiated with the authors of some
> libraries to switch to Apache-compatible licenses, and did some work on
> their projects in exchange.
>
> Considering all of that — If anyone thinks there is a licensing issue, if
> they want to be constructive, the *least* they can do is say clearly
> exactly what rule is being violated, how it is being violated, and provide
> a link or citation or *something* that shows the opinion is more than
> hand-waving.
>
> I am ready to engage with anyone who does that.
>
There is separate thread for the license. So i'll leave minimal comment
here.
I did clearly pointed what rule could be violated and provided a link and
tried the best at explanation. You don't agree on my concern does not mean
it's okay to pass. Just like i don't agree on your opinion does not mean
it's confirmation of license problem.
Of course my concern could be wrong, that's totally fine to me. I don't
have any problem on that. I'm not a legal expert.
What i'm not really fine is, having not enough discussion and concern about
license. That's sign of unhealthy community.
So i'm going to continue the discussion in the other thread about the
license and will move the discussion to legal-discuss@.
>
> I don't know your view of history and what you think the history is.
> Yeah you do.
>
> We had an exchange about it a week before this thread began.
>
> Some of it even spilled-over into the PR comments after I saw the video.
>
>
I still don't know which part of the email are you referring. The
suggestion i made about your code? about the review? about the conference?
about the meetup? What are you referring "the history"?
Please say in public. What is the history and show how they're related to
this thread topic. Otherwise I'll assume you just want to make a negative
noise in the community.
Thanks,
moon
> So please share them in PUBLIC on this thread NOT off-list, if you think
> that's reason you think your contribution is in impasse.
>
> I am going to follow Konstantin’s lead reading this issue, and try to give
> you the benefit of the doubt.
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 5:06:52 PM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Thanks Amos for replying.
>
> On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Moon — I think there is a misunderstanding about the topic of the
> > discussion.
> >
> > The PR has its own userbase. It has been and is being presented at user
> > groups. Its been blogged and tweeted about (none of that came from me!)
> > The features are the subject of two jiras and on the Zeppelin roadmap.
> > So, the discussion isn't about whether the PR is “good."
> >
> > But no-one responded to the PR until users began to tweet publicly
> @nflabs
> > asking why the PR had not been adopted, and e-mailing you directly. This
> > looks really bad, especially when the project is considering applying to
> > leave incubation.
> >
> >
>
> Thanks for pinging me. Otherwise i couldn't able to know that you're still
> working on it and ready to review. I think it's good practice that pinging
> committer for review when there is no sign of response. Except for ping
> message has been made on twitter and private email instead of public
> mailing list / jira / github issue comment.
>
>
>
>
> > The question here is what, if anything, prevents us from letting bygones
> > be bygones and moving forward with this now?
> >
> > Claims about CI issues, or licenses, or the PR shouldn’t have been
> rebased
> > (!?!) — well, they don’t really make sense.
> >
> >
> Although i didn't review your contribution from day 1,
> I'm reviewing your contribution, discussing about license, discussing about
> improvement of impasse, all they're part of moving forward. I am moving
> forward.
>
> Of course, I can claim CI, license, etc and any other issue. Especially
> when CI is not passing, I can not sure about the license. To me, these
> claims are sign of 'healthy community' not sign of 'does not make sense'.
>
> You're not meaning, your contribution always need to be accepted without
> any claim. right?
>
>
>
> > I keep offering to begin coordinating to integrate the PR with Zeppelin’s
> > CI and build system.
> >
> > But the answer (except from Roman) is still “nah, let us know if you
> > figure it out.”
> >
> >
> >
> Actually, my answer was, "If you think CI is failing not because of your
> change but because of Zeppelin core problem, then file an jira issue about
> it. Everyone will look into".
>
>
>
> >
> >
> > Regarding the history:
> >
> > Konstantin wisely started this thread by saying let’s keep the history
> out
> > of the discussion. I am respecting that.
> >
> > If the PR becomes part of Zeppelin, its going to need to be maintained,
> > which means that we are going to need to be able to work together.
> >
> > I have been persuaded to give Moon the benefit of the doubt regarding
> > certain issues. He certainly knows what my view of the history is.
> >
> > If anyone else would like to know, I am happy to share it with them
> > off-list.
> >
>
>
> I don't know your view of history and what you think the history is. So
> please share them in PUBLIC on this thread NOT off-list, if you think
> that's reason you think your contribution is in impasse.
>
> Otherwise I'll never know what you're thinking and I'll not improve. More
> importantly, it's easy to make people misunderstand you that you're just
> trying to make a negative noises.
>
> So, do you mind share your view of history in this thread?
>
> Thanks,
> moon
>
>
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 7:45:11 AM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > Thanks Roman and Eran for the feedback.
> >
> > *A. About contribution impasse in general*
> >
> > I think i summarized why it happens and how it can be improved. ie.
> >
> > 1. Large code base change
> > 2. Communication lost
> > 3. Opinion diverges
> >
> > And my solution was
> >
> > Guide to ping other committer when a committer is not responding, divide
> > contribution into small peaces if possible. And committer pay more
> > attention to the contribution.
> >
> > I'd like to hear and learn any more idea to improve.
> >
> >
> > *B. About contribution impasses in R interpreter for Zeppelin*
> >
> > Although I'was the first one who reviewed and commented this contribution
> > among the committer, I feel contributor (Amos) is unhappy about the
> review.
> >
> > I want to analyze the reasons and improve this, too.
> >
> > Here's reason i guess
> >
> > 1. Late responding (first review has been made after 3 months)
> > 2. Lack of help on CI fail (Amos keep complained about CI fail)
> >
> > I think both 1 and 2 can be improved by the solution i suggested in
> section
> > A.
> >
> > Amos, if you think there're more reasons, please feel free to say and let
> > me improve. What is the history you're mentioning?
> >
> > Best,
> > moon
> >
> >
> > On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org>
> wrote:
> >
> > > Just pushing discussion back on the list
> > >
> > > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com>
> wrote:
> > >
> > > > Alex — if you genuinely do not know the history of this, then I will
> > fill
> > > > you in.
> > > >
> > > > lmk…
> > > >
> > > >
> > > > --
> > > > Amos Elberg
> > > > Sent with Airmail
> > > >
> > > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > Date: December 1, 2015 at 6:14:20 AM
> > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > >
> > > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > > > <am...@gmail.com> <am...@gmail.com>
> > > >
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > > > pull request: R Interpreter for Zeppelin
> > > >
> > > > @Amos, we had plenty of cases of CI failing and always the
> > pre-condition
> > > > for a merge was a green CI. Sometimes that requires time, polite
> > > > collaboration, extra mile in direct asking for help from more
> > experienced
> > > > members and fixes in different places, which indeed might take time,
> as
> > > > everyone is busy.
> > > >
> > > >
> > >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
On Thu, Dec 3, 2015 at 12:05 PM Amos B. Elberg <am...@gmail.com>
wrote:
> Moon,
>
> I still suggest, one of the best way you can find that person is, file an
> issue about the CI problem that you found on Zeppelin Core.
>
> All of the relevant people are already informed.
>
> I continue to be ready to work cooperatively with anyone who would like to
> help me resolve the issues.
>
> I did clearly pointed what rule could be violated and provided a link and
> tried the best at explanation.
>
> Maybe this is a language issue, but I have no idea what your concern about
> a license is.
>
> You did cite to two web pages. Neither of them said anything that would
> explain your position. In fact, they confirmed what I had been saying all
> along.
>
> So i'm going to continue the discussion in the other thread about the
> license and will move the discussion to legal-discuss@.
>
> You’re welcome to do that, of course. I don’t know that I will
> participate.
>
> What i'm not really fine is, having not enough discussion and concern
> about
> license. That's sign of unhealthy community.
>
> As Konstantine has pointed out: The ASF has existed for 16 years. This
> cannot be the first time that this issue arose. The ASF has a “legal faq”
> and other public documents that discuss various licensing issues.
>
> In addition, a primary responsibility of the PMCC — perhaps the most
> important responsibility — is making sure the project conforms to ASF
> licensing policy.
>
> In terms of community health, my concern is that there is a great deal of
> confusion about these licensing issues, and people are not able to find a
> definitive answer simply by checking the ASF documents (or even attempting
> to do so).
>
> (Hint: I reviewed the ASF materials in great detail in preparing the PR.)
>
> I still don't know which part of the email are you referring. … What are
> you referring "the history"?
>
>
> You know *exactly* what I’m talking about.
>
>
Amos,
This mailing list is subscribed by hundreds of people. Let's not trying to
make meaningless posts.
I told you i *exactly* don't know what you're talking about "the history".
So why don't you pin point what *exactly* you talking about, in public?
Is there any reason that you can't tell here?
If you can't tell anything, Is it okay to me assume that you just wanted
make negative noise in the community with unidentified words?
Please just share your thinking and let me hear and improve from it.
Thanks,
moon
> From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org
> <de...@zeppelin.incubator.apache.org> <de...@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 9:19:50 PM
>
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull request: R Interpreter for Zeppelin
>
> On Thu, Dec 3, 2015 at 7:34 AM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Moon, thank you for your reply.
> >
> > Of course, I can claim CI, license, etc and any other issue. Especially
> > when CI is not passing, I can not sure about the license. To me, these
> > claims are sign of 'healthy community' not sign of 'does not make
> sense'.
> >
> > You're not meaning, your contribution always need to be accepted without
> > any claim. right?
> > I believe the constructive way to move forward, would be for someone who
> > well-understands the CI & build structure, to begin working with me to
> > resolve the CI/build integration issues.
> >
> > I continue to be ready to work with that person.
> >
>
>
> I still suggest, one of the best way you can find that person is, file an
> issue about the CI problem that you found on Zeppelin Core.
> That'll reduce the scope of the problem and that'll help people quickly
> getting into without understanding your contribution entirely.
>
>
>
> >
> > Regarding licensing, I took extensive research steps before submitting
> the
> > PR to make sure there was not a licensing problem.
> >
> > In fact, many things in the structure of the code were chosen
> specifically
> > to avoid any licensing problem. I even negotiated with the authors of
> some
> > libraries to switch to Apache-compatible licenses, and did some work on
> > their projects in exchange.
> >
> > Considering all of that — If anyone thinks there is a licensing issue,
> if
> > they want to be constructive, the *least* they can do is say clearly
> > exactly what rule is being violated, how it is being violated, and
> provide
> > a link or citation or *something* that shows the opinion is more than
> > hand-waving.
> >
> > I am ready to engage with anyone who does that.
> >
>
> There is separate thread for the license. So i'll leave minimal comment
> here.
>
> I did clearly pointed what rule could be violated and provided a link and
> tried the best at explanation. You don't agree on my concern does not mean
> it's okay to pass. Just like i don't agree on your opinion does not mean
> it's confirmation of license problem.
>
> Of course my concern could be wrong, that's totally fine to me. I don't
> have any problem on that. I'm not a legal expert.
>
> What i'm not really fine is, having not enough discussion and concern
> about
> license. That's sign of unhealthy community.
>
> So i'm going to continue the discussion in the other thread about the
> license and will move the discussion to legal-discuss@.
>
>
>
> >
> > I don't know your view of history and what you think the history is.
> > Yeah you do.
> >
> > We had an exchange about it a week before this thread began.
> >
> > Some of it even spilled-over into the PR comments after I saw the video.
> >
> >
>
> I still don't know which part of the email are you referring. The
> suggestion i made about your code? about the review? about the conference?
> about the meetup? What are you referring "the history"?
>
> Please say in public. What is the history and show how they're related to
> this thread topic. Otherwise I'll assume you just want to make a negative
> noise in the community.
>
> Thanks,
> moon
>
>
>
> > So please share them in PUBLIC on this thread NOT off-list, if you think
> > that's reason you think your contribution is in impasse.
> >
> > I am going to follow Konstantin’s lead reading this issue, and try to
> give
> > you the benefit of the doubt.
> >
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 5:06:52 PM
> > To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull
> > request: R Interpreter for Zeppelin
> >
> > Thanks Amos for replying.
> >
> > On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com>
> > wrote:
> >
> > > Moon — I think there is a misunderstanding about the topic of the
> > > discussion.
> > >
> > > The PR has its own userbase. It has been and is being presented at
> user
> > > groups. Its been blogged and tweeted about (none of that came from
> me!)
> > > The features are the subject of two jiras and on the Zeppelin roadmap.
> > > So, the discussion isn't about whether the PR is “good."
> > >
> > > But no-one responded to the PR until users began to tweet publicly
> > @nflabs
> > > asking why the PR had not been adopted, and e-mailing you directly.
> This
> > > looks really bad, especially when the project is considering applying
> to
> > > leave incubation.
> > >
> > >
> >
> > Thanks for pinging me. Otherwise i couldn't able to know that you're
> still
> > working on it and ready to review. I think it's good practice that
> pinging
> > committer for review when there is no sign of response. Except for ping
> > message has been made on twitter and private email instead of public
> > mailing list / jira / github issue comment.
> >
> >
> >
> >
> > > The question here is what, if anything, prevents us from letting
> bygones
> > > be bygones and moving forward with this now?
> > >
> > > Claims about CI issues, or licenses, or the PR shouldn’t have been
> > rebased
> > > (!?!) — well, they don’t really make sense.
> > >
> > >
> > Although i didn't review your contribution from day 1,
> > I'm reviewing your contribution, discussing about license, discussing
> about
> > improvement of impasse, all they're part of moving forward. I am moving
> > forward.
> >
> > Of course, I can claim CI, license, etc and any other issue. Especially
> > when CI is not passing, I can not sure about the license. To me, these
> > claims are sign of 'healthy community' not sign of 'does not make
> sense'.
> >
> > You're not meaning, your contribution always need to be accepted without
> > any claim. right?
> >
> >
> >
> > > I keep offering to begin coordinating to integrate the PR with
> Zeppelin’s
> > > CI and build system.
> > >
> > > But the answer (except from Roman) is still “nah, let us know if you
> > > figure it out.”
> > >
> > >
> > >
> > Actually, my answer was, "If you think CI is failing not because of your
> > change but because of Zeppelin core problem, then file an jira issue
> about
> > it. Everyone will look into".
> >
> >
> >
> > >
> > >
> > > Regarding the history:
> > >
> > > Konstantin wisely started this thread by saying let’s keep the history
> > out
> > > of the discussion. I am respecting that.
> > >
> > > If the PR becomes part of Zeppelin, its going to need to be
> maintained,
> > > which means that we are going to need to be able to work together.
> > >
> > > I have been persuaded to give Moon the benefit of the doubt regarding
> > > certain issues. He certainly knows what my view of the history is.
> > >
> > > If anyone else would like to know, I am happy to share it with them
> > > off-list.
> > >
> >
> >
> > I don't know your view of history and what you think the history is. So
> > please share them in PUBLIC on this thread NOT off-list, if you think
> > that's reason you think your contribution is in impasse.
> >
> > Otherwise I'll never know what you're thinking and I'll not improve.
> More
> > importantly, it's easy to make people misunderstand you that you're just
> > trying to make a negative noises.
> >
> > So, do you mind share your view of history in this thread?
> >
> > Thanks,
> > moon
> >
> >
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > Date: December 2, 2015 at 7:45:11 AM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull
> > > request: R Interpreter for Zeppelin
> > >
> > > Thanks Roman and Eran for the feedback.
> > >
> > > *A. About contribution impasse in general*
> > >
> > > I think i summarized why it happens and how it can be improved. ie.
> > >
> > > 1. Large code base change
> > > 2. Communication lost
> > > 3. Opinion diverges
> > >
> > > And my solution was
> > >
> > > Guide to ping other committer when a committer is not responding,
> divide
> > > contribution into small peaces if possible. And committer pay more
> > > attention to the contribution.
> > >
> > > I'd like to hear and learn any more idea to improve.
> > >
> > >
> > > *B. About contribution impasses in R interpreter for Zeppelin*
> > >
> > > Although I'was the first one who reviewed and commented this
> contribution
> > > among the committer, I feel contributor (Amos) is unhappy about the
> > review.
> > >
> > > I want to analyze the reasons and improve this, too.
> > >
> > > Here's reason i guess
> > >
> > > 1. Late responding (first review has been made after 3 months)
> > > 2. Lack of help on CI fail (Amos keep complained about CI fail)
> > >
> > > I think both 1 and 2 can be improved by the solution i suggested in
> > section
> > > A.
> > >
> > > Amos, if you think there're more reasons, please feel free to say and
> let
> > > me improve. What is the history you're mentioning?
> > >
> > > Best,
> > > moon
> > >
> > >
> > > On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org>
> > wrote:
> > >
> > > > Just pushing discussion back on the list
> > > >
> > > > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com>
> > wrote:
> > > >
> > > > > Alex — if you genuinely do not know the history of this, then I
> will
> > > fill
> > > > > you in.
> > > > >
> > > > > lmk…
> > > > >
> > > > >
> > > > > --
> > > > > Amos Elberg
> > > > > Sent with Airmail
> > > > >
> > > > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > > Date: December 1, 2015 at 6:14:20 AM
> > > > > To: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org
> > > > >
> > > > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > > > > <am...@gmail.com> <am...@gmail.com>
> > > > >
> > > > > Subject: Re: contributions impasse. Was: [GitHub]
> incubator-zeppelin
> > > > > pull request: R Interpreter for Zeppelin
> > > > >
> > > > > @Amos, we had plenty of cases of CI failing and always the
> > > pre-condition
> > > > > for a merge was a green CI. Sometimes that requires time, polite
> > > > > collaboration, extra mile in direct asking for help from more
> > > experienced
> > > > > members and fixes in different places, which indeed might take
> time,
> > as
> > > > > everyone is busy.
> > > > >
> > > > >
> > > >
> > >
> >
>
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Moon,
I still suggest, one of the best way you can find that person is, file an
issue about the CI problem that you found on Zeppelin Core.
All of the relevant people are already informed.
I continue to be ready to work cooperatively with anyone who would like to help me resolve the issues.
I did clearly pointed what rule could be violated and provided a link and
tried the best at explanation.
Maybe this is a language issue, but I have no idea what your concern about a license is.
You did cite to two web pages. Neither of them said anything that would explain your position. In fact, they confirmed what I had been saying all along.
So i'm going to continue the discussion in the other thread about the
license and will move the discussion to legal-discuss@.
You’re welcome to do that, of course. I don’t know that I will participate.
What i'm not really fine is, having not enough discussion and concern about
license. That's sign of unhealthy community.
As Konstantine has pointed out: The ASF has existed for 16 years. This cannot be the first time that this issue arose. The ASF has a “legal faq” and other public documents that discuss various licensing issues.
In addition, a primary responsibility of the PMCC — perhaps the most important responsibility — is making sure the project conforms to ASF licensing policy.
In terms of community health, my concern is that there is a great deal of confusion about these licensing issues, and people are not able to find a definitive answer simply by checking the ASF documents (or even attempting to do so).
(Hint: I reviewed the ASF materials in great detail in preparing the PR.)
I still don't know which part of the email are you referring. … What are you referring "the history"?
You know *exactly* what I’m talking about.
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 2, 2015 at 9:19:50 PM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Thu, Dec 3, 2015 at 7:34 AM Amos B. Elberg <am...@gmail.com> wrote:
> Moon, thank you for your reply.
>
> Of course, I can claim CI, license, etc and any other issue. Especially
> when CI is not passing, I can not sure about the license. To me, these
> claims are sign of 'healthy community' not sign of 'does not make sense'.
>
> You're not meaning, your contribution always need to be accepted without
> any claim. right?
> I believe the constructive way to move forward, would be for someone who
> well-understands the CI & build structure, to begin working with me to
> resolve the CI/build integration issues.
>
> I continue to be ready to work with that person.
>
I still suggest, one of the best way you can find that person is, file an
issue about the CI problem that you found on Zeppelin Core.
That'll reduce the scope of the problem and that'll help people quickly
getting into without understanding your contribution entirely.
>
> Regarding licensing, I took extensive research steps before submitting the
> PR to make sure there was not a licensing problem.
>
> In fact, many things in the structure of the code were chosen specifically
> to avoid any licensing problem. I even negotiated with the authors of some
> libraries to switch to Apache-compatible licenses, and did some work on
> their projects in exchange.
>
> Considering all of that — If anyone thinks there is a licensing issue, if
> they want to be constructive, the *least* they can do is say clearly
> exactly what rule is being violated, how it is being violated, and provide
> a link or citation or *something* that shows the opinion is more than
> hand-waving.
>
> I am ready to engage with anyone who does that.
>
There is separate thread for the license. So i'll leave minimal comment
here.
I did clearly pointed what rule could be violated and provided a link and
tried the best at explanation. You don't agree on my concern does not mean
it's okay to pass. Just like i don't agree on your opinion does not mean
it's confirmation of license problem.
Of course my concern could be wrong, that's totally fine to me. I don't
have any problem on that. I'm not a legal expert.
What i'm not really fine is, having not enough discussion and concern about
license. That's sign of unhealthy community.
So i'm going to continue the discussion in the other thread about the
license and will move the discussion to legal-discuss@.
>
> I don't know your view of history and what you think the history is.
> Yeah you do.
>
> We had an exchange about it a week before this thread began.
>
> Some of it even spilled-over into the PR comments after I saw the video.
>
>
I still don't know which part of the email are you referring. The
suggestion i made about your code? about the review? about the conference?
about the meetup? What are you referring "the history"?
Please say in public. What is the history and show how they're related to
this thread topic. Otherwise I'll assume you just want to make a negative
noise in the community.
Thanks,
moon
> So please share them in PUBLIC on this thread NOT off-list, if you think
> that's reason you think your contribution is in impasse.
>
> I am going to follow Konstantin’s lead reading this issue, and try to give
> you the benefit of the doubt.
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 5:06:52 PM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Thanks Amos for replying.
>
> On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Moon — I think there is a misunderstanding about the topic of the
> > discussion.
> >
> > The PR has its own userbase. It has been and is being presented at user
> > groups. Its been blogged and tweeted about (none of that came from me!)
> > The features are the subject of two jiras and on the Zeppelin roadmap.
> > So, the discussion isn't about whether the PR is “good."
> >
> > But no-one responded to the PR until users began to tweet publicly
> @nflabs
> > asking why the PR had not been adopted, and e-mailing you directly. This
> > looks really bad, especially when the project is considering applying to
> > leave incubation.
> >
> >
>
> Thanks for pinging me. Otherwise i couldn't able to know that you're still
> working on it and ready to review. I think it's good practice that pinging
> committer for review when there is no sign of response. Except for ping
> message has been made on twitter and private email instead of public
> mailing list / jira / github issue comment.
>
>
>
>
> > The question here is what, if anything, prevents us from letting bygones
> > be bygones and moving forward with this now?
> >
> > Claims about CI issues, or licenses, or the PR shouldn’t have been
> rebased
> > (!?!) — well, they don’t really make sense.
> >
> >
> Although i didn't review your contribution from day 1,
> I'm reviewing your contribution, discussing about license, discussing about
> improvement of impasse, all they're part of moving forward. I am moving
> forward.
>
> Of course, I can claim CI, license, etc and any other issue. Especially
> when CI is not passing, I can not sure about the license. To me, these
> claims are sign of 'healthy community' not sign of 'does not make sense'.
>
> You're not meaning, your contribution always need to be accepted without
> any claim. right?
>
>
>
> > I keep offering to begin coordinating to integrate the PR with Zeppelin’s
> > CI and build system.
> >
> > But the answer (except from Roman) is still “nah, let us know if you
> > figure it out.”
> >
> >
> >
> Actually, my answer was, "If you think CI is failing not because of your
> change but because of Zeppelin core problem, then file an jira issue about
> it. Everyone will look into".
>
>
>
> >
> >
> > Regarding the history:
> >
> > Konstantin wisely started this thread by saying let’s keep the history
> out
> > of the discussion. I am respecting that.
> >
> > If the PR becomes part of Zeppelin, its going to need to be maintained,
> > which means that we are going to need to be able to work together.
> >
> > I have been persuaded to give Moon the benefit of the doubt regarding
> > certain issues. He certainly knows what my view of the history is.
> >
> > If anyone else would like to know, I am happy to share it with them
> > off-list.
> >
>
>
> I don't know your view of history and what you think the history is. So
> please share them in PUBLIC on this thread NOT off-list, if you think
> that's reason you think your contribution is in impasse.
>
> Otherwise I'll never know what you're thinking and I'll not improve. More
> importantly, it's easy to make people misunderstand you that you're just
> trying to make a negative noises.
>
> So, do you mind share your view of history in this thread?
>
> Thanks,
> moon
>
>
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 7:45:11 AM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > Thanks Roman and Eran for the feedback.
> >
> > *A. About contribution impasse in general*
> >
> > I think i summarized why it happens and how it can be improved. ie.
> >
> > 1. Large code base change
> > 2. Communication lost
> > 3. Opinion diverges
> >
> > And my solution was
> >
> > Guide to ping other committer when a committer is not responding, divide
> > contribution into small peaces if possible. And committer pay more
> > attention to the contribution.
> >
> > I'd like to hear and learn any more idea to improve.
> >
> >
> > *B. About contribution impasses in R interpreter for Zeppelin*
> >
> > Although I'was the first one who reviewed and commented this contribution
> > among the committer, I feel contributor (Amos) is unhappy about the
> review.
> >
> > I want to analyze the reasons and improve this, too.
> >
> > Here's reason i guess
> >
> > 1. Late responding (first review has been made after 3 months)
> > 2. Lack of help on CI fail (Amos keep complained about CI fail)
> >
> > I think both 1 and 2 can be improved by the solution i suggested in
> section
> > A.
> >
> > Amos, if you think there're more reasons, please feel free to say and let
> > me improve. What is the history you're mentioning?
> >
> > Best,
> > moon
> >
> >
> > On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org>
> wrote:
> >
> > > Just pushing discussion back on the list
> > >
> > > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com>
> wrote:
> > >
> > > > Alex — if you genuinely do not know the history of this, then I will
> > fill
> > > > you in.
> > > >
> > > > lmk…
> > > >
> > > >
> > > > --
> > > > Amos Elberg
> > > > Sent with Airmail
> > > >
> > > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > Date: December 1, 2015 at 6:14:20 AM
> > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > >
> > > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > > > <am...@gmail.com> <am...@gmail.com>
> > > >
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > > > pull request: R Interpreter for Zeppelin
> > > >
> > > > @Amos, we had plenty of cases of CI failing and always the
> > pre-condition
> > > > for a merge was a green CI. Sometimes that requires time, polite
> > > > collaboration, extra mile in direct asking for help from more
> > experienced
> > > > members and fixes in different places, which indeed might take time,
> as
> > > > everyone is busy.
> > > >
> > > >
> > >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
On Thu, Dec 3, 2015 at 7:34 AM Amos B. Elberg <am...@gmail.com> wrote:
> Moon, thank you for your reply.
>
> Of course, I can claim CI, license, etc and any other issue. Especially
> when CI is not passing, I can not sure about the license. To me, these
> claims are sign of 'healthy community' not sign of 'does not make sense'.
>
> You're not meaning, your contribution always need to be accepted without
> any claim. right?
> I believe the constructive way to move forward, would be for someone who
> well-understands the CI & build structure, to begin working with me to
> resolve the CI/build integration issues.
>
> I continue to be ready to work with that person.
>
I still suggest, one of the best way you can find that person is, file an
issue about the CI problem that you found on Zeppelin Core.
That'll reduce the scope of the problem and that'll help people quickly
getting into without understanding your contribution entirely.
>
> Regarding licensing, I took extensive research steps before submitting the
> PR to make sure there was not a licensing problem.
>
> In fact, many things in the structure of the code were chosen specifically
> to avoid any licensing problem. I even negotiated with the authors of some
> libraries to switch to Apache-compatible licenses, and did some work on
> their projects in exchange.
>
> Considering all of that — If anyone thinks there is a licensing issue, if
> they want to be constructive, the *least* they can do is say clearly
> exactly what rule is being violated, how it is being violated, and provide
> a link or citation or *something* that shows the opinion is more than
> hand-waving.
>
> I am ready to engage with anyone who does that.
>
There is separate thread for the license. So i'll leave minimal comment
here.
I did clearly pointed what rule could be violated and provided a link and
tried the best at explanation. You don't agree on my concern does not mean
it's okay to pass. Just like i don't agree on your opinion does not mean
it's confirmation of license problem.
Of course my concern could be wrong, that's totally fine to me. I don't
have any problem on that. I'm not a legal expert.
What i'm not really fine is, having not enough discussion and concern about
license. That's sign of unhealthy community.
So i'm going to continue the discussion in the other thread about the
license and will move the discussion to legal-discuss@.
>
> I don't know your view of history and what you think the history is.
> Yeah you do.
>
> We had an exchange about it a week before this thread began.
>
> Some of it even spilled-over into the PR comments after I saw the video.
>
>
I still don't know which part of the email are you referring. The
suggestion i made about your code? about the review? about the conference?
about the meetup? What are you referring "the history"?
Please say in public. What is the history and show how they're related to
this thread topic. Otherwise I'll assume you just want to make a negative
noise in the community.
Thanks,
moon
> So please share them in PUBLIC on this thread NOT off-list, if you think
> that's reason you think your contribution is in impasse.
>
> I am going to follow Konstantin’s lead reading this issue, and try to give
> you the benefit of the doubt.
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 5:06:52 PM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Thanks Amos for replying.
>
> On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Moon — I think there is a misunderstanding about the topic of the
> > discussion.
> >
> > The PR has its own userbase. It has been and is being presented at user
> > groups. Its been blogged and tweeted about (none of that came from me!)
> > The features are the subject of two jiras and on the Zeppelin roadmap.
> > So, the discussion isn't about whether the PR is “good."
> >
> > But no-one responded to the PR until users began to tweet publicly
> @nflabs
> > asking why the PR had not been adopted, and e-mailing you directly. This
> > looks really bad, especially when the project is considering applying to
> > leave incubation.
> >
> >
>
> Thanks for pinging me. Otherwise i couldn't able to know that you're still
> working on it and ready to review. I think it's good practice that pinging
> committer for review when there is no sign of response. Except for ping
> message has been made on twitter and private email instead of public
> mailing list / jira / github issue comment.
>
>
>
>
> > The question here is what, if anything, prevents us from letting bygones
> > be bygones and moving forward with this now?
> >
> > Claims about CI issues, or licenses, or the PR shouldn’t have been
> rebased
> > (!?!) — well, they don’t really make sense.
> >
> >
> Although i didn't review your contribution from day 1,
> I'm reviewing your contribution, discussing about license, discussing about
> improvement of impasse, all they're part of moving forward. I am moving
> forward.
>
> Of course, I can claim CI, license, etc and any other issue. Especially
> when CI is not passing, I can not sure about the license. To me, these
> claims are sign of 'healthy community' not sign of 'does not make sense'.
>
> You're not meaning, your contribution always need to be accepted without
> any claim. right?
>
>
>
> > I keep offering to begin coordinating to integrate the PR with Zeppelin’s
> > CI and build system.
> >
> > But the answer (except from Roman) is still “nah, let us know if you
> > figure it out.”
> >
> >
> >
> Actually, my answer was, "If you think CI is failing not because of your
> change but because of Zeppelin core problem, then file an jira issue about
> it. Everyone will look into".
>
>
>
> >
> >
> > Regarding the history:
> >
> > Konstantin wisely started this thread by saying let’s keep the history
> out
> > of the discussion. I am respecting that.
> >
> > If the PR becomes part of Zeppelin, its going to need to be maintained,
> > which means that we are going to need to be able to work together.
> >
> > I have been persuaded to give Moon the benefit of the doubt regarding
> > certain issues. He certainly knows what my view of the history is.
> >
> > If anyone else would like to know, I am happy to share it with them
> > off-list.
> >
>
>
> I don't know your view of history and what you think the history is. So
> please share them in PUBLIC on this thread NOT off-list, if you think
> that's reason you think your contribution is in impasse.
>
> Otherwise I'll never know what you're thinking and I'll not improve. More
> importantly, it's easy to make people misunderstand you that you're just
> trying to make a negative noises.
>
> So, do you mind share your view of history in this thread?
>
> Thanks,
> moon
>
>
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 7:45:11 AM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > Thanks Roman and Eran for the feedback.
> >
> > *A. About contribution impasse in general*
> >
> > I think i summarized why it happens and how it can be improved. ie.
> >
> > 1. Large code base change
> > 2. Communication lost
> > 3. Opinion diverges
> >
> > And my solution was
> >
> > Guide to ping other committer when a committer is not responding, divide
> > contribution into small peaces if possible. And committer pay more
> > attention to the contribution.
> >
> > I'd like to hear and learn any more idea to improve.
> >
> >
> > *B. About contribution impasses in R interpreter for Zeppelin*
> >
> > Although I'was the first one who reviewed and commented this contribution
> > among the committer, I feel contributor (Amos) is unhappy about the
> review.
> >
> > I want to analyze the reasons and improve this, too.
> >
> > Here's reason i guess
> >
> > 1. Late responding (first review has been made after 3 months)
> > 2. Lack of help on CI fail (Amos keep complained about CI fail)
> >
> > I think both 1 and 2 can be improved by the solution i suggested in
> section
> > A.
> >
> > Amos, if you think there're more reasons, please feel free to say and let
> > me improve. What is the history you're mentioning?
> >
> > Best,
> > moon
> >
> >
> > On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org>
> wrote:
> >
> > > Just pushing discussion back on the list
> > >
> > > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com>
> wrote:
> > >
> > > > Alex — if you genuinely do not know the history of this, then I will
> > fill
> > > > you in.
> > > >
> > > > lmk…
> > > >
> > > >
> > > > --
> > > > Amos Elberg
> > > > Sent with Airmail
> > > >
> > > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > > Date: December 1, 2015 at 6:14:20 AM
> > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > >
> > > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > > > <am...@gmail.com> <am...@gmail.com>
> > > >
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > > > pull request: R Interpreter for Zeppelin
> > > >
> > > > @Amos, we had plenty of cases of CI failing and always the
> > pre-condition
> > > > for a merge was a green CI. Sometimes that requires time, polite
> > > > collaboration, extra mile in direct asking for help from more
> > experienced
> > > > members and fixes in different places, which indeed might take time,
> as
> > > > everyone is busy.
> > > >
> > > >
> > >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Moon, thank you for your reply.
Of course, I can claim CI, license, etc and any other issue. Especially
when CI is not passing, I can not sure about the license. To me, these
claims are sign of 'healthy community' not sign of 'does not make sense'.
You're not meaning, your contribution always need to be accepted without
any claim. right?
I believe the constructive way to move forward, would be for someone who well-understands the CI & build structure, to begin working with me to resolve the CI/build integration issues.
I continue to be ready to work with that person.
Regarding licensing, I took extensive research steps before submitting the PR to make sure there was not a licensing problem.
In fact, many things in the structure of the code were chosen specifically to avoid any licensing problem. I even negotiated with the authors of some libraries to switch to Apache-compatible licenses, and did some work on their projects in exchange.
Considering all of that — If anyone thinks there is a licensing issue, if they want to be constructive, the *least* they can do is say clearly exactly what rule is being violated, how it is being violated, and provide a link or citation or *something* that shows the opinion is more than hand-waving.
I am ready to engage with anyone who does that.
I don't know your view of history and what you think the history is.
Yeah you do.
We had an exchange about it a week before this thread began.
Some of it even spilled-over into the PR comments after I saw the video.
So please share them in PUBLIC on this thread NOT off-list, if you think
that's reason you think your contribution is in impasse.
I am going to follow Konstantin’s lead reading this issue, and try to give you the benefit of the doubt.
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 2, 2015 at 5:06:52 PM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Thanks Amos for replying.
On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com> wrote:
> Moon — I think there is a misunderstanding about the topic of the
> discussion.
>
> The PR has its own userbase. It has been and is being presented at user
> groups. Its been blogged and tweeted about (none of that came from me!)
> The features are the subject of two jiras and on the Zeppelin roadmap.
> So, the discussion isn't about whether the PR is “good."
>
> But no-one responded to the PR until users began to tweet publicly @nflabs
> asking why the PR had not been adopted, and e-mailing you directly. This
> looks really bad, especially when the project is considering applying to
> leave incubation.
>
>
Thanks for pinging me. Otherwise i couldn't able to know that you're still
working on it and ready to review. I think it's good practice that pinging
committer for review when there is no sign of response. Except for ping
message has been made on twitter and private email instead of public
mailing list / jira / github issue comment.
> The question here is what, if anything, prevents us from letting bygones
> be bygones and moving forward with this now?
>
> Claims about CI issues, or licenses, or the PR shouldn’t have been rebased
> (!?!) — well, they don’t really make sense.
>
>
Although i didn't review your contribution from day 1,
I'm reviewing your contribution, discussing about license, discussing about
improvement of impasse, all they're part of moving forward. I am moving
forward.
Of course, I can claim CI, license, etc and any other issue. Especially
when CI is not passing, I can not sure about the license. To me, these
claims are sign of 'healthy community' not sign of 'does not make sense'.
You're not meaning, your contribution always need to be accepted without
any claim. right?
> I keep offering to begin coordinating to integrate the PR with Zeppelin’s
> CI and build system.
>
> But the answer (except from Roman) is still “nah, let us know if you
> figure it out.”
>
>
>
Actually, my answer was, "If you think CI is failing not because of your
change but because of Zeppelin core problem, then file an jira issue about
it. Everyone will look into".
>
>
> Regarding the history:
>
> Konstantin wisely started this thread by saying let’s keep the history out
> of the discussion. I am respecting that.
>
> If the PR becomes part of Zeppelin, its going to need to be maintained,
> which means that we are going to need to be able to work together.
>
> I have been persuaded to give Moon the benefit of the doubt regarding
> certain issues. He certainly knows what my view of the history is.
>
> If anyone else would like to know, I am happy to share it with them
> off-list.
>
I don't know your view of history and what you think the history is. So
please share them in PUBLIC on this thread NOT off-list, if you think
that's reason you think your contribution is in impasse.
Otherwise I'll never know what you're thinking and I'll not improve. More
importantly, it's easy to make people misunderstand you that you're just
trying to make a negative noises.
So, do you mind share your view of history in this thread?
Thanks,
moon
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 7:45:11 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Thanks Roman and Eran for the feedback.
>
> *A. About contribution impasse in general*
>
> I think i summarized why it happens and how it can be improved. ie.
>
> 1. Large code base change
> 2. Communication lost
> 3. Opinion diverges
>
> And my solution was
>
> Guide to ping other committer when a committer is not responding, divide
> contribution into small peaces if possible. And committer pay more
> attention to the contribution.
>
> I'd like to hear and learn any more idea to improve.
>
>
> *B. About contribution impasses in R interpreter for Zeppelin*
>
> Although I'was the first one who reviewed and commented this contribution
> among the committer, I feel contributor (Amos) is unhappy about the review.
>
> I want to analyze the reasons and improve this, too.
>
> Here's reason i guess
>
> 1. Late responding (first review has been made after 3 months)
> 2. Lack of help on CI fail (Amos keep complained about CI fail)
>
> I think both 1 and 2 can be improved by the solution i suggested in section
> A.
>
> Amos, if you think there're more reasons, please feel free to say and let
> me improve. What is the history you're mentioning?
>
> Best,
> moon
>
>
> On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org> wrote:
>
> > Just pushing discussion back on the list
> >
> > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com> wrote:
> >
> > > Alex — if you genuinely do not know the history of this, then I will
> fill
> > > you in.
> > >
> > > lmk…
> > >
> > >
> > > --
> > > Amos Elberg
> > > Sent with Airmail
> > >
> > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > Date: December 1, 2015 at 6:14:20 AM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > > <am...@gmail.com> <am...@gmail.com>
> > >
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > > pull request: R Interpreter for Zeppelin
> > >
> > > @Amos, we had plenty of cases of CI failing and always the
> pre-condition
> > > for a merge was a green CI. Sometimes that requires time, polite
> > > collaboration, extra mile in direct asking for help from more
> experienced
> > > members and fixes in different places, which indeed might take time, as
> > > everyone is busy.
> > >
> > >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Thanks Amos for replying.
On Thu, Dec 3, 2015 at 3:17 AM Amos B. Elberg <am...@gmail.com> wrote:
> Moon — I think there is a misunderstanding about the topic of the
> discussion.
>
> The PR has its own userbase. It has been and is being presented at user
> groups. Its been blogged and tweeted about (none of that came from me!)
> The features are the subject of two jiras and on the Zeppelin roadmap.
> So, the discussion isn't about whether the PR is “good."
>
> But no-one responded to the PR until users began to tweet publicly @nflabs
> asking why the PR had not been adopted, and e-mailing you directly. This
> looks really bad, especially when the project is considering applying to
> leave incubation.
>
>
Thanks for pinging me. Otherwise i couldn't able to know that you're still
working on it and ready to review. I think it's good practice that pinging
committer for review when there is no sign of response. Except for ping
message has been made on twitter and private email instead of public
mailing list / jira / github issue comment.
> The question here is what, if anything, prevents us from letting bygones
> be bygones and moving forward with this now?
>
> Claims about CI issues, or licenses, or the PR shouldn’t have been rebased
> (!?!) — well, they don’t really make sense.
>
>
Although i didn't review your contribution from day 1,
I'm reviewing your contribution, discussing about license, discussing about
improvement of impasse, all they're part of moving forward. I am moving
forward.
Of course, I can claim CI, license, etc and any other issue. Especially
when CI is not passing, I can not sure about the license. To me, these
claims are sign of 'healthy community' not sign of 'does not make sense'.
You're not meaning, your contribution always need to be accepted without
any claim. right?
> I keep offering to begin coordinating to integrate the PR with Zeppelin’s
> CI and build system.
>
> But the answer (except from Roman) is still “nah, let us know if you
> figure it out.”
>
>
>
Actually, my answer was, "If you think CI is failing not because of your
change but because of Zeppelin core problem, then file an jira issue about
it. Everyone will look into".
>
>
> Regarding the history:
>
> Konstantin wisely started this thread by saying let’s keep the history out
> of the discussion. I am respecting that.
>
> If the PR becomes part of Zeppelin, its going to need to be maintained,
> which means that we are going to need to be able to work together.
>
> I have been persuaded to give Moon the benefit of the doubt regarding
> certain issues. He certainly knows what my view of the history is.
>
> If anyone else would like to know, I am happy to share it with them
> off-list.
>
I don't know your view of history and what you think the history is. So
please share them in PUBLIC on this thread NOT off-list, if you think
that's reason you think your contribution is in impasse.
Otherwise I'll never know what you're thinking and I'll not improve. More
importantly, it's easy to make people misunderstand you that you're just
trying to make a negative noises.
So, do you mind share your view of history in this thread?
Thanks,
moon
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 7:45:11 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Thanks Roman and Eran for the feedback.
>
> *A. About contribution impasse in general*
>
> I think i summarized why it happens and how it can be improved. ie.
>
> 1. Large code base change
> 2. Communication lost
> 3. Opinion diverges
>
> And my solution was
>
> Guide to ping other committer when a committer is not responding, divide
> contribution into small peaces if possible. And committer pay more
> attention to the contribution.
>
> I'd like to hear and learn any more idea to improve.
>
>
> *B. About contribution impasses in R interpreter for Zeppelin*
>
> Although I'was the first one who reviewed and commented this contribution
> among the committer, I feel contributor (Amos) is unhappy about the review.
>
> I want to analyze the reasons and improve this, too.
>
> Here's reason i guess
>
> 1. Late responding (first review has been made after 3 months)
> 2. Lack of help on CI fail (Amos keep complained about CI fail)
>
> I think both 1 and 2 can be improved by the solution i suggested in section
> A.
>
> Amos, if you think there're more reasons, please feel free to say and let
> me improve. What is the history you're mentioning?
>
> Best,
> moon
>
>
> On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org> wrote:
>
> > Just pushing discussion back on the list
> >
> > On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com> wrote:
> >
> > > Alex — if you genuinely do not know the history of this, then I will
> fill
> > > you in.
> > >
> > > lmk…
> > >
> > >
> > > --
> > > Amos Elberg
> > > Sent with Airmail
> > >
> > > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > > Date: December 1, 2015 at 6:14:20 AM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > > <am...@gmail.com> <am...@gmail.com>
> > >
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > > pull request: R Interpreter for Zeppelin
> > >
> > > @Amos, we had plenty of cases of CI failing and always the
> pre-condition
> > > for a merge was a green CI. Sometimes that requires time, polite
> > > collaboration, extra mile in direct asking for help from more
> experienced
> > > members and fixes in different places, which indeed might take time, as
> > > everyone is busy.
> > >
> > >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Moon — I think there is a misunderstanding about the topic of the discussion.
The PR has its own userbase. It has been and is being presented at user groups. Its been blogged and tweeted about (none of that came from me!) The features are the subject of two jiras and on the Zeppelin roadmap. So, the discussion isn't about whether the PR is “good."
But no-one responded to the PR until users began to tweet publicly @nflabs asking why the PR had not been adopted, and e-mailing you directly. This looks really bad, especially when the project is considering applying to leave incubation.
The question here is what, if anything, prevents us from letting bygones be bygones and moving forward with this now?
Claims about CI issues, or licenses, or the PR shouldn’t have been rebased (!?!) — well, they don’t really make sense.
I keep offering to begin coordinating to integrate the PR with Zeppelin’s CI and build system.
But the answer (except from Roman) is still “nah, let us know if you figure it out.”
Regarding the history:
Konstantin wisely started this thread by saying let’s keep the history out of the discussion. I am respecting that.
If the PR becomes part of Zeppelin, its going to need to be maintained, which means that we are going to need to be able to work together.
I have been persuaded to give Moon the benefit of the doubt regarding certain issues. He certainly knows what my view of the history is.
If anyone else would like to know, I am happy to share it with them off-list.
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 2, 2015 at 7:45:11 AM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Thanks Roman and Eran for the feedback.
*A. About contribution impasse in general*
I think i summarized why it happens and how it can be improved. ie.
1. Large code base change
2. Communication lost
3. Opinion diverges
And my solution was
Guide to ping other committer when a committer is not responding, divide
contribution into small peaces if possible. And committer pay more
attention to the contribution.
I'd like to hear and learn any more idea to improve.
*B. About contribution impasses in R interpreter for Zeppelin*
Although I'was the first one who reviewed and commented this contribution
among the committer, I feel contributor (Amos) is unhappy about the review.
I want to analyze the reasons and improve this, too.
Here's reason i guess
1. Late responding (first review has been made after 3 months)
2. Lack of help on CI fail (Amos keep complained about CI fail)
I think both 1 and 2 can be improved by the solution i suggested in section
A.
Amos, if you think there're more reasons, please feel free to say and let
me improve. What is the history you're mentioning?
Best,
moon
On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org> wrote:
> Just pushing discussion back on the list
>
> On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com> wrote:
>
> > Alex — if you genuinely do not know the history of this, then I will fill
> > you in.
> >
> > lmk…
> >
> >
> > --
> > Amos Elberg
> > Sent with Airmail
> >
> > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > Date: December 1, 2015 at 6:14:20 AM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > <am...@gmail.com> <am...@gmail.com>
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull request: R Interpreter for Zeppelin
> >
> > @Amos, we had plenty of cases of CI failing and always the pre-condition
> > for a merge was a green CI. Sometimes that requires time, polite
> > collaboration, extra mile in direct asking for help from more experienced
> > members and fixes in different places, which indeed might take time, as
> > everyone is busy.
> >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Thanks Roman and Eran for the feedback.
*A. About contribution impasse in general*
I think i summarized why it happens and how it can be improved. ie.
1. Large code base change
2. Communication lost
3. Opinion diverges
And my solution was
Guide to ping other committer when a committer is not responding, divide
contribution into small peaces if possible. And committer pay more
attention to the contribution.
I'd like to hear and learn any more idea to improve.
*B. About contribution impasses in R interpreter for Zeppelin*
Although I'was the first one who reviewed and commented this contribution
among the committer, I feel contributor (Amos) is unhappy about the review.
I want to analyze the reasons and improve this, too.
Here's reason i guess
1. Late responding (first review has been made after 3 months)
2. Lack of help on CI fail (Amos keep complained about CI fail)
I think both 1 and 2 can be improved by the solution i suggested in section
A.
Amos, if you think there're more reasons, please feel free to say and let
me improve. What is the history you're mentioning?
Best,
moon
On Wed, Dec 2, 2015 at 5:44 PM Alexander Bezzubov <bz...@apache.org> wrote:
> Just pushing discussion back on the list
>
> On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com> wrote:
>
> > Alex — if you genuinely do not know the history of this, then I will fill
> > you in.
> >
> > lmk…
> >
> >
> > --
> > Amos Elberg
> > Sent with Airmail
> >
> > From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> > Date: December 1, 2015 at 6:14:20 AM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> > <am...@gmail.com> <am...@gmail.com>
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull request: R Interpreter for Zeppelin
> >
> > @Amos, we had plenty of cases of CI failing and always the pre-condition
> > for a merge was a green CI. Sometimes that requires time, polite
> > collaboration, extra mile in direct asking for help from more experienced
> > members and fixes in different places, which indeed might take time, as
> > everyone is busy.
> >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Alexander Bezzubov <bz...@apache.org>.
Just pushing discussion back on the list
On Wed, Dec 2, 2015, 01:14 Amos B. Elberg <am...@gmail.com> wrote:
> Alex — if you genuinely do not know the history of this, then I will fill
> you in.
>
> lmk…
>
>
> --
> Amos Elberg
> Sent with Airmail
>
> From: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> Reply: Alexander Bezzubov <bz...@apache.org> <bz...@apache.org>
> Date: December 1, 2015 at 6:14:20 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> <de...@zeppelin.incubator.apache.org>, Amos B. Elberg
> <am...@gmail.com> <am...@gmail.com>
>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull request: R Interpreter for Zeppelin
>
> @Amos, we had plenty of cases of CI failing and always the pre-condition
> for a merge was a green CI. Sometimes that requires time, polite
> collaboration, extra mile in direct asking for help from more experienced
> members and fixes in different places, which indeed might take time, as
> everyone is busy.
>
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Alexander Bezzubov <bz...@apache.org>.
>From what I see - there is nothing special from _technical_ standpoint with
this contribution - there was an effort put in helping and reviewing it by
multiple project members.
There are other contributions, that Moon has carefully linked, that also
take time to get merged and there is ongoing effort in improving that.
Failing CI and lack of confidence in licensing sounds like very valid
reasons for current state.
@Amos, we had plenty of cases of CI failing and always the pre-condition
for a merge was a green CI. Sometimes that requires time, polite
collaboration, extra mile in direct asking for help from more experienced
members and fixes in different places, which indeed might take time, as
everyone is busy.
@Moon thank you very much for clarifying the issue and the feedback!
On Tue, Dec 1, 2015, 18:42 moon soo Lee <mo...@apache.org> wrote:
> On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Thank you, Cos.
> >
> > I’d like to briefly address the issues raised by Moon:
> >
> > 1. This PR does not passes CI
> >
> > The CI fails on core Zeppelin, *not* code in this PR.
> >
> > I’ve been seeking assistance on this since August.
> >
> > The most common reason is that SparkInterpreter is unable to launch Spark
> > and open a Spark Backend. This is necessary to test the PR.
> >
> > 60+ hours, has been spent adapting and re-basing when the
> SparkInterpreter
> > architecture changed and broke the PR’s *tests.*
> >
>
> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> core, why do you think other PRs are passing CI?
>
> And let's say Zeppelin core has problem and that makes your PR fails on CI
> test. That's possible. But it still does not mean we can merge it with CI
> failing.
>
> If you think it's problem on Zeppelin core, then file an issue that
> reproduce the problem on Zeppelin core, that might be more efficient than
> keep trying yourself.
>
>
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> >
> > What license problem *specifically* do you believe may exist?
> >
> > In preparing the PR, I:
> >
> > * Reviewed the Apache policy in detail.
> >
> > * Contacted the FSF to ask their interpretation of the “linking”
> > provisions of the GPL license.
> >
> > * Reviewed how other Apache software deals with this issue (e.g., Spark
> > talks to R, which is GPL'd).
> >
> > * No necessary *dependencies* of the PR have license conflicts. In
> > several cases, I contacted package authors who agreed to re-issue their
> > packages under Apache-compatible licenses. (Usually I had to do a bit of
> > coding in exchange…)
> >
> > * Where the license had to stay GPL, the packages are *not necessary* and
> > *not dependencies.* If the optional packages are present, they will be
> > used to enable additional functionality. Knitr is an example. The PR
> will
> > compile and run fine without knitr. If knitr is available (it is part of
> > the most common R distribution), the PR will enable the knitr
> interpreter.
> > * This is exactly how this issue is addressed through the Apache
> > ecosystem.
> >
> > The tl;dr is this: When Apache code is written to talk to libraries
> that
> > may or may not be present on the user’s system, or where it talks to an
> API
> > but is agnostic about implementation, that is not “linking” in a way that
> > implicate the anti-linking provision of the GPL.
> >
> > Otherwise, no Apache code could ever call a shell script! Let alone run
> > on Linux, or talk to R.
> >
>
> I'm not a legal expert. So following could be wrong.
>
> In my interpretation, KnitRInterpreter is not an optional feature while it
> is always enabled when compiling Zeppelin and always enabled when running
> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> it will fail when no KnitR is installed on the system)
>
> And of course, no Apache code can ever call a shell script, on the purpose
> of dynamic linking with GPL library.
>
> I was guessing SparkR can be still in Apache License even if it is depends
> on R. Because of GPL licensed compiler generated output is not GPL license.
> and R is sort of compiler.
>
> If you can get answer from Spark community how SparkR get managed to stay
> in Apache License while R is GPL, the answer might help.
>
>
> 3. Need more time to review.
> >
> > Has any reviewer has downloaded the PR or run the demo notebook? (Which
> > is there for the benefit of reviewers, and isn’t intended to go in final
> > distribution.)
> >
> > How many +1 comments from users would you like to see?
> >
> > How much time do you believe is required?
> >
>
> It all depends on when CI is going to pass, when license problem is going
> to be cleared, and when a committer willing to review and responsible to
> commit your contribution.
>
>
> 1. Large code base change
> >
> > Large code base changes require coordination and cooperation. This PR
> > necessarily implicates the build scripts, testing code, the
> > SparkInterpreter, etc.
> >
> > I have been seeking to coordinate since August.
> >
> > I continue to stand ready to do so.
> >
> > -Amos
> >
>
> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
> contribution branch for some reason. It is not the really the best
> practice, but still okay while most contributions are not including large
> code base changes.
>
> However, your one, has more than 4000 lines of code change. If you rebase
> then review should be started from the beginning, again. So you might want
> to minimize the rebase your branch.
>
> Thanks,
> moon
>
>
>
> > From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org
> > <de...@zeppelin.incubator.apache.org> <de...@zeppelin.incubator.apache.org>
> > Date: December 1, 2015 at 1:34:19 AM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > <de...@zeppelin.incubator.apache.org>
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull request: R Interpreter for Zeppelin
> >
> > Hi Cos,
> >
> > Thanks for opening a discussion.
> > My answer about 'Why this PR is open for three months' is
> >
> > 1. This PR does not passes CI
> > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > 3. Need more time to review.
> >
> > It's my personal answer, other committers may have different opinion.
> >
> >
> > I think the question should be generalized. Because this PR is not the
> > only
> > PR that is in impasse. There're more. For example
> >
> > Here's some examples that PR is not been merged.
> > https://github.com/apache/incubator-zeppelin/pull/53,
> > https://github.com/apache/incubator-zeppelin/pull/60
> > and so on.
> >
> > I can categorize the cases, based on experience of involving Zeppelin
> > community from the beginning.
> >
> > 1. Large code base change
> >
> > When contribution has large code base changes, it tend to take more time
> > to
> > review and merged. Normally, most contributions merged in 1day~1 week.
> > But some contribution has large code base changes take 2~4 weeks. Few
> > contribution that has very large code base change take months.
> >
> > 2. Communication lost
> >
> > Sometimes, committer is not responding, or contributor is not responding.
> >
> > 3. Opinion diverges
> >
> > For some changes, included in contribution. When people have different
> > opinion and it continue to diverges, those PRs are not been merged.
> >
> >
> > I think having a guide such as ping other committer when a committer is
> > not
> > responding, and divide contribution into small peaces if possible, would
> > help most of the cases.
> > Of course committer have to pay attention more to the contribution and
> > helping people. That's the first one.
> >
> > Thanks,
> > moon
> >
> > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
> wrote:
> >
> > > To make sure we're on the same page, here are two threads that I found
> > > related
> > > to this topic.
> > >
> > > Thread 1:
> > > Subject: R?
> > > Started on: July 1, 2015
> > >
> > > Thread 2:
> > > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > > Zeppelin
> > > Started on: August 13, 2015
> > >
> > > If you want to fetch these from our archive send emails to
> > > dev-thread.1735@zeppelin.incubator.apache.org
> > > dev-thread.3573@zeppelin.incubator.apache.org
> > >
> > > Cos
> > >
> > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > Guys,
> > > >
> > > > While catching up on my emails from the last a couple of weeks, this
> > > thread
> > > > caught my attention. I am not normally paying much attention to the
> > code
> > > > reviews traffic from GH, but this one is pretty different as it spans
> > > three
> > > > months and counting.
> > > >
> > > > First, here are my five cents:
> > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > > contributed to
> > > > an ASF project this file should simply contain ASL2 text, like in [1]
> > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> section,
> > > but
> > > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > > maintain this in the source code, but we have the list of all the
> > > > committers on the project's site [2] Every new committer's first
> > > commit is
> > > > to update the team page ;)
> > > > - comments like in
> > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > >
> > > > +/**
> > > > + * Created by aelberg on 7/28/15.
> > > > + */
> > > >
> > > > is better to be removed. It has been already discussed here [3]. And
> > > the
> > > > initial discussion on the topic [4] was linked as well
> > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > > R-specific
> > > > stuff - I have no idea about R, honestly, but
> > > >
> > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > ...
> > > > +Author: David B. Dahl
> > > >
> > > > shouldn't be here, IMO. Normally, if some additional licenses are
> > > used,
> > > > they have to be listed in the top-level NOTICE file (already there).
> > > >
> > > > - I am not going to offer any comments on the technical merits of the
> > > patch,
> > > > as I haven't tried it personally. However, I don't see any serious
> > > > technical objections to the functionality in question.
> > > >
> > > > So, the question is - why the PR is open for three months? I hasn't
> > been
> > > able
> > > > to get a clear answer. What I found out though is pretty unsettling,
> > > really.
> > > > The communication on the topic is almost non-existent, except for
> this
> > > sparse
> > > > and bitter thread in the GH.
> > > >
> > > > I would love to hear from the committers what's stopping the
> > acceptance
> > > of the
> > > > code, besides of the minor issues I've mentioned earlier? What are
> the
> > > reasons for it?
> > > > Is there anything wrong with it?
> > > > One of the responsibilities of the committers is to make sure the
> > > > contributions are reviewed; new contributors are guided and do
> > > understand how
> > > > the project ticks. The easy feedback flow attracts new people,
> > allowing
> > > the
> > > > community to grow and thrive.
> > > >
> > > > I am asking _explicitely_ not to re-start the bickering I have
> already
> > > > seen. At this point I am interested in the purely technical side of
> > this.
> > > >
> > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > [2] http://bigtop.apache.org/team-list.html
> > > > [3]
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > [4] http://s.apache.org/iZl
> > > >
> > > > With regards,
> > > > Cos
> > > >
> > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > Github user elbamos commented on the pull request:
> > > > >
> > > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > >
> > > > > The current push should resolve some issues with changes in the
> > > > > Spark-Zeppelin interface that had created issues for users, as
> > > well as
> > > > > support for 1.5.1.
> > > > >
> > > > > Knitr support is improved, and the reason for a separate knitr
> > > interpreter may be clearer now.
> > > > >
> > > > > The amount of code borrowed from rscala is reduced.
> > > > >
> > > > > I did not address issues with @author tags, or files under the R/
> > > > > folder. The reason is, to be blunt, I don't understand what the
> > > precise
> > > > > concerns actually are.
> > > > >
> > > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > > later.
> > > > > I'm sure there is a better way to do it, but I'm just not in a
> > > position
> > > > > to try to figure out the entire Zeppelin build process.
> > > > >
> > > > > Integrating this with the rest of zeppelin is going to take some
> > > work
> > > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > > but I'm
> > > > > going to need to discuss it with the people who have been "owning"
> > > those
> > > > > files. There are just too many moving pieces here.
> > > > >
> > > > > Because of the size of this (which is, unfortunately, necessary),
> > > > > posting here is probably not the most efficient way. That is also
> > > true
> > > > > because certain people chose to use this PR as a forum to air other
> > > > > issues. Therefore, it would be better if reviewers e-mail me
> > > directly.
> > >
> > >
> > >
> >
> >
>
Re: R-Interpreter CI Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Yeah that kind of error is basically what I was seeing.
I copied that line of travis.yml from something I found online as an example of how to add R to a java-based travis build.
How can I help?
From: moon soo Lee <mo...@apache.org>
Reply: moon soo Lee <mo...@apache.org>
Date: December 26, 2015 at 10:28:34 PM
To: Amos B. Elberg <am...@gmail.com>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: R-Interpreter CI Was: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Hi,
I did couple of test against rinterpreter pr [1]. and end up with exception
15/12/25 02:25:54 INFO AppClient$ClientEndpoint: Connecting to master spark://testing-gce-28dccb9f-5570-4e9c-b911-a5974c99c02f.c.eco-emissary-99515.internal:7071...
15/12/25 02:26:14 ERROR SparkUncaughtExceptionHandler: Uncaught exception in thread Thread[appclient-registration-retry-thread,5,main]
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@5081a4bb rejected from java.util.concurrent.ThreadPoolExecutor@6f661a47[Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anonfun$tryRegisterAllMasters$1.apply(AppClient.scala:96)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anonfun$tryRegisterAllMasters$1.apply(AppClient.scala:95)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:108)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint.tryRegisterAllMasters(AppClient.scala:95)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint.org$apache$spark$deploy$client$AppClient$ClientEndpoint$$registerWithMaster(AppClient.scala:121)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anon$2$$anonfun$run$1.apply$mcV$sp(AppClient.scala:132)
at org.apache.spark.util.Utils$.tryOrExit(Utils.scala:1119)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anon$2.run(AppClient.scala:124)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Strange thing is, above test is not related with R interpreter but it happens
when .travis.yml has following entry in before_intall: section
echo "deb http://cran.rstudio.com/bin/linux/ubuntu precise/" | sudo tee -a /etc/apt/sources.list
Following is build log (success) without above line in .travis.yml
https://travis-ci.org/Leemoonsoo/incubator-zeppelin/builds/98927745
and code
https://github.com/Leemoonsoo/incubator-zeppelin/tree/71791ee0362d580f670ea037f5af2c780adc2828
Following is build log (fail) with above line in .travis.yml
https://travis-ci.org/Leemoonsoo/incubator-zeppelin/builds/98927745
and code
https://github.com/Leemoonsoo/incubator-zeppelin/tree/650dfa8c3477df722fc4381af62c92b5eeb84403
This is really weird. Let me update more when i get better understanding of it.
Thanks,
moon
[1] https://github.com/apache/incubator-zeppelin/pull/208
On Tue, Dec 8, 2015 at 10:57 AM Amos B. Elberg <am...@gmail.com> wrote:
Thanks, Moon.
If you look at the code now, the reason travis fails is because the travis.yaml is messed-up from me trying to get travis not to fail. But with that fixed it only fails for other reasons…
I have seen both the failures you describe, but I’ve also seen a bunch of others. The most common issue is that the PR, to test, needs to instantiate a SparkInterpreter instance without the infrastructure of the Zeppelin server, and Spark fails to start.
As a practical way to move forward I propose the following:
1. The CI issues are broader than this PR, and we should start a separate thread to discuss and fix CI in general.
2. I’m going to close the current PR, and make a new PR that is based on the 0.5.5 release code. This PR will *not* be sync’d with Zeppelin-Master. It will be sync’d w/ 0.5.5 release because that is a stable base. I would appreciate if people could help me with CI, using that as a base.
--
Amos Elberg
Sent with Airmail
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 8, 2015 at 9:26:38 AM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: R-Interpreter CI Was: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
fyi, some cases of CI failing, when PR does not impact the code,
1) Flickering test. Some tests are passing sometimes, failing the other
times. (e.g. ZEPPELIN-476)
2) Download fails. Downloading maven artifacts or other requirements from
internet are sometimes failing
both cases pass if CI triggered again.
Thanks,
moon
On Tue, Dec 8, 2015 at 6:29 PM DuyHai Doan <do...@gmail.com> wrote:
> I have also experienced CI failing in the pass for some PRs that do not
> impact the code (Cassandra documentation). I guess that during peak hours,
> the CI servers may be too busy or enter a dead lock so the build fails.
>
> At least that's my guess. What do you think ?
>
> On Tue, Dec 8, 2015 at 9:42 AM, moon soo Lee <mo...@apache.org> wrote:
>
> > Let me run some CI test with your branch and share result here.
> > Hope i can narrow down the cause and that helps involvement of more
> people.
> >
> > Thanks,
> > moon
> >
> > On Tue, Dec 8, 2015 at 3:08 PM Amos B. Elberg <am...@gmail.com>
> > wrote:
> >
> > > Is there anyone who can work with me on the CI issues? It looks like
> > > there are a number of PRs experiencing similar things.
> > >
> > > I think we should make getting CI stable to be a priority. Because it
> > > will save everyone a lot of frustration and aggravation if CI works
> > > reliably.
> > >
> > > Is there anyone other than Jongyoul and Moon who knows the CI/Build
> > > process well?
> > >
> > > (Moon - Thank you for taking another look at the licensing issue. Per
> > the
> > > e-mail I wrote about this a few days ago, I don’t feel I have more to
> > > contribute to the licensing discussion, so I’m going to try not to
> > comment
> > > further about it.)
> > >
> > > From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org
> > > <de...@zeppelin.incubator.apache.org> <dev@zeppelin.incubator.apache.org
> >
> > > Date: December 7, 2015 at 5:00:08 PM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > <de...@zeppelin.incubator.apache.org>
> > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> impasse.
> > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> Zeppelin
> > >
> > > Thanks Amos, Roman, Cos for clarifying license issue.
> > >
> > > I'm convinced that this license issue will not be a blocker.
> > >
> > > In my understanding, these are good sign,
> > >
> > > 1. any gpl licensed source codes are not included in the source package
> > > 2. any gpl licensed libraries are not included in the binary package
> > >
> > > However, i can not still 100% sure about
> > >
> > > 3. any gpl licensed libraries are not linked on runtime
> > >
> > > Even after Amos's explanation. I still think using 'knitr' is one of
> the
> > > clear case that 'knir' is linked to 'R' according to
> > > http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL.
> > >
> > > Giving input and getting output from GPL licensed interpreter (includes
> > R)
> > > from Apache licensed software is not a problem. That's not the point.
> > > Let me say in this way. There's an java code,
> > >
> > > import com.mysql.jdbc.Driver
> > > Driver driver = new Driver()
> > >
> > > Say without this java code, one of important feature of Zeppelin does
> not
> > > work. And Zeppelin does not includes GPL licensed file in the source
> > > package, GPL licensed library in the binary package, but it requires
> GPL
> > > licensed library on the runtime.
> > > In this case, will this java code be a license problem or not?
> > >
> > > In other words, my question is
> > >
> > > a) Is runtime GPL library dependency allowed in ASF release?
> > > b) is 'knitr' considered as runtime dependency?
> > >
> > > If someone can clarify a), b), then it would be extremely helpful
> > > understanding this case, and possible similar cases, too.
> > >
> > > Thanks,
> > > moon
> > >
> > > On Mon, Dec 7, 2015 at 3:20 PM Konstantin Boudnik <co...@apache.org>
> > wrote:
> > >
> > > > On Thu, Dec 03, 2015 at 11:03AM, Corneau Damien wrote:
> > > > > Thanks Cos for those answers,
> > > > >
> > > > > If I'm right you are advising to have a default build that doesn't
> > > > include
> > > > > libraries with conflicting licenses, but have an option to include
> > > them
> > > > for
> > > > > users who wants to build the project themselves.
> > > >
> > > > Yes, that's what I said. Besides, looks like Roman provided the
> second
> > > > pair of
> > > > eyes to this licensing discussion and as well didn't find any issues
> > > with
> > > > the
> > > > current approach.
> > > >
> > > > Cos
> > > >
> > > > > To refer to another thread about decentralizing interpreters, it
> > could
> > > > even
> > > > > be better in that case to have some interpreters separated from the
> > > tree,
> > > > > and easily pluggable with a release instead of forcing users to
> build
> > > the
> > > > > project to use them.
> > > > >
> > > > >
> > > > > On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <cos@apache.org
> >
> > > > wrote:
> > > > >
> > > > > > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > > > > > Konstantin thank you for getting into this.
> > > > > > >
> > > > > > >> The best way to go around it is by
> > > > > > >> providing a build-time option that will pull such binaries in.
> > > But
> > > > by
> > > > > > default
> > > > > > >> such libs shouldn't be pulled.
> > > > > > >
> > > > > > > That is basically how the PR handles this. If the GPL’d
> > > interpreter
> > > > > > scripts
> > > > > > > are missing, there’s no indication at all at build time. It
> > > doesn’t
> > > > try
> > > > > > to
> > > > > > > download them.
> > > > > > >
> > > > > > > At runtime, if the user tries to use functionality that would
> > need
> > > > such a
> > > > > > > script (i.e., if they type “knitr” to use knitr), we display an
> > > error
> > > > > > that
> > > > > > > says that the functionality is not there because the library is
> > > > missing,
> > > > > > and
> > > > > > > that the library cannot be provided because it has an
> > incompatible
> > > > > > license,
> > > > > > > but the user can download it themselves if they want.
> > > > > > >
> > > > > > > And, in the log, if the logging level is high, they will see a
> > > note
> > > > that
> > > > > > > some functionality was disabled because the libraries weren’t
> > > there.
> > > > > > >
> > > > > > > To be clear, though, none of these libraries are binaries.
> > They’re
> > > > all
> > > > > > interpreter scripts.
> > > > > >
> > > > > > If you ever in a doubt of which licenses could be used for
> > > dependncies
> > > > > > (not to
> > > > > > say about source code) are listed in Category A list of [1]
> > > > > >
> > > > > > A lot of quesitons discussed here are already covered in the
> legal
> > > > FAQ, so
> > > > > > just check against it if you have any questions.
> > > > > >
> > > > > > [1] http://www.apache.org/legal/resolved.html#category-a
> > > > > >
> > > > > > Cos
> > > > > >
> > > > > > > From: Konstantin Boudnik <co...@apache.org>
> > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>,
> > > dev@zeppelin.incubator.apache.org
> > > > <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Date: December 2, 2015 at 3:24:50 PM
> > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org
> > > > > > >
> > > > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > > > > > impasse. Was: [GitHub] incubator-zeppelin pull request: R
> > > Interpreter
> > > > for
> > > > > > Zeppelin
> > > > > > >
> > > > > > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > > > > > I think that what moon means is that:
> > > > > > > > If we merge the way it is now, the KnitRInterpreter will be
> > part
> > > > of the
> > > > > > > > code base, so it isn't optional at code base level.
> > > > > > > >
> > > > > > > > To make it even more simple:
> > > > > > > > * If the code has the right licensing -> that code can be
> part
> > > of
> > > > the
> > > > > > > > source code, and can be including in a binary release
> > > > > > >
> > > > > > > We aren't concerned with binary releases - as an Apache
> community
> > > we
> > > > are
> > > > > > > voting and releasing source code. If the project wants to
> provide
> > > a
> > > > > > binary
> > > > > > > release to its users, they are better be warned about inclusion
> > of
> > > > non
> > > > > > > ASL2-friendly licensed bits.
> > > > > > >
> > > > > > > > * If the code doesn't have the right licensing -> it can't be
> > > part
> > > > of
> > > > > > the
> > > > > > > > source code, and can't be included in a binary release
> > > > > > >
> > > > > > > See above.
> > > > > > >
> > > > > > > > * If the code doesn't have the right licensing but is
> imported
> > > at
> > > > build
> > > > > > > > time (libraries for example) -> it is not in the source code,
> > it
> > > > can't
> > > > > > be
> > > > > > > > included in binary release
> > > > > > >
> > > > > > > That is unless a user doing it on his own. The best way to go
> > > around
> > > > it
> > > > > > is by
> > > > > > > providing a build-time option that will pull such binaries in.
> > But
> > > by
> > > > > > default
> > > > > > > such libs shouldn't be pulled.
> > > > > > >
> > > > > > > Cos
> > > > > > >
> > > > > > > > So in the case of licensing issues, it would need to be fully
> > > > optional
> > > > > > > > (user bring the interpreter in his directory and build
> Zeppelin
> > > > with
> > > > > > it)
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> > > > amos.elberg@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Moon let me clarify:
> > > > > > > > >
> > > > > > > > > Interpreted code doesn’t “link.” The wiki article actually
> > > > explains
> > > > > > it
> > > > > > > > > pretty well —
> > > > https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > > > > > “Linking” against a library means compiling its headers
> into
> > a
> > > > > > binary, the
> > > > > > > > > way a C compiler works. The 2008 e-mail Moon distributed,
> > > called
> > > > > > this the
> > > > > > > > > “interpreter exception.”
> > > > > > > > >
> > > > > > > > > As for whether GPL’d code is a “mandatory dependency,” if
> > > knitr
> > > > is
> > > > > > missing
> > > > > > > > > the PR will compile, run and test just fine. The user is
> > never
> > > > > > prompted to
> > > > > > > > > download it. The only effect is, if the user types “knitr”
> > and
> > > > knitr
> > > > > > isn’t
> > > > > > > > > there, we display an InterpreterError that knitr isn’t
> there.
> > > > > > > > >
> > > > > > > > > KnitRInterpreter is not optionally required. so it does not
> > > > matter
> > > > > > KnitR
> > > > > > > > > is
> > > > > > > > > optionally required or not.
> > > > > > > > > Aren’t all interpreters optional? You can turn them on and
> > off
> > > > in the
> > > > > > > > > config files.
> > > > > > > > >
> > > > > > > > > Do you mean that the KnitRInterpreter class gets compiled
> to
> > > > > > bytecode even
> > > > > > > > > if knitr is missing? So what? That isn't a mandatory
> > > dependency
> > > > or a
> > > > > > link.
> > > > > > > > >
> > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Subject: Re: License of KnitRInterpreter Was: Re:
> > > contributions
> > > > > > impasse.
> > > > > > > > > Was: [GitHub] incubator-zeppelin pull request: R
> Interpreter
> > > for
> > > > > > Zeppelin
> > > > > > > > >
> > > > > > > > > Let me summarize license concern about KnitRInterpreter.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Amos's interpretation.
> > > > > > > > >
> > > > > > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > > > > > R dependency in SparkR has no problem. So KnitR should be
> the
> > > > same.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Moon's interpretation.
> > > > > > > > >
> > > > > > > > > KnitRInterpreter is not optionally required. so it does not
> > > > matter
> > > > > > KnitR is
> > > > > > > > > optionally required or not.
> > > > > > > > > R dependency in SparkR is exception of GPL. KnitR is not
> > > applied
> > > > that
> > > > > > > > > exception.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Amos, could you confirm my understanding to your
> > > interpretation
> > > > is
> > > > > > correct?
> > > > > > > > > If it is not could you clarify it?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > moon
> > > > > > > > >
> > > > > > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Just to put the final nail in this, I looked it up.
> > > > > > > > > >
> > > > > > > > > > I see no evidence of any “compiler exception.”
> > > > > > > > > >
> > > > > > > > > > There is an exception in the license for the runtime
> > > libraries
> > > > > > that are
> > > > > > > > > > bundled with GCC. See:
> > > > > > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > > > > > >
> > > > > > > > > > But no “compiler exception.”
> > > > > > > > > >
> > > > > > > > > > In fact, I believe this is part of the reason why LLVM
> was
> > > > created.
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin pull
> > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > >
> > > > > > > > > > Is knitR is commonly considered as a
> interpreter/compiler?
> > > or
> > > > is it
> > > > > > > > > > considered as a library routine?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > > Moon - you give this as an explanation of the licensing
> > > issue:
> > > > > > > > > >
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > > >
> > > > > > > > > > According to that, there is an exception in the GPL for
> > > > interpreter
> > > > > > > > > > languages. As long as you don’t distribute the code, its
> > > fine
> > > > to
> > > > > > talk to
> > > > > > > > > > an interpreted language.
> > > > > > > > > >
> > > > > > > > > > Well, if that’s the case, then the PR plainly does not
> have
> > > a
> > > > > > license
> > > > > > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > > > > > >
> > > > > > > > > > I’m not sure what’s confusing about this. It seems
> > > completely
> > > > > > > > > > straightforward.
> > > > > > > > > >
> > > > > > > > > > Regarding this:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Amos Elberg
> > > > > > > > > > Sent with Airmail
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > > > > > >
> > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > >
> > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin pull
> > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > >
> > > > > > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I am going to try to minimize my reaction to Moon’s
> > > e-mail.
> > > > > > > > > > >
> > > > > > > > > > > The tl;dr is this:
> > > > > > > > > > >
> > > > > > > > > > > The reason we are having this discussion now is that
> > > active
> > > > > > users of
> > > > > > > > > the
> > > > > > > > > > > PR — which now has its own user base — went public to
> > > > complain
> > > > > > about
> > > > > > > > > > this.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > The PR has been tested by an active user base for more
> > > than
> > > > three
> > > > > > > > > months.
> > > > > > > > > > > No-one has been able to identify any specific actual
> > > > licensing
> > > > > > problem,
> > > > > > > > > > and
> > > > > > > > > > > the PR was prepared based on an extensive, careful
> review
> > > of
> > > > the
> > > > > > > > > relevant
> > > > > > > > > > > licensing issues and after contacting the relevant
> > people.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I admire every software that used by user and helping
> > > people.
> > > > That
> > > > > > > > > includes
> > > > > > > > > > your work. But that's not the topic we're in discussion.
> > > Active
> > > > > > user does
> > > > > > > > > > not mean your contribution can ignore the review.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > It is not an explanation for someone who has been
> > ignoring
> > > my
> > > > > > “how can
> > > > > > > > > I
> > > > > > > > > > > move this forward…” emails for three months to point
> the
> > > > finger
> > > > > > and
> > > > > > > > > say I
> > > > > > > > > > > didn’t contact the right person or file the right
> report.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > This is also not the topic in this discussion.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > The burden for providing an explanation for the
> inaction
> > > is
> > > > on
> > > > > > the PMCC
> > > > > > > > > > at
> > > > > > > > > > > this point.
> > > > > > > > > >
> > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > problem
> > > on
> > > > > > Zeppelin
> > > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > > They’re not! I often see comments on PRs to just ignore
> > > that
> > > > CI
> > > > > > is
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > One of the most common reasons this PR fails CI, is CI
> > > > times-out
> > > > > > > > > > > downloading Spark to install. How could that possibly
> be
> > > > caused
> > > > > > by the
> > > > > > > > > > PR?
> > > > > > > > > > >
> > > > > > > > > > > It looks to me like the only PRs with changes to the
> > > relevant
> > > > > > parts of
> > > > > > > > > > the
> > > > > > > > > > > code — the SparkInterpreter — are being made by the
> > person
> > > > who
> > > > > > wrote
> > > > > > > > > the
> > > > > > > > > > > testing suite.
> > > > > > > > > > >
> > > > > > > > > > > So, that would explain why some other PRs pass CI:
> > Neither
> > > > the
> > > > > > > > > > > SparkInterpreter nor the testing suite are stable or
> > > robust,
> > > > but
> > > > > > since
> > > > > > > > > > the
> > > > > > > > > > > PRs are coming from the person who wrote both…
> > > > > > > > > > >
> > > > > > > > > > > And let's say Zeppelin core has problem and that makes
> > > your
> > > > PR
> > > > > > fails on
> > > > > > > > > > CI
> > > > > > > > > > > test. That's possible. But it still does not mean we
> can
> > > > merge
> > > > > > it with
> > > > > > > > > CI
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > It means you should be working with me to figure out
> why
> > > the
> > > > CI
> > > > > > is
> > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > This PR has been tested by an active user base for the
> > > past
> > > > three
> > > > > > > > > months.
> > > > > > > > > > > If CI is continuing to fail, and dozens of hours of
> > effort
> > > > have
> > > > > > not
> > > > > > > > > > > resolved the CI issues, then it is time to start
> > > considering
> > > > > > whether
> > > > > > > > > the
> > > > > > > > > > > testing suite is part of the problem.
> > > > > > > > > > >
> > > > > > > > > > > The level of defensiveness about the CI and
> > > SparkInterpreter
> > > > is
> > > > > > not
> > > > > > > > > > > helping to resolve these issues.
> > > > > > > > > > >
> > > > > > > > > > > If you think it's problem on Zeppelin core, then file
> an
> > > > issue
> > > > > > that
> > > > > > > > > > > reproduce the problem on Zeppelin core, that might be
> > more
> > > > > > efficient
> > > > > > > > > than
> > > > > > > > > > > keep trying yourself.
> > > > > > > > > > > I contacted you numerous times about such issues...
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I remember i commented your issue about CI. but you just
> > > keep
> > > > > > repeated
> > > > > > > > > it's
> > > > > > > > > > not your problem but Zeppelin core problem.
> > > > > > > > > >
> > > > > > > > > > Then please file an issue about the problem you found in
> > > > Zeppelin
> > > > > > Core.
> > > > > > > > > > Then everyone will get into the problem.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > In my interpretation, KnitRInterpreter is not an
> optional
> > > > > > feature while
> > > > > > > > > > it
> > > > > > > > > > > is always enabled when compiling Zeppelin and always
> > > enabled
> > > > when
> > > > > > > > > running
> > > > > > > > > > > Zeppelin. And it requires dynamically linked GPL
> library
> > > on
> > > > > > runtime.
> > > > > > > > > (yes
> > > > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > > > >
> > > > > > > > > > > Its not always enabled.
> > > > > > > > > > > It is not dynamically linked at runtime.
> > > > > > > > > > > It will not fail when knitr is missing. If knitr is not
> > > > present,
> > > > > > the
> > > > > > > > > repl
> > > > > > > > > > > interpreter starts and a note is written to to the log
> > > that
> > > > the
> > > > > > knitr
> > > > > > > > > > > interpreter isn’t available because knitr is not
> present.
> > > > > > > > > > >
> > > > > > > > > > > no Apache code can ever call a shell script, on the
> > > purpose
> > > > of
> > > > > > dynamic
> > > > > > > > > > > linking with GPL library.
> > > > > > > > > > > You misunderstand.
> > > > > > > > > > >
> > > > > > > > > > > The *shell* is GPL'd.
> > > > > > > > > > >
> > > > > > > > > > > Is Zeppelin “linked" against the GPL’d shell because
> > > Zeppelin
> > > > > > depends
> > > > > > > > > on
> > > > > > > > > > a
> > > > > > > > > > > shell script to launch?
> > > > > > > > > > >
> > > > > > > > > > Obviously not.
> > > > > > > > > > >
> > > > > > > > > > > The interaction with R in the PR is the same.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Again, bash is one of exceptions of GPL, like other GPL
> > > > licensed
> > > > > > > > > > compiler/interpreter.
> > > > > > > > > >
> > > > > > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > > > > >
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > > >
> > > > > > > > > > I'm not sure we can apply the same exception for 'using'
> > > KnitR.
> > > > > > > > > >
> > > > > > > > > > My point is not 'KnitR' is optional or not. Point is
> > > > > > 'KnitRInterpreter'
> > > > > > > > > you
> > > > > > > > > > wrote is not an optional feature. Which is clearly not
> > > > optionally
> > > > > > enabled
> > > > > > > > > > code and feature. And that depends on KnitR library which
> > is
> > > > GPL.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > I was guessing SparkR can be still in Apache License
> even
> > > if
> > > > it
> > > > > > is
> > > > > > > > > > depends
> > > > > > > > > > > on R. Because of GPL licensed compiler generated output
> > is
> > > > not
> > > > > > GPL
> > > > > > > > > > license.
> > > > > > > > > > > and R is sort of compiler. If you can get answer from
> > > Spark
> > > > > > community
> > > > > > > > > how
> > > > > > > > > > > SparkR get managed to stay in Apache License while R is
> > > GPL,
> > > > the
> > > > > > answer
> > > > > > > > > > > might help.
> > > > > > > > > > > The description of SparkR is not accurate in any
> respect.
> > > (Do
> > > > > > you think
> > > > > > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > > > > > >
> > > > > > > > > > > I don’t see that any genuine issue is being raised
> here.
> > > > > > > > > > >
> > > > > > > > > > > If there is an issue, the burden is on you to identify
> > it.
> > > > > > > > > > >
> > > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > > sometimes
> > > > ask
> > > > > > rebase
> > > > > > > > > > the
> > > > > > > > > > > contribution branch for some reason. It is not the
> really
> > > the
> > > > > > best
> > > > > > > > > > > practice, but still okay while most contributions are
> not
> > > > > > including
> > > > > > > > > large
> > > > > > > > > > > code base changes
> > > > > > > > > > > However, your one, has more than 4000 lines of code
> > > change.
> > > > If
> > > > > > you
> > > > > > > > > rebase
> > > > > > > > > > > then review should be started from the beginning,
> again.
> > > So
> > > > you
> > > > > > might
> > > > > > > > > > want
> > > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > > >
> > > > > > > > > > > Are you actually complaining that the problem is that I
> > > > rebased
> > > > > > the
> > > > > > > > > code
> > > > > > > > > > > during the three-month period when no-one looked at it
> > and
> > > > > > Zeppelin
> > > > > > > > > went
> > > > > > > > > > > through a release?
> > > > > > > > > > >
> > > > > > > > > > > I cannot take it seriously when you say things like
> this.
> > > > > > > > > > >
> > > > > > > > > > > Having to “start from the beginning” cannot be a
> problem
> > > if
> > > > you
> > > > > > never
> > > > > > > > > > > actually started the first time...
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You wanted coordination and cooperation. So i gave you
> > > > suggestion
> > > > > > that
> > > > > > > > > > helping review process. For example, your code has been
> > > rebased
> > > > > > since my
> > > > > > > > > > comment and jongyoul's comment. that means committers
> will
> > > > need to
> > > > > > look
> > > > > > > > > > from the beginning. That'll require more time. And
> maybe, i
> > > > guess
> > > > > > that's
> > > > > > > > > > not what you want. But If you don't care, feel free to
> > > rebase.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin
> > > > > > > > > pull
> > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > Thank you, Cos.
> > > > > > > > > > >
> > > > > > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > > > > > >
> > > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > > > > > >
> > > > > > > > > > > I’ve been seeking assistance on this since August.
> > > > > > > > > > >
> > > > > > > > > > > The most common reason is that SparkInterpreter is
> unable
> > > to
> > > > > > launch
> > > > > > > > > Spark
> > > > > > > > > > > and open a Spark Backend. This is necessary to test the
> > > PR.
> > > > > > > > > > >
> > > > > > > > > > > 60+ hours, has been spent adapting and re-basing when
> the
> > > > > > > > > > SparkInterpreter
> > > > > > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > > problem
> > > > on
> > > > > > > > > Zeppelin
> > > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > >
> > > > > > > > > > > And let's say Zeppelin core has problem and that makes
> > > your
> > > > PR
> > > > > > fails on
> > > > > > > > > > CI
> > > > > > > > > > > test. That's possible. But it still does not mean we
> can
> > > > merge
> > > > > > it with
> > > > > > > > > CI
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > If you think it's problem on Zeppelin core, then file
> an
> > > > issue
> > > > > > that
> > > > > > > > > > > reproduce the problem on Zeppelin core, that might be
> > more
> > > > > > efficient
> > > > > > > > > than
> > > > > > > > > > > keep trying yourself.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> > > KniteR)
> > > > > > > > > > > What license problem *specifically* do you believe may
> > > exist?
> > > > > > > > > > >
> > > > > > > > > > > In preparing the PR, I:
> > > > > > > > > > >
> > > > > > > > > > > * Reviewed the Apache policy in detail.
> > > > > > > > > > >
> > > > > > > > > > > * Contacted the FSF to ask their interpretation of the
> > > > “linking”
> > > > > > > > > > > provisions of the GPL license.
> > > > > > > > > > >
> > > > > > > > > > > * Reviewed how other Apache software deals with this
> > issue
> > > > > > (e.g., Spark
> > > > > > > > > > > talks to R, which is GPL'd).
> > > > > > > > > > >
> > > > > > > > > > > * No necessary *dependencies* of the PR have license
> > > > conflicts.
> > > > > > In
> > > > > > > > > > > several cases, I contacted package authors who agreed
> to
> > > > > > re-issue their
> > > > > > > > > > > packages under Apache-compatible licenses. (Usually I
> had
> > > to
> > > > do
> > > > > > a bit
> > > > > > > > > of
> > > > > > > > > > > coding in exchange…)
> > > > > > > > > > >
> > > > > > > > > > > * Where the license had to stay GPL, the packages are
> > *not
> > > > > > necessary*
> > > > > > > > > and
> > > > > > > > > > > *not dependencies.* If the optional packages are
> present,
> > > > they
> > > > > > will be
> > > > > > > > > > > used to enable additional functionality. Knitr is an
> > > example.
> > > > > > The PR
> > > > > > > > > will
> > > > > > > > > > > compile and run fine without knitr. If knitr is
> available
> > > > (it is
> > > > > > part
> > > > > > > > > of
> > > > > > > > > > > the most common R distribution), the PR will enable the
> > > knitr
> > > > > > > > > > interpreter.
> > > > > > > > > > >
> > > > > > > > > > > * This is exactly how this issue is addressed through
> the
> > > > Apache
> > > > > > > > > > > ecosystem.
> > > > > > > > > > > The tl;dr is this: When Apache code is written to talk
> to
> > > > > > libraries
> > > > > > > > > that
> > > > > > > > > > > may or may not be present on the user’s system, or
> where
> > > it
> > > > > > talks to an
> > > > > > > > > > API
> > > > > > > > > > > but is agnostic about implementation, that is not
> > > “linking”
> > > > in a
> > > > > > way
> > > > > > > > > that
> > > > > > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > > > > > >
> > > > > > > > > > > Otherwise, no Apache code could ever call a shell
> script!
> > > Let
> > > > > > alone run
> > > > > > > > > > > on Linux, or talk to R.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > > > > > >
> > > > > > > > > > > In my interpretation, KnitRInterpreter is not an
> optional
> > > > > > feature while
> > > > > > > > > > it
> > > > > > > > > > > is always enabled when compiling Zeppelin and always
> > > enabled
> > > > when
> > > > > > > > > running
> > > > > > > > > > > Zeppelin. And it requires dynamically linked GPL
> library
> > > on
> > > > > > runtime.
> > > > > > > > > (yes
> > > > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > > > >
> > > > > > > > > > > And of course, no Apache code can ever call a shell
> > > script,
> > > > on
> > > > > > the
> > > > > > > > > > purpose
> > > > > > > > > > > of dynamic linking with GPL library.
> > > > > > > > > > >
> > > > > > > > > > > I was guessing SparkR can be still in Apache License
> even
> > > if
> > > > it
> > > > > > is
> > > > > > > > > > depends
> > > > > > > > > > > on R. Because of GPL licensed compiler generated output
> > is
> > > > not
> > > > > > GPL
> > > > > > > > > > license.
> > > > > > > > > > > and R is sort of compiler.
> > > > > > > > > > >
> > > > > > > > > > > If you can get answer from Spark community how SparkR
> get
> > > > > > managed to
> > > > > > > > > stay
> > > > > > > > > > > in Apache License while R is GPL, the answer might
> help.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > > Has any reviewer has downloaded the PR or run the demo
> > > > notebook?
> > > > > > (Which
> > > > > > > > > > > is there for the benefit of reviewers, and isn’t
> intended
> > > to
> > > > go
> > > > > > in
> > > > > > > > > final
> > > > > > > > > > > distribution.)
> > > > > > > > > > >
> > > > > > > > > > > How many +1 comments from users would you like to see?
> > > > > > > > > > >
> > > > > > > > > > > How much time do you believe is required?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > It all depends on when CI is going to pass, when
> license
> > > > problem
> > > > > > is
> > > > > > > > > going
> > > > > > > > > > > to be cleared, and when a committer willing to review
> and
> > > > > > responsible
> > > > > > > > > to
> > > > > > > > > > > commit your contribution.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 1. Large code base change
> > > > > > > > > > > Large code base changes require coordination and
> > > cooperation.
> > > > > > This PR
> > > > > > > > > > > necessarily implicates the build scripts, testing code,
> > > the
> > > > > > > > > > > SparkInterpreter, etc.
> > > > > > > > > > >
> > > > > > > > > > > I have been seeking to coordinate since August.
> > > > > > > > > > >
> > > > > > > > > > > I continue to stand ready to do so.
> > > > > > > > > > >
> > > > > > > > > > > -Amos
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > > sometimes
> > > > ask
> > > > > > rebase
> > > > > > > > > > the
> > > > > > > > > > > contribution branch for some reason. It is not the
> really
> > > the
> > > > > > best
> > > > > > > > > > > practice, but still okay while most contributions are
> not
> > > > > > including
> > > > > > > > > large
> > > > > > > > > > > code base changes.
> > > > > > > > > > >
> > > > > > > > > > > However, your one, has more than 4000 lines of code
> > > change.
> > > > If
> > > > > > you
> > > > > > > > > rebase
> > > > > > > > > > > then review should be started from the beginning,
> again.
> > > So
> > > > you
> > > > > > might
> > > > > > > > > > want
> > > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > moon
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > > >
> > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin
> > > > > > > > > pull
> > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > >
> > > > > > > > > > > Hi Cos,
> > > > > > > > > > >
> > > > > > > > > > > Thanks for opening a discussion.
> > > > > > > > > > > My answer about 'Why this PR is open for three months'
> is
> > > > > > > > > > >
> > > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> > > KniteR)
> > > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > >
> > > > > > > > > > > It's my personal answer, other committers may have
> > > different
> > > > > > opinion.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think the question should be generalized. Because
> this
> > > PR
> > > > is
> > > > > > not the
> > > > > > > > > > only
> > > > > > > > > > > PR that is in impasse. There're more. For example
> > > > > > > > > > >
> > > > > > > > > > > Here's some examples that PR is not been merged.
> > > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > > > > > and so on.
> > > > > > > > > > >
> > > > > > > > > > > I can categorize the cases, based on experience of
> > > involving
> > > > > > Zeppelin
> > > > > > > > > > > community from the beginning.
> > > > > > > > > > >
> > > > > > > > > > > 1. Large code base change
> > > > > > > > > > >
> > > > > > > > > > > When contribution has large code base changes, it tend
> to
> > > > take
> > > > > > more
> > > > > > > > > time
> > > > > > > > > > to
> > > > > > > > > > > review and merged. Normally, most contributions merged
> in
> > > > 1day~1
> > > > > > week.
> > > > > > > > > > > But some contribution has large code base changes take
> > 2~4
> > > > > > weeks. Few
> > > > > > > > > > > contribution that has very large code base change take
> > > > months.
> > > > > > > > > > >
> > > > > > > > > > > 2. Communication lost
> > > > > > > > > > >
> > > > > > > > > > > Sometimes, committer is not responding, or contributor
> is
> > > not
> > > > > > > > > responding.
> > > > > > > > > > >
> > > > > > > > > > > 3. Opinion diverges
> > > > > > > > > > >
> > > > > > > > > > > For some changes, included in contribution. When people
> > > have
> > > > > > different
> > > > > > > > > > > opinion and it continue to diverges, those PRs are not
> > > been
> > > > > > merged.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think having a guide such as ping other committer
> when
> > a
> > > > > > committer is
> > > > > > > > > > not
> > > > > > > > > > > responding, and divide contribution into small peaces
> if
> > > > > > possible,
> > > > > > > > > would
> > > > > > > > > > > help most of the cases.
> > > > > > > > > > > Of course committer have to pay attention more to the
> > > > > > contribution and
> > > > > > > > > > > helping people. That's the first one.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > moon
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > > > > > cos@apache.org>
> > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > To make sure we're on the same page, here are two
> > > threads
> > > > that
> > > > > > I
> > > > > > > > > found
> > > > > > > > > > > > related
> > > > > > > > > > > > to this topic.
> > > > > > > > > > > >
> > > > > > > > > > > > Thread 1:
> > > > > > > > > > > > Subject: R?
> > > > > > > > > > > > Started on: July 1, 2015
> > > > > > > > > > > >
> > > > > > > > > > > > Thread 2:
> > > > > > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > > > > > Interpreter for
> > > > > > > > > > > > Zeppelin
> > > > > > > > > > > > Started on: August 13, 2015
> > > > > > > > > > > >
> > > > > > > > > > > > If you want to fetch these from our archive send
> emails
> > > to
> > > > > > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > > Cos
> > > > > > > > > > > >
> > > > > > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik
> > > wrote:
> > > > > > > > > > > > > Guys,
> > > > > > > > > > > > >
> > > > > > > > > > > > > While catching up on my emails from the last a
> couple
> > > of
> > > > > > weeks,
> > > > > > > > > this
> > > > > > > > > > > > thread
> > > > > > > > > > > > > caught my attention. I am not normally paying much
> > > > attention
> > > > > > to the
> > > > > > > > > > > code
> > > > > > > > > > > > > reviews traffic from GH, but this one is pretty
> > > > different as
> > > > > > it
> > > > > > > > > spans
> > > > > > > > > > > > three
> > > > > > > > > > > > > months and counting.
> > > > > > > > > > > > >
> > > > > > > > > > > > > First, here are my five cents:
> > > > > > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is
> > aimed
> > > > to be
> > > > > > > > > > > > contributed to
> > > > > > > > > > > > > an ASF project this file should simply contain ASL2
> > > text,
> > > > > > like in
> > > > > > > > > [1]
> > > > > > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> > > > <developers>
> > > > > > > > > > section,
> > > > > > > > > > > > but
> > > > > > > > > > > > > Zeppelin might have different guidelines on it.
> Say,
> > > > Bigtop
> > > > > > doesn't
> > > > > > > > > > > > > maintain this in the source code, but we have the
> > list
> > > of
> > > > > > all the
> > > > > > > > > > > > > committers on the project's site [2] Every new
> > > > committer's
> > > > > > first
> > > > > > > > > > > > commit is
> > > > > > > > > > > > > to update the team page ;)
> > > > > > > > > > > > > - comments like in
> > > > > > > > > > > >
> > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > > > > > >
> > > > > > > > > > > > > +/**
> > > > > > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > > > > > + */
> > > > > > > > > > > > >
> > > > > > > > > > > > > is better to be removed. It has been already
> > discussed
> > > > here
> > > > > > [3].
> > > > > > > > > And
> > > > > > > > > > > > the
> > > > > > > > > > > > > initial discussion on the topic [4] was linked as
> > well
> > > > > > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not
> > > sure
> > > > if
> > > > > > this is
> > > > > > > > > > > > R-specific
> > > > > > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > > > > > >
> > > > > > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > > > > > ...
> > > > > > > > > > > > > +Author: David B. Dahl
> > > > > > > > > > > > >
> > > > > > > > > > > > > shouldn't be here, IMO. Normally, if some
> additional
> > > > > > licenses are
> > > > > > > > > > > > used,
> > > > > > > > > > > > > they have to be listed in the top-level NOTICE file
> > > > (already
> > > > > > > > > there).
> > > > > > > > > > > > >
> > > > > > > > > > > > > - I am not going to offer any comments on the
> > > technical
> > > > > > merits of
> > > > > > > > > the
> > > > > > > > > > > > patch,
> > > > > > > > > > > > > as I haven't tried it personally. However, I don't
> > see
> > > > any
> > > > > > serious
> > > > > > > > > > > > > technical objections to the functionality in
> > question.
> > > > > > > > > > > > >
> > > > > > > > > > > > > So, the question is - why the PR is open for three
> > > > months? I
> > > > > > hasn't
> > > > > > > > > > > been
> > > > > > > > > > > > able
> > > > > > > > > > > > > to get a clear answer. What I found out though is
> > > pretty
> > > > > > > > > unsettling,
> > > > > > > > > > > > really.
> > > > > > > > > > > > > The communication on the topic is almost
> > non-existent,
> > > > > > except for
> > > > > > > > > > this
> > > > > > > > > > > > sparse
> > > > > > > > > > > > > and bitter thread in the GH.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I would love to hear from the committers what's
> > > stopping
> > > > the
> > > > > > > > > > acceptance
> > > > > > > > > > > > of the
> > > > > > > > > > > > > code, besides of the minor issues I've mentioned
> > > earlier?
> > > > > > What are
> > > > > > > > > > the
> > > > > > > > > > > > reasons for it?
> > > > > > > > > > > > > Is there anything wrong with it?
> > > > > > > > > > > > > One of the responsibilities of the committers is to
> > > make
> > > > > > sure the
> > > > > > > > > > > > > contributions are reviewed; new contributors are
> > > guided
> > > > and
> > > > > > do
> > > > > > > > > > > > understand how
> > > > > > > > > > > > > the project ticks. The easy feedback flow attracts
> > new
> > > > > > people,
> > > > > > > > > > allowing
> > > > > > > > > > > > the
> > > > > > > > > > > > > community to grow and thrive.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I am asking _explicitely_ not to re-start the
> > > bickering I
> > > > > > have
> > > > > > > > > > already
> > > > > > > > > > > > > seen. At this point I am interested in the purely
> > > > technical
> > > > > > side of
> > > > > > > > > > > this.
> > > > > > > > > > > > >
> > > > > > > > > > > > > [1]
> > > https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > > > > > [3]
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > > > > > >
> > > > > > > > > > > > > With regards,
> > > > > > > > > > > > > Cos
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > > > > > Github user elbamos commented on the pull
> request:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The current push should resolve some issues with
> > > > changes
> > > > > > in the
> > > > > > > > > > > > > > Spark-Zeppelin interface that had created issues
> > for
> > > > > > users, as
> > > > > > > > > > > > well as
> > > > > > > > > > > > > > support for 1.5.1.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Knitr support is improved, and the reason for a
> > > > separate
> > > > > > knitr
> > > > > > > > > > > > interpreter may be clearer now.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The amount of code borrowed from rscala is
> reduced.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I did not address issues with @author tags, or
> > files
> > > > under
> > > > > > the R/
> > > > > > > > > > > > > > folder. The reason is, to be blunt, I don't
> > > understand
> > > > > > what the
> > > > > > > > > > > > precise
> > > > > > > > > > > > > > concerns actually are.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Please note that I changed .travis.yml to only
> use
> > > > spark
> > > > > > 1.4 and
> > > > > > > > > > > > later.
> > > > > > > > > > > > > > I'm sure there is a better way to do it, but I'm
> > > just
> > > > not
> > > > > > in a
> > > > > > > > > > > > position
> > > > > > > > > > > > > > to try to figure out the entire Zeppelin build
> > > process.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Integrating this with the rest of zeppelin is
> going
> > > to
> > > > > > take some
> > > > > > > > > > > > work
> > > > > > > > > > > > > > regarding pom's, travis, and so forth. I can do a
> > > lot
> > > > of
> > > > > > that,
> > > > > > > > > > > > but I'm
> > > > > > > > > > > > > > going to need to discuss it with the people who
> > have
> > > > been
> > > > > > > > > "owning"
> > > > > > > > > > > > those
> > > > > > > > > > > > > > files. There are just too many moving pieces
> here.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Because of the size of this (which is,
> > > unfortunately,
> > > > > > necessary),
> > > > > > > > > > > > > > posting here is probably not the most efficient
> > way.
> > > > That
> > > > > > is also
> > > > > > > > > > > > true
> > > > > > > > > > > > > > because certain people chose to use this PR as a
> > > forum
> > > > to
> > > > > > air
> > > > > > > > > other
> > > > > > > > > > > > > > issues. Therefore, it would be better if
> reviewers
> > > > e-mail
> > > > > > me
> > > > > > > > > > > > directly.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> > >
> >
>
Re: R-Interpreter CI Was: Re: contributions impasse. Was: [GitHub]
incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Hi,
I did couple of test against rinterpreter pr [1]. and end up with exception
15/12/25 02:25:54 INFO AppClient$ClientEndpoint: Connecting to master
spark://testing-gce-28dccb9f-5570-4e9c-b911-a5974c99c02f.c.eco-emissary-99515.internal:7071...
15/12/25 02:26:14 ERROR SparkUncaughtExceptionHandler: Uncaught
exception in thread Thread[appclient-registration-retry-thread,5,main]
java.util.concurrent.RejectedExecutionException: Task
java.util.concurrent.FutureTask@5081a4bb rejected from
java.util.concurrent.ThreadPoolExecutor@6f661a47[Running, pool size =
1, active threads = 0, queued tasks = 0, completed tasks = 1]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anonfun$tryRegisterAllMasters$1.apply(AppClient.scala:96)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anonfun$tryRegisterAllMasters$1.apply(AppClient.scala:95)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:108)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint.tryRegisterAllMasters(AppClient.scala:95)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint.org$apache$spark$deploy$client$AppClient$ClientEndpoint$$registerWithMaster(AppClient.scala:121)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anon$2$$anonfun$run$1.apply$mcV$sp(AppClient.scala:132)
at org.apache.spark.util.Utils$.tryOrExit(Utils.scala:1119)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anon$2.run(AppClient.scala:124)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Strange thing is, above test is not related with R interpreter but it
happens
when .travis.yml has following entry in before_intall: section
echo "deb http://cran.rstudio.com/bin/linux/ubuntu precise/" | sudo tee -a
/etc/apt/sources.list
Following is build log (success) without above line in .travis.yml
https://travis-ci.org/Leemoonsoo/incubator-zeppelin/builds/98927745
and code
https://github.com/Leemoonsoo/incubator-zeppelin/tree/71791ee0362d580f670ea037f5af2c780adc2828
Following is build log (fail) with above line in .travis.yml
https://travis-ci.org/Leemoonsoo/incubator-zeppelin/builds/98927745
and code
https://github.com/Leemoonsoo/incubator-zeppelin/tree/650dfa8c3477df722fc4381af62c92b5eeb84403
This is really weird. Let me update more when i get better understanding of
it.
Thanks,
moon
[1] https://github.com/apache/incubator-zeppelin/pull/208
On Tue, Dec 8, 2015 at 10:57 AM Amos B. Elberg <am...@gmail.com>
wrote:
> Thanks, Moon.
>
> If you look at the code now, the reason travis fails is because the
> travis.yaml is messed-up from me trying to get travis not to fail. But
> with that fixed it only fails for other reasons…
>
> I have seen both the failures you describe, but I’ve also seen a bunch of
> others. The most common issue is that the PR, to test, needs to
> instantiate a SparkInterpreter instance without the infrastructure of the
> Zeppelin server, and Spark fails to start.
>
> As a practical way to move forward I propose the following:
>
> 1. The CI issues are broader than this PR, and we should start a separate
> thread to discuss and fix CI in general.
>
> 2. I’m going to close the current PR, and make a new PR that is based on
> the 0.5.5 release code. This PR will *not* be sync’d with
> Zeppelin-Master. It will be sync’d w/ 0.5.5 release because that is a
> stable base. I would appreciate if people could help me with CI, using
> that as a base.
>
> --
> Amos Elberg
> Sent with Airmail
>
> From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org
> <de...@zeppelin.incubator.apache.org> <de...@zeppelin.incubator.apache.org>
> Date: December 8, 2015 at 9:26:38 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> <de...@zeppelin.incubator.apache.org>
> Subject: Re: R-Interpreter CI Was: Re: contributions impasse. Was:
> [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
>
> fyi, some cases of CI failing, when PR does not impact the code,
>
> 1) Flickering test. Some tests are passing sometimes, failing the other
> times. (e.g. ZEPPELIN-476)
> 2) Download fails. Downloading maven artifacts or other requirements from
> internet are sometimes failing
>
> both cases pass if CI triggered again.
>
> Thanks,
> moon
>
> On Tue, Dec 8, 2015 at 6:29 PM DuyHai Doan <do...@gmail.com> wrote:
>
> > I have also experienced CI failing in the pass for some PRs that do not
> > impact the code (Cassandra documentation). I guess that during peak
> hours,
> > the CI servers may be too busy or enter a dead lock so the build fails.
> >
> > At least that's my guess. What do you think ?
> >
> > On Tue, Dec 8, 2015 at 9:42 AM, moon soo Lee <mo...@apache.org> wrote:
> >
> > > Let me run some CI test with your branch and share result here.
> > > Hope i can narrow down the cause and that helps involvement of more
> > people.
> > >
> > > Thanks,
> > > moon
> > >
> > > On Tue, Dec 8, 2015 at 3:08 PM Amos B. Elberg <am...@gmail.com>
> > > wrote:
> > >
> > > > Is there anyone who can work with me on the CI issues? It looks like
> > > > there are a number of PRs experiencing similar things.
> > > >
> > > > I think we should make getting CI stable to be a priority. Because
> it
> > > > will save everyone a lot of frustration and aggravation if CI works
> > > > reliably.
> > > >
> > > > Is there anyone other than Jongyoul and Moon who knows the CI/Build
> > > > process well?
> > > >
> > > > (Moon - Thank you for taking another look at the licensing issue.
> Per
> > > the
> > > > e-mail I wrote about this a few days ago, I don’t feel I have more
> to
> > > > contribute to the licensing discussion, so I’m going to try not to
> > > comment
> > > > further about it.)
> > > >
> > > > From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> > > > Reply: dev@zeppelin.incubator.apache.org
> > > > <de...@zeppelin.incubator.apache.org> <
> dev@zeppelin.incubator.apache.org
> > >
> > > > Date: December 7, 2015 at 5:00:08 PM
> > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > >
> > > > <de...@zeppelin.incubator.apache.org>
> > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > impasse.
> > > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > > >
> > > > Thanks Amos, Roman, Cos for clarifying license issue.
> > > >
> > > > I'm convinced that this license issue will not be a blocker.
> > > >
> > > > In my understanding, these are good sign,
> > > >
> > > > 1. any gpl licensed source codes are not included in the source
> package
> > > > 2. any gpl licensed libraries are not included in the binary package
> > > >
> > > > However, i can not still 100% sure about
> > > >
> > > > 3. any gpl licensed libraries are not linked on runtime
> > > >
> > > > Even after Amos's explanation. I still think using 'knitr' is one of
> > the
> > > > clear case that 'knir' is linked to 'R' according to
> > > > http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL.
> > > >
> > > > Giving input and getting output from GPL licensed interpreter
> (includes
> > > R)
> > > > from Apache licensed software is not a problem. That's not the
> point.
> > > > Let me say in this way. There's an java code,
> > > >
> > > > import com.mysql.jdbc.Driver
> > > > Driver driver = new Driver()
> > > >
> > > > Say without this java code, one of important feature of Zeppelin
> does
> > not
> > > > work. And Zeppelin does not includes GPL licensed file in the source
> > > > package, GPL licensed library in the binary package, but it requires
> > GPL
> > > > licensed library on the runtime.
> > > > In this case, will this java code be a license problem or not?
> > > >
> > > > In other words, my question is
> > > >
> > > > a) Is runtime GPL library dependency allowed in ASF release?
> > > > b) is 'knitr' considered as runtime dependency?
> > > >
> > > > If someone can clarify a), b), then it would be extremely helpful
> > > > understanding this case, and possible similar cases, too.
> > > >
> > > > Thanks,
> > > > moon
> > > >
> > > > On Mon, Dec 7, 2015 at 3:20 PM Konstantin Boudnik <co...@apache.org>
> > > wrote:
> > > >
> > > > > On Thu, Dec 03, 2015 at 11:03AM, Corneau Damien wrote:
> > > > > > Thanks Cos for those answers,
> > > > > >
> > > > > > If I'm right you are advising to have a default build that
> doesn't
> > > > > include
> > > > > > libraries with conflicting licenses, but have an option to
> include
> > > > them
> > > > > for
> > > > > > users who wants to build the project themselves.
> > > > >
> > > > > Yes, that's what I said. Besides, looks like Roman provided the
> > second
> > > > > pair of
> > > > > eyes to this licensing discussion and as well didn't find any
> issues
> > > > with
> > > > > the
> > > > > current approach.
> > > > >
> > > > > Cos
> > > > >
> > > > > > To refer to another thread about decentralizing interpreters, it
> > > could
> > > > > even
> > > > > > be better in that case to have some interpreters separated from
> the
> > > > tree,
> > > > > > and easily pluggable with a release instead of forcing users to
> > build
> > > > the
> > > > > > project to use them.
> > > > > >
> > > > > >
> > > > > > On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <
> cos@apache.org
> > >
> > > > > wrote:
> > > > > >
> > > > > > > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > > > > > > Konstantin thank you for getting into this.
> > > > > > > >
> > > > > > > >> The best way to go around it is by
> > > > > > > >> providing a build-time option that will pull such binaries
> in.
> > > > But
> > > > > by
> > > > > > > default
> > > > > > > >> such libs shouldn't be pulled.
> > > > > > > >
> > > > > > > > That is basically how the PR handles this. If the GPL’d
> > > > interpreter
> > > > > > > scripts
> > > > > > > > are missing, there’s no indication at all at build time. It
> > > > doesn’t
> > > > > try
> > > > > > > to
> > > > > > > > download them.
> > > > > > > >
> > > > > > > > At runtime, if the user tries to use functionality that
> would
> > > need
> > > > > such a
> > > > > > > > script (i.e., if they type “knitr” to use knitr), we display
> an
> > > > error
> > > > > > > that
> > > > > > > > says that the functionality is not there because the library
> is
> > > > > missing,
> > > > > > > and
> > > > > > > > that the library cannot be provided because it has an
> > > incompatible
> > > > > > > license,
> > > > > > > > but the user can download it themselves if they want.
> > > > > > > >
> > > > > > > > And, in the log, if the logging level is high, they will see
> a
> > > > note
> > > > > that
> > > > > > > > some functionality was disabled because the libraries
> weren’t
> > > > there.
> > > > > > > >
> > > > > > > > To be clear, though, none of these libraries are binaries.
> > > They’re
> > > > > all
> > > > > > > interpreter scripts.
> > > > > > >
> > > > > > > If you ever in a doubt of which licenses could be used for
> > > > dependncies
> > > > > > > (not to
> > > > > > > say about source code) are listed in Category A list of [1]
> > > > > > >
> > > > > > > A lot of quesitons discussed here are already covered in the
> > legal
> > > > > FAQ, so
> > > > > > > just check against it if you have any questions.
> > > > > > >
> > > > > > > [1] http://www.apache.org/legal/resolved.html#category-a
> > > > > > >
> > > > > > > Cos
> > > > > > >
> > > > > > > > From: Konstantin Boudnik <co...@apache.org>
> > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org>,
> > > > dev@zeppelin.incubator.apache.org
> > > > > <
> > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > Date: December 2, 2015 at 3:24:50 PM
> > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org
> > > > > > > >
> > > > > > > > Subject: Re: License of KnitRInterpreter Was: Re:
> contributions
> > > > > > > impasse. Was: [GitHub] incubator-zeppelin pull request: R
> > > > Interpreter
> > > > > for
> > > > > > > Zeppelin
> > > > > > > >
> > > > > > > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > > > > > > I think that what moon means is that:
> > > > > > > > > If we merge the way it is now, the KnitRInterpreter will
> be
> > > part
> > > > > of the
> > > > > > > > > code base, so it isn't optional at code base level.
> > > > > > > > >
> > > > > > > > > To make it even more simple:
> > > > > > > > > * If the code has the right licensing -> that code can be
> > part
> > > > of
> > > > > the
> > > > > > > > > source code, and can be including in a binary release
> > > > > > > >
> > > > > > > > We aren't concerned with binary releases - as an Apache
> > community
> > > > we
> > > > > are
> > > > > > > > voting and releasing source code. If the project wants to
> > provide
> > > > a
> > > > > > > binary
> > > > > > > > release to its users, they are better be warned about
> inclusion
> > > of
> > > > > non
> > > > > > > > ASL2-friendly licensed bits.
> > > > > > > >
> > > > > > > > > * If the code doesn't have the right licensing -> it can't
> be
> > > > part
> > > > > of
> > > > > > > the
> > > > > > > > > source code, and can't be included in a binary release
> > > > > > > >
> > > > > > > > See above.
> > > > > > > >
> > > > > > > > > * If the code doesn't have the right licensing but is
> > imported
> > > > at
> > > > > build
> > > > > > > > > time (libraries for example) -> it is not in the source
> code,
> > > it
> > > > > can't
> > > > > > > be
> > > > > > > > > included in binary release
> > > > > > > >
> > > > > > > > That is unless a user doing it on his own. The best way to
> go
> > > > around
> > > > > it
> > > > > > > is by
> > > > > > > > providing a build-time option that will pull such binaries
> in.
> > > But
> > > > by
> > > > > > > default
> > > > > > > > such libs shouldn't be pulled.
> > > > > > > >
> > > > > > > > Cos
> > > > > > > >
> > > > > > > > > So in the case of licensing issues, it would need to be
> fully
> > > > > optional
> > > > > > > > > (user bring the interpreter in his directory and build
> > Zeppelin
> > > > > with
> > > > > > > it)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> > > > > amos.elberg@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Moon let me clarify:
> > > > > > > > > >
> > > > > > > > > > Interpreted code doesn’t “link.” The wiki article
> actually
> > > > > explains
> > > > > > > it
> > > > > > > > > > pretty well —
> > > > > https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > > > > > > “Linking” against a library means compiling its headers
> > into
> > > a
> > > > > > > binary, the
> > > > > > > > > > way a C compiler works. The 2008 e-mail Moon
> distributed,
> > > > called
> > > > > > > this the
> > > > > > > > > > “interpreter exception.”
> > > > > > > > > >
> > > > > > > > > > As for whether GPL’d code is a “mandatory dependency,”
> if
> > > > knitr
> > > > > is
> > > > > > > missing
> > > > > > > > > > the PR will compile, run and test just fine. The user is
> > > never
> > > > > > > prompted to
> > > > > > > > > > download it. The only effect is, if the user types
> “knitr”
> > > and
> > > > > knitr
> > > > > > > isn’t
> > > > > > > > > > there, we display an InterpreterError that knitr isn’t
> > there.
> > > > > > > > > >
> > > > > > > > > > KnitRInterpreter is not optionally required. so it does
> not
> > > > > matter
> > > > > > > KnitR
> > > > > > > > > > is
> > > > > > > > > > optionally required or not.
> > > > > > > > > > Aren’t all interpreters optional? You can turn them on
> and
> > > off
> > > > > in the
> > > > > > > > > > config files.
> > > > > > > > > >
> > > > > > > > > > Do you mean that the KnitRInterpreter class gets
> compiled
> > to
> > > > > > > bytecode even
> > > > > > > > > > if knitr is missing? So what? That isn't a mandatory
> > > > dependency
> > > > > or a
> > > > > > > link.
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Subject: Re: License of KnitRInterpreter Was: Re:
> > > > contributions
> > > > > > > impasse.
> > > > > > > > > > Was: [GitHub] incubator-zeppelin pull request: R
> > Interpreter
> > > > for
> > > > > > > Zeppelin
> > > > > > > > > >
> > > > > > > > > > Let me summarize license concern about KnitRInterpreter.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Amos's interpretation.
> > > > > > > > > >
> > > > > > > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > > > > > > R dependency in SparkR has no problem. So KnitR should
> be
> > the
> > > > > same.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Moon's interpretation.
> > > > > > > > > >
> > > > > > > > > > KnitRInterpreter is not optionally required. so it does
> not
> > > > > matter
> > > > > > > KnitR is
> > > > > > > > > > optionally required or not.
> > > > > > > > > > R dependency in SparkR is exception of GPL. KnitR is not
> > > > applied
> > > > > that
> > > > > > > > > > exception.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Amos, could you confirm my understanding to your
> > > > interpretation
> > > > > is
> > > > > > > correct?
> > > > > > > > > > If it is not could you clarify it?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > > > > > > amos.elberg@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Just to put the final nail in this, I looked it up.
> > > > > > > > > > >
> > > > > > > > > > > I see no evidence of any “compiler exception.”
> > > > > > > > > > >
> > > > > > > > > > > There is an exception in the license for the runtime
> > > > libraries
> > > > > > > that are
> > > > > > > > > > > bundled with GCC. See:
> > > > > > > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > > > > > > >
> > > > > > > > > > > But no “compiler exception.”
> > > > > > > > > > >
> > > > > > > > > > > In fact, I believe this is part of the reason why LLVM
> > was
> > > > > created.
> > > > > > > > > > >
> > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > > incubator-zeppelin pull
> > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > >
> > > > > > > > > > > Is knitR is commonly considered as a
> > interpreter/compiler?
> > > > or
> > > > > is it
> > > > > > > > > > > considered as a library routine?
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > moon
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > > > > > > amos.elberg@gmail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > Moon - you give this as an explanation of the
> licensing
> > > > issue:
> > > > > > > > > > >
> > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > > > >
> > > > > > > > > > > According to that, there is an exception in the GPL
> for
> > > > > interpreter
> > > > > > > > > > > languages. As long as you don’t distribute the code,
> its
> > > > fine
> > > > > to
> > > > > > > talk to
> > > > > > > > > > > an interpreted language.
> > > > > > > > > > >
> > > > > > > > > > > Well, if that’s the case, then the PR plainly does not
> > have
> > > > a
> > > > > > > license
> > > > > > > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > > > > > > >
> > > > > > > > > > > I’m not sure what’s confusing about this. It seems
> > > > completely
> > > > > > > > > > > straightforward.
> > > > > > > > > > >
> > > > > > > > > > > Regarding this:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Amos Elberg
> > > > > > > > > > > Sent with Airmail
> > > > > > > > > > >
> > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > > > > > > >
> > > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > > >
> > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > > incubator-zeppelin pull
> > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > > > > > > amos.elberg@gmail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > I am going to try to minimize my reaction to Moon’s
> > > > e-mail.
> > > > > > > > > > > >
> > > > > > > > > > > > The tl;dr is this:
> > > > > > > > > > > >
> > > > > > > > > > > > The reason we are having this discussion now is that
> > > > active
> > > > > > > users of
> > > > > > > > > > the
> > > > > > > > > > > > PR — which now has its own user base — went public
> to
> > > > > complain
> > > > > > > about
> > > > > > > > > > > this.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > The PR has been tested by an active user base for
> more
> > > > than
> > > > > three
> > > > > > > > > > months.
> > > > > > > > > > > > No-one has been able to identify any specific actual
> > > > > licensing
> > > > > > > problem,
> > > > > > > > > > > and
> > > > > > > > > > > > the PR was prepared based on an extensive, careful
> > review
> > > > of
> > > > > the
> > > > > > > > > > relevant
> > > > > > > > > > > > licensing issues and after contacting the relevant
> > > people.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I admire every software that used by user and helping
> > > > people.
> > > > > That
> > > > > > > > > > includes
> > > > > > > > > > > your work. But that's not the topic we're in
> discussion.
> > > > Active
> > > > > > > user does
> > > > > > > > > > > not mean your contribution can ignore the review.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > It is not an explanation for someone who has been
> > > ignoring
> > > > my
> > > > > > > “how can
> > > > > > > > > > I
> > > > > > > > > > > > move this forward…” emails for three months to point
> > the
> > > > > finger
> > > > > > > and
> > > > > > > > > > say I
> > > > > > > > > > > > didn’t contact the right person or file the right
> > report.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > This is also not the topic in this discussion.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > The burden for providing an explanation for the
> > inaction
> > > > is
> > > > > on
> > > > > > > the PMCC
> > > > > > > > > > > at
> > > > > > > > > > > > this point.
> > > > > > > > > > >
> > > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > > problem
> > > > on
> > > > > > > Zeppelin
> > > > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > > > They’re not! I often see comments on PRs to just
> ignore
> > > > that
> > > > > CI
> > > > > > > is
> > > > > > > > > > > > failing.
> > > > > > > > > > > >
> > > > > > > > > > > > One of the most common reasons this PR fails CI, is
> CI
> > > > > times-out
> > > > > > > > > > > > downloading Spark to install. How could that
> possibly
> > be
> > > > > caused
> > > > > > > by the
> > > > > > > > > > > PR?
> > > > > > > > > > > >
> > > > > > > > > > > > It looks to me like the only PRs with changes to the
> > > > relevant
> > > > > > > parts of
> > > > > > > > > > > the
> > > > > > > > > > > > code — the SparkInterpreter — are being made by the
> > > person
> > > > > who
> > > > > > > wrote
> > > > > > > > > > the
> > > > > > > > > > > > testing suite.
> > > > > > > > > > > >
> > > > > > > > > > > > So, that would explain why some other PRs pass CI:
> > > Neither
> > > > > the
> > > > > > > > > > > > SparkInterpreter nor the testing suite are stable or
> > > > robust,
> > > > > but
> > > > > > > since
> > > > > > > > > > > the
> > > > > > > > > > > > PRs are coming from the person who wrote both…
> > > > > > > > > > > >
> > > > > > > > > > > > And let's say Zeppelin core has problem and that
> makes
> > > > your
> > > > > PR
> > > > > > > fails on
> > > > > > > > > > > CI
> > > > > > > > > > > > test. That's possible. But it still does not mean we
> > can
> > > > > merge
> > > > > > > it with
> > > > > > > > > > CI
> > > > > > > > > > > > failing.
> > > > > > > > > > > >
> > > > > > > > > > > > It means you should be working with me to figure out
> > why
> > > > the
> > > > > CI
> > > > > > > is
> > > > > > > > > > > failing.
> > > > > > > > > > > >
> > > > > > > > > > > > This PR has been tested by an active user base for
> the
> > > > past
> > > > > three
> > > > > > > > > > months.
> > > > > > > > > > > > If CI is continuing to fail, and dozens of hours of
> > > effort
> > > > > have
> > > > > > > not
> > > > > > > > > > > > resolved the CI issues, then it is time to start
> > > > considering
> > > > > > > whether
> > > > > > > > > > the
> > > > > > > > > > > > testing suite is part of the problem.
> > > > > > > > > > > >
> > > > > > > > > > > > The level of defensiveness about the CI and
> > > > SparkInterpreter
> > > > > is
> > > > > > > not
> > > > > > > > > > > > helping to resolve these issues.
> > > > > > > > > > > >
> > > > > > > > > > > > If you think it's problem on Zeppelin core, then
> file
> > an
> > > > > issue
> > > > > > > that
> > > > > > > > > > > > reproduce the problem on Zeppelin core, that might
> be
> > > more
> > > > > > > efficient
> > > > > > > > > > than
> > > > > > > > > > > > keep trying yourself.
> > > > > > > > > > > > I contacted you numerous times about such issues...
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I remember i commented your issue about CI. but you
> just
> > > > keep
> > > > > > > repeated
> > > > > > > > > > it's
> > > > > > > > > > > not your problem but Zeppelin core problem.
> > > > > > > > > > >
> > > > > > > > > > > Then please file an issue about the problem you found
> in
> > > > > Zeppelin
> > > > > > > Core.
> > > > > > > > > > > Then everyone will get into the problem.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > In my interpretation, KnitRInterpreter is not an
> > optional
> > > > > > > feature while
> > > > > > > > > > > it
> > > > > > > > > > > > is always enabled when compiling Zeppelin and always
> > > > enabled
> > > > > when
> > > > > > > > > > running
> > > > > > > > > > > > Zeppelin. And it requires dynamically linked GPL
> > library
> > > > on
> > > > > > > runtime.
> > > > > > > > > > (yes
> > > > > > > > > > > > it will fail when no KnitR is installed on the
> system)
> > > > > > > > > > > >
> > > > > > > > > > > > Its not always enabled.
> > > > > > > > > > > > It is not dynamically linked at runtime.
> > > > > > > > > > > > It will not fail when knitr is missing. If knitr is
> not
> > > > > present,
> > > > > > > the
> > > > > > > > > > repl
> > > > > > > > > > > > interpreter starts and a note is written to to the
> log
> > > > that
> > > > > the
> > > > > > > knitr
> > > > > > > > > > > > interpreter isn’t available because knitr is not
> > present.
> > > > > > > > > > > >
> > > > > > > > > > > > no Apache code can ever call a shell script, on the
> > > > purpose
> > > > > of
> > > > > > > dynamic
> > > > > > > > > > > > linking with GPL library.
> > > > > > > > > > > > You misunderstand.
> > > > > > > > > > > >
> > > > > > > > > > > > The *shell* is GPL'd.
> > > > > > > > > > > >
> > > > > > > > > > > > Is Zeppelin “linked" against the GPL’d shell because
> > > > Zeppelin
> > > > > > > depends
> > > > > > > > > > on
> > > > > > > > > > > a
> > > > > > > > > > > > shell script to launch?
> > > > > > > > > > > >
> > > > > > > > > > > Obviously not.
> > > > > > > > > > > >
> > > > > > > > > > > > The interaction with R in the PR is the same.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Again, bash is one of exceptions of GPL, like other
> GPL
> > > > > licensed
> > > > > > > > > > > compiler/interpreter.
> > > > > > > > > > >
> > > > > > > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > > > > > >
> > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > > > >
> > > > > > > > > > > I'm not sure we can apply the same exception for
> 'using'
> > > > KnitR.
> > > > > > > > > > >
> > > > > > > > > > > My point is not 'KnitR' is optional or not. Point is
> > > > > > > 'KnitRInterpreter'
> > > > > > > > > > you
> > > > > > > > > > > wrote is not an optional feature. Which is clearly not
> > > > > optionally
> > > > > > > enabled
> > > > > > > > > > > code and feature. And that depends on KnitR library
> which
> > > is
> > > > > GPL.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > I was guessing SparkR can be still in Apache License
> > even
> > > > if
> > > > > it
> > > > > > > is
> > > > > > > > > > > depends
> > > > > > > > > > > > on R. Because of GPL licensed compiler generated
> output
> > > is
> > > > > not
> > > > > > > GPL
> > > > > > > > > > > license.
> > > > > > > > > > > > and R is sort of compiler. If you can get answer
> from
> > > > Spark
> > > > > > > community
> > > > > > > > > > how
> > > > > > > > > > > > SparkR get managed to stay in Apache License while R
> is
> > > > GPL,
> > > > > the
> > > > > > > answer
> > > > > > > > > > > > might help.
> > > > > > > > > > > > The description of SparkR is not accurate in any
> > respect.
> > > > (Do
> > > > > > > you think
> > > > > > > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > > > > > > >
> > > > > > > > > > > > I don’t see that any genuine issue is being raised
> > here.
> > > > > > > > > > > >
> > > > > > > > > > > > If there is an issue, the burden is on you to
> identify
> > > it.
> > > > > > > > > > > >
> > > > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > > > sometimes
> > > > > ask
> > > > > > > rebase
> > > > > > > > > > > the
> > > > > > > > > > > > contribution branch for some reason. It is not the
> > really
> > > > the
> > > > > > > best
> > > > > > > > > > > > practice, but still okay while most contributions
> are
> > not
> > > > > > > including
> > > > > > > > > > large
> > > > > > > > > > > > code base changes
> > > > > > > > > > > > However, your one, has more than 4000 lines of code
> > > > change.
> > > > > If
> > > > > > > you
> > > > > > > > > > rebase
> > > > > > > > > > > > then review should be started from the beginning,
> > again.
> > > > So
> > > > > you
> > > > > > > might
> > > > > > > > > > > want
> > > > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > > > >
> > > > > > > > > > > > Are you actually complaining that the problem is
> that I
> > > > > rebased
> > > > > > > the
> > > > > > > > > > code
> > > > > > > > > > > > during the three-month period when no-one looked at
> it
> > > and
> > > > > > > Zeppelin
> > > > > > > > > > went
> > > > > > > > > > > > through a release?
> > > > > > > > > > > >
> > > > > > > > > > > > I cannot take it seriously when you say things like
> > this.
> > > > > > > > > > > >
> > > > > > > > > > > > Having to “start from the beginning” cannot be a
> > problem
> > > > if
> > > > > you
> > > > > > > never
> > > > > > > > > > > > actually started the first time...
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You wanted coordination and cooperation. So i gave you
> > > > > suggestion
> > > > > > > that
> > > > > > > > > > > helping review process. For example, your code has
> been
> > > > rebased
> > > > > > > since my
> > > > > > > > > > > comment and jongyoul's comment. that means committers
> > will
> > > > > need to
> > > > > > > look
> > > > > > > > > > > from the beginning. That'll require more time. And
> > maybe, i
> > > > > guess
> > > > > > > that's
> > > > > > > > > > > not what you want. But If you don't care, feel free to
> > > > rebase.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > moon
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > > incubator-zeppelin
> > > > > > > > > > pull
> > > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > > >
> > > > > > > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > > > > > > amos.elberg@gmail.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > Thank you, Cos.
> > > > > > > > > > > >
> > > > > > > > > > > > I’d like to briefly address the issues raised by
> Moon:
> > > > > > > > > > > >
> > > > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > > > The CI fails on core Zeppelin, *not* code in this
> PR.
> > > > > > > > > > > >
> > > > > > > > > > > > I’ve been seeking assistance on this since August.
> > > > > > > > > > > >
> > > > > > > > > > > > The most common reason is that SparkInterpreter is
> > unable
> > > > to
> > > > > > > launch
> > > > > > > > > > Spark
> > > > > > > > > > > > and open a Spark Backend. This is necessary to test
> the
> > > > PR.
> > > > > > > > > > > >
> > > > > > > > > > > > 60+ hours, has been spent adapting and re-basing
> when
> > the
> > > > > > > > > > > SparkInterpreter
> > > > > > > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > > > problem
> > > > > on
> > > > > > > > > > Zeppelin
> > > > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > > >
> > > > > > > > > > > > And let's say Zeppelin core has problem and that
> makes
> > > > your
> > > > > PR
> > > > > > > fails on
> > > > > > > > > > > CI
> > > > > > > > > > > > test. That's possible. But it still does not mean we
> > can
> > > > > merge
> > > > > > > it with
> > > > > > > > > > CI
> > > > > > > > > > > > failing.
> > > > > > > > > > > >
> > > > > > > > > > > > If you think it's problem on Zeppelin core, then
> file
> > an
> > > > > issue
> > > > > > > that
> > > > > > > > > > > > reproduce the problem on Zeppelin core, that might
> be
> > > more
> > > > > > > efficient
> > > > > > > > > > than
> > > > > > > > > > > > keep trying yourself.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 2. Not 100% sure this PR has no license issue.
> (about
> > > > KniteR)
> > > > > > > > > > > > What license problem *specifically* do you believe
> may
> > > > exist?
> > > > > > > > > > > >
> > > > > > > > > > > > In preparing the PR, I:
> > > > > > > > > > > >
> > > > > > > > > > > > * Reviewed the Apache policy in detail.
> > > > > > > > > > > >
> > > > > > > > > > > > * Contacted the FSF to ask their interpretation of
> the
> > > > > “linking”
> > > > > > > > > > > > provisions of the GPL license.
> > > > > > > > > > > >
> > > > > > > > > > > > * Reviewed how other Apache software deals with this
> > > issue
> > > > > > > (e.g., Spark
> > > > > > > > > > > > talks to R, which is GPL'd).
> > > > > > > > > > > >
> > > > > > > > > > > > * No necessary *dependencies* of the PR have license
> > > > > conflicts.
> > > > > > > In
> > > > > > > > > > > > several cases, I contacted package authors who
> agreed
> > to
> > > > > > > re-issue their
> > > > > > > > > > > > packages under Apache-compatible licenses. (Usually
> I
> > had
> > > > to
> > > > > do
> > > > > > > a bit
> > > > > > > > > > of
> > > > > > > > > > > > coding in exchange…)
> > > > > > > > > > > >
> > > > > > > > > > > > * Where the license had to stay GPL, the packages
> are
> > > *not
> > > > > > > necessary*
> > > > > > > > > > and
> > > > > > > > > > > > *not dependencies.* If the optional packages are
> > present,
> > > > > they
> > > > > > > will be
> > > > > > > > > > > > used to enable additional functionality. Knitr is an
> > > > example.
> > > > > > > The PR
> > > > > > > > > > will
> > > > > > > > > > > > compile and run fine without knitr. If knitr is
> > available
> > > > > (it is
> > > > > > > part
> > > > > > > > > > of
> > > > > > > > > > > > the most common R distribution), the PR will enable
> the
> > > > knitr
> > > > > > > > > > > interpreter.
> > > > > > > > > > > >
> > > > > > > > > > > > * This is exactly how this issue is addressed
> through
> > the
> > > > > Apache
> > > > > > > > > > > > ecosystem.
> > > > > > > > > > > > The tl;dr is this: When Apache code is written to
> talk
> > to
> > > > > > > libraries
> > > > > > > > > > that
> > > > > > > > > > > > may or may not be present on the user’s system, or
> > where
> > > > it
> > > > > > > talks to an
> > > > > > > > > > > API
> > > > > > > > > > > > but is agnostic about implementation, that is not
> > > > “linking”
> > > > > in a
> > > > > > > way
> > > > > > > > > > that
> > > > > > > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > > > > > > >
> > > > > > > > > > > > Otherwise, no Apache code could ever call a shell
> > script!
> > > > Let
> > > > > > > alone run
> > > > > > > > > > > > on Linux, or talk to R.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > > > > > > >
> > > > > > > > > > > > In my interpretation, KnitRInterpreter is not an
> > optional
> > > > > > > feature while
> > > > > > > > > > > it
> > > > > > > > > > > > is always enabled when compiling Zeppelin and always
> > > > enabled
> > > > > when
> > > > > > > > > > running
> > > > > > > > > > > > Zeppelin. And it requires dynamically linked GPL
> > library
> > > > on
> > > > > > > runtime.
> > > > > > > > > > (yes
> > > > > > > > > > > > it will fail when no KnitR is installed on the
> system)
> > > > > > > > > > > >
> > > > > > > > > > > > And of course, no Apache code can ever call a shell
> > > > script,
> > > > > on
> > > > > > > the
> > > > > > > > > > > purpose
> > > > > > > > > > > > of dynamic linking with GPL library.
> > > > > > > > > > > >
> > > > > > > > > > > > I was guessing SparkR can be still in Apache License
> > even
> > > > if
> > > > > it
> > > > > > > is
> > > > > > > > > > > depends
> > > > > > > > > > > > on R. Because of GPL licensed compiler generated
> output
> > > is
> > > > > not
> > > > > > > GPL
> > > > > > > > > > > license.
> > > > > > > > > > > > and R is sort of compiler.
> > > > > > > > > > > >
> > > > > > > > > > > > If you can get answer from Spark community how
> SparkR
> > get
> > > > > > > managed to
> > > > > > > > > > stay
> > > > > > > > > > > > in Apache License while R is GPL, the answer might
> > help.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > > > Has any reviewer has downloaded the PR or run the
> demo
> > > > > notebook?
> > > > > > > (Which
> > > > > > > > > > > > is there for the benefit of reviewers, and isn’t
> > intended
> > > > to
> > > > > go
> > > > > > > in
> > > > > > > > > > final
> > > > > > > > > > > > distribution.)
> > > > > > > > > > > >
> > > > > > > > > > > > How many +1 comments from users would you like to
> see?
> > > > > > > > > > > >
> > > > > > > > > > > > How much time do you believe is required?
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > It all depends on when CI is going to pass, when
> > license
> > > > > problem
> > > > > > > is
> > > > > > > > > > going
> > > > > > > > > > > > to be cleared, and when a committer willing to
> review
> > and
> > > > > > > responsible
> > > > > > > > > > to
> > > > > > > > > > > > commit your contribution.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 1. Large code base change
> > > > > > > > > > > > Large code base changes require coordination and
> > > > cooperation.
> > > > > > > This PR
> > > > > > > > > > > > necessarily implicates the build scripts, testing
> code,
> > > > the
> > > > > > > > > > > > SparkInterpreter, etc.
> > > > > > > > > > > >
> > > > > > > > > > > > I have been seeking to coordinate since August.
> > > > > > > > > > > >
> > > > > > > > > > > > I continue to stand ready to do so.
> > > > > > > > > > > >
> > > > > > > > > > > > -Amos
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > > > sometimes
> > > > > ask
> > > > > > > rebase
> > > > > > > > > > > the
> > > > > > > > > > > > contribution branch for some reason. It is not the
> > really
> > > > the
> > > > > > > best
> > > > > > > > > > > > practice, but still okay while most contributions
> are
> > not
> > > > > > > including
> > > > > > > > > > large
> > > > > > > > > > > > code base changes.
> > > > > > > > > > > >
> > > > > > > > > > > > However, your one, has more than 4000 lines of code
> > > > change.
> > > > > If
> > > > > > > you
> > > > > > > > > > rebase
> > > > > > > > > > > > then review should be started from the beginning,
> > again.
> > > > So
> > > > > you
> > > > > > > might
> > > > > > > > > > > want
> > > > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > moon
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > > incubator-zeppelin
> > > > > > > > > > pull
> > > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > > >
> > > > > > > > > > > > Hi Cos,
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks for opening a discussion.
> > > > > > > > > > > > My answer about 'Why this PR is open for three
> months'
> > is
> > > > > > > > > > > >
> > > > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > > > 2. Not 100% sure this PR has no license issue.
> (about
> > > > KniteR)
> > > > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > > >
> > > > > > > > > > > > It's my personal answer, other committers may have
> > > > different
> > > > > > > opinion.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I think the question should be generalized. Because
> > this
> > > > PR
> > > > > is
> > > > > > > not the
> > > > > > > > > > > only
> > > > > > > > > > > > PR that is in impasse. There're more. For example
> > > > > > > > > > > >
> > > > > > > > > > > > Here's some examples that PR is not been merged.
> > > > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
>
> > > > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > > > > > > and so on.
> > > > > > > > > > > >
> > > > > > > > > > > > I can categorize the cases, based on experience of
> > > > involving
> > > > > > > Zeppelin
> > > > > > > > > > > > community from the beginning.
> > > > > > > > > > > >
> > > > > > > > > > > > 1. Large code base change
> > > > > > > > > > > >
> > > > > > > > > > > > When contribution has large code base changes, it
> tend
> > to
> > > > > take
> > > > > > > more
> > > > > > > > > > time
> > > > > > > > > > > to
> > > > > > > > > > > > review and merged. Normally, most contributions
> merged
> > in
> > > > > 1day~1
> > > > > > > week.
> > > > > > > > > > > > But some contribution has large code base changes
> take
> > > 2~4
> > > > > > > weeks. Few
> > > > > > > > > > > > contribution that has very large code base change
> take
> > > > > months.
> > > > > > > > > > > >
> > > > > > > > > > > > 2. Communication lost
> > > > > > > > > > > >
> > > > > > > > > > > > Sometimes, committer is not responding, or
> contributor
> > is
> > > > not
> > > > > > > > > > responding.
> > > > > > > > > > > >
> > > > > > > > > > > > 3. Opinion diverges
> > > > > > > > > > > >
> > > > > > > > > > > > For some changes, included in contribution. When
> people
> > > > have
> > > > > > > different
> > > > > > > > > > > > opinion and it continue to diverges, those PRs are
> not
> > > > been
> > > > > > > merged.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I think having a guide such as ping other committer
> > when
> > > a
> > > > > > > committer is
> > > > > > > > > > > not
> > > > > > > > > > > > responding, and divide contribution into small
> peaces
> > if
> > > > > > > possible,
> > > > > > > > > > would
> > > > > > > > > > > > help most of the cases.
> > > > > > > > > > > > Of course committer have to pay attention more to
> the
> > > > > > > contribution and
> > > > > > > > > > > > helping people. That's the first one.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > moon
> > > > > > > > > > > >
> > > > > > > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > > > > > > cos@apache.org>
> > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > To make sure we're on the same page, here are two
> > > > threads
> > > > > that
> > > > > > > I
> > > > > > > > > > found
> > > > > > > > > > > > > related
> > > > > > > > > > > > > to this topic.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thread 1:
> > > > > > > > > > > > > Subject: R?
> > > > > > > > > > > > > Started on: July 1, 2015
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thread 2:
> > > > > > > > > > > > > Subject: [GitHub] incubator-zeppelin pull request:
> R
> > > > > > > Interpreter for
> > > > > > > > > > > > > Zeppelin
> > > > > > > > > > > > > Started on: August 13, 2015
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you want to fetch these from our archive send
> > emails
> > > > to
> > > > > > > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cos
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin
> Boudnik
> > > > wrote:
> > > > > > > > > > > > > > Guys,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > While catching up on my emails from the last a
> > couple
> > > > of
> > > > > > > weeks,
> > > > > > > > > > this
> > > > > > > > > > > > > thread
> > > > > > > > > > > > > > caught my attention. I am not normally paying
> much
> > > > > attention
> > > > > > > to the
> > > > > > > > > > > > code
> > > > > > > > > > > > > > reviews traffic from GH, but this one is pretty
> > > > > different as
> > > > > > > it
> > > > > > > > > > spans
> > > > > > > > > > > > > three
> > > > > > > > > > > > > > months and counting.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > First, here are my five cents:
> > > > > > > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is
> > > aimed
> > > > > to be
> > > > > > > > > > > > > contributed to
> > > > > > > > > > > > > > an ASF project this file should simply contain
> ASL2
> > > > text,
> > > > > > > like in
> > > > > > > > > > [1]
> > > > > > > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> > > > > <developers>
> > > > > > > > > > > section,
> > > > > > > > > > > > > but
> > > > > > > > > > > > > > Zeppelin might have different guidelines on it.
> > Say,
> > > > > Bigtop
> > > > > > > doesn't
> > > > > > > > > > > > > > maintain this in the source code, but we have
> the
> > > list
> > > > of
> > > > > > > all the
> > > > > > > > > > > > > > committers on the project's site [2] Every new
> > > > > committer's
> > > > > > > first
> > > > > > > > > > > > > commit is
> > > > > > > > > > > > > > to update the team page ;)
> > > > > > > > > > > > > > - comments like in
> > > > > > > > > > > > >
> > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > +/**
> > > > > > > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > > > > > > + */
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > is better to be removed. It has been already
> > > discussed
> > > > > here
> > > > > > > [3].
> > > > > > > > > > And
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > initial discussion on the topic [4] was linked
> as
> > > well
> > > > > > > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am
> not
> > > > sure
> > > > > if
> > > > > > > this is
> > > > > > > > > > > > > R-specific
> > > > > > > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file
> LICENSE
> > > > > > > > > > > > > > ...
> > > > > > > > > > > > > > +Author: David B. Dahl
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > shouldn't be here, IMO. Normally, if some
> > additional
> > > > > > > licenses are
> > > > > > > > > > > > > used,
> > > > > > > > > > > > > > they have to be listed in the top-level NOTICE
> file
> > > > > (already
> > > > > > > > > > there).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - I am not going to offer any comments on the
> > > > technical
> > > > > > > merits of
> > > > > > > > > > the
> > > > > > > > > > > > > patch,
> > > > > > > > > > > > > > as I haven't tried it personally. However, I
> don't
> > > see
> > > > > any
> > > > > > > serious
> > > > > > > > > > > > > > technical objections to the functionality in
> > > question.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > So, the question is - why the PR is open for
> three
> > > > > months? I
> > > > > > > hasn't
> > > > > > > > > > > > been
> > > > > > > > > > > > > able
> > > > > > > > > > > > > > to get a clear answer. What I found out though
> is
> > > > pretty
> > > > > > > > > > unsettling,
> > > > > > > > > > > > > really.
> > > > > > > > > > > > > > The communication on the topic is almost
> > > non-existent,
> > > > > > > except for
> > > > > > > > > > > this
> > > > > > > > > > > > > sparse
> > > > > > > > > > > > > > and bitter thread in the GH.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I would love to hear from the committers what's
> > > > stopping
> > > > > the
> > > > > > > > > > > acceptance
> > > > > > > > > > > > > of the
> > > > > > > > > > > > > > code, besides of the minor issues I've mentioned
> > > > earlier?
> > > > > > > What are
> > > > > > > > > > > the
> > > > > > > > > > > > > reasons for it?
> > > > > > > > > > > > > > Is there anything wrong with it?
> > > > > > > > > > > > > > One of the responsibilities of the committers is
> to
> > > > make
> > > > > > > sure the
> > > > > > > > > > > > > > contributions are reviewed; new contributors are
> > > > guided
> > > > > and
> > > > > > > do
> > > > > > > > > > > > > understand how
> > > > > > > > > > > > > > the project ticks. The easy feedback flow
> attracts
> > > new
> > > > > > > people,
> > > > > > > > > > > allowing
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > community to grow and thrive.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I am asking _explicitely_ not to re-start the
> > > > bickering I
> > > > > > > have
> > > > > > > > > > > already
> > > > > > > > > > > > > > seen. At this point I am interested in the
> purely
> > > > > technical
> > > > > > > side of
> > > > > > > > > > > > this.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > [1]
> > > > https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > > > > > > [3]
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > With regards,
> > > > > > > > > > > > > > Cos
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > > > > > > Github user elbamos commented on the pull
> > request:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The current push should resolve some issues
> with
> > > > > changes
> > > > > > > in the
> > > > > > > > > > > > > > > Spark-Zeppelin interface that had created
> issues
> > > for
> > > > > > > users, as
> > > > > > > > > > > > > well as
> > > > > > > > > > > > > > > support for 1.5.1.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Knitr support is improved, and the reason for
> a
> > > > > separate
> > > > > > > knitr
> > > > > > > > > > > > > interpreter may be clearer now.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The amount of code borrowed from rscala is
> > reduced.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I did not address issues with @author tags, or
> > > files
> > > > > under
> > > > > > > the R/
> > > > > > > > > > > > > > > folder. The reason is, to be blunt, I don't
> > > > understand
> > > > > > > what the
> > > > > > > > > > > > > precise
> > > > > > > > > > > > > > > concerns actually are.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Please note that I changed .travis.yml to only
> > use
> > > > > spark
> > > > > > > 1.4 and
> > > > > > > > > > > > > later.
> > > > > > > > > > > > > > > I'm sure there is a better way to do it, but
> I'm
> > > > just
> > > > > not
> > > > > > > in a
> > > > > > > > > > > > > position
> > > > > > > > > > > > > > > to try to figure out the entire Zeppelin build
> > > > process.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Integrating this with the rest of zeppelin is
> > going
> > > > to
> > > > > > > take some
> > > > > > > > > > > > > work
> > > > > > > > > > > > > > > regarding pom's, travis, and so forth. I can
> do a
> > > > lot
> > > > > of
> > > > > > > that,
> > > > > > > > > > > > > but I'm
> > > > > > > > > > > > > > > going to need to discuss it with the people
> who
> > > have
> > > > > been
> > > > > > > > > > "owning"
> > > > > > > > > > > > > those
> > > > > > > > > > > > > > > files. There are just too many moving pieces
> > here.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Because of the size of this (which is,
> > > > unfortunately,
> > > > > > > necessary),
> > > > > > > > > > > > > > > posting here is probably not the most
> efficient
> > > way.
> > > > > That
> > > > > > > is also
> > > > > > > > > > > > > true
> > > > > > > > > > > > > > > because certain people chose to use this PR as
> a
> > > > forum
> > > > > to
> > > > > > > air
> > > > > > > > > > other
> > > > > > > > > > > > > > > issues. Therefore, it would be better if
> > reviewers
> > > > > e-mail
> > > > > > > me
> > > > > > > > > > > > > directly.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > >
> > > > >
> > > >
> > > >
> > >
> >
>
>
Re: R-Interpreter CI Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Thanks, Moon.
If you look at the code now, the reason travis fails is because the travis.yaml is messed-up from me trying to get travis not to fail. But with that fixed it only fails for other reasons…
I have seen both the failures you describe, but I’ve also seen a bunch of others. The most common issue is that the PR, to test, needs to instantiate a SparkInterpreter instance without the infrastructure of the Zeppelin server, and Spark fails to start.
As a practical way to move forward I propose the following:
1. The CI issues are broader than this PR, and we should start a separate thread to discuss and fix CI in general.
2. I’m going to close the current PR, and make a new PR that is based on the 0.5.5 release code. This PR will *not* be sync’d with Zeppelin-Master. It will be sync’d w/ 0.5.5 release because that is a stable base. I would appreciate if people could help me with CI, using that as a base.
--
Amos Elberg
Sent with Airmail
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 8, 2015 at 9:26:38 AM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: R-Interpreter CI Was: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
fyi, some cases of CI failing, when PR does not impact the code,
1) Flickering test. Some tests are passing sometimes, failing the other
times. (e.g. ZEPPELIN-476)
2) Download fails. Downloading maven artifacts or other requirements from
internet are sometimes failing
both cases pass if CI triggered again.
Thanks,
moon
On Tue, Dec 8, 2015 at 6:29 PM DuyHai Doan <do...@gmail.com> wrote:
> I have also experienced CI failing in the pass for some PRs that do not
> impact the code (Cassandra documentation). I guess that during peak hours,
> the CI servers may be too busy or enter a dead lock so the build fails.
>
> At least that's my guess. What do you think ?
>
> On Tue, Dec 8, 2015 at 9:42 AM, moon soo Lee <mo...@apache.org> wrote:
>
> > Let me run some CI test with your branch and share result here.
> > Hope i can narrow down the cause and that helps involvement of more
> people.
> >
> > Thanks,
> > moon
> >
> > On Tue, Dec 8, 2015 at 3:08 PM Amos B. Elberg <am...@gmail.com>
> > wrote:
> >
> > > Is there anyone who can work with me on the CI issues? It looks like
> > > there are a number of PRs experiencing similar things.
> > >
> > > I think we should make getting CI stable to be a priority. Because it
> > > will save everyone a lot of frustration and aggravation if CI works
> > > reliably.
> > >
> > > Is there anyone other than Jongyoul and Moon who knows the CI/Build
> > > process well?
> > >
> > > (Moon - Thank you for taking another look at the licensing issue. Per
> > the
> > > e-mail I wrote about this a few days ago, I don’t feel I have more to
> > > contribute to the licensing discussion, so I’m going to try not to
> > comment
> > > further about it.)
> > >
> > > From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org
> > > <de...@zeppelin.incubator.apache.org> <dev@zeppelin.incubator.apache.org
> >
> > > Date: December 7, 2015 at 5:00:08 PM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > <de...@zeppelin.incubator.apache.org>
> > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> impasse.
> > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> Zeppelin
> > >
> > > Thanks Amos, Roman, Cos for clarifying license issue.
> > >
> > > I'm convinced that this license issue will not be a blocker.
> > >
> > > In my understanding, these are good sign,
> > >
> > > 1. any gpl licensed source codes are not included in the source package
> > > 2. any gpl licensed libraries are not included in the binary package
> > >
> > > However, i can not still 100% sure about
> > >
> > > 3. any gpl licensed libraries are not linked on runtime
> > >
> > > Even after Amos's explanation. I still think using 'knitr' is one of
> the
> > > clear case that 'knir' is linked to 'R' according to
> > > http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL.
> > >
> > > Giving input and getting output from GPL licensed interpreter (includes
> > R)
> > > from Apache licensed software is not a problem. That's not the point.
> > > Let me say in this way. There's an java code,
> > >
> > > import com.mysql.jdbc.Driver
> > > Driver driver = new Driver()
> > >
> > > Say without this java code, one of important feature of Zeppelin does
> not
> > > work. And Zeppelin does not includes GPL licensed file in the source
> > > package, GPL licensed library in the binary package, but it requires
> GPL
> > > licensed library on the runtime.
> > > In this case, will this java code be a license problem or not?
> > >
> > > In other words, my question is
> > >
> > > a) Is runtime GPL library dependency allowed in ASF release?
> > > b) is 'knitr' considered as runtime dependency?
> > >
> > > If someone can clarify a), b), then it would be extremely helpful
> > > understanding this case, and possible similar cases, too.
> > >
> > > Thanks,
> > > moon
> > >
> > > On Mon, Dec 7, 2015 at 3:20 PM Konstantin Boudnik <co...@apache.org>
> > wrote:
> > >
> > > > On Thu, Dec 03, 2015 at 11:03AM, Corneau Damien wrote:
> > > > > Thanks Cos for those answers,
> > > > >
> > > > > If I'm right you are advising to have a default build that doesn't
> > > > include
> > > > > libraries with conflicting licenses, but have an option to include
> > > them
> > > > for
> > > > > users who wants to build the project themselves.
> > > >
> > > > Yes, that's what I said. Besides, looks like Roman provided the
> second
> > > > pair of
> > > > eyes to this licensing discussion and as well didn't find any issues
> > > with
> > > > the
> > > > current approach.
> > > >
> > > > Cos
> > > >
> > > > > To refer to another thread about decentralizing interpreters, it
> > could
> > > > even
> > > > > be better in that case to have some interpreters separated from the
> > > tree,
> > > > > and easily pluggable with a release instead of forcing users to
> build
> > > the
> > > > > project to use them.
> > > > >
> > > > >
> > > > > On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <cos@apache.org
> >
> > > > wrote:
> > > > >
> > > > > > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > > > > > Konstantin thank you for getting into this.
> > > > > > >
> > > > > > >> The best way to go around it is by
> > > > > > >> providing a build-time option that will pull such binaries in.
> > > But
> > > > by
> > > > > > default
> > > > > > >> such libs shouldn't be pulled.
> > > > > > >
> > > > > > > That is basically how the PR handles this. If the GPL’d
> > > interpreter
> > > > > > scripts
> > > > > > > are missing, there’s no indication at all at build time. It
> > > doesn’t
> > > > try
> > > > > > to
> > > > > > > download them.
> > > > > > >
> > > > > > > At runtime, if the user tries to use functionality that would
> > need
> > > > such a
> > > > > > > script (i.e., if they type “knitr” to use knitr), we display an
> > > error
> > > > > > that
> > > > > > > says that the functionality is not there because the library is
> > > > missing,
> > > > > > and
> > > > > > > that the library cannot be provided because it has an
> > incompatible
> > > > > > license,
> > > > > > > but the user can download it themselves if they want.
> > > > > > >
> > > > > > > And, in the log, if the logging level is high, they will see a
> > > note
> > > > that
> > > > > > > some functionality was disabled because the libraries weren’t
> > > there.
> > > > > > >
> > > > > > > To be clear, though, none of these libraries are binaries.
> > They’re
> > > > all
> > > > > > interpreter scripts.
> > > > > >
> > > > > > If you ever in a doubt of which licenses could be used for
> > > dependncies
> > > > > > (not to
> > > > > > say about source code) are listed in Category A list of [1]
> > > > > >
> > > > > > A lot of quesitons discussed here are already covered in the
> legal
> > > > FAQ, so
> > > > > > just check against it if you have any questions.
> > > > > >
> > > > > > [1] http://www.apache.org/legal/resolved.html#category-a
> > > > > >
> > > > > > Cos
> > > > > >
> > > > > > > From: Konstantin Boudnik <co...@apache.org>
> > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>,
> > > dev@zeppelin.incubator.apache.org
> > > > <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Date: December 2, 2015 at 3:24:50 PM
> > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org
> > > > > > >
> > > > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > > > > > impasse. Was: [GitHub] incubator-zeppelin pull request: R
> > > Interpreter
> > > > for
> > > > > > Zeppelin
> > > > > > >
> > > > > > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > > > > > I think that what moon means is that:
> > > > > > > > If we merge the way it is now, the KnitRInterpreter will be
> > part
> > > > of the
> > > > > > > > code base, so it isn't optional at code base level.
> > > > > > > >
> > > > > > > > To make it even more simple:
> > > > > > > > * If the code has the right licensing -> that code can be
> part
> > > of
> > > > the
> > > > > > > > source code, and can be including in a binary release
> > > > > > >
> > > > > > > We aren't concerned with binary releases - as an Apache
> community
> > > we
> > > > are
> > > > > > > voting and releasing source code. If the project wants to
> provide
> > > a
> > > > > > binary
> > > > > > > release to its users, they are better be warned about inclusion
> > of
> > > > non
> > > > > > > ASL2-friendly licensed bits.
> > > > > > >
> > > > > > > > * If the code doesn't have the right licensing -> it can't be
> > > part
> > > > of
> > > > > > the
> > > > > > > > source code, and can't be included in a binary release
> > > > > > >
> > > > > > > See above.
> > > > > > >
> > > > > > > > * If the code doesn't have the right licensing but is
> imported
> > > at
> > > > build
> > > > > > > > time (libraries for example) -> it is not in the source code,
> > it
> > > > can't
> > > > > > be
> > > > > > > > included in binary release
> > > > > > >
> > > > > > > That is unless a user doing it on his own. The best way to go
> > > around
> > > > it
> > > > > > is by
> > > > > > > providing a build-time option that will pull such binaries in.
> > But
> > > by
> > > > > > default
> > > > > > > such libs shouldn't be pulled.
> > > > > > >
> > > > > > > Cos
> > > > > > >
> > > > > > > > So in the case of licensing issues, it would need to be fully
> > > > optional
> > > > > > > > (user bring the interpreter in his directory and build
> Zeppelin
> > > > with
> > > > > > it)
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> > > > amos.elberg@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Moon let me clarify:
> > > > > > > > >
> > > > > > > > > Interpreted code doesn’t “link.” The wiki article actually
> > > > explains
> > > > > > it
> > > > > > > > > pretty well —
> > > > https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > > > > > “Linking” against a library means compiling its headers
> into
> > a
> > > > > > binary, the
> > > > > > > > > way a C compiler works. The 2008 e-mail Moon distributed,
> > > called
> > > > > > this the
> > > > > > > > > “interpreter exception.”
> > > > > > > > >
> > > > > > > > > As for whether GPL’d code is a “mandatory dependency,” if
> > > knitr
> > > > is
> > > > > > missing
> > > > > > > > > the PR will compile, run and test just fine. The user is
> > never
> > > > > > prompted to
> > > > > > > > > download it. The only effect is, if the user types “knitr”
> > and
> > > > knitr
> > > > > > isn’t
> > > > > > > > > there, we display an InterpreterError that knitr isn’t
> there.
> > > > > > > > >
> > > > > > > > > KnitRInterpreter is not optionally required. so it does not
> > > > matter
> > > > > > KnitR
> > > > > > > > > is
> > > > > > > > > optionally required or not.
> > > > > > > > > Aren’t all interpreters optional? You can turn them on and
> > off
> > > > in the
> > > > > > > > > config files.
> > > > > > > > >
> > > > > > > > > Do you mean that the KnitRInterpreter class gets compiled
> to
> > > > > > bytecode even
> > > > > > > > > if knitr is missing? So what? That isn't a mandatory
> > > dependency
> > > > or a
> > > > > > link.
> > > > > > > > >
> > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Subject: Re: License of KnitRInterpreter Was: Re:
> > > contributions
> > > > > > impasse.
> > > > > > > > > Was: [GitHub] incubator-zeppelin pull request: R
> Interpreter
> > > for
> > > > > > Zeppelin
> > > > > > > > >
> > > > > > > > > Let me summarize license concern about KnitRInterpreter.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Amos's interpretation.
> > > > > > > > >
> > > > > > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > > > > > R dependency in SparkR has no problem. So KnitR should be
> the
> > > > same.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Moon's interpretation.
> > > > > > > > >
> > > > > > > > > KnitRInterpreter is not optionally required. so it does not
> > > > matter
> > > > > > KnitR is
> > > > > > > > > optionally required or not.
> > > > > > > > > R dependency in SparkR is exception of GPL. KnitR is not
> > > applied
> > > > that
> > > > > > > > > exception.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Amos, could you confirm my understanding to your
> > > interpretation
> > > > is
> > > > > > correct?
> > > > > > > > > If it is not could you clarify it?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > moon
> > > > > > > > >
> > > > > > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Just to put the final nail in this, I looked it up.
> > > > > > > > > >
> > > > > > > > > > I see no evidence of any “compiler exception.”
> > > > > > > > > >
> > > > > > > > > > There is an exception in the license for the runtime
> > > libraries
> > > > > > that are
> > > > > > > > > > bundled with GCC. See:
> > > > > > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > > > > > >
> > > > > > > > > > But no “compiler exception.”
> > > > > > > > > >
> > > > > > > > > > In fact, I believe this is part of the reason why LLVM
> was
> > > > created.
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin pull
> > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > >
> > > > > > > > > > Is knitR is commonly considered as a
> interpreter/compiler?
> > > or
> > > > is it
> > > > > > > > > > considered as a library routine?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > > Moon - you give this as an explanation of the licensing
> > > issue:
> > > > > > > > > >
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > > >
> > > > > > > > > > According to that, there is an exception in the GPL for
> > > > interpreter
> > > > > > > > > > languages. As long as you don’t distribute the code, its
> > > fine
> > > > to
> > > > > > talk to
> > > > > > > > > > an interpreted language.
> > > > > > > > > >
> > > > > > > > > > Well, if that’s the case, then the PR plainly does not
> have
> > > a
> > > > > > license
> > > > > > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > > > > > >
> > > > > > > > > > I’m not sure what’s confusing about this. It seems
> > > completely
> > > > > > > > > > straightforward.
> > > > > > > > > >
> > > > > > > > > > Regarding this:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Amos Elberg
> > > > > > > > > > Sent with Airmail
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > > > > > >
> > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > >
> > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin pull
> > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > >
> > > > > > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I am going to try to minimize my reaction to Moon’s
> > > e-mail.
> > > > > > > > > > >
> > > > > > > > > > > The tl;dr is this:
> > > > > > > > > > >
> > > > > > > > > > > The reason we are having this discussion now is that
> > > active
> > > > > > users of
> > > > > > > > > the
> > > > > > > > > > > PR — which now has its own user base — went public to
> > > > complain
> > > > > > about
> > > > > > > > > > this.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > The PR has been tested by an active user base for more
> > > than
> > > > three
> > > > > > > > > months.
> > > > > > > > > > > No-one has been able to identify any specific actual
> > > > licensing
> > > > > > problem,
> > > > > > > > > > and
> > > > > > > > > > > the PR was prepared based on an extensive, careful
> review
> > > of
> > > > the
> > > > > > > > > relevant
> > > > > > > > > > > licensing issues and after contacting the relevant
> > people.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I admire every software that used by user and helping
> > > people.
> > > > That
> > > > > > > > > includes
> > > > > > > > > > your work. But that's not the topic we're in discussion.
> > > Active
> > > > > > user does
> > > > > > > > > > not mean your contribution can ignore the review.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > It is not an explanation for someone who has been
> > ignoring
> > > my
> > > > > > “how can
> > > > > > > > > I
> > > > > > > > > > > move this forward…” emails for three months to point
> the
> > > > finger
> > > > > > and
> > > > > > > > > say I
> > > > > > > > > > > didn’t contact the right person or file the right
> report.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > This is also not the topic in this discussion.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > The burden for providing an explanation for the
> inaction
> > > is
> > > > on
> > > > > > the PMCC
> > > > > > > > > > at
> > > > > > > > > > > this point.
> > > > > > > > > >
> > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > problem
> > > on
> > > > > > Zeppelin
> > > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > > They’re not! I often see comments on PRs to just ignore
> > > that
> > > > CI
> > > > > > is
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > One of the most common reasons this PR fails CI, is CI
> > > > times-out
> > > > > > > > > > > downloading Spark to install. How could that possibly
> be
> > > > caused
> > > > > > by the
> > > > > > > > > > PR?
> > > > > > > > > > >
> > > > > > > > > > > It looks to me like the only PRs with changes to the
> > > relevant
> > > > > > parts of
> > > > > > > > > > the
> > > > > > > > > > > code — the SparkInterpreter — are being made by the
> > person
> > > > who
> > > > > > wrote
> > > > > > > > > the
> > > > > > > > > > > testing suite.
> > > > > > > > > > >
> > > > > > > > > > > So, that would explain why some other PRs pass CI:
> > Neither
> > > > the
> > > > > > > > > > > SparkInterpreter nor the testing suite are stable or
> > > robust,
> > > > but
> > > > > > since
> > > > > > > > > > the
> > > > > > > > > > > PRs are coming from the person who wrote both…
> > > > > > > > > > >
> > > > > > > > > > > And let's say Zeppelin core has problem and that makes
> > > your
> > > > PR
> > > > > > fails on
> > > > > > > > > > CI
> > > > > > > > > > > test. That's possible. But it still does not mean we
> can
> > > > merge
> > > > > > it with
> > > > > > > > > CI
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > It means you should be working with me to figure out
> why
> > > the
> > > > CI
> > > > > > is
> > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > This PR has been tested by an active user base for the
> > > past
> > > > three
> > > > > > > > > months.
> > > > > > > > > > > If CI is continuing to fail, and dozens of hours of
> > effort
> > > > have
> > > > > > not
> > > > > > > > > > > resolved the CI issues, then it is time to start
> > > considering
> > > > > > whether
> > > > > > > > > the
> > > > > > > > > > > testing suite is part of the problem.
> > > > > > > > > > >
> > > > > > > > > > > The level of defensiveness about the CI and
> > > SparkInterpreter
> > > > is
> > > > > > not
> > > > > > > > > > > helping to resolve these issues.
> > > > > > > > > > >
> > > > > > > > > > > If you think it's problem on Zeppelin core, then file
> an
> > > > issue
> > > > > > that
> > > > > > > > > > > reproduce the problem on Zeppelin core, that might be
> > more
> > > > > > efficient
> > > > > > > > > than
> > > > > > > > > > > keep trying yourself.
> > > > > > > > > > > I contacted you numerous times about such issues...
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I remember i commented your issue about CI. but you just
> > > keep
> > > > > > repeated
> > > > > > > > > it's
> > > > > > > > > > not your problem but Zeppelin core problem.
> > > > > > > > > >
> > > > > > > > > > Then please file an issue about the problem you found in
> > > > Zeppelin
> > > > > > Core.
> > > > > > > > > > Then everyone will get into the problem.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > In my interpretation, KnitRInterpreter is not an
> optional
> > > > > > feature while
> > > > > > > > > > it
> > > > > > > > > > > is always enabled when compiling Zeppelin and always
> > > enabled
> > > > when
> > > > > > > > > running
> > > > > > > > > > > Zeppelin. And it requires dynamically linked GPL
> library
> > > on
> > > > > > runtime.
> > > > > > > > > (yes
> > > > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > > > >
> > > > > > > > > > > Its not always enabled.
> > > > > > > > > > > It is not dynamically linked at runtime.
> > > > > > > > > > > It will not fail when knitr is missing. If knitr is not
> > > > present,
> > > > > > the
> > > > > > > > > repl
> > > > > > > > > > > interpreter starts and a note is written to to the log
> > > that
> > > > the
> > > > > > knitr
> > > > > > > > > > > interpreter isn’t available because knitr is not
> present.
> > > > > > > > > > >
> > > > > > > > > > > no Apache code can ever call a shell script, on the
> > > purpose
> > > > of
> > > > > > dynamic
> > > > > > > > > > > linking with GPL library.
> > > > > > > > > > > You misunderstand.
> > > > > > > > > > >
> > > > > > > > > > > The *shell* is GPL'd.
> > > > > > > > > > >
> > > > > > > > > > > Is Zeppelin “linked" against the GPL’d shell because
> > > Zeppelin
> > > > > > depends
> > > > > > > > > on
> > > > > > > > > > a
> > > > > > > > > > > shell script to launch?
> > > > > > > > > > >
> > > > > > > > > > Obviously not.
> > > > > > > > > > >
> > > > > > > > > > > The interaction with R in the PR is the same.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Again, bash is one of exceptions of GPL, like other GPL
> > > > licensed
> > > > > > > > > > compiler/interpreter.
> > > > > > > > > >
> > > > > > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > > > > >
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > > >
> > > > > > > > > > I'm not sure we can apply the same exception for 'using'
> > > KnitR.
> > > > > > > > > >
> > > > > > > > > > My point is not 'KnitR' is optional or not. Point is
> > > > > > 'KnitRInterpreter'
> > > > > > > > > you
> > > > > > > > > > wrote is not an optional feature. Which is clearly not
> > > > optionally
> > > > > > enabled
> > > > > > > > > > code and feature. And that depends on KnitR library which
> > is
> > > > GPL.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > I was guessing SparkR can be still in Apache License
> even
> > > if
> > > > it
> > > > > > is
> > > > > > > > > > depends
> > > > > > > > > > > on R. Because of GPL licensed compiler generated output
> > is
> > > > not
> > > > > > GPL
> > > > > > > > > > license.
> > > > > > > > > > > and R is sort of compiler. If you can get answer from
> > > Spark
> > > > > > community
> > > > > > > > > how
> > > > > > > > > > > SparkR get managed to stay in Apache License while R is
> > > GPL,
> > > > the
> > > > > > answer
> > > > > > > > > > > might help.
> > > > > > > > > > > The description of SparkR is not accurate in any
> respect.
> > > (Do
> > > > > > you think
> > > > > > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > > > > > >
> > > > > > > > > > > I don’t see that any genuine issue is being raised
> here.
> > > > > > > > > > >
> > > > > > > > > > > If there is an issue, the burden is on you to identify
> > it.
> > > > > > > > > > >
> > > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > > sometimes
> > > > ask
> > > > > > rebase
> > > > > > > > > > the
> > > > > > > > > > > contribution branch for some reason. It is not the
> really
> > > the
> > > > > > best
> > > > > > > > > > > practice, but still okay while most contributions are
> not
> > > > > > including
> > > > > > > > > large
> > > > > > > > > > > code base changes
> > > > > > > > > > > However, your one, has more than 4000 lines of code
> > > change.
> > > > If
> > > > > > you
> > > > > > > > > rebase
> > > > > > > > > > > then review should be started from the beginning,
> again.
> > > So
> > > > you
> > > > > > might
> > > > > > > > > > want
> > > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > > >
> > > > > > > > > > > Are you actually complaining that the problem is that I
> > > > rebased
> > > > > > the
> > > > > > > > > code
> > > > > > > > > > > during the three-month period when no-one looked at it
> > and
> > > > > > Zeppelin
> > > > > > > > > went
> > > > > > > > > > > through a release?
> > > > > > > > > > >
> > > > > > > > > > > I cannot take it seriously when you say things like
> this.
> > > > > > > > > > >
> > > > > > > > > > > Having to “start from the beginning” cannot be a
> problem
> > > if
> > > > you
> > > > > > never
> > > > > > > > > > > actually started the first time...
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You wanted coordination and cooperation. So i gave you
> > > > suggestion
> > > > > > that
> > > > > > > > > > helping review process. For example, your code has been
> > > rebased
> > > > > > since my
> > > > > > > > > > comment and jongyoul's comment. that means committers
> will
> > > > need to
> > > > > > look
> > > > > > > > > > from the beginning. That'll require more time. And
> maybe, i
> > > > guess
> > > > > > that's
> > > > > > > > > > not what you want. But If you don't care, feel free to
> > > rebase.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin
> > > > > > > > > pull
> > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > Thank you, Cos.
> > > > > > > > > > >
> > > > > > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > > > > > >
> > > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > > > > > >
> > > > > > > > > > > I’ve been seeking assistance on this since August.
> > > > > > > > > > >
> > > > > > > > > > > The most common reason is that SparkInterpreter is
> unable
> > > to
> > > > > > launch
> > > > > > > > > Spark
> > > > > > > > > > > and open a Spark Backend. This is necessary to test the
> > > PR.
> > > > > > > > > > >
> > > > > > > > > > > 60+ hours, has been spent adapting and re-basing when
> the
> > > > > > > > > > SparkInterpreter
> > > > > > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > > problem
> > > > on
> > > > > > > > > Zeppelin
> > > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > >
> > > > > > > > > > > And let's say Zeppelin core has problem and that makes
> > > your
> > > > PR
> > > > > > fails on
> > > > > > > > > > CI
> > > > > > > > > > > test. That's possible. But it still does not mean we
> can
> > > > merge
> > > > > > it with
> > > > > > > > > CI
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > If you think it's problem on Zeppelin core, then file
> an
> > > > issue
> > > > > > that
> > > > > > > > > > > reproduce the problem on Zeppelin core, that might be
> > more
> > > > > > efficient
> > > > > > > > > than
> > > > > > > > > > > keep trying yourself.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> > > KniteR)
> > > > > > > > > > > What license problem *specifically* do you believe may
> > > exist?
> > > > > > > > > > >
> > > > > > > > > > > In preparing the PR, I:
> > > > > > > > > > >
> > > > > > > > > > > * Reviewed the Apache policy in detail.
> > > > > > > > > > >
> > > > > > > > > > > * Contacted the FSF to ask their interpretation of the
> > > > “linking”
> > > > > > > > > > > provisions of the GPL license.
> > > > > > > > > > >
> > > > > > > > > > > * Reviewed how other Apache software deals with this
> > issue
> > > > > > (e.g., Spark
> > > > > > > > > > > talks to R, which is GPL'd).
> > > > > > > > > > >
> > > > > > > > > > > * No necessary *dependencies* of the PR have license
> > > > conflicts.
> > > > > > In
> > > > > > > > > > > several cases, I contacted package authors who agreed
> to
> > > > > > re-issue their
> > > > > > > > > > > packages under Apache-compatible licenses. (Usually I
> had
> > > to
> > > > do
> > > > > > a bit
> > > > > > > > > of
> > > > > > > > > > > coding in exchange…)
> > > > > > > > > > >
> > > > > > > > > > > * Where the license had to stay GPL, the packages are
> > *not
> > > > > > necessary*
> > > > > > > > > and
> > > > > > > > > > > *not dependencies.* If the optional packages are
> present,
> > > > they
> > > > > > will be
> > > > > > > > > > > used to enable additional functionality. Knitr is an
> > > example.
> > > > > > The PR
> > > > > > > > > will
> > > > > > > > > > > compile and run fine without knitr. If knitr is
> available
> > > > (it is
> > > > > > part
> > > > > > > > > of
> > > > > > > > > > > the most common R distribution), the PR will enable the
> > > knitr
> > > > > > > > > > interpreter.
> > > > > > > > > > >
> > > > > > > > > > > * This is exactly how this issue is addressed through
> the
> > > > Apache
> > > > > > > > > > > ecosystem.
> > > > > > > > > > > The tl;dr is this: When Apache code is written to talk
> to
> > > > > > libraries
> > > > > > > > > that
> > > > > > > > > > > may or may not be present on the user’s system, or
> where
> > > it
> > > > > > talks to an
> > > > > > > > > > API
> > > > > > > > > > > but is agnostic about implementation, that is not
> > > “linking”
> > > > in a
> > > > > > way
> > > > > > > > > that
> > > > > > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > > > > > >
> > > > > > > > > > > Otherwise, no Apache code could ever call a shell
> script!
> > > Let
> > > > > > alone run
> > > > > > > > > > > on Linux, or talk to R.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > > > > > >
> > > > > > > > > > > In my interpretation, KnitRInterpreter is not an
> optional
> > > > > > feature while
> > > > > > > > > > it
> > > > > > > > > > > is always enabled when compiling Zeppelin and always
> > > enabled
> > > > when
> > > > > > > > > running
> > > > > > > > > > > Zeppelin. And it requires dynamically linked GPL
> library
> > > on
> > > > > > runtime.
> > > > > > > > > (yes
> > > > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > > > >
> > > > > > > > > > > And of course, no Apache code can ever call a shell
> > > script,
> > > > on
> > > > > > the
> > > > > > > > > > purpose
> > > > > > > > > > > of dynamic linking with GPL library.
> > > > > > > > > > >
> > > > > > > > > > > I was guessing SparkR can be still in Apache License
> even
> > > if
> > > > it
> > > > > > is
> > > > > > > > > > depends
> > > > > > > > > > > on R. Because of GPL licensed compiler generated output
> > is
> > > > not
> > > > > > GPL
> > > > > > > > > > license.
> > > > > > > > > > > and R is sort of compiler.
> > > > > > > > > > >
> > > > > > > > > > > If you can get answer from Spark community how SparkR
> get
> > > > > > managed to
> > > > > > > > > stay
> > > > > > > > > > > in Apache License while R is GPL, the answer might
> help.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > > Has any reviewer has downloaded the PR or run the demo
> > > > notebook?
> > > > > > (Which
> > > > > > > > > > > is there for the benefit of reviewers, and isn’t
> intended
> > > to
> > > > go
> > > > > > in
> > > > > > > > > final
> > > > > > > > > > > distribution.)
> > > > > > > > > > >
> > > > > > > > > > > How many +1 comments from users would you like to see?
> > > > > > > > > > >
> > > > > > > > > > > How much time do you believe is required?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > It all depends on when CI is going to pass, when
> license
> > > > problem
> > > > > > is
> > > > > > > > > going
> > > > > > > > > > > to be cleared, and when a committer willing to review
> and
> > > > > > responsible
> > > > > > > > > to
> > > > > > > > > > > commit your contribution.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 1. Large code base change
> > > > > > > > > > > Large code base changes require coordination and
> > > cooperation.
> > > > > > This PR
> > > > > > > > > > > necessarily implicates the build scripts, testing code,
> > > the
> > > > > > > > > > > SparkInterpreter, etc.
> > > > > > > > > > >
> > > > > > > > > > > I have been seeking to coordinate since August.
> > > > > > > > > > >
> > > > > > > > > > > I continue to stand ready to do so.
> > > > > > > > > > >
> > > > > > > > > > > -Amos
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > > sometimes
> > > > ask
> > > > > > rebase
> > > > > > > > > > the
> > > > > > > > > > > contribution branch for some reason. It is not the
> really
> > > the
> > > > > > best
> > > > > > > > > > > practice, but still okay while most contributions are
> not
> > > > > > including
> > > > > > > > > large
> > > > > > > > > > > code base changes.
> > > > > > > > > > >
> > > > > > > > > > > However, your one, has more than 4000 lines of code
> > > change.
> > > > If
> > > > > > you
> > > > > > > > > rebase
> > > > > > > > > > > then review should be started from the beginning,
> again.
> > > So
> > > > you
> > > > > > might
> > > > > > > > > > want
> > > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > moon
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > > >
> > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin
> > > > > > > > > pull
> > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > >
> > > > > > > > > > > Hi Cos,
> > > > > > > > > > >
> > > > > > > > > > > Thanks for opening a discussion.
> > > > > > > > > > > My answer about 'Why this PR is open for three months'
> is
> > > > > > > > > > >
> > > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> > > KniteR)
> > > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > >
> > > > > > > > > > > It's my personal answer, other committers may have
> > > different
> > > > > > opinion.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think the question should be generalized. Because
> this
> > > PR
> > > > is
> > > > > > not the
> > > > > > > > > > only
> > > > > > > > > > > PR that is in impasse. There're more. For example
> > > > > > > > > > >
> > > > > > > > > > > Here's some examples that PR is not been merged.
> > > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > > > > > and so on.
> > > > > > > > > > >
> > > > > > > > > > > I can categorize the cases, based on experience of
> > > involving
> > > > > > Zeppelin
> > > > > > > > > > > community from the beginning.
> > > > > > > > > > >
> > > > > > > > > > > 1. Large code base change
> > > > > > > > > > >
> > > > > > > > > > > When contribution has large code base changes, it tend
> to
> > > > take
> > > > > > more
> > > > > > > > > time
> > > > > > > > > > to
> > > > > > > > > > > review and merged. Normally, most contributions merged
> in
> > > > 1day~1
> > > > > > week.
> > > > > > > > > > > But some contribution has large code base changes take
> > 2~4
> > > > > > weeks. Few
> > > > > > > > > > > contribution that has very large code base change take
> > > > months.
> > > > > > > > > > >
> > > > > > > > > > > 2. Communication lost
> > > > > > > > > > >
> > > > > > > > > > > Sometimes, committer is not responding, or contributor
> is
> > > not
> > > > > > > > > responding.
> > > > > > > > > > >
> > > > > > > > > > > 3. Opinion diverges
> > > > > > > > > > >
> > > > > > > > > > > For some changes, included in contribution. When people
> > > have
> > > > > > different
> > > > > > > > > > > opinion and it continue to diverges, those PRs are not
> > > been
> > > > > > merged.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think having a guide such as ping other committer
> when
> > a
> > > > > > committer is
> > > > > > > > > > not
> > > > > > > > > > > responding, and divide contribution into small peaces
> if
> > > > > > possible,
> > > > > > > > > would
> > > > > > > > > > > help most of the cases.
> > > > > > > > > > > Of course committer have to pay attention more to the
> > > > > > contribution and
> > > > > > > > > > > helping people. That's the first one.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > moon
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > > > > > cos@apache.org>
> > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > To make sure we're on the same page, here are two
> > > threads
> > > > that
> > > > > > I
> > > > > > > > > found
> > > > > > > > > > > > related
> > > > > > > > > > > > to this topic.
> > > > > > > > > > > >
> > > > > > > > > > > > Thread 1:
> > > > > > > > > > > > Subject: R?
> > > > > > > > > > > > Started on: July 1, 2015
> > > > > > > > > > > >
> > > > > > > > > > > > Thread 2:
> > > > > > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > > > > > Interpreter for
> > > > > > > > > > > > Zeppelin
> > > > > > > > > > > > Started on: August 13, 2015
> > > > > > > > > > > >
> > > > > > > > > > > > If you want to fetch these from our archive send
> emails
> > > to
> > > > > > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > > Cos
> > > > > > > > > > > >
> > > > > > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik
> > > wrote:
> > > > > > > > > > > > > Guys,
> > > > > > > > > > > > >
> > > > > > > > > > > > > While catching up on my emails from the last a
> couple
> > > of
> > > > > > weeks,
> > > > > > > > > this
> > > > > > > > > > > > thread
> > > > > > > > > > > > > caught my attention. I am not normally paying much
> > > > attention
> > > > > > to the
> > > > > > > > > > > code
> > > > > > > > > > > > > reviews traffic from GH, but this one is pretty
> > > > different as
> > > > > > it
> > > > > > > > > spans
> > > > > > > > > > > > three
> > > > > > > > > > > > > months and counting.
> > > > > > > > > > > > >
> > > > > > > > > > > > > First, here are my five cents:
> > > > > > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is
> > aimed
> > > > to be
> > > > > > > > > > > > contributed to
> > > > > > > > > > > > > an ASF project this file should simply contain ASL2
> > > text,
> > > > > > like in
> > > > > > > > > [1]
> > > > > > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> > > > <developers>
> > > > > > > > > > section,
> > > > > > > > > > > > but
> > > > > > > > > > > > > Zeppelin might have different guidelines on it.
> Say,
> > > > Bigtop
> > > > > > doesn't
> > > > > > > > > > > > > maintain this in the source code, but we have the
> > list
> > > of
> > > > > > all the
> > > > > > > > > > > > > committers on the project's site [2] Every new
> > > > committer's
> > > > > > first
> > > > > > > > > > > > commit is
> > > > > > > > > > > > > to update the team page ;)
> > > > > > > > > > > > > - comments like in
> > > > > > > > > > > >
> > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > > > > > >
> > > > > > > > > > > > > +/**
> > > > > > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > > > > > + */
> > > > > > > > > > > > >
> > > > > > > > > > > > > is better to be removed. It has been already
> > discussed
> > > > here
> > > > > > [3].
> > > > > > > > > And
> > > > > > > > > > > > the
> > > > > > > > > > > > > initial discussion on the topic [4] was linked as
> > well
> > > > > > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not
> > > sure
> > > > if
> > > > > > this is
> > > > > > > > > > > > R-specific
> > > > > > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > > > > > >
> > > > > > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > > > > > ...
> > > > > > > > > > > > > +Author: David B. Dahl
> > > > > > > > > > > > >
> > > > > > > > > > > > > shouldn't be here, IMO. Normally, if some
> additional
> > > > > > licenses are
> > > > > > > > > > > > used,
> > > > > > > > > > > > > they have to be listed in the top-level NOTICE file
> > > > (already
> > > > > > > > > there).
> > > > > > > > > > > > >
> > > > > > > > > > > > > - I am not going to offer any comments on the
> > > technical
> > > > > > merits of
> > > > > > > > > the
> > > > > > > > > > > > patch,
> > > > > > > > > > > > > as I haven't tried it personally. However, I don't
> > see
> > > > any
> > > > > > serious
> > > > > > > > > > > > > technical objections to the functionality in
> > question.
> > > > > > > > > > > > >
> > > > > > > > > > > > > So, the question is - why the PR is open for three
> > > > months? I
> > > > > > hasn't
> > > > > > > > > > > been
> > > > > > > > > > > > able
> > > > > > > > > > > > > to get a clear answer. What I found out though is
> > > pretty
> > > > > > > > > unsettling,
> > > > > > > > > > > > really.
> > > > > > > > > > > > > The communication on the topic is almost
> > non-existent,
> > > > > > except for
> > > > > > > > > > this
> > > > > > > > > > > > sparse
> > > > > > > > > > > > > and bitter thread in the GH.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I would love to hear from the committers what's
> > > stopping
> > > > the
> > > > > > > > > > acceptance
> > > > > > > > > > > > of the
> > > > > > > > > > > > > code, besides of the minor issues I've mentioned
> > > earlier?
> > > > > > What are
> > > > > > > > > > the
> > > > > > > > > > > > reasons for it?
> > > > > > > > > > > > > Is there anything wrong with it?
> > > > > > > > > > > > > One of the responsibilities of the committers is to
> > > make
> > > > > > sure the
> > > > > > > > > > > > > contributions are reviewed; new contributors are
> > > guided
> > > > and
> > > > > > do
> > > > > > > > > > > > understand how
> > > > > > > > > > > > > the project ticks. The easy feedback flow attracts
> > new
> > > > > > people,
> > > > > > > > > > allowing
> > > > > > > > > > > > the
> > > > > > > > > > > > > community to grow and thrive.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I am asking _explicitely_ not to re-start the
> > > bickering I
> > > > > > have
> > > > > > > > > > already
> > > > > > > > > > > > > seen. At this point I am interested in the purely
> > > > technical
> > > > > > side of
> > > > > > > > > > > this.
> > > > > > > > > > > > >
> > > > > > > > > > > > > [1]
> > > https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > > > > > [3]
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > > > > > >
> > > > > > > > > > > > > With regards,
> > > > > > > > > > > > > Cos
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > > > > > Github user elbamos commented on the pull
> request:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The current push should resolve some issues with
> > > > changes
> > > > > > in the
> > > > > > > > > > > > > > Spark-Zeppelin interface that had created issues
> > for
> > > > > > users, as
> > > > > > > > > > > > well as
> > > > > > > > > > > > > > support for 1.5.1.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Knitr support is improved, and the reason for a
> > > > separate
> > > > > > knitr
> > > > > > > > > > > > interpreter may be clearer now.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The amount of code borrowed from rscala is
> reduced.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I did not address issues with @author tags, or
> > files
> > > > under
> > > > > > the R/
> > > > > > > > > > > > > > folder. The reason is, to be blunt, I don't
> > > understand
> > > > > > what the
> > > > > > > > > > > > precise
> > > > > > > > > > > > > > concerns actually are.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Please note that I changed .travis.yml to only
> use
> > > > spark
> > > > > > 1.4 and
> > > > > > > > > > > > later.
> > > > > > > > > > > > > > I'm sure there is a better way to do it, but I'm
> > > just
> > > > not
> > > > > > in a
> > > > > > > > > > > > position
> > > > > > > > > > > > > > to try to figure out the entire Zeppelin build
> > > process.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Integrating this with the rest of zeppelin is
> going
> > > to
> > > > > > take some
> > > > > > > > > > > > work
> > > > > > > > > > > > > > regarding pom's, travis, and so forth. I can do a
> > > lot
> > > > of
> > > > > > that,
> > > > > > > > > > > > but I'm
> > > > > > > > > > > > > > going to need to discuss it with the people who
> > have
> > > > been
> > > > > > > > > "owning"
> > > > > > > > > > > > those
> > > > > > > > > > > > > > files. There are just too many moving pieces
> here.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Because of the size of this (which is,
> > > unfortunately,
> > > > > > necessary),
> > > > > > > > > > > > > > posting here is probably not the most efficient
> > way.
> > > > That
> > > > > > is also
> > > > > > > > > > > > true
> > > > > > > > > > > > > > because certain people chose to use this PR as a
> > > forum
> > > > to
> > > > > > air
> > > > > > > > > other
> > > > > > > > > > > > > > issues. Therefore, it would be better if
> reviewers
> > > > e-mail
> > > > > > me
> > > > > > > > > > > > directly.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> > >
> >
>
Re: R-Interpreter CI Was: Re: contributions impasse. Was: [GitHub]
incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
fyi, some cases of CI failing, when PR does not impact the code,
1) Flickering test. Some tests are passing sometimes, failing the other
times. (e.g. ZEPPELIN-476)
2) Download fails. Downloading maven artifacts or other requirements from
internet are sometimes failing
both cases pass if CI triggered again.
Thanks,
moon
On Tue, Dec 8, 2015 at 6:29 PM DuyHai Doan <do...@gmail.com> wrote:
> I have also experienced CI failing in the pass for some PRs that do not
> impact the code (Cassandra documentation). I guess that during peak hours,
> the CI servers may be too busy or enter a dead lock so the build fails.
>
> At least that's my guess. What do you think ?
>
> On Tue, Dec 8, 2015 at 9:42 AM, moon soo Lee <mo...@apache.org> wrote:
>
> > Let me run some CI test with your branch and share result here.
> > Hope i can narrow down the cause and that helps involvement of more
> people.
> >
> > Thanks,
> > moon
> >
> > On Tue, Dec 8, 2015 at 3:08 PM Amos B. Elberg <am...@gmail.com>
> > wrote:
> >
> > > Is there anyone who can work with me on the CI issues? It looks like
> > > there are a number of PRs experiencing similar things.
> > >
> > > I think we should make getting CI stable to be a priority. Because it
> > > will save everyone a lot of frustration and aggravation if CI works
> > > reliably.
> > >
> > > Is there anyone other than Jongyoul and Moon who knows the CI/Build
> > > process well?
> > >
> > > (Moon - Thank you for taking another look at the licensing issue. Per
> > the
> > > e-mail I wrote about this a few days ago, I don’t feel I have more to
> > > contribute to the licensing discussion, so I’m going to try not to
> > comment
> > > further about it.)
> > >
> > > From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org
> > > <de...@zeppelin.incubator.apache.org> <dev@zeppelin.incubator.apache.org
> >
> > > Date: December 7, 2015 at 5:00:08 PM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > <de...@zeppelin.incubator.apache.org>
> > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> impasse.
> > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> Zeppelin
> > >
> > > Thanks Amos, Roman, Cos for clarifying license issue.
> > >
> > > I'm convinced that this license issue will not be a blocker.
> > >
> > > In my understanding, these are good sign,
> > >
> > > 1. any gpl licensed source codes are not included in the source package
> > > 2. any gpl licensed libraries are not included in the binary package
> > >
> > > However, i can not still 100% sure about
> > >
> > > 3. any gpl licensed libraries are not linked on runtime
> > >
> > > Even after Amos's explanation. I still think using 'knitr' is one of
> the
> > > clear case that 'knir' is linked to 'R' according to
> > > http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL.
> > >
> > > Giving input and getting output from GPL licensed interpreter (includes
> > R)
> > > from Apache licensed software is not a problem. That's not the point.
> > > Let me say in this way. There's an java code,
> > >
> > > import com.mysql.jdbc.Driver
> > > Driver driver = new Driver()
> > >
> > > Say without this java code, one of important feature of Zeppelin does
> not
> > > work. And Zeppelin does not includes GPL licensed file in the source
> > > package, GPL licensed library in the binary package, but it requires
> GPL
> > > licensed library on the runtime.
> > > In this case, will this java code be a license problem or not?
> > >
> > > In other words, my question is
> > >
> > > a) Is runtime GPL library dependency allowed in ASF release?
> > > b) is 'knitr' considered as runtime dependency?
> > >
> > > If someone can clarify a), b), then it would be extremely helpful
> > > understanding this case, and possible similar cases, too.
> > >
> > > Thanks,
> > > moon
> > >
> > > On Mon, Dec 7, 2015 at 3:20 PM Konstantin Boudnik <co...@apache.org>
> > wrote:
> > >
> > > > On Thu, Dec 03, 2015 at 11:03AM, Corneau Damien wrote:
> > > > > Thanks Cos for those answers,
> > > > >
> > > > > If I'm right you are advising to have a default build that doesn't
> > > > include
> > > > > libraries with conflicting licenses, but have an option to include
> > > them
> > > > for
> > > > > users who wants to build the project themselves.
> > > >
> > > > Yes, that's what I said. Besides, looks like Roman provided the
> second
> > > > pair of
> > > > eyes to this licensing discussion and as well didn't find any issues
> > > with
> > > > the
> > > > current approach.
> > > >
> > > > Cos
> > > >
> > > > > To refer to another thread about decentralizing interpreters, it
> > could
> > > > even
> > > > > be better in that case to have some interpreters separated from the
> > > tree,
> > > > > and easily pluggable with a release instead of forcing users to
> build
> > > the
> > > > > project to use them.
> > > > >
> > > > >
> > > > > On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <cos@apache.org
> >
> > > > wrote:
> > > > >
> > > > > > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > > > > > Konstantin thank you for getting into this.
> > > > > > >
> > > > > > >> The best way to go around it is by
> > > > > > >> providing a build-time option that will pull such binaries in.
> > > But
> > > > by
> > > > > > default
> > > > > > >> such libs shouldn't be pulled.
> > > > > > >
> > > > > > > That is basically how the PR handles this. If the GPL’d
> > > interpreter
> > > > > > scripts
> > > > > > > are missing, there’s no indication at all at build time. It
> > > doesn’t
> > > > try
> > > > > > to
> > > > > > > download them.
> > > > > > >
> > > > > > > At runtime, if the user tries to use functionality that would
> > need
> > > > such a
> > > > > > > script (i.e., if they type “knitr” to use knitr), we display an
> > > error
> > > > > > that
> > > > > > > says that the functionality is not there because the library is
> > > > missing,
> > > > > > and
> > > > > > > that the library cannot be provided because it has an
> > incompatible
> > > > > > license,
> > > > > > > but the user can download it themselves if they want.
> > > > > > >
> > > > > > > And, in the log, if the logging level is high, they will see a
> > > note
> > > > that
> > > > > > > some functionality was disabled because the libraries weren’t
> > > there.
> > > > > > >
> > > > > > > To be clear, though, none of these libraries are binaries.
> > They’re
> > > > all
> > > > > > interpreter scripts.
> > > > > >
> > > > > > If you ever in a doubt of which licenses could be used for
> > > dependncies
> > > > > > (not to
> > > > > > say about source code) are listed in Category A list of [1]
> > > > > >
> > > > > > A lot of quesitons discussed here are already covered in the
> legal
> > > > FAQ, so
> > > > > > just check against it if you have any questions.
> > > > > >
> > > > > > [1] http://www.apache.org/legal/resolved.html#category-a
> > > > > >
> > > > > > Cos
> > > > > >
> > > > > > > From: Konstantin Boudnik <co...@apache.org>
> > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>,
> > > dev@zeppelin.incubator.apache.org
> > > > <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Date: December 2, 2015 at 3:24:50 PM
> > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org
> > > > > > >
> > > > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > > > > > impasse. Was: [GitHub] incubator-zeppelin pull request: R
> > > Interpreter
> > > > for
> > > > > > Zeppelin
> > > > > > >
> > > > > > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > > > > > I think that what moon means is that:
> > > > > > > > If we merge the way it is now, the KnitRInterpreter will be
> > part
> > > > of the
> > > > > > > > code base, so it isn't optional at code base level.
> > > > > > > >
> > > > > > > > To make it even more simple:
> > > > > > > > * If the code has the right licensing -> that code can be
> part
> > > of
> > > > the
> > > > > > > > source code, and can be including in a binary release
> > > > > > >
> > > > > > > We aren't concerned with binary releases - as an Apache
> community
> > > we
> > > > are
> > > > > > > voting and releasing source code. If the project wants to
> provide
> > > a
> > > > > > binary
> > > > > > > release to its users, they are better be warned about inclusion
> > of
> > > > non
> > > > > > > ASL2-friendly licensed bits.
> > > > > > >
> > > > > > > > * If the code doesn't have the right licensing -> it can't be
> > > part
> > > > of
> > > > > > the
> > > > > > > > source code, and can't be included in a binary release
> > > > > > >
> > > > > > > See above.
> > > > > > >
> > > > > > > > * If the code doesn't have the right licensing but is
> imported
> > > at
> > > > build
> > > > > > > > time (libraries for example) -> it is not in the source code,
> > it
> > > > can't
> > > > > > be
> > > > > > > > included in binary release
> > > > > > >
> > > > > > > That is unless a user doing it on his own. The best way to go
> > > around
> > > > it
> > > > > > is by
> > > > > > > providing a build-time option that will pull such binaries in.
> > But
> > > by
> > > > > > default
> > > > > > > such libs shouldn't be pulled.
> > > > > > >
> > > > > > > Cos
> > > > > > >
> > > > > > > > So in the case of licensing issues, it would need to be fully
> > > > optional
> > > > > > > > (user bring the interpreter in his directory and build
> Zeppelin
> > > > with
> > > > > > it)
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> > > > amos.elberg@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Moon let me clarify:
> > > > > > > > >
> > > > > > > > > Interpreted code doesn’t “link.” The wiki article actually
> > > > explains
> > > > > > it
> > > > > > > > > pretty well —
> > > > https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > > > > > “Linking” against a library means compiling its headers
> into
> > a
> > > > > > binary, the
> > > > > > > > > way a C compiler works. The 2008 e-mail Moon distributed,
> > > called
> > > > > > this the
> > > > > > > > > “interpreter exception.”
> > > > > > > > >
> > > > > > > > > As for whether GPL’d code is a “mandatory dependency,” if
> > > knitr
> > > > is
> > > > > > missing
> > > > > > > > > the PR will compile, run and test just fine. The user is
> > never
> > > > > > prompted to
> > > > > > > > > download it. The only effect is, if the user types “knitr”
> > and
> > > > knitr
> > > > > > isn’t
> > > > > > > > > there, we display an InterpreterError that knitr isn’t
> there.
> > > > > > > > >
> > > > > > > > > KnitRInterpreter is not optionally required. so it does not
> > > > matter
> > > > > > KnitR
> > > > > > > > > is
> > > > > > > > > optionally required or not.
> > > > > > > > > Aren’t all interpreters optional? You can turn them on and
> > off
> > > > in the
> > > > > > > > > config files.
> > > > > > > > >
> > > > > > > > > Do you mean that the KnitRInterpreter class gets compiled
> to
> > > > > > bytecode even
> > > > > > > > > if knitr is missing? So what? That isn't a mandatory
> > > dependency
> > > > or a
> > > > > > link.
> > > > > > > > >
> > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Subject: Re: License of KnitRInterpreter Was: Re:
> > > contributions
> > > > > > impasse.
> > > > > > > > > Was: [GitHub] incubator-zeppelin pull request: R
> Interpreter
> > > for
> > > > > > Zeppelin
> > > > > > > > >
> > > > > > > > > Let me summarize license concern about KnitRInterpreter.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Amos's interpretation.
> > > > > > > > >
> > > > > > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > > > > > R dependency in SparkR has no problem. So KnitR should be
> the
> > > > same.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Moon's interpretation.
> > > > > > > > >
> > > > > > > > > KnitRInterpreter is not optionally required. so it does not
> > > > matter
> > > > > > KnitR is
> > > > > > > > > optionally required or not.
> > > > > > > > > R dependency in SparkR is exception of GPL. KnitR is not
> > > applied
> > > > that
> > > > > > > > > exception.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Amos, could you confirm my understanding to your
> > > interpretation
> > > > is
> > > > > > correct?
> > > > > > > > > If it is not could you clarify it?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > moon
> > > > > > > > >
> > > > > > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Just to put the final nail in this, I looked it up.
> > > > > > > > > >
> > > > > > > > > > I see no evidence of any “compiler exception.”
> > > > > > > > > >
> > > > > > > > > > There is an exception in the license for the runtime
> > > libraries
> > > > > > that are
> > > > > > > > > > bundled with GCC. See:
> > > > > > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > > > > > >
> > > > > > > > > > But no “compiler exception.”
> > > > > > > > > >
> > > > > > > > > > In fact, I believe this is part of the reason why LLVM
> was
> > > > created.
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin pull
> > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > >
> > > > > > > > > > Is knitR is commonly considered as a
> interpreter/compiler?
> > > or
> > > > is it
> > > > > > > > > > considered as a library routine?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > > Moon - you give this as an explanation of the licensing
> > > issue:
> > > > > > > > > >
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > > >
> > > > > > > > > > According to that, there is an exception in the GPL for
> > > > interpreter
> > > > > > > > > > languages. As long as you don’t distribute the code, its
> > > fine
> > > > to
> > > > > > talk to
> > > > > > > > > > an interpreted language.
> > > > > > > > > >
> > > > > > > > > > Well, if that’s the case, then the PR plainly does not
> have
> > > a
> > > > > > license
> > > > > > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > > > > > >
> > > > > > > > > > I’m not sure what’s confusing about this. It seems
> > > completely
> > > > > > > > > > straightforward.
> > > > > > > > > >
> > > > > > > > > > Regarding this:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Amos Elberg
> > > > > > > > > > Sent with Airmail
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > > > > > >
> > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > >
> > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin pull
> > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > >
> > > > > > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I am going to try to minimize my reaction to Moon’s
> > > e-mail.
> > > > > > > > > > >
> > > > > > > > > > > The tl;dr is this:
> > > > > > > > > > >
> > > > > > > > > > > The reason we are having this discussion now is that
> > > active
> > > > > > users of
> > > > > > > > > the
> > > > > > > > > > > PR — which now has its own user base — went public to
> > > > complain
> > > > > > about
> > > > > > > > > > this.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > The PR has been tested by an active user base for more
> > > than
> > > > three
> > > > > > > > > months.
> > > > > > > > > > > No-one has been able to identify any specific actual
> > > > licensing
> > > > > > problem,
> > > > > > > > > > and
> > > > > > > > > > > the PR was prepared based on an extensive, careful
> review
> > > of
> > > > the
> > > > > > > > > relevant
> > > > > > > > > > > licensing issues and after contacting the relevant
> > people.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I admire every software that used by user and helping
> > > people.
> > > > That
> > > > > > > > > includes
> > > > > > > > > > your work. But that's not the topic we're in discussion.
> > > Active
> > > > > > user does
> > > > > > > > > > not mean your contribution can ignore the review.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > It is not an explanation for someone who has been
> > ignoring
> > > my
> > > > > > “how can
> > > > > > > > > I
> > > > > > > > > > > move this forward…” emails for three months to point
> the
> > > > finger
> > > > > > and
> > > > > > > > > say I
> > > > > > > > > > > didn’t contact the right person or file the right
> report.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > This is also not the topic in this discussion.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > The burden for providing an explanation for the
> inaction
> > > is
> > > > on
> > > > > > the PMCC
> > > > > > > > > > at
> > > > > > > > > > > this point.
> > > > > > > > > >
> > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > problem
> > > on
> > > > > > Zeppelin
> > > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > > They’re not! I often see comments on PRs to just ignore
> > > that
> > > > CI
> > > > > > is
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > One of the most common reasons this PR fails CI, is CI
> > > > times-out
> > > > > > > > > > > downloading Spark to install. How could that possibly
> be
> > > > caused
> > > > > > by the
> > > > > > > > > > PR?
> > > > > > > > > > >
> > > > > > > > > > > It looks to me like the only PRs with changes to the
> > > relevant
> > > > > > parts of
> > > > > > > > > > the
> > > > > > > > > > > code — the SparkInterpreter — are being made by the
> > person
> > > > who
> > > > > > wrote
> > > > > > > > > the
> > > > > > > > > > > testing suite.
> > > > > > > > > > >
> > > > > > > > > > > So, that would explain why some other PRs pass CI:
> > Neither
> > > > the
> > > > > > > > > > > SparkInterpreter nor the testing suite are stable or
> > > robust,
> > > > but
> > > > > > since
> > > > > > > > > > the
> > > > > > > > > > > PRs are coming from the person who wrote both…
> > > > > > > > > > >
> > > > > > > > > > > And let's say Zeppelin core has problem and that makes
> > > your
> > > > PR
> > > > > > fails on
> > > > > > > > > > CI
> > > > > > > > > > > test. That's possible. But it still does not mean we
> can
> > > > merge
> > > > > > it with
> > > > > > > > > CI
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > It means you should be working with me to figure out
> why
> > > the
> > > > CI
> > > > > > is
> > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > This PR has been tested by an active user base for the
> > > past
> > > > three
> > > > > > > > > months.
> > > > > > > > > > > If CI is continuing to fail, and dozens of hours of
> > effort
> > > > have
> > > > > > not
> > > > > > > > > > > resolved the CI issues, then it is time to start
> > > considering
> > > > > > whether
> > > > > > > > > the
> > > > > > > > > > > testing suite is part of the problem.
> > > > > > > > > > >
> > > > > > > > > > > The level of defensiveness about the CI and
> > > SparkInterpreter
> > > > is
> > > > > > not
> > > > > > > > > > > helping to resolve these issues.
> > > > > > > > > > >
> > > > > > > > > > > If you think it's problem on Zeppelin core, then file
> an
> > > > issue
> > > > > > that
> > > > > > > > > > > reproduce the problem on Zeppelin core, that might be
> > more
> > > > > > efficient
> > > > > > > > > than
> > > > > > > > > > > keep trying yourself.
> > > > > > > > > > > I contacted you numerous times about such issues...
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I remember i commented your issue about CI. but you just
> > > keep
> > > > > > repeated
> > > > > > > > > it's
> > > > > > > > > > not your problem but Zeppelin core problem.
> > > > > > > > > >
> > > > > > > > > > Then please file an issue about the problem you found in
> > > > Zeppelin
> > > > > > Core.
> > > > > > > > > > Then everyone will get into the problem.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > In my interpretation, KnitRInterpreter is not an
> optional
> > > > > > feature while
> > > > > > > > > > it
> > > > > > > > > > > is always enabled when compiling Zeppelin and always
> > > enabled
> > > > when
> > > > > > > > > running
> > > > > > > > > > > Zeppelin. And it requires dynamically linked GPL
> library
> > > on
> > > > > > runtime.
> > > > > > > > > (yes
> > > > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > > > >
> > > > > > > > > > > Its not always enabled.
> > > > > > > > > > > It is not dynamically linked at runtime.
> > > > > > > > > > > It will not fail when knitr is missing. If knitr is not
> > > > present,
> > > > > > the
> > > > > > > > > repl
> > > > > > > > > > > interpreter starts and a note is written to to the log
> > > that
> > > > the
> > > > > > knitr
> > > > > > > > > > > interpreter isn’t available because knitr is not
> present.
> > > > > > > > > > >
> > > > > > > > > > > no Apache code can ever call a shell script, on the
> > > purpose
> > > > of
> > > > > > dynamic
> > > > > > > > > > > linking with GPL library.
> > > > > > > > > > > You misunderstand.
> > > > > > > > > > >
> > > > > > > > > > > The *shell* is GPL'd.
> > > > > > > > > > >
> > > > > > > > > > > Is Zeppelin “linked" against the GPL’d shell because
> > > Zeppelin
> > > > > > depends
> > > > > > > > > on
> > > > > > > > > > a
> > > > > > > > > > > shell script to launch?
> > > > > > > > > > >
> > > > > > > > > > Obviously not.
> > > > > > > > > > >
> > > > > > > > > > > The interaction with R in the PR is the same.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Again, bash is one of exceptions of GPL, like other GPL
> > > > licensed
> > > > > > > > > > compiler/interpreter.
> > > > > > > > > >
> > > > > > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > > > > >
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > > >
> > > > > > > > > > I'm not sure we can apply the same exception for 'using'
> > > KnitR.
> > > > > > > > > >
> > > > > > > > > > My point is not 'KnitR' is optional or not. Point is
> > > > > > 'KnitRInterpreter'
> > > > > > > > > you
> > > > > > > > > > wrote is not an optional feature. Which is clearly not
> > > > optionally
> > > > > > enabled
> > > > > > > > > > code and feature. And that depends on KnitR library which
> > is
> > > > GPL.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > I was guessing SparkR can be still in Apache License
> even
> > > if
> > > > it
> > > > > > is
> > > > > > > > > > depends
> > > > > > > > > > > on R. Because of GPL licensed compiler generated output
> > is
> > > > not
> > > > > > GPL
> > > > > > > > > > license.
> > > > > > > > > > > and R is sort of compiler. If you can get answer from
> > > Spark
> > > > > > community
> > > > > > > > > how
> > > > > > > > > > > SparkR get managed to stay in Apache License while R is
> > > GPL,
> > > > the
> > > > > > answer
> > > > > > > > > > > might help.
> > > > > > > > > > > The description of SparkR is not accurate in any
> respect.
> > > (Do
> > > > > > you think
> > > > > > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > > > > > >
> > > > > > > > > > > I don’t see that any genuine issue is being raised
> here.
> > > > > > > > > > >
> > > > > > > > > > > If there is an issue, the burden is on you to identify
> > it.
> > > > > > > > > > >
> > > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > > sometimes
> > > > ask
> > > > > > rebase
> > > > > > > > > > the
> > > > > > > > > > > contribution branch for some reason. It is not the
> really
> > > the
> > > > > > best
> > > > > > > > > > > practice, but still okay while most contributions are
> not
> > > > > > including
> > > > > > > > > large
> > > > > > > > > > > code base changes
> > > > > > > > > > > However, your one, has more than 4000 lines of code
> > > change.
> > > > If
> > > > > > you
> > > > > > > > > rebase
> > > > > > > > > > > then review should be started from the beginning,
> again.
> > > So
> > > > you
> > > > > > might
> > > > > > > > > > want
> > > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > > >
> > > > > > > > > > > Are you actually complaining that the problem is that I
> > > > rebased
> > > > > > the
> > > > > > > > > code
> > > > > > > > > > > during the three-month period when no-one looked at it
> > and
> > > > > > Zeppelin
> > > > > > > > > went
> > > > > > > > > > > through a release?
> > > > > > > > > > >
> > > > > > > > > > > I cannot take it seriously when you say things like
> this.
> > > > > > > > > > >
> > > > > > > > > > > Having to “start from the beginning” cannot be a
> problem
> > > if
> > > > you
> > > > > > never
> > > > > > > > > > > actually started the first time...
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You wanted coordination and cooperation. So i gave you
> > > > suggestion
> > > > > > that
> > > > > > > > > > helping review process. For example, your code has been
> > > rebased
> > > > > > since my
> > > > > > > > > > comment and jongyoul's comment. that means committers
> will
> > > > need to
> > > > > > look
> > > > > > > > > > from the beginning. That'll require more time. And
> maybe, i
> > > > guess
> > > > > > that's
> > > > > > > > > > not what you want. But If you don't care, feel free to
> > > rebase.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin
> > > > > > > > > pull
> > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > Thank you, Cos.
> > > > > > > > > > >
> > > > > > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > > > > > >
> > > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > > > > > >
> > > > > > > > > > > I’ve been seeking assistance on this since August.
> > > > > > > > > > >
> > > > > > > > > > > The most common reason is that SparkInterpreter is
> unable
> > > to
> > > > > > launch
> > > > > > > > > Spark
> > > > > > > > > > > and open a Spark Backend. This is necessary to test the
> > > PR.
> > > > > > > > > > >
> > > > > > > > > > > 60+ hours, has been spent adapting and re-basing when
> the
> > > > > > > > > > SparkInterpreter
> > > > > > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > > problem
> > > > on
> > > > > > > > > Zeppelin
> > > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > >
> > > > > > > > > > > And let's say Zeppelin core has problem and that makes
> > > your
> > > > PR
> > > > > > fails on
> > > > > > > > > > CI
> > > > > > > > > > > test. That's possible. But it still does not mean we
> can
> > > > merge
> > > > > > it with
> > > > > > > > > CI
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > If you think it's problem on Zeppelin core, then file
> an
> > > > issue
> > > > > > that
> > > > > > > > > > > reproduce the problem on Zeppelin core, that might be
> > more
> > > > > > efficient
> > > > > > > > > than
> > > > > > > > > > > keep trying yourself.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> > > KniteR)
> > > > > > > > > > > What license problem *specifically* do you believe may
> > > exist?
> > > > > > > > > > >
> > > > > > > > > > > In preparing the PR, I:
> > > > > > > > > > >
> > > > > > > > > > > * Reviewed the Apache policy in detail.
> > > > > > > > > > >
> > > > > > > > > > > * Contacted the FSF to ask their interpretation of the
> > > > “linking”
> > > > > > > > > > > provisions of the GPL license.
> > > > > > > > > > >
> > > > > > > > > > > * Reviewed how other Apache software deals with this
> > issue
> > > > > > (e.g., Spark
> > > > > > > > > > > talks to R, which is GPL'd).
> > > > > > > > > > >
> > > > > > > > > > > * No necessary *dependencies* of the PR have license
> > > > conflicts.
> > > > > > In
> > > > > > > > > > > several cases, I contacted package authors who agreed
> to
> > > > > > re-issue their
> > > > > > > > > > > packages under Apache-compatible licenses. (Usually I
> had
> > > to
> > > > do
> > > > > > a bit
> > > > > > > > > of
> > > > > > > > > > > coding in exchange…)
> > > > > > > > > > >
> > > > > > > > > > > * Where the license had to stay GPL, the packages are
> > *not
> > > > > > necessary*
> > > > > > > > > and
> > > > > > > > > > > *not dependencies.* If the optional packages are
> present,
> > > > they
> > > > > > will be
> > > > > > > > > > > used to enable additional functionality. Knitr is an
> > > example.
> > > > > > The PR
> > > > > > > > > will
> > > > > > > > > > > compile and run fine without knitr. If knitr is
> available
> > > > (it is
> > > > > > part
> > > > > > > > > of
> > > > > > > > > > > the most common R distribution), the PR will enable the
> > > knitr
> > > > > > > > > > interpreter.
> > > > > > > > > > >
> > > > > > > > > > > * This is exactly how this issue is addressed through
> the
> > > > Apache
> > > > > > > > > > > ecosystem.
> > > > > > > > > > > The tl;dr is this: When Apache code is written to talk
> to
> > > > > > libraries
> > > > > > > > > that
> > > > > > > > > > > may or may not be present on the user’s system, or
> where
> > > it
> > > > > > talks to an
> > > > > > > > > > API
> > > > > > > > > > > but is agnostic about implementation, that is not
> > > “linking”
> > > > in a
> > > > > > way
> > > > > > > > > that
> > > > > > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > > > > > >
> > > > > > > > > > > Otherwise, no Apache code could ever call a shell
> script!
> > > Let
> > > > > > alone run
> > > > > > > > > > > on Linux, or talk to R.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > > > > > >
> > > > > > > > > > > In my interpretation, KnitRInterpreter is not an
> optional
> > > > > > feature while
> > > > > > > > > > it
> > > > > > > > > > > is always enabled when compiling Zeppelin and always
> > > enabled
> > > > when
> > > > > > > > > running
> > > > > > > > > > > Zeppelin. And it requires dynamically linked GPL
> library
> > > on
> > > > > > runtime.
> > > > > > > > > (yes
> > > > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > > > >
> > > > > > > > > > > And of course, no Apache code can ever call a shell
> > > script,
> > > > on
> > > > > > the
> > > > > > > > > > purpose
> > > > > > > > > > > of dynamic linking with GPL library.
> > > > > > > > > > >
> > > > > > > > > > > I was guessing SparkR can be still in Apache License
> even
> > > if
> > > > it
> > > > > > is
> > > > > > > > > > depends
> > > > > > > > > > > on R. Because of GPL licensed compiler generated output
> > is
> > > > not
> > > > > > GPL
> > > > > > > > > > license.
> > > > > > > > > > > and R is sort of compiler.
> > > > > > > > > > >
> > > > > > > > > > > If you can get answer from Spark community how SparkR
> get
> > > > > > managed to
> > > > > > > > > stay
> > > > > > > > > > > in Apache License while R is GPL, the answer might
> help.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > > Has any reviewer has downloaded the PR or run the demo
> > > > notebook?
> > > > > > (Which
> > > > > > > > > > > is there for the benefit of reviewers, and isn’t
> intended
> > > to
> > > > go
> > > > > > in
> > > > > > > > > final
> > > > > > > > > > > distribution.)
> > > > > > > > > > >
> > > > > > > > > > > How many +1 comments from users would you like to see?
> > > > > > > > > > >
> > > > > > > > > > > How much time do you believe is required?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > It all depends on when CI is going to pass, when
> license
> > > > problem
> > > > > > is
> > > > > > > > > going
> > > > > > > > > > > to be cleared, and when a committer willing to review
> and
> > > > > > responsible
> > > > > > > > > to
> > > > > > > > > > > commit your contribution.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 1. Large code base change
> > > > > > > > > > > Large code base changes require coordination and
> > > cooperation.
> > > > > > This PR
> > > > > > > > > > > necessarily implicates the build scripts, testing code,
> > > the
> > > > > > > > > > > SparkInterpreter, etc.
> > > > > > > > > > >
> > > > > > > > > > > I have been seeking to coordinate since August.
> > > > > > > > > > >
> > > > > > > > > > > I continue to stand ready to do so.
> > > > > > > > > > >
> > > > > > > > > > > -Amos
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > > sometimes
> > > > ask
> > > > > > rebase
> > > > > > > > > > the
> > > > > > > > > > > contribution branch for some reason. It is not the
> really
> > > the
> > > > > > best
> > > > > > > > > > > practice, but still okay while most contributions are
> not
> > > > > > including
> > > > > > > > > large
> > > > > > > > > > > code base changes.
> > > > > > > > > > >
> > > > > > > > > > > However, your one, has more than 4000 lines of code
> > > change.
> > > > If
> > > > > > you
> > > > > > > > > rebase
> > > > > > > > > > > then review should be started from the beginning,
> again.
> > > So
> > > > you
> > > > > > might
> > > > > > > > > > want
> > > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > moon
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > > >
> > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin
> > > > > > > > > pull
> > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > >
> > > > > > > > > > > Hi Cos,
> > > > > > > > > > >
> > > > > > > > > > > Thanks for opening a discussion.
> > > > > > > > > > > My answer about 'Why this PR is open for three months'
> is
> > > > > > > > > > >
> > > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> > > KniteR)
> > > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > >
> > > > > > > > > > > It's my personal answer, other committers may have
> > > different
> > > > > > opinion.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think the question should be generalized. Because
> this
> > > PR
> > > > is
> > > > > > not the
> > > > > > > > > > only
> > > > > > > > > > > PR that is in impasse. There're more. For example
> > > > > > > > > > >
> > > > > > > > > > > Here's some examples that PR is not been merged.
> > > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > > > > > and so on.
> > > > > > > > > > >
> > > > > > > > > > > I can categorize the cases, based on experience of
> > > involving
> > > > > > Zeppelin
> > > > > > > > > > > community from the beginning.
> > > > > > > > > > >
> > > > > > > > > > > 1. Large code base change
> > > > > > > > > > >
> > > > > > > > > > > When contribution has large code base changes, it tend
> to
> > > > take
> > > > > > more
> > > > > > > > > time
> > > > > > > > > > to
> > > > > > > > > > > review and merged. Normally, most contributions merged
> in
> > > > 1day~1
> > > > > > week.
> > > > > > > > > > > But some contribution has large code base changes take
> > 2~4
> > > > > > weeks. Few
> > > > > > > > > > > contribution that has very large code base change take
> > > > months.
> > > > > > > > > > >
> > > > > > > > > > > 2. Communication lost
> > > > > > > > > > >
> > > > > > > > > > > Sometimes, committer is not responding, or contributor
> is
> > > not
> > > > > > > > > responding.
> > > > > > > > > > >
> > > > > > > > > > > 3. Opinion diverges
> > > > > > > > > > >
> > > > > > > > > > > For some changes, included in contribution. When people
> > > have
> > > > > > different
> > > > > > > > > > > opinion and it continue to diverges, those PRs are not
> > > been
> > > > > > merged.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think having a guide such as ping other committer
> when
> > a
> > > > > > committer is
> > > > > > > > > > not
> > > > > > > > > > > responding, and divide contribution into small peaces
> if
> > > > > > possible,
> > > > > > > > > would
> > > > > > > > > > > help most of the cases.
> > > > > > > > > > > Of course committer have to pay attention more to the
> > > > > > contribution and
> > > > > > > > > > > helping people. That's the first one.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > moon
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > > > > > cos@apache.org>
> > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > To make sure we're on the same page, here are two
> > > threads
> > > > that
> > > > > > I
> > > > > > > > > found
> > > > > > > > > > > > related
> > > > > > > > > > > > to this topic.
> > > > > > > > > > > >
> > > > > > > > > > > > Thread 1:
> > > > > > > > > > > > Subject: R?
> > > > > > > > > > > > Started on: July 1, 2015
> > > > > > > > > > > >
> > > > > > > > > > > > Thread 2:
> > > > > > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > > > > > Interpreter for
> > > > > > > > > > > > Zeppelin
> > > > > > > > > > > > Started on: August 13, 2015
> > > > > > > > > > > >
> > > > > > > > > > > > If you want to fetch these from our archive send
> emails
> > > to
> > > > > > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > > Cos
> > > > > > > > > > > >
> > > > > > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik
> > > wrote:
> > > > > > > > > > > > > Guys,
> > > > > > > > > > > > >
> > > > > > > > > > > > > While catching up on my emails from the last a
> couple
> > > of
> > > > > > weeks,
> > > > > > > > > this
> > > > > > > > > > > > thread
> > > > > > > > > > > > > caught my attention. I am not normally paying much
> > > > attention
> > > > > > to the
> > > > > > > > > > > code
> > > > > > > > > > > > > reviews traffic from GH, but this one is pretty
> > > > different as
> > > > > > it
> > > > > > > > > spans
> > > > > > > > > > > > three
> > > > > > > > > > > > > months and counting.
> > > > > > > > > > > > >
> > > > > > > > > > > > > First, here are my five cents:
> > > > > > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is
> > aimed
> > > > to be
> > > > > > > > > > > > contributed to
> > > > > > > > > > > > > an ASF project this file should simply contain ASL2
> > > text,
> > > > > > like in
> > > > > > > > > [1]
> > > > > > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> > > > <developers>
> > > > > > > > > > section,
> > > > > > > > > > > > but
> > > > > > > > > > > > > Zeppelin might have different guidelines on it.
> Say,
> > > > Bigtop
> > > > > > doesn't
> > > > > > > > > > > > > maintain this in the source code, but we have the
> > list
> > > of
> > > > > > all the
> > > > > > > > > > > > > committers on the project's site [2] Every new
> > > > committer's
> > > > > > first
> > > > > > > > > > > > commit is
> > > > > > > > > > > > > to update the team page ;)
> > > > > > > > > > > > > - comments like in
> > > > > > > > > > > >
> > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > > > > > >
> > > > > > > > > > > > > +/**
> > > > > > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > > > > > + */
> > > > > > > > > > > > >
> > > > > > > > > > > > > is better to be removed. It has been already
> > discussed
> > > > here
> > > > > > [3].
> > > > > > > > > And
> > > > > > > > > > > > the
> > > > > > > > > > > > > initial discussion on the topic [4] was linked as
> > well
> > > > > > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not
> > > sure
> > > > if
> > > > > > this is
> > > > > > > > > > > > R-specific
> > > > > > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > > > > > >
> > > > > > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > > > > > ...
> > > > > > > > > > > > > +Author: David B. Dahl
> > > > > > > > > > > > >
> > > > > > > > > > > > > shouldn't be here, IMO. Normally, if some
> additional
> > > > > > licenses are
> > > > > > > > > > > > used,
> > > > > > > > > > > > > they have to be listed in the top-level NOTICE file
> > > > (already
> > > > > > > > > there).
> > > > > > > > > > > > >
> > > > > > > > > > > > > - I am not going to offer any comments on the
> > > technical
> > > > > > merits of
> > > > > > > > > the
> > > > > > > > > > > > patch,
> > > > > > > > > > > > > as I haven't tried it personally. However, I don't
> > see
> > > > any
> > > > > > serious
> > > > > > > > > > > > > technical objections to the functionality in
> > question.
> > > > > > > > > > > > >
> > > > > > > > > > > > > So, the question is - why the PR is open for three
> > > > months? I
> > > > > > hasn't
> > > > > > > > > > > been
> > > > > > > > > > > > able
> > > > > > > > > > > > > to get a clear answer. What I found out though is
> > > pretty
> > > > > > > > > unsettling,
> > > > > > > > > > > > really.
> > > > > > > > > > > > > The communication on the topic is almost
> > non-existent,
> > > > > > except for
> > > > > > > > > > this
> > > > > > > > > > > > sparse
> > > > > > > > > > > > > and bitter thread in the GH.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I would love to hear from the committers what's
> > > stopping
> > > > the
> > > > > > > > > > acceptance
> > > > > > > > > > > > of the
> > > > > > > > > > > > > code, besides of the minor issues I've mentioned
> > > earlier?
> > > > > > What are
> > > > > > > > > > the
> > > > > > > > > > > > reasons for it?
> > > > > > > > > > > > > Is there anything wrong with it?
> > > > > > > > > > > > > One of the responsibilities of the committers is to
> > > make
> > > > > > sure the
> > > > > > > > > > > > > contributions are reviewed; new contributors are
> > > guided
> > > > and
> > > > > > do
> > > > > > > > > > > > understand how
> > > > > > > > > > > > > the project ticks. The easy feedback flow attracts
> > new
> > > > > > people,
> > > > > > > > > > allowing
> > > > > > > > > > > > the
> > > > > > > > > > > > > community to grow and thrive.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I am asking _explicitely_ not to re-start the
> > > bickering I
> > > > > > have
> > > > > > > > > > already
> > > > > > > > > > > > > seen. At this point I am interested in the purely
> > > > technical
> > > > > > side of
> > > > > > > > > > > this.
> > > > > > > > > > > > >
> > > > > > > > > > > > > [1]
> > > https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > > > > > [3]
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > > > > > >
> > > > > > > > > > > > > With regards,
> > > > > > > > > > > > > Cos
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > > > > > Github user elbamos commented on the pull
> request:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The current push should resolve some issues with
> > > > changes
> > > > > > in the
> > > > > > > > > > > > > > Spark-Zeppelin interface that had created issues
> > for
> > > > > > users, as
> > > > > > > > > > > > well as
> > > > > > > > > > > > > > support for 1.5.1.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Knitr support is improved, and the reason for a
> > > > separate
> > > > > > knitr
> > > > > > > > > > > > interpreter may be clearer now.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The amount of code borrowed from rscala is
> reduced.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I did not address issues with @author tags, or
> > files
> > > > under
> > > > > > the R/
> > > > > > > > > > > > > > folder. The reason is, to be blunt, I don't
> > > understand
> > > > > > what the
> > > > > > > > > > > > precise
> > > > > > > > > > > > > > concerns actually are.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Please note that I changed .travis.yml to only
> use
> > > > spark
> > > > > > 1.4 and
> > > > > > > > > > > > later.
> > > > > > > > > > > > > > I'm sure there is a better way to do it, but I'm
> > > just
> > > > not
> > > > > > in a
> > > > > > > > > > > > position
> > > > > > > > > > > > > > to try to figure out the entire Zeppelin build
> > > process.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Integrating this with the rest of zeppelin is
> going
> > > to
> > > > > > take some
> > > > > > > > > > > > work
> > > > > > > > > > > > > > regarding pom's, travis, and so forth. I can do a
> > > lot
> > > > of
> > > > > > that,
> > > > > > > > > > > > but I'm
> > > > > > > > > > > > > > going to need to discuss it with the people who
> > have
> > > > been
> > > > > > > > > "owning"
> > > > > > > > > > > > those
> > > > > > > > > > > > > > files. There are just too many moving pieces
> here.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Because of the size of this (which is,
> > > unfortunately,
> > > > > > necessary),
> > > > > > > > > > > > > > posting here is probably not the most efficient
> > way.
> > > > That
> > > > > > is also
> > > > > > > > > > > > true
> > > > > > > > > > > > > > because certain people chose to use this PR as a
> > > forum
> > > > to
> > > > > > air
> > > > > > > > > other
> > > > > > > > > > > > > > issues. Therefore, it would be better if
> reviewers
> > > > e-mail
> > > > > > me
> > > > > > > > > > > > directly.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> > >
> >
>
Re: R-Interpreter CI Was: Re: contributions impasse. Was: [GitHub]
incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Alexander Bezzubov <bz...@apache.org>.
Hi,
I have experience.thouse and also think its definitly a good time to take
some actions.
May be, as a first step in dealing with such test failures, we could
document the process i.e "file a jira issue labeld 'flacky-test' with the
link to CI logs"?
https://issues.apache.org/jira/browse/ZEPPELIN-476?jql=labels%20%3D%20flaky-test
This will narow down the list of 'suspects' that need to be taken care of.
Its a bit easear to collaborate on particular issues then just helping to
"make it pass in tis PR"
What do you guys think?
On Tue, Dec 8, 2015, 18:29 DuyHai Doan <do...@gmail.com> wrote:
> I have also experienced CI failing in the pass for some PRs that do not
> impact the code (Cassandra documentation). I guess that during peak hours,
> the CI servers may be too busy or enter a dead lock so the build fails.
>
> At least that's my guess. What do you think ?
>
> On Tue, Dec 8, 2015 at 9:42 AM, moon soo Lee <mo...@apache.org> wrote:
>
> > Let me run some CI test with your branch and share result here.
> > Hope i can narrow down the cause and that helps involvement of more
> people.
> >
> > Thanks,
> > moon
> >
> > On Tue, Dec 8, 2015 at 3:08 PM Amos B. Elberg <am...@gmail.com>
> > wrote:
> >
> > > Is there anyone who can work with me on the CI issues? It looks like
> > > there are a number of PRs experiencing similar things.
> > >
> > > I think we should make getting CI stable to be a priority. Because it
> > > will save everyone a lot of frustration and aggravation if CI works
> > > reliably.
> > >
> > > Is there anyone other than Jongyoul and Moon who knows the CI/Build
> > > process well?
> > >
> > > (Moon - Thank you for taking another look at the licensing issue. Per
> > the
> > > e-mail I wrote about this a few days ago, I don’t feel I have more to
> > > contribute to the licensing discussion, so I’m going to try not to
> > comment
> > > further about it.)
> > >
> > > From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org
> > > <de...@zeppelin.incubator.apache.org> <dev@zeppelin.incubator.apache.org
> >
> > > Date: December 7, 2015 at 5:00:08 PM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > <de...@zeppelin.incubator.apache.org>
> > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> impasse.
> > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> Zeppelin
> > >
> > > Thanks Amos, Roman, Cos for clarifying license issue.
> > >
> > > I'm convinced that this license issue will not be a blocker.
> > >
> > > In my understanding, these are good sign,
> > >
> > > 1. any gpl licensed source codes are not included in the source package
> > > 2. any gpl licensed libraries are not included in the binary package
> > >
> > > However, i can not still 100% sure about
> > >
> > > 3. any gpl licensed libraries are not linked on runtime
> > >
> > > Even after Amos's explanation. I still think using 'knitr' is one of
> the
> > > clear case that 'knir' is linked to 'R' according to
> > > http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL.
> > >
> > > Giving input and getting output from GPL licensed interpreter (includes
> > R)
> > > from Apache licensed software is not a problem. That's not the point.
> > > Let me say in this way. There's an java code,
> > >
> > > import com.mysql.jdbc.Driver
> > > Driver driver = new Driver()
> > >
> > > Say without this java code, one of important feature of Zeppelin does
> not
> > > work. And Zeppelin does not includes GPL licensed file in the source
> > > package, GPL licensed library in the binary package, but it requires
> GPL
> > > licensed library on the runtime.
> > > In this case, will this java code be a license problem or not?
> > >
> > > In other words, my question is
> > >
> > > a) Is runtime GPL library dependency allowed in ASF release?
> > > b) is 'knitr' considered as runtime dependency?
> > >
> > > If someone can clarify a), b), then it would be extremely helpful
> > > understanding this case, and possible similar cases, too.
> > >
> > > Thanks,
> > > moon
> > >
> > > On Mon, Dec 7, 2015 at 3:20 PM Konstantin Boudnik <co...@apache.org>
> > wrote:
> > >
> > > > On Thu, Dec 03, 2015 at 11:03AM, Corneau Damien wrote:
> > > > > Thanks Cos for those answers,
> > > > >
> > > > > If I'm right you are advising to have a default build that doesn't
> > > > include
> > > > > libraries with conflicting licenses, but have an option to include
> > > them
> > > > for
> > > > > users who wants to build the project themselves.
> > > >
> > > > Yes, that's what I said. Besides, looks like Roman provided the
> second
> > > > pair of
> > > > eyes to this licensing discussion and as well didn't find any issues
> > > with
> > > > the
> > > > current approach.
> > > >
> > > > Cos
> > > >
> > > > > To refer to another thread about decentralizing interpreters, it
> > could
> > > > even
> > > > > be better in that case to have some interpreters separated from the
> > > tree,
> > > > > and easily pluggable with a release instead of forcing users to
> build
> > > the
> > > > > project to use them.
> > > > >
> > > > >
> > > > > On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <cos@apache.org
> >
> > > > wrote:
> > > > >
> > > > > > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > > > > > Konstantin thank you for getting into this.
> > > > > > >
> > > > > > >> The best way to go around it is by
> > > > > > >> providing a build-time option that will pull such binaries in.
> > > But
> > > > by
> > > > > > default
> > > > > > >> such libs shouldn't be pulled.
> > > > > > >
> > > > > > > That is basically how the PR handles this. If the GPL’d
> > > interpreter
> > > > > > scripts
> > > > > > > are missing, there’s no indication at all at build time. It
> > > doesn’t
> > > > try
> > > > > > to
> > > > > > > download them.
> > > > > > >
> > > > > > > At runtime, if the user tries to use functionality that would
> > need
> > > > such a
> > > > > > > script (i.e., if they type “knitr” to use knitr), we display an
> > > error
> > > > > > that
> > > > > > > says that the functionality is not there because the library is
> > > > missing,
> > > > > > and
> > > > > > > that the library cannot be provided because it has an
> > incompatible
> > > > > > license,
> > > > > > > but the user can download it themselves if they want.
> > > > > > >
> > > > > > > And, in the log, if the logging level is high, they will see a
> > > note
> > > > that
> > > > > > > some functionality was disabled because the libraries weren’t
> > > there.
> > > > > > >
> > > > > > > To be clear, though, none of these libraries are binaries.
> > They’re
> > > > all
> > > > > > interpreter scripts.
> > > > > >
> > > > > > If you ever in a doubt of which licenses could be used for
> > > dependncies
> > > > > > (not to
> > > > > > say about source code) are listed in Category A list of [1]
> > > > > >
> > > > > > A lot of quesitons discussed here are already covered in the
> legal
> > > > FAQ, so
> > > > > > just check against it if you have any questions.
> > > > > >
> > > > > > [1] http://www.apache.org/legal/resolved.html#category-a
> > > > > >
> > > > > > Cos
> > > > > >
> > > > > > > From: Konstantin Boudnik <co...@apache.org>
> > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>,
> > > dev@zeppelin.incubator.apache.org
> > > > <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Date: December 2, 2015 at 3:24:50 PM
> > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org
> > > > > > >
> > > > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > > > > > impasse. Was: [GitHub] incubator-zeppelin pull request: R
> > > Interpreter
> > > > for
> > > > > > Zeppelin
> > > > > > >
> > > > > > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > > > > > I think that what moon means is that:
> > > > > > > > If we merge the way it is now, the KnitRInterpreter will be
> > part
> > > > of the
> > > > > > > > code base, so it isn't optional at code base level.
> > > > > > > >
> > > > > > > > To make it even more simple:
> > > > > > > > * If the code has the right licensing -> that code can be
> part
> > > of
> > > > the
> > > > > > > > source code, and can be including in a binary release
> > > > > > >
> > > > > > > We aren't concerned with binary releases - as an Apache
> community
> > > we
> > > > are
> > > > > > > voting and releasing source code. If the project wants to
> provide
> > > a
> > > > > > binary
> > > > > > > release to its users, they are better be warned about inclusion
> > of
> > > > non
> > > > > > > ASL2-friendly licensed bits.
> > > > > > >
> > > > > > > > * If the code doesn't have the right licensing -> it can't be
> > > part
> > > > of
> > > > > > the
> > > > > > > > source code, and can't be included in a binary release
> > > > > > >
> > > > > > > See above.
> > > > > > >
> > > > > > > > * If the code doesn't have the right licensing but is
> imported
> > > at
> > > > build
> > > > > > > > time (libraries for example) -> it is not in the source code,
> > it
> > > > can't
> > > > > > be
> > > > > > > > included in binary release
> > > > > > >
> > > > > > > That is unless a user doing it on his own. The best way to go
> > > around
> > > > it
> > > > > > is by
> > > > > > > providing a build-time option that will pull such binaries in.
> > But
> > > by
> > > > > > default
> > > > > > > such libs shouldn't be pulled.
> > > > > > >
> > > > > > > Cos
> > > > > > >
> > > > > > > > So in the case of licensing issues, it would need to be fully
> > > > optional
> > > > > > > > (user bring the interpreter in his directory and build
> Zeppelin
> > > > with
> > > > > > it)
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> > > > amos.elberg@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Moon let me clarify:
> > > > > > > > >
> > > > > > > > > Interpreted code doesn’t “link.” The wiki article actually
> > > > explains
> > > > > > it
> > > > > > > > > pretty well —
> > > > https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > > > > > “Linking” against a library means compiling its headers
> into
> > a
> > > > > > binary, the
> > > > > > > > > way a C compiler works. The 2008 e-mail Moon distributed,
> > > called
> > > > > > this the
> > > > > > > > > “interpreter exception.”
> > > > > > > > >
> > > > > > > > > As for whether GPL’d code is a “mandatory dependency,” if
> > > knitr
> > > > is
> > > > > > missing
> > > > > > > > > the PR will compile, run and test just fine. The user is
> > never
> > > > > > prompted to
> > > > > > > > > download it. The only effect is, if the user types “knitr”
> > and
> > > > knitr
> > > > > > isn’t
> > > > > > > > > there, we display an InterpreterError that knitr isn’t
> there.
> > > > > > > > >
> > > > > > > > > KnitRInterpreter is not optionally required. so it does not
> > > > matter
> > > > > > KnitR
> > > > > > > > > is
> > > > > > > > > optionally required or not.
> > > > > > > > > Aren’t all interpreters optional? You can turn them on and
> > off
> > > > in the
> > > > > > > > > config files.
> > > > > > > > >
> > > > > > > > > Do you mean that the KnitRInterpreter class gets compiled
> to
> > > > > > bytecode even
> > > > > > > > > if knitr is missing? So what? That isn't a mandatory
> > > dependency
> > > > or a
> > > > > > link.
> > > > > > > > >
> > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Subject: Re: License of KnitRInterpreter Was: Re:
> > > contributions
> > > > > > impasse.
> > > > > > > > > Was: [GitHub] incubator-zeppelin pull request: R
> Interpreter
> > > for
> > > > > > Zeppelin
> > > > > > > > >
> > > > > > > > > Let me summarize license concern about KnitRInterpreter.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Amos's interpretation.
> > > > > > > > >
> > > > > > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > > > > > R dependency in SparkR has no problem. So KnitR should be
> the
> > > > same.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Moon's interpretation.
> > > > > > > > >
> > > > > > > > > KnitRInterpreter is not optionally required. so it does not
> > > > matter
> > > > > > KnitR is
> > > > > > > > > optionally required or not.
> > > > > > > > > R dependency in SparkR is exception of GPL. KnitR is not
> > > applied
> > > > that
> > > > > > > > > exception.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Amos, could you confirm my understanding to your
> > > interpretation
> > > > is
> > > > > > correct?
> > > > > > > > > If it is not could you clarify it?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > moon
> > > > > > > > >
> > > > > > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Just to put the final nail in this, I looked it up.
> > > > > > > > > >
> > > > > > > > > > I see no evidence of any “compiler exception.”
> > > > > > > > > >
> > > > > > > > > > There is an exception in the license for the runtime
> > > libraries
> > > > > > that are
> > > > > > > > > > bundled with GCC. See:
> > > > > > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > > > > > >
> > > > > > > > > > But no “compiler exception.”
> > > > > > > > > >
> > > > > > > > > > In fact, I believe this is part of the reason why LLVM
> was
> > > > created.
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin pull
> > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > >
> > > > > > > > > > Is knitR is commonly considered as a
> interpreter/compiler?
> > > or
> > > > is it
> > > > > > > > > > considered as a library routine?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > > Moon - you give this as an explanation of the licensing
> > > issue:
> > > > > > > > > >
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > > >
> > > > > > > > > > According to that, there is an exception in the GPL for
> > > > interpreter
> > > > > > > > > > languages. As long as you don’t distribute the code, its
> > > fine
> > > > to
> > > > > > talk to
> > > > > > > > > > an interpreted language.
> > > > > > > > > >
> > > > > > > > > > Well, if that’s the case, then the PR plainly does not
> have
> > > a
> > > > > > license
> > > > > > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > > > > > >
> > > > > > > > > > I’m not sure what’s confusing about this. It seems
> > > completely
> > > > > > > > > > straightforward.
> > > > > > > > > >
> > > > > > > > > > Regarding this:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Amos Elberg
> > > > > > > > > > Sent with Airmail
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > > > > > >
> > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > >
> > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin pull
> > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > >
> > > > > > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I am going to try to minimize my reaction to Moon’s
> > > e-mail.
> > > > > > > > > > >
> > > > > > > > > > > The tl;dr is this:
> > > > > > > > > > >
> > > > > > > > > > > The reason we are having this discussion now is that
> > > active
> > > > > > users of
> > > > > > > > > the
> > > > > > > > > > > PR — which now has its own user base — went public to
> > > > complain
> > > > > > about
> > > > > > > > > > this.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > The PR has been tested by an active user base for more
> > > than
> > > > three
> > > > > > > > > months.
> > > > > > > > > > > No-one has been able to identify any specific actual
> > > > licensing
> > > > > > problem,
> > > > > > > > > > and
> > > > > > > > > > > the PR was prepared based on an extensive, careful
> review
> > > of
> > > > the
> > > > > > > > > relevant
> > > > > > > > > > > licensing issues and after contacting the relevant
> > people.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I admire every software that used by user and helping
> > > people.
> > > > That
> > > > > > > > > includes
> > > > > > > > > > your work. But that's not the topic we're in discussion.
> > > Active
> > > > > > user does
> > > > > > > > > > not mean your contribution can ignore the review.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > It is not an explanation for someone who has been
> > ignoring
> > > my
> > > > > > “how can
> > > > > > > > > I
> > > > > > > > > > > move this forward…” emails for three months to point
> the
> > > > finger
> > > > > > and
> > > > > > > > > say I
> > > > > > > > > > > didn’t contact the right person or file the right
> report.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > This is also not the topic in this discussion.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > The burden for providing an explanation for the
> inaction
> > > is
> > > > on
> > > > > > the PMCC
> > > > > > > > > > at
> > > > > > > > > > > this point.
> > > > > > > > > >
> > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > problem
> > > on
> > > > > > Zeppelin
> > > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > > They’re not! I often see comments on PRs to just ignore
> > > that
> > > > CI
> > > > > > is
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > One of the most common reasons this PR fails CI, is CI
> > > > times-out
> > > > > > > > > > > downloading Spark to install. How could that possibly
> be
> > > > caused
> > > > > > by the
> > > > > > > > > > PR?
> > > > > > > > > > >
> > > > > > > > > > > It looks to me like the only PRs with changes to the
> > > relevant
> > > > > > parts of
> > > > > > > > > > the
> > > > > > > > > > > code — the SparkInterpreter — are being made by the
> > person
> > > > who
> > > > > > wrote
> > > > > > > > > the
> > > > > > > > > > > testing suite.
> > > > > > > > > > >
> > > > > > > > > > > So, that would explain why some other PRs pass CI:
> > Neither
> > > > the
> > > > > > > > > > > SparkInterpreter nor the testing suite are stable or
> > > robust,
> > > > but
> > > > > > since
> > > > > > > > > > the
> > > > > > > > > > > PRs are coming from the person who wrote both…
> > > > > > > > > > >
> > > > > > > > > > > And let's say Zeppelin core has problem and that makes
> > > your
> > > > PR
> > > > > > fails on
> > > > > > > > > > CI
> > > > > > > > > > > test. That's possible. But it still does not mean we
> can
> > > > merge
> > > > > > it with
> > > > > > > > > CI
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > It means you should be working with me to figure out
> why
> > > the
> > > > CI
> > > > > > is
> > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > This PR has been tested by an active user base for the
> > > past
> > > > three
> > > > > > > > > months.
> > > > > > > > > > > If CI is continuing to fail, and dozens of hours of
> > effort
> > > > have
> > > > > > not
> > > > > > > > > > > resolved the CI issues, then it is time to start
> > > considering
> > > > > > whether
> > > > > > > > > the
> > > > > > > > > > > testing suite is part of the problem.
> > > > > > > > > > >
> > > > > > > > > > > The level of defensiveness about the CI and
> > > SparkInterpreter
> > > > is
> > > > > > not
> > > > > > > > > > > helping to resolve these issues.
> > > > > > > > > > >
> > > > > > > > > > > If you think it's problem on Zeppelin core, then file
> an
> > > > issue
> > > > > > that
> > > > > > > > > > > reproduce the problem on Zeppelin core, that might be
> > more
> > > > > > efficient
> > > > > > > > > than
> > > > > > > > > > > keep trying yourself.
> > > > > > > > > > > I contacted you numerous times about such issues...
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I remember i commented your issue about CI. but you just
> > > keep
> > > > > > repeated
> > > > > > > > > it's
> > > > > > > > > > not your problem but Zeppelin core problem.
> > > > > > > > > >
> > > > > > > > > > Then please file an issue about the problem you found in
> > > > Zeppelin
> > > > > > Core.
> > > > > > > > > > Then everyone will get into the problem.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > In my interpretation, KnitRInterpreter is not an
> optional
> > > > > > feature while
> > > > > > > > > > it
> > > > > > > > > > > is always enabled when compiling Zeppelin and always
> > > enabled
> > > > when
> > > > > > > > > running
> > > > > > > > > > > Zeppelin. And it requires dynamically linked GPL
> library
> > > on
> > > > > > runtime.
> > > > > > > > > (yes
> > > > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > > > >
> > > > > > > > > > > Its not always enabled.
> > > > > > > > > > > It is not dynamically linked at runtime.
> > > > > > > > > > > It will not fail when knitr is missing. If knitr is not
> > > > present,
> > > > > > the
> > > > > > > > > repl
> > > > > > > > > > > interpreter starts and a note is written to to the log
> > > that
> > > > the
> > > > > > knitr
> > > > > > > > > > > interpreter isn’t available because knitr is not
> present.
> > > > > > > > > > >
> > > > > > > > > > > no Apache code can ever call a shell script, on the
> > > purpose
> > > > of
> > > > > > dynamic
> > > > > > > > > > > linking with GPL library.
> > > > > > > > > > > You misunderstand.
> > > > > > > > > > >
> > > > > > > > > > > The *shell* is GPL'd.
> > > > > > > > > > >
> > > > > > > > > > > Is Zeppelin “linked" against the GPL’d shell because
> > > Zeppelin
> > > > > > depends
> > > > > > > > > on
> > > > > > > > > > a
> > > > > > > > > > > shell script to launch?
> > > > > > > > > > >
> > > > > > > > > > Obviously not.
> > > > > > > > > > >
> > > > > > > > > > > The interaction with R in the PR is the same.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Again, bash is one of exceptions of GPL, like other GPL
> > > > licensed
> > > > > > > > > > compiler/interpreter.
> > > > > > > > > >
> > > > > > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > > > > >
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > > >
> > > > > > > > > > I'm not sure we can apply the same exception for 'using'
> > > KnitR.
> > > > > > > > > >
> > > > > > > > > > My point is not 'KnitR' is optional or not. Point is
> > > > > > 'KnitRInterpreter'
> > > > > > > > > you
> > > > > > > > > > wrote is not an optional feature. Which is clearly not
> > > > optionally
> > > > > > enabled
> > > > > > > > > > code and feature. And that depends on KnitR library which
> > is
> > > > GPL.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > I was guessing SparkR can be still in Apache License
> even
> > > if
> > > > it
> > > > > > is
> > > > > > > > > > depends
> > > > > > > > > > > on R. Because of GPL licensed compiler generated output
> > is
> > > > not
> > > > > > GPL
> > > > > > > > > > license.
> > > > > > > > > > > and R is sort of compiler. If you can get answer from
> > > Spark
> > > > > > community
> > > > > > > > > how
> > > > > > > > > > > SparkR get managed to stay in Apache License while R is
> > > GPL,
> > > > the
> > > > > > answer
> > > > > > > > > > > might help.
> > > > > > > > > > > The description of SparkR is not accurate in any
> respect.
> > > (Do
> > > > > > you think
> > > > > > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > > > > > >
> > > > > > > > > > > I don’t see that any genuine issue is being raised
> here.
> > > > > > > > > > >
> > > > > > > > > > > If there is an issue, the burden is on you to identify
> > it.
> > > > > > > > > > >
> > > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > > sometimes
> > > > ask
> > > > > > rebase
> > > > > > > > > > the
> > > > > > > > > > > contribution branch for some reason. It is not the
> really
> > > the
> > > > > > best
> > > > > > > > > > > practice, but still okay while most contributions are
> not
> > > > > > including
> > > > > > > > > large
> > > > > > > > > > > code base changes
> > > > > > > > > > > However, your one, has more than 4000 lines of code
> > > change.
> > > > If
> > > > > > you
> > > > > > > > > rebase
> > > > > > > > > > > then review should be started from the beginning,
> again.
> > > So
> > > > you
> > > > > > might
> > > > > > > > > > want
> > > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > > >
> > > > > > > > > > > Are you actually complaining that the problem is that I
> > > > rebased
> > > > > > the
> > > > > > > > > code
> > > > > > > > > > > during the three-month period when no-one looked at it
> > and
> > > > > > Zeppelin
> > > > > > > > > went
> > > > > > > > > > > through a release?
> > > > > > > > > > >
> > > > > > > > > > > I cannot take it seriously when you say things like
> this.
> > > > > > > > > > >
> > > > > > > > > > > Having to “start from the beginning” cannot be a
> problem
> > > if
> > > > you
> > > > > > never
> > > > > > > > > > > actually started the first time...
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You wanted coordination and cooperation. So i gave you
> > > > suggestion
> > > > > > that
> > > > > > > > > > helping review process. For example, your code has been
> > > rebased
> > > > > > since my
> > > > > > > > > > comment and jongyoul's comment. that means committers
> will
> > > > need to
> > > > > > look
> > > > > > > > > > from the beginning. That'll require more time. And
> maybe, i
> > > > guess
> > > > > > that's
> > > > > > > > > > not what you want. But If you don't care, feel free to
> > > rebase.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin
> > > > > > > > > pull
> > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > > > > > amos.elberg@gmail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > Thank you, Cos.
> > > > > > > > > > >
> > > > > > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > > > > > >
> > > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > > > > > >
> > > > > > > > > > > I’ve been seeking assistance on this since August.
> > > > > > > > > > >
> > > > > > > > > > > The most common reason is that SparkInterpreter is
> unable
> > > to
> > > > > > launch
> > > > > > > > > Spark
> > > > > > > > > > > and open a Spark Backend. This is necessary to test the
> > > PR.
> > > > > > > > > > >
> > > > > > > > > > > 60+ hours, has been spent adapting and re-basing when
> the
> > > > > > > > > > SparkInterpreter
> > > > > > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > > problem
> > > > on
> > > > > > > > > Zeppelin
> > > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > >
> > > > > > > > > > > And let's say Zeppelin core has problem and that makes
> > > your
> > > > PR
> > > > > > fails on
> > > > > > > > > > CI
> > > > > > > > > > > test. That's possible. But it still does not mean we
> can
> > > > merge
> > > > > > it with
> > > > > > > > > CI
> > > > > > > > > > > failing.
> > > > > > > > > > >
> > > > > > > > > > > If you think it's problem on Zeppelin core, then file
> an
> > > > issue
> > > > > > that
> > > > > > > > > > > reproduce the problem on Zeppelin core, that might be
> > more
> > > > > > efficient
> > > > > > > > > than
> > > > > > > > > > > keep trying yourself.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> > > KniteR)
> > > > > > > > > > > What license problem *specifically* do you believe may
> > > exist?
> > > > > > > > > > >
> > > > > > > > > > > In preparing the PR, I:
> > > > > > > > > > >
> > > > > > > > > > > * Reviewed the Apache policy in detail.
> > > > > > > > > > >
> > > > > > > > > > > * Contacted the FSF to ask their interpretation of the
> > > > “linking”
> > > > > > > > > > > provisions of the GPL license.
> > > > > > > > > > >
> > > > > > > > > > > * Reviewed how other Apache software deals with this
> > issue
> > > > > > (e.g., Spark
> > > > > > > > > > > talks to R, which is GPL'd).
> > > > > > > > > > >
> > > > > > > > > > > * No necessary *dependencies* of the PR have license
> > > > conflicts.
> > > > > > In
> > > > > > > > > > > several cases, I contacted package authors who agreed
> to
> > > > > > re-issue their
> > > > > > > > > > > packages under Apache-compatible licenses. (Usually I
> had
> > > to
> > > > do
> > > > > > a bit
> > > > > > > > > of
> > > > > > > > > > > coding in exchange…)
> > > > > > > > > > >
> > > > > > > > > > > * Where the license had to stay GPL, the packages are
> > *not
> > > > > > necessary*
> > > > > > > > > and
> > > > > > > > > > > *not dependencies.* If the optional packages are
> present,
> > > > they
> > > > > > will be
> > > > > > > > > > > used to enable additional functionality. Knitr is an
> > > example.
> > > > > > The PR
> > > > > > > > > will
> > > > > > > > > > > compile and run fine without knitr. If knitr is
> available
> > > > (it is
> > > > > > part
> > > > > > > > > of
> > > > > > > > > > > the most common R distribution), the PR will enable the
> > > knitr
> > > > > > > > > > interpreter.
> > > > > > > > > > >
> > > > > > > > > > > * This is exactly how this issue is addressed through
> the
> > > > Apache
> > > > > > > > > > > ecosystem.
> > > > > > > > > > > The tl;dr is this: When Apache code is written to talk
> to
> > > > > > libraries
> > > > > > > > > that
> > > > > > > > > > > may or may not be present on the user’s system, or
> where
> > > it
> > > > > > talks to an
> > > > > > > > > > API
> > > > > > > > > > > but is agnostic about implementation, that is not
> > > “linking”
> > > > in a
> > > > > > way
> > > > > > > > > that
> > > > > > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > > > > > >
> > > > > > > > > > > Otherwise, no Apache code could ever call a shell
> script!
> > > Let
> > > > > > alone run
> > > > > > > > > > > on Linux, or talk to R.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > > > > > >
> > > > > > > > > > > In my interpretation, KnitRInterpreter is not an
> optional
> > > > > > feature while
> > > > > > > > > > it
> > > > > > > > > > > is always enabled when compiling Zeppelin and always
> > > enabled
> > > > when
> > > > > > > > > running
> > > > > > > > > > > Zeppelin. And it requires dynamically linked GPL
> library
> > > on
> > > > > > runtime.
> > > > > > > > > (yes
> > > > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > > > >
> > > > > > > > > > > And of course, no Apache code can ever call a shell
> > > script,
> > > > on
> > > > > > the
> > > > > > > > > > purpose
> > > > > > > > > > > of dynamic linking with GPL library.
> > > > > > > > > > >
> > > > > > > > > > > I was guessing SparkR can be still in Apache License
> even
> > > if
> > > > it
> > > > > > is
> > > > > > > > > > depends
> > > > > > > > > > > on R. Because of GPL licensed compiler generated output
> > is
> > > > not
> > > > > > GPL
> > > > > > > > > > license.
> > > > > > > > > > > and R is sort of compiler.
> > > > > > > > > > >
> > > > > > > > > > > If you can get answer from Spark community how SparkR
> get
> > > > > > managed to
> > > > > > > > > stay
> > > > > > > > > > > in Apache License while R is GPL, the answer might
> help.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > > Has any reviewer has downloaded the PR or run the demo
> > > > notebook?
> > > > > > (Which
> > > > > > > > > > > is there for the benefit of reviewers, and isn’t
> intended
> > > to
> > > > go
> > > > > > in
> > > > > > > > > final
> > > > > > > > > > > distribution.)
> > > > > > > > > > >
> > > > > > > > > > > How many +1 comments from users would you like to see?
> > > > > > > > > > >
> > > > > > > > > > > How much time do you believe is required?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > It all depends on when CI is going to pass, when
> license
> > > > problem
> > > > > > is
> > > > > > > > > going
> > > > > > > > > > > to be cleared, and when a committer willing to review
> and
> > > > > > responsible
> > > > > > > > > to
> > > > > > > > > > > commit your contribution.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 1. Large code base change
> > > > > > > > > > > Large code base changes require coordination and
> > > cooperation.
> > > > > > This PR
> > > > > > > > > > > necessarily implicates the build scripts, testing code,
> > > the
> > > > > > > > > > > SparkInterpreter, etc.
> > > > > > > > > > >
> > > > > > > > > > > I have been seeking to coordinate since August.
> > > > > > > > > > >
> > > > > > > > > > > I continue to stand ready to do so.
> > > > > > > > > > >
> > > > > > > > > > > -Amos
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > > sometimes
> > > > ask
> > > > > > rebase
> > > > > > > > > > the
> > > > > > > > > > > contribution branch for some reason. It is not the
> really
> > > the
> > > > > > best
> > > > > > > > > > > practice, but still okay while most contributions are
> not
> > > > > > including
> > > > > > > > > large
> > > > > > > > > > > code base changes.
> > > > > > > > > > >
> > > > > > > > > > > However, your one, has more than 4000 lines of code
> > > change.
> > > > If
> > > > > > you
> > > > > > > > > rebase
> > > > > > > > > > > then review should be started from the beginning,
> again.
> > > So
> > > > you
> > > > > > might
> > > > > > > > > > want
> > > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > moon
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > > >
> > > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > > incubator-zeppelin
> > > > > > > > > pull
> > > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > > >
> > > > > > > > > > > Hi Cos,
> > > > > > > > > > >
> > > > > > > > > > > Thanks for opening a discussion.
> > > > > > > > > > > My answer about 'Why this PR is open for three months'
> is
> > > > > > > > > > >
> > > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> > > KniteR)
> > > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > >
> > > > > > > > > > > It's my personal answer, other committers may have
> > > different
> > > > > > opinion.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think the question should be generalized. Because
> this
> > > PR
> > > > is
> > > > > > not the
> > > > > > > > > > only
> > > > > > > > > > > PR that is in impasse. There're more. For example
> > > > > > > > > > >
> > > > > > > > > > > Here's some examples that PR is not been merged.
> > > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > > > > > and so on.
> > > > > > > > > > >
> > > > > > > > > > > I can categorize the cases, based on experience of
> > > involving
> > > > > > Zeppelin
> > > > > > > > > > > community from the beginning.
> > > > > > > > > > >
> > > > > > > > > > > 1. Large code base change
> > > > > > > > > > >
> > > > > > > > > > > When contribution has large code base changes, it tend
> to
> > > > take
> > > > > > more
> > > > > > > > > time
> > > > > > > > > > to
> > > > > > > > > > > review and merged. Normally, most contributions merged
> in
> > > > 1day~1
> > > > > > week.
> > > > > > > > > > > But some contribution has large code base changes take
> > 2~4
> > > > > > weeks. Few
> > > > > > > > > > > contribution that has very large code base change take
> > > > months.
> > > > > > > > > > >
> > > > > > > > > > > 2. Communication lost
> > > > > > > > > > >
> > > > > > > > > > > Sometimes, committer is not responding, or contributor
> is
> > > not
> > > > > > > > > responding.
> > > > > > > > > > >
> > > > > > > > > > > 3. Opinion diverges
> > > > > > > > > > >
> > > > > > > > > > > For some changes, included in contribution. When people
> > > have
> > > > > > different
> > > > > > > > > > > opinion and it continue to diverges, those PRs are not
> > > been
> > > > > > merged.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think having a guide such as ping other committer
> when
> > a
> > > > > > committer is
> > > > > > > > > > not
> > > > > > > > > > > responding, and divide contribution into small peaces
> if
> > > > > > possible,
> > > > > > > > > would
> > > > > > > > > > > help most of the cases.
> > > > > > > > > > > Of course committer have to pay attention more to the
> > > > > > contribution and
> > > > > > > > > > > helping people. That's the first one.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > moon
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > > > > > cos@apache.org>
> > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > To make sure we're on the same page, here are two
> > > threads
> > > > that
> > > > > > I
> > > > > > > > > found
> > > > > > > > > > > > related
> > > > > > > > > > > > to this topic.
> > > > > > > > > > > >
> > > > > > > > > > > > Thread 1:
> > > > > > > > > > > > Subject: R?
> > > > > > > > > > > > Started on: July 1, 2015
> > > > > > > > > > > >
> > > > > > > > > > > > Thread 2:
> > > > > > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > > > > > Interpreter for
> > > > > > > > > > > > Zeppelin
> > > > > > > > > > > > Started on: August 13, 2015
> > > > > > > > > > > >
> > > > > > > > > > > > If you want to fetch these from our archive send
> emails
> > > to
> > > > > > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > > Cos
> > > > > > > > > > > >
> > > > > > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik
> > > wrote:
> > > > > > > > > > > > > Guys,
> > > > > > > > > > > > >
> > > > > > > > > > > > > While catching up on my emails from the last a
> couple
> > > of
> > > > > > weeks,
> > > > > > > > > this
> > > > > > > > > > > > thread
> > > > > > > > > > > > > caught my attention. I am not normally paying much
> > > > attention
> > > > > > to the
> > > > > > > > > > > code
> > > > > > > > > > > > > reviews traffic from GH, but this one is pretty
> > > > different as
> > > > > > it
> > > > > > > > > spans
> > > > > > > > > > > > three
> > > > > > > > > > > > > months and counting.
> > > > > > > > > > > > >
> > > > > > > > > > > > > First, here are my five cents:
> > > > > > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is
> > aimed
> > > > to be
> > > > > > > > > > > > contributed to
> > > > > > > > > > > > > an ASF project this file should simply contain ASL2
> > > text,
> > > > > > like in
> > > > > > > > > [1]
> > > > > > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> > > > <developers>
> > > > > > > > > > section,
> > > > > > > > > > > > but
> > > > > > > > > > > > > Zeppelin might have different guidelines on it.
> Say,
> > > > Bigtop
> > > > > > doesn't
> > > > > > > > > > > > > maintain this in the source code, but we have the
> > list
> > > of
> > > > > > all the
> > > > > > > > > > > > > committers on the project's site [2] Every new
> > > > committer's
> > > > > > first
> > > > > > > > > > > > commit is
> > > > > > > > > > > > > to update the team page ;)
> > > > > > > > > > > > > - comments like in
> > > > > > > > > > > >
> > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > > > > > >
> > > > > > > > > > > > > +/**
> > > > > > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > > > > > + */
> > > > > > > > > > > > >
> > > > > > > > > > > > > is better to be removed. It has been already
> > discussed
> > > > here
> > > > > > [3].
> > > > > > > > > And
> > > > > > > > > > > > the
> > > > > > > > > > > > > initial discussion on the topic [4] was linked as
> > well
> > > > > > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not
> > > sure
> > > > if
> > > > > > this is
> > > > > > > > > > > > R-specific
> > > > > > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > > > > > >
> > > > > > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > > > > > ...
> > > > > > > > > > > > > +Author: David B. Dahl
> > > > > > > > > > > > >
> > > > > > > > > > > > > shouldn't be here, IMO. Normally, if some
> additional
> > > > > > licenses are
> > > > > > > > > > > > used,
> > > > > > > > > > > > > they have to be listed in the top-level NOTICE file
> > > > (already
> > > > > > > > > there).
> > > > > > > > > > > > >
> > > > > > > > > > > > > - I am not going to offer any comments on the
> > > technical
> > > > > > merits of
> > > > > > > > > the
> > > > > > > > > > > > patch,
> > > > > > > > > > > > > as I haven't tried it personally. However, I don't
> > see
> > > > any
> > > > > > serious
> > > > > > > > > > > > > technical objections to the functionality in
> > question.
> > > > > > > > > > > > >
> > > > > > > > > > > > > So, the question is - why the PR is open for three
> > > > months? I
> > > > > > hasn't
> > > > > > > > > > > been
> > > > > > > > > > > > able
> > > > > > > > > > > > > to get a clear answer. What I found out though is
> > > pretty
> > > > > > > > > unsettling,
> > > > > > > > > > > > really.
> > > > > > > > > > > > > The communication on the topic is almost
> > non-existent,
> > > > > > except for
> > > > > > > > > > this
> > > > > > > > > > > > sparse
> > > > > > > > > > > > > and bitter thread in the GH.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I would love to hear from the committers what's
> > > stopping
> > > > the
> > > > > > > > > > acceptance
> > > > > > > > > > > > of the
> > > > > > > > > > > > > code, besides of the minor issues I've mentioned
> > > earlier?
> > > > > > What are
> > > > > > > > > > the
> > > > > > > > > > > > reasons for it?
> > > > > > > > > > > > > Is there anything wrong with it?
> > > > > > > > > > > > > One of the responsibilities of the committers is to
> > > make
> > > > > > sure the
> > > > > > > > > > > > > contributions are reviewed; new contributors are
> > > guided
> > > > and
> > > > > > do
> > > > > > > > > > > > understand how
> > > > > > > > > > > > > the project ticks. The easy feedback flow attracts
> > new
> > > > > > people,
> > > > > > > > > > allowing
> > > > > > > > > > > > the
> > > > > > > > > > > > > community to grow and thrive.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I am asking _explicitely_ not to re-start the
> > > bickering I
> > > > > > have
> > > > > > > > > > already
> > > > > > > > > > > > > seen. At this point I am interested in the purely
> > > > technical
> > > > > > side of
> > > > > > > > > > > this.
> > > > > > > > > > > > >
> > > > > > > > > > > > > [1]
> > > https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > > > > > [3]
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > > > > > >
> > > > > > > > > > > > > With regards,
> > > > > > > > > > > > > Cos
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > > > > > Github user elbamos commented on the pull
> request:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The current push should resolve some issues with
> > > > changes
> > > > > > in the
> > > > > > > > > > > > > > Spark-Zeppelin interface that had created issues
> > for
> > > > > > users, as
> > > > > > > > > > > > well as
> > > > > > > > > > > > > > support for 1.5.1.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Knitr support is improved, and the reason for a
> > > > separate
> > > > > > knitr
> > > > > > > > > > > > interpreter may be clearer now.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The amount of code borrowed from rscala is
> reduced.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I did not address issues with @author tags, or
> > files
> > > > under
> > > > > > the R/
> > > > > > > > > > > > > > folder. The reason is, to be blunt, I don't
> > > understand
> > > > > > what the
> > > > > > > > > > > > precise
> > > > > > > > > > > > > > concerns actually are.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Please note that I changed .travis.yml to only
> use
> > > > spark
> > > > > > 1.4 and
> > > > > > > > > > > > later.
> > > > > > > > > > > > > > I'm sure there is a better way to do it, but I'm
> > > just
> > > > not
> > > > > > in a
> > > > > > > > > > > > position
> > > > > > > > > > > > > > to try to figure out the entire Zeppelin build
> > > process.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Integrating this with the rest of zeppelin is
> going
> > > to
> > > > > > take some
> > > > > > > > > > > > work
> > > > > > > > > > > > > > regarding pom's, travis, and so forth. I can do a
> > > lot
> > > > of
> > > > > > that,
> > > > > > > > > > > > but I'm
> > > > > > > > > > > > > > going to need to discuss it with the people who
> > have
> > > > been
> > > > > > > > > "owning"
> > > > > > > > > > > > those
> > > > > > > > > > > > > > files. There are just too many moving pieces
> here.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Because of the size of this (which is,
> > > unfortunately,
> > > > > > necessary),
> > > > > > > > > > > > > > posting here is probably not the most efficient
> > way.
> > > > That
> > > > > > is also
> > > > > > > > > > > > true
> > > > > > > > > > > > > > because certain people chose to use this PR as a
> > > forum
> > > > to
> > > > > > air
> > > > > > > > > other
> > > > > > > > > > > > > > issues. Therefore, it would be better if
> reviewers
> > > > e-mail
> > > > > > me
> > > > > > > > > > > > directly.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > >
> > > >
> > >
> > >
> >
>
Re: R-Interpreter CI Was: Re: contributions impasse. Was: [GitHub]
incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by DuyHai Doan <do...@gmail.com>.
I have also experienced CI failing in the pass for some PRs that do not
impact the code (Cassandra documentation). I guess that during peak hours,
the CI servers may be too busy or enter a dead lock so the build fails.
At least that's my guess. What do you think ?
On Tue, Dec 8, 2015 at 9:42 AM, moon soo Lee <mo...@apache.org> wrote:
> Let me run some CI test with your branch and share result here.
> Hope i can narrow down the cause and that helps involvement of more people.
>
> Thanks,
> moon
>
> On Tue, Dec 8, 2015 at 3:08 PM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Is there anyone who can work with me on the CI issues? It looks like
> > there are a number of PRs experiencing similar things.
> >
> > I think we should make getting CI stable to be a priority. Because it
> > will save everyone a lot of frustration and aggravation if CI works
> > reliably.
> >
> > Is there anyone other than Jongyoul and Moon who knows the CI/Build
> > process well?
> >
> > (Moon - Thank you for taking another look at the licensing issue. Per
> the
> > e-mail I wrote about this a few days ago, I don’t feel I have more to
> > contribute to the licensing discussion, so I’m going to try not to
> comment
> > further about it.)
> >
> > From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org
> > <de...@zeppelin.incubator.apache.org> <de...@zeppelin.incubator.apache.org>
> > Date: December 7, 2015 at 5:00:08 PM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > <de...@zeppelin.incubator.apache.org>
> > Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse.
> > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
> >
> > Thanks Amos, Roman, Cos for clarifying license issue.
> >
> > I'm convinced that this license issue will not be a blocker.
> >
> > In my understanding, these are good sign,
> >
> > 1. any gpl licensed source codes are not included in the source package
> > 2. any gpl licensed libraries are not included in the binary package
> >
> > However, i can not still 100% sure about
> >
> > 3. any gpl licensed libraries are not linked on runtime
> >
> > Even after Amos's explanation. I still think using 'knitr' is one of the
> > clear case that 'knir' is linked to 'R' according to
> > http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL.
> >
> > Giving input and getting output from GPL licensed interpreter (includes
> R)
> > from Apache licensed software is not a problem. That's not the point.
> > Let me say in this way. There's an java code,
> >
> > import com.mysql.jdbc.Driver
> > Driver driver = new Driver()
> >
> > Say without this java code, one of important feature of Zeppelin does not
> > work. And Zeppelin does not includes GPL licensed file in the source
> > package, GPL licensed library in the binary package, but it requires GPL
> > licensed library on the runtime.
> > In this case, will this java code be a license problem or not?
> >
> > In other words, my question is
> >
> > a) Is runtime GPL library dependency allowed in ASF release?
> > b) is 'knitr' considered as runtime dependency?
> >
> > If someone can clarify a), b), then it would be extremely helpful
> > understanding this case, and possible similar cases, too.
> >
> > Thanks,
> > moon
> >
> > On Mon, Dec 7, 2015 at 3:20 PM Konstantin Boudnik <co...@apache.org>
> wrote:
> >
> > > On Thu, Dec 03, 2015 at 11:03AM, Corneau Damien wrote:
> > > > Thanks Cos for those answers,
> > > >
> > > > If I'm right you are advising to have a default build that doesn't
> > > include
> > > > libraries with conflicting licenses, but have an option to include
> > them
> > > for
> > > > users who wants to build the project themselves.
> > >
> > > Yes, that's what I said. Besides, looks like Roman provided the second
> > > pair of
> > > eyes to this licensing discussion and as well didn't find any issues
> > with
> > > the
> > > current approach.
> > >
> > > Cos
> > >
> > > > To refer to another thread about decentralizing interpreters, it
> could
> > > even
> > > > be better in that case to have some interpreters separated from the
> > tree,
> > > > and easily pluggable with a release instead of forcing users to build
> > the
> > > > project to use them.
> > > >
> > > >
> > > > On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <co...@apache.org>
> > > wrote:
> > > >
> > > > > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > > > > Konstantin thank you for getting into this.
> > > > > >
> > > > > >> The best way to go around it is by
> > > > > >> providing a build-time option that will pull such binaries in.
> > But
> > > by
> > > > > default
> > > > > >> such libs shouldn't be pulled.
> > > > > >
> > > > > > That is basically how the PR handles this. If the GPL’d
> > interpreter
> > > > > scripts
> > > > > > are missing, there’s no indication at all at build time. It
> > doesn’t
> > > try
> > > > > to
> > > > > > download them.
> > > > > >
> > > > > > At runtime, if the user tries to use functionality that would
> need
> > > such a
> > > > > > script (i.e., if they type “knitr” to use knitr), we display an
> > error
> > > > > that
> > > > > > says that the functionality is not there because the library is
> > > missing,
> > > > > and
> > > > > > that the library cannot be provided because it has an
> incompatible
> > > > > license,
> > > > > > but the user can download it themselves if they want.
> > > > > >
> > > > > > And, in the log, if the logging level is high, they will see a
> > note
> > > that
> > > > > > some functionality was disabled because the libraries weren’t
> > there.
> > > > > >
> > > > > > To be clear, though, none of these libraries are binaries.
> They’re
> > > all
> > > > > interpreter scripts.
> > > > >
> > > > > If you ever in a doubt of which licenses could be used for
> > dependncies
> > > > > (not to
> > > > > say about source code) are listed in Category A list of [1]
> > > > >
> > > > > A lot of quesitons discussed here are already covered in the legal
> > > FAQ, so
> > > > > just check against it if you have any questions.
> > > > >
> > > > > [1] http://www.apache.org/legal/resolved.html#category-a
> > > > >
> > > > > Cos
> > > > >
> > > > > > From: Konstantin Boudnik <co...@apache.org>
> > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org>,
> > dev@zeppelin.incubator.apache.org
> > > <
> > > > > dev@zeppelin.incubator.apache.org>
> > > > > > Date: December 2, 2015 at 3:24:50 PM
> > > > > > To: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org
> > > > > >
> > > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > > > > impasse. Was: [GitHub] incubator-zeppelin pull request: R
> > Interpreter
> > > for
> > > > > Zeppelin
> > > > > >
> > > > > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > > > > I think that what moon means is that:
> > > > > > > If we merge the way it is now, the KnitRInterpreter will be
> part
> > > of the
> > > > > > > code base, so it isn't optional at code base level.
> > > > > > >
> > > > > > > To make it even more simple:
> > > > > > > * If the code has the right licensing -> that code can be part
> > of
> > > the
> > > > > > > source code, and can be including in a binary release
> > > > > >
> > > > > > We aren't concerned with binary releases - as an Apache community
> > we
> > > are
> > > > > > voting and releasing source code. If the project wants to provide
> > a
> > > > > binary
> > > > > > release to its users, they are better be warned about inclusion
> of
> > > non
> > > > > > ASL2-friendly licensed bits.
> > > > > >
> > > > > > > * If the code doesn't have the right licensing -> it can't be
> > part
> > > of
> > > > > the
> > > > > > > source code, and can't be included in a binary release
> > > > > >
> > > > > > See above.
> > > > > >
> > > > > > > * If the code doesn't have the right licensing but is imported
> > at
> > > build
> > > > > > > time (libraries for example) -> it is not in the source code,
> it
> > > can't
> > > > > be
> > > > > > > included in binary release
> > > > > >
> > > > > > That is unless a user doing it on his own. The best way to go
> > around
> > > it
> > > > > is by
> > > > > > providing a build-time option that will pull such binaries in.
> But
> > by
> > > > > default
> > > > > > such libs shouldn't be pulled.
> > > > > >
> > > > > > Cos
> > > > > >
> > > > > > > So in the case of licensing issues, it would need to be fully
> > > optional
> > > > > > > (user bring the interpreter in his directory and build Zeppelin
> > > with
> > > > > it)
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> > > amos.elberg@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Moon let me clarify:
> > > > > > > >
> > > > > > > > Interpreted code doesn’t “link.” The wiki article actually
> > > explains
> > > > > it
> > > > > > > > pretty well —
> > > https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > > > > “Linking” against a library means compiling its headers into
> a
> > > > > binary, the
> > > > > > > > way a C compiler works. The 2008 e-mail Moon distributed,
> > called
> > > > > this the
> > > > > > > > “interpreter exception.”
> > > > > > > >
> > > > > > > > As for whether GPL’d code is a “mandatory dependency,” if
> > knitr
> > > is
> > > > > missing
> > > > > > > > the PR will compile, run and test just fine. The user is
> never
> > > > > prompted to
> > > > > > > > download it. The only effect is, if the user types “knitr”
> and
> > > knitr
> > > > > isn’t
> > > > > > > > there, we display an InterpreterError that knitr isn’t there.
> > > > > > > >
> > > > > > > > KnitRInterpreter is not optionally required. so it does not
> > > matter
> > > > > KnitR
> > > > > > > > is
> > > > > > > > optionally required or not.
> > > > > > > > Aren’t all interpreters optional? You can turn them on and
> off
> > > in the
> > > > > > > > config files.
> > > > > > > >
> > > > > > > > Do you mean that the KnitRInterpreter class gets compiled to
> > > > > bytecode even
> > > > > > > > if knitr is missing? So what? That isn't a mandatory
> > dependency
> > > or a
> > > > > link.
> > > > > > > >
> > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > Subject: Re: License of KnitRInterpreter Was: Re:
> > contributions
> > > > > impasse.
> > > > > > > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter
> > for
> > > > > Zeppelin
> > > > > > > >
> > > > > > > > Let me summarize license concern about KnitRInterpreter.
> > > > > > > >
> > > > > > > >
> > > > > > > > Amos's interpretation.
> > > > > > > >
> > > > > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > > > > R dependency in SparkR has no problem. So KnitR should be the
> > > same.
> > > > > > > >
> > > > > > > >
> > > > > > > > Moon's interpretation.
> > > > > > > >
> > > > > > > > KnitRInterpreter is not optionally required. so it does not
> > > matter
> > > > > KnitR is
> > > > > > > > optionally required or not.
> > > > > > > > R dependency in SparkR is exception of GPL. KnitR is not
> > applied
> > > that
> > > > > > > > exception.
> > > > > > > >
> > > > > > > >
> > > > > > > > Amos, could you confirm my understanding to your
> > interpretation
> > > is
> > > > > correct?
> > > > > > > > If it is not could you clarify it?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > moon
> > > > > > > >
> > > > > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > > > > amos.elberg@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Just to put the final nail in this, I looked it up.
> > > > > > > > >
> > > > > > > > > I see no evidence of any “compiler exception.”
> > > > > > > > >
> > > > > > > > > There is an exception in the license for the runtime
> > libraries
> > > > > that are
> > > > > > > > > bundled with GCC. See:
> > > > > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > > > > >
> > > > > > > > > But no “compiler exception.”
> > > > > > > > >
> > > > > > > > > In fact, I believe this is part of the reason why LLVM was
> > > created.
> > > > > > > > >
> > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > incubator-zeppelin pull
> > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > >
> > > > > > > > > Is knitR is commonly considered as a interpreter/compiler?
> > or
> > > is it
> > > > > > > > > considered as a library routine?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > moon
> > > > > > > > >
> > > > > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > > > > amos.elberg@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > > Moon - you give this as an explanation of the licensing
> > issue:
> > > > > > > > >
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > >
> > > > > > > > > According to that, there is an exception in the GPL for
> > > interpreter
> > > > > > > > > languages. As long as you don’t distribute the code, its
> > fine
> > > to
> > > > > talk to
> > > > > > > > > an interpreted language.
> > > > > > > > >
> > > > > > > > > Well, if that’s the case, then the PR plainly does not have
> > a
> > > > > license
> > > > > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > > > > >
> > > > > > > > > I’m not sure what’s confusing about this. It seems
> > completely
> > > > > > > > > straightforward.
> > > > > > > > >
> > > > > > > > > Regarding this:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Amos Elberg
> > > > > > > > > Sent with Airmail
> > > > > > > > >
> > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > > > > >
> > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > >
> > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > incubator-zeppelin pull
> > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > >
> > > > > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > > > > amos.elberg@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > I am going to try to minimize my reaction to Moon’s
> > e-mail.
> > > > > > > > > >
> > > > > > > > > > The tl;dr is this:
> > > > > > > > > >
> > > > > > > > > > The reason we are having this discussion now is that
> > active
> > > > > users of
> > > > > > > > the
> > > > > > > > > > PR — which now has its own user base — went public to
> > > complain
> > > > > about
> > > > > > > > > this.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > The PR has been tested by an active user base for more
> > than
> > > three
> > > > > > > > months.
> > > > > > > > > > No-one has been able to identify any specific actual
> > > licensing
> > > > > problem,
> > > > > > > > > and
> > > > > > > > > > the PR was prepared based on an extensive, careful review
> > of
> > > the
> > > > > > > > relevant
> > > > > > > > > > licensing issues and after contacting the relevant
> people.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > I admire every software that used by user and helping
> > people.
> > > That
> > > > > > > > includes
> > > > > > > > > your work. But that's not the topic we're in discussion.
> > Active
> > > > > user does
> > > > > > > > > not mean your contribution can ignore the review.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > It is not an explanation for someone who has been
> ignoring
> > my
> > > > > “how can
> > > > > > > > I
> > > > > > > > > > move this forward…” emails for three months to point the
> > > finger
> > > > > and
> > > > > > > > say I
> > > > > > > > > > didn’t contact the right person or file the right report.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > This is also not the topic in this discussion.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > The burden for providing an explanation for the inaction
> > is
> > > on
> > > > > the PMCC
> > > > > > > > > at
> > > > > > > > > > this point.
> > > > > > > > >
> > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> problem
> > on
> > > > > Zeppelin
> > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > > They’re not! I often see comments on PRs to just ignore
> > that
> > > CI
> > > > > is
> > > > > > > > > > failing.
> > > > > > > > > >
> > > > > > > > > > One of the most common reasons this PR fails CI, is CI
> > > times-out
> > > > > > > > > > downloading Spark to install. How could that possibly be
> > > caused
> > > > > by the
> > > > > > > > > PR?
> > > > > > > > > >
> > > > > > > > > > It looks to me like the only PRs with changes to the
> > relevant
> > > > > parts of
> > > > > > > > > the
> > > > > > > > > > code — the SparkInterpreter — are being made by the
> person
> > > who
> > > > > wrote
> > > > > > > > the
> > > > > > > > > > testing suite.
> > > > > > > > > >
> > > > > > > > > > So, that would explain why some other PRs pass CI:
> Neither
> > > the
> > > > > > > > > > SparkInterpreter nor the testing suite are stable or
> > robust,
> > > but
> > > > > since
> > > > > > > > > the
> > > > > > > > > > PRs are coming from the person who wrote both…
> > > > > > > > > >
> > > > > > > > > > And let's say Zeppelin core has problem and that makes
> > your
> > > PR
> > > > > fails on
> > > > > > > > > CI
> > > > > > > > > > test. That's possible. But it still does not mean we can
> > > merge
> > > > > it with
> > > > > > > > CI
> > > > > > > > > > failing.
> > > > > > > > > >
> > > > > > > > > > It means you should be working with me to figure out why
> > the
> > > CI
> > > > > is
> > > > > > > > > failing.
> > > > > > > > > >
> > > > > > > > > > This PR has been tested by an active user base for the
> > past
> > > three
> > > > > > > > months.
> > > > > > > > > > If CI is continuing to fail, and dozens of hours of
> effort
> > > have
> > > > > not
> > > > > > > > > > resolved the CI issues, then it is time to start
> > considering
> > > > > whether
> > > > > > > > the
> > > > > > > > > > testing suite is part of the problem.
> > > > > > > > > >
> > > > > > > > > > The level of defensiveness about the CI and
> > SparkInterpreter
> > > is
> > > > > not
> > > > > > > > > > helping to resolve these issues.
> > > > > > > > > >
> > > > > > > > > > If you think it's problem on Zeppelin core, then file an
> > > issue
> > > > > that
> > > > > > > > > > reproduce the problem on Zeppelin core, that might be
> more
> > > > > efficient
> > > > > > > > than
> > > > > > > > > > keep trying yourself.
> > > > > > > > > > I contacted you numerous times about such issues...
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I remember i commented your issue about CI. but you just
> > keep
> > > > > repeated
> > > > > > > > it's
> > > > > > > > > not your problem but Zeppelin core problem.
> > > > > > > > >
> > > > > > > > > Then please file an issue about the problem you found in
> > > Zeppelin
> > > > > Core.
> > > > > > > > > Then everyone will get into the problem.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > > > > feature while
> > > > > > > > > it
> > > > > > > > > > is always enabled when compiling Zeppelin and always
> > enabled
> > > when
> > > > > > > > running
> > > > > > > > > > Zeppelin. And it requires dynamically linked GPL library
> > on
> > > > > runtime.
> > > > > > > > (yes
> > > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > > >
> > > > > > > > > > Its not always enabled.
> > > > > > > > > > It is not dynamically linked at runtime.
> > > > > > > > > > It will not fail when knitr is missing. If knitr is not
> > > present,
> > > > > the
> > > > > > > > repl
> > > > > > > > > > interpreter starts and a note is written to to the log
> > that
> > > the
> > > > > knitr
> > > > > > > > > > interpreter isn’t available because knitr is not present.
> > > > > > > > > >
> > > > > > > > > > no Apache code can ever call a shell script, on the
> > purpose
> > > of
> > > > > dynamic
> > > > > > > > > > linking with GPL library.
> > > > > > > > > > You misunderstand.
> > > > > > > > > >
> > > > > > > > > > The *shell* is GPL'd.
> > > > > > > > > >
> > > > > > > > > > Is Zeppelin “linked" against the GPL’d shell because
> > Zeppelin
> > > > > depends
> > > > > > > > on
> > > > > > > > > a
> > > > > > > > > > shell script to launch?
> > > > > > > > > >
> > > > > > > > > Obviously not.
> > > > > > > > > >
> > > > > > > > > > The interaction with R in the PR is the same.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > Again, bash is one of exceptions of GPL, like other GPL
> > > licensed
> > > > > > > > > compiler/interpreter.
> > > > > > > > >
> > > > > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > > > >
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > > >
> > > > > > > > > I'm not sure we can apply the same exception for 'using'
> > KnitR.
> > > > > > > > >
> > > > > > > > > My point is not 'KnitR' is optional or not. Point is
> > > > > 'KnitRInterpreter'
> > > > > > > > you
> > > > > > > > > wrote is not an optional feature. Which is clearly not
> > > optionally
> > > > > enabled
> > > > > > > > > code and feature. And that depends on KnitR library which
> is
> > > GPL.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > I was guessing SparkR can be still in Apache License even
> > if
> > > it
> > > > > is
> > > > > > > > > depends
> > > > > > > > > > on R. Because of GPL licensed compiler generated output
> is
> > > not
> > > > > GPL
> > > > > > > > > license.
> > > > > > > > > > and R is sort of compiler. If you can get answer from
> > Spark
> > > > > community
> > > > > > > > how
> > > > > > > > > > SparkR get managed to stay in Apache License while R is
> > GPL,
> > > the
> > > > > answer
> > > > > > > > > > might help.
> > > > > > > > > > The description of SparkR is not accurate in any respect.
> > (Do
> > > > > you think
> > > > > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > > > > >
> > > > > > > > > > I don’t see that any genuine issue is being raised here.
> > > > > > > > > >
> > > > > > > > > > If there is an issue, the burden is on you to identify
> it.
> > > > > > > > > >
> > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > sometimes
> > > ask
> > > > > rebase
> > > > > > > > > the
> > > > > > > > > > contribution branch for some reason. It is not the really
> > the
> > > > > best
> > > > > > > > > > practice, but still okay while most contributions are not
> > > > > including
> > > > > > > > large
> > > > > > > > > > code base changes
> > > > > > > > > > However, your one, has more than 4000 lines of code
> > change.
> > > If
> > > > > you
> > > > > > > > rebase
> > > > > > > > > > then review should be started from the beginning, again.
> > So
> > > you
> > > > > might
> > > > > > > > > want
> > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > >
> > > > > > > > > > Are you actually complaining that the problem is that I
> > > rebased
> > > > > the
> > > > > > > > code
> > > > > > > > > > during the three-month period when no-one looked at it
> and
> > > > > Zeppelin
> > > > > > > > went
> > > > > > > > > > through a release?
> > > > > > > > > >
> > > > > > > > > > I cannot take it seriously when you say things like this.
> > > > > > > > > >
> > > > > > > > > > Having to “start from the beginning” cannot be a problem
> > if
> > > you
> > > > > never
> > > > > > > > > > actually started the first time...
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > You wanted coordination and cooperation. So i gave you
> > > suggestion
> > > > > that
> > > > > > > > > helping review process. For example, your code has been
> > rebased
> > > > > since my
> > > > > > > > > comment and jongyoul's comment. that means committers will
> > > need to
> > > > > look
> > > > > > > > > from the beginning. That'll require more time. And maybe, i
> > > guess
> > > > > that's
> > > > > > > > > not what you want. But If you don't care, feel free to
> > rebase.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > moon
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > incubator-zeppelin
> > > > > > > > pull
> > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > >
> > > > > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > > > > amos.elberg@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > > Thank you, Cos.
> > > > > > > > > >
> > > > > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > > > > >
> > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > > > > >
> > > > > > > > > > I’ve been seeking assistance on this since August.
> > > > > > > > > >
> > > > > > > > > > The most common reason is that SparkInterpreter is unable
> > to
> > > > > launch
> > > > > > > > Spark
> > > > > > > > > > and open a Spark Backend. This is necessary to test the
> > PR.
> > > > > > > > > >
> > > > > > > > > > 60+ hours, has been spent adapting and re-basing when the
> > > > > > > > > SparkInterpreter
> > > > > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> > problem
> > > on
> > > > > > > > Zeppelin
> > > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > >
> > > > > > > > > > And let's say Zeppelin core has problem and that makes
> > your
> > > PR
> > > > > fails on
> > > > > > > > > CI
> > > > > > > > > > test. That's possible. But it still does not mean we can
> > > merge
> > > > > it with
> > > > > > > > CI
> > > > > > > > > > failing.
> > > > > > > > > >
> > > > > > > > > > If you think it's problem on Zeppelin core, then file an
> > > issue
> > > > > that
> > > > > > > > > > reproduce the problem on Zeppelin core, that might be
> more
> > > > > efficient
> > > > > > > > than
> > > > > > > > > > keep trying yourself.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> > KniteR)
> > > > > > > > > > What license problem *specifically* do you believe may
> > exist?
> > > > > > > > > >
> > > > > > > > > > In preparing the PR, I:
> > > > > > > > > >
> > > > > > > > > > * Reviewed the Apache policy in detail.
> > > > > > > > > >
> > > > > > > > > > * Contacted the FSF to ask their interpretation of the
> > > “linking”
> > > > > > > > > > provisions of the GPL license.
> > > > > > > > > >
> > > > > > > > > > * Reviewed how other Apache software deals with this
> issue
> > > > > (e.g., Spark
> > > > > > > > > > talks to R, which is GPL'd).
> > > > > > > > > >
> > > > > > > > > > * No necessary *dependencies* of the PR have license
> > > conflicts.
> > > > > In
> > > > > > > > > > several cases, I contacted package authors who agreed to
> > > > > re-issue their
> > > > > > > > > > packages under Apache-compatible licenses. (Usually I had
> > to
> > > do
> > > > > a bit
> > > > > > > > of
> > > > > > > > > > coding in exchange…)
> > > > > > > > > >
> > > > > > > > > > * Where the license had to stay GPL, the packages are
> *not
> > > > > necessary*
> > > > > > > > and
> > > > > > > > > > *not dependencies.* If the optional packages are present,
> > > they
> > > > > will be
> > > > > > > > > > used to enable additional functionality. Knitr is an
> > example.
> > > > > The PR
> > > > > > > > will
> > > > > > > > > > compile and run fine without knitr. If knitr is available
> > > (it is
> > > > > part
> > > > > > > > of
> > > > > > > > > > the most common R distribution), the PR will enable the
> > knitr
> > > > > > > > > interpreter.
> > > > > > > > > >
> > > > > > > > > > * This is exactly how this issue is addressed through the
> > > Apache
> > > > > > > > > > ecosystem.
> > > > > > > > > > The tl;dr is this: When Apache code is written to talk to
> > > > > libraries
> > > > > > > > that
> > > > > > > > > > may or may not be present on the user’s system, or where
> > it
> > > > > talks to an
> > > > > > > > > API
> > > > > > > > > > but is agnostic about implementation, that is not
> > “linking”
> > > in a
> > > > > way
> > > > > > > > that
> > > > > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > > > > >
> > > > > > > > > > Otherwise, no Apache code could ever call a shell script!
> > Let
> > > > > alone run
> > > > > > > > > > on Linux, or talk to R.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > > > > >
> > > > > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > > > > feature while
> > > > > > > > > it
> > > > > > > > > > is always enabled when compiling Zeppelin and always
> > enabled
> > > when
> > > > > > > > running
> > > > > > > > > > Zeppelin. And it requires dynamically linked GPL library
> > on
> > > > > runtime.
> > > > > > > > (yes
> > > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > > >
> > > > > > > > > > And of course, no Apache code can ever call a shell
> > script,
> > > on
> > > > > the
> > > > > > > > > purpose
> > > > > > > > > > of dynamic linking with GPL library.
> > > > > > > > > >
> > > > > > > > > > I was guessing SparkR can be still in Apache License even
> > if
> > > it
> > > > > is
> > > > > > > > > depends
> > > > > > > > > > on R. Because of GPL licensed compiler generated output
> is
> > > not
> > > > > GPL
> > > > > > > > > license.
> > > > > > > > > > and R is sort of compiler.
> > > > > > > > > >
> > > > > > > > > > If you can get answer from Spark community how SparkR get
> > > > > managed to
> > > > > > > > stay
> > > > > > > > > > in Apache License while R is GPL, the answer might help.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 3. Need more time to review.
> > > > > > > > > > Has any reviewer has downloaded the PR or run the demo
> > > notebook?
> > > > > (Which
> > > > > > > > > > is there for the benefit of reviewers, and isn’t intended
> > to
> > > go
> > > > > in
> > > > > > > > final
> > > > > > > > > > distribution.)
> > > > > > > > > >
> > > > > > > > > > How many +1 comments from users would you like to see?
> > > > > > > > > >
> > > > > > > > > > How much time do you believe is required?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > It all depends on when CI is going to pass, when license
> > > problem
> > > > > is
> > > > > > > > going
> > > > > > > > > > to be cleared, and when a committer willing to review and
> > > > > responsible
> > > > > > > > to
> > > > > > > > > > commit your contribution.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 1. Large code base change
> > > > > > > > > > Large code base changes require coordination and
> > cooperation.
> > > > > This PR
> > > > > > > > > > necessarily implicates the build scripts, testing code,
> > the
> > > > > > > > > > SparkInterpreter, etc.
> > > > > > > > > >
> > > > > > > > > > I have been seeking to coordinate since August.
> > > > > > > > > >
> > > > > > > > > > I continue to stand ready to do so.
> > > > > > > > > >
> > > > > > > > > > -Amos
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > If i give you one suggestion, Zeppelin committers
> > sometimes
> > > ask
> > > > > rebase
> > > > > > > > > the
> > > > > > > > > > contribution branch for some reason. It is not the really
> > the
> > > > > best
> > > > > > > > > > practice, but still okay while most contributions are not
> > > > > including
> > > > > > > > large
> > > > > > > > > > code base changes.
> > > > > > > > > >
> > > > > > > > > > However, your one, has more than 4000 lines of code
> > change.
> > > If
> > > > > you
> > > > > > > > rebase
> > > > > > > > > > then review should be started from the beginning, again.
> > So
> > > you
> > > > > might
> > > > > > > > > want
> > > > > > > > > > to minimize the rebase your branch.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > > >
> > > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > > incubator-zeppelin
> > > > > > > > pull
> > > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > > >
> > > > > > > > > > Hi Cos,
> > > > > > > > > >
> > > > > > > > > > Thanks for opening a discussion.
> > > > > > > > > > My answer about 'Why this PR is open for three months' is
> > > > > > > > > >
> > > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> > KniteR)
> > > > > > > > > > 3. Need more time to review.
> > > > > > > > > >
> > > > > > > > > > It's my personal answer, other committers may have
> > different
> > > > > opinion.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I think the question should be generalized. Because this
> > PR
> > > is
> > > > > not the
> > > > > > > > > only
> > > > > > > > > > PR that is in impasse. There're more. For example
> > > > > > > > > >
> > > > > > > > > > Here's some examples that PR is not been merged.
> > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > > > > and so on.
> > > > > > > > > >
> > > > > > > > > > I can categorize the cases, based on experience of
> > involving
> > > > > Zeppelin
> > > > > > > > > > community from the beginning.
> > > > > > > > > >
> > > > > > > > > > 1. Large code base change
> > > > > > > > > >
> > > > > > > > > > When contribution has large code base changes, it tend to
> > > take
> > > > > more
> > > > > > > > time
> > > > > > > > > to
> > > > > > > > > > review and merged. Normally, most contributions merged in
> > > 1day~1
> > > > > week.
> > > > > > > > > > But some contribution has large code base changes take
> 2~4
> > > > > weeks. Few
> > > > > > > > > > contribution that has very large code base change take
> > > months.
> > > > > > > > > >
> > > > > > > > > > 2. Communication lost
> > > > > > > > > >
> > > > > > > > > > Sometimes, committer is not responding, or contributor is
> > not
> > > > > > > > responding.
> > > > > > > > > >
> > > > > > > > > > 3. Opinion diverges
> > > > > > > > > >
> > > > > > > > > > For some changes, included in contribution. When people
> > have
> > > > > different
> > > > > > > > > > opinion and it continue to diverges, those PRs are not
> > been
> > > > > merged.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I think having a guide such as ping other committer when
> a
> > > > > committer is
> > > > > > > > > not
> > > > > > > > > > responding, and divide contribution into small peaces if
> > > > > possible,
> > > > > > > > would
> > > > > > > > > > help most of the cases.
> > > > > > > > > > Of course committer have to pay attention more to the
> > > > > contribution and
> > > > > > > > > > helping people. That's the first one.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > moon
> > > > > > > > > >
> > > > > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > > > > cos@apache.org>
> > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > To make sure we're on the same page, here are two
> > threads
> > > that
> > > > > I
> > > > > > > > found
> > > > > > > > > > > related
> > > > > > > > > > > to this topic.
> > > > > > > > > > >
> > > > > > > > > > > Thread 1:
> > > > > > > > > > > Subject: R?
> > > > > > > > > > > Started on: July 1, 2015
> > > > > > > > > > >
> > > > > > > > > > > Thread 2:
> > > > > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > > > > Interpreter for
> > > > > > > > > > > Zeppelin
> > > > > > > > > > > Started on: August 13, 2015
> > > > > > > > > > >
> > > > > > > > > > > If you want to fetch these from our archive send emails
> > to
> > > > > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > > > > >
> > > > > > > > > > > Cos
> > > > > > > > > > >
> > > > > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik
> > wrote:
> > > > > > > > > > > > Guys,
> > > > > > > > > > > >
> > > > > > > > > > > > While catching up on my emails from the last a couple
> > of
> > > > > weeks,
> > > > > > > > this
> > > > > > > > > > > thread
> > > > > > > > > > > > caught my attention. I am not normally paying much
> > > attention
> > > > > to the
> > > > > > > > > > code
> > > > > > > > > > > > reviews traffic from GH, but this one is pretty
> > > different as
> > > > > it
> > > > > > > > spans
> > > > > > > > > > > three
> > > > > > > > > > > > months and counting.
> > > > > > > > > > > >
> > > > > > > > > > > > First, here are my five cents:
> > > > > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is
> aimed
> > > to be
> > > > > > > > > > > contributed to
> > > > > > > > > > > > an ASF project this file should simply contain ASL2
> > text,
> > > > > like in
> > > > > > > > [1]
> > > > > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> > > <developers>
> > > > > > > > > section,
> > > > > > > > > > > but
> > > > > > > > > > > > Zeppelin might have different guidelines on it. Say,
> > > Bigtop
> > > > > doesn't
> > > > > > > > > > > > maintain this in the source code, but we have the
> list
> > of
> > > > > all the
> > > > > > > > > > > > committers on the project's site [2] Every new
> > > committer's
> > > > > first
> > > > > > > > > > > commit is
> > > > > > > > > > > > to update the team page ;)
> > > > > > > > > > > > - comments like in
> > > > > > > > > > >
> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > > > > >
> > > > > > > > > > > > +/**
> > > > > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > > > > + */
> > > > > > > > > > > >
> > > > > > > > > > > > is better to be removed. It has been already
> discussed
> > > here
> > > > > [3].
> > > > > > > > And
> > > > > > > > > > > the
> > > > > > > > > > > > initial discussion on the topic [4] was linked as
> well
> > > > > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not
> > sure
> > > if
> > > > > this is
> > > > > > > > > > > R-specific
> > > > > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > > > > >
> > > > > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > > > > ...
> > > > > > > > > > > > +Author: David B. Dahl
> > > > > > > > > > > >
> > > > > > > > > > > > shouldn't be here, IMO. Normally, if some additional
> > > > > licenses are
> > > > > > > > > > > used,
> > > > > > > > > > > > they have to be listed in the top-level NOTICE file
> > > (already
> > > > > > > > there).
> > > > > > > > > > > >
> > > > > > > > > > > > - I am not going to offer any comments on the
> > technical
> > > > > merits of
> > > > > > > > the
> > > > > > > > > > > patch,
> > > > > > > > > > > > as I haven't tried it personally. However, I don't
> see
> > > any
> > > > > serious
> > > > > > > > > > > > technical objections to the functionality in
> question.
> > > > > > > > > > > >
> > > > > > > > > > > > So, the question is - why the PR is open for three
> > > months? I
> > > > > hasn't
> > > > > > > > > > been
> > > > > > > > > > > able
> > > > > > > > > > > > to get a clear answer. What I found out though is
> > pretty
> > > > > > > > unsettling,
> > > > > > > > > > > really.
> > > > > > > > > > > > The communication on the topic is almost
> non-existent,
> > > > > except for
> > > > > > > > > this
> > > > > > > > > > > sparse
> > > > > > > > > > > > and bitter thread in the GH.
> > > > > > > > > > > >
> > > > > > > > > > > > I would love to hear from the committers what's
> > stopping
> > > the
> > > > > > > > > acceptance
> > > > > > > > > > > of the
> > > > > > > > > > > > code, besides of the minor issues I've mentioned
> > earlier?
> > > > > What are
> > > > > > > > > the
> > > > > > > > > > > reasons for it?
> > > > > > > > > > > > Is there anything wrong with it?
> > > > > > > > > > > > One of the responsibilities of the committers is to
> > make
> > > > > sure the
> > > > > > > > > > > > contributions are reviewed; new contributors are
> > guided
> > > and
> > > > > do
> > > > > > > > > > > understand how
> > > > > > > > > > > > the project ticks. The easy feedback flow attracts
> new
> > > > > people,
> > > > > > > > > allowing
> > > > > > > > > > > the
> > > > > > > > > > > > community to grow and thrive.
> > > > > > > > > > > >
> > > > > > > > > > > > I am asking _explicitely_ not to re-start the
> > bickering I
> > > > > have
> > > > > > > > > already
> > > > > > > > > > > > seen. At this point I am interested in the purely
> > > technical
> > > > > side of
> > > > > > > > > > this.
> > > > > > > > > > > >
> > > > > > > > > > > > [1]
> > https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > > > > [3]
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > >
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > > > > >
> > > > > > > > > > > > With regards,
> > > > > > > > > > > > Cos
> > > > > > > > > > > >
> > > > > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > > > > Github user elbamos commented on the pull request:
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > > > > >
> > > > > > > > > > > > > The current push should resolve some issues with
> > > changes
> > > > > in the
> > > > > > > > > > > > > Spark-Zeppelin interface that had created issues
> for
> > > > > users, as
> > > > > > > > > > > well as
> > > > > > > > > > > > > support for 1.5.1.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Knitr support is improved, and the reason for a
> > > separate
> > > > > knitr
> > > > > > > > > > > interpreter may be clearer now.
> > > > > > > > > > > > >
> > > > > > > > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I did not address issues with @author tags, or
> files
> > > under
> > > > > the R/
> > > > > > > > > > > > > folder. The reason is, to be blunt, I don't
> > understand
> > > > > what the
> > > > > > > > > > > precise
> > > > > > > > > > > > > concerns actually are.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Please note that I changed .travis.yml to only use
> > > spark
> > > > > 1.4 and
> > > > > > > > > > > later.
> > > > > > > > > > > > > I'm sure there is a better way to do it, but I'm
> > just
> > > not
> > > > > in a
> > > > > > > > > > > position
> > > > > > > > > > > > > to try to figure out the entire Zeppelin build
> > process.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Integrating this with the rest of zeppelin is going
> > to
> > > > > take some
> > > > > > > > > > > work
> > > > > > > > > > > > > regarding pom's, travis, and so forth. I can do a
> > lot
> > > of
> > > > > that,
> > > > > > > > > > > but I'm
> > > > > > > > > > > > > going to need to discuss it with the people who
> have
> > > been
> > > > > > > > "owning"
> > > > > > > > > > > those
> > > > > > > > > > > > > files. There are just too many moving pieces here.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Because of the size of this (which is,
> > unfortunately,
> > > > > necessary),
> > > > > > > > > > > > > posting here is probably not the most efficient
> way.
> > > That
> > > > > is also
> > > > > > > > > > > true
> > > > > > > > > > > > > because certain people chose to use this PR as a
> > forum
> > > to
> > > > > air
> > > > > > > > other
> > > > > > > > > > > > > issues. Therefore, it would be better if reviewers
> > > e-mail
> > > > > me
> > > > > > > > > > > directly.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > >
> > >
> >
> >
>
Re: R-Interpreter CI Was: Re: contributions impasse. Was: [GitHub]
incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Let me run some CI test with your branch and share result here.
Hope i can narrow down the cause and that helps involvement of more people.
Thanks,
moon
On Tue, Dec 8, 2015 at 3:08 PM Amos B. Elberg <am...@gmail.com> wrote:
> Is there anyone who can work with me on the CI issues? It looks like
> there are a number of PRs experiencing similar things.
>
> I think we should make getting CI stable to be a priority. Because it
> will save everyone a lot of frustration and aggravation if CI works
> reliably.
>
> Is there anyone other than Jongyoul and Moon who knows the CI/Build
> process well?
>
> (Moon - Thank you for taking another look at the licensing issue. Per the
> e-mail I wrote about this a few days ago, I don’t feel I have more to
> contribute to the licensing discussion, so I’m going to try not to comment
> further about it.)
>
> From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org
> <de...@zeppelin.incubator.apache.org> <de...@zeppelin.incubator.apache.org>
> Date: December 7, 2015 at 5:00:08 PM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> <de...@zeppelin.incubator.apache.org>
> Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse.
> Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
>
> Thanks Amos, Roman, Cos for clarifying license issue.
>
> I'm convinced that this license issue will not be a blocker.
>
> In my understanding, these are good sign,
>
> 1. any gpl licensed source codes are not included in the source package
> 2. any gpl licensed libraries are not included in the binary package
>
> However, i can not still 100% sure about
>
> 3. any gpl licensed libraries are not linked on runtime
>
> Even after Amos's explanation. I still think using 'knitr' is one of the
> clear case that 'knir' is linked to 'R' according to
> http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL.
>
> Giving input and getting output from GPL licensed interpreter (includes R)
> from Apache licensed software is not a problem. That's not the point.
> Let me say in this way. There's an java code,
>
> import com.mysql.jdbc.Driver
> Driver driver = new Driver()
>
> Say without this java code, one of important feature of Zeppelin does not
> work. And Zeppelin does not includes GPL licensed file in the source
> package, GPL licensed library in the binary package, but it requires GPL
> licensed library on the runtime.
> In this case, will this java code be a license problem or not?
>
> In other words, my question is
>
> a) Is runtime GPL library dependency allowed in ASF release?
> b) is 'knitr' considered as runtime dependency?
>
> If someone can clarify a), b), then it would be extremely helpful
> understanding this case, and possible similar cases, too.
>
> Thanks,
> moon
>
> On Mon, Dec 7, 2015 at 3:20 PM Konstantin Boudnik <co...@apache.org> wrote:
>
> > On Thu, Dec 03, 2015 at 11:03AM, Corneau Damien wrote:
> > > Thanks Cos for those answers,
> > >
> > > If I'm right you are advising to have a default build that doesn't
> > include
> > > libraries with conflicting licenses, but have an option to include
> them
> > for
> > > users who wants to build the project themselves.
> >
> > Yes, that's what I said. Besides, looks like Roman provided the second
> > pair of
> > eyes to this licensing discussion and as well didn't find any issues
> with
> > the
> > current approach.
> >
> > Cos
> >
> > > To refer to another thread about decentralizing interpreters, it could
> > even
> > > be better in that case to have some interpreters separated from the
> tree,
> > > and easily pluggable with a release instead of forcing users to build
> the
> > > project to use them.
> > >
> > >
> > > On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <co...@apache.org>
> > wrote:
> > >
> > > > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > > > Konstantin thank you for getting into this.
> > > > >
> > > > >> The best way to go around it is by
> > > > >> providing a build-time option that will pull such binaries in.
> But
> > by
> > > > default
> > > > >> such libs shouldn't be pulled.
> > > > >
> > > > > That is basically how the PR handles this. If the GPL’d
> interpreter
> > > > scripts
> > > > > are missing, there’s no indication at all at build time. It
> doesn’t
> > try
> > > > to
> > > > > download them.
> > > > >
> > > > > At runtime, if the user tries to use functionality that would need
> > such a
> > > > > script (i.e., if they type “knitr” to use knitr), we display an
> error
> > > > that
> > > > > says that the functionality is not there because the library is
> > missing,
> > > > and
> > > > > that the library cannot be provided because it has an incompatible
> > > > license,
> > > > > but the user can download it themselves if they want.
> > > > >
> > > > > And, in the log, if the logging level is high, they will see a
> note
> > that
> > > > > some functionality was disabled because the libraries weren’t
> there.
> > > > >
> > > > > To be clear, though, none of these libraries are binaries. They’re
> > all
> > > > interpreter scripts.
> > > >
> > > > If you ever in a doubt of which licenses could be used for
> dependncies
> > > > (not to
> > > > say about source code) are listed in Category A list of [1]
> > > >
> > > > A lot of quesitons discussed here are already covered in the legal
> > FAQ, so
> > > > just check against it if you have any questions.
> > > >
> > > > [1] http://www.apache.org/legal/resolved.html#category-a
> > > >
> > > > Cos
> > > >
> > > > > From: Konstantin Boudnik <co...@apache.org>
> > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org>,
> dev@zeppelin.incubator.apache.org
> > <
> > > > dev@zeppelin.incubator.apache.org>
> > > > > Date: December 2, 2015 at 3:24:50 PM
> > > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > > >
> > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > > > impasse. Was: [GitHub] incubator-zeppelin pull request: R
> Interpreter
> > for
> > > > Zeppelin
> > > > >
> > > > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > > > I think that what moon means is that:
> > > > > > If we merge the way it is now, the KnitRInterpreter will be part
> > of the
> > > > > > code base, so it isn't optional at code base level.
> > > > > >
> > > > > > To make it even more simple:
> > > > > > * If the code has the right licensing -> that code can be part
> of
> > the
> > > > > > source code, and can be including in a binary release
> > > > >
> > > > > We aren't concerned with binary releases - as an Apache community
> we
> > are
> > > > > voting and releasing source code. If the project wants to provide
> a
> > > > binary
> > > > > release to its users, they are better be warned about inclusion of
> > non
> > > > > ASL2-friendly licensed bits.
> > > > >
> > > > > > * If the code doesn't have the right licensing -> it can't be
> part
> > of
> > > > the
> > > > > > source code, and can't be included in a binary release
> > > > >
> > > > > See above.
> > > > >
> > > > > > * If the code doesn't have the right licensing but is imported
> at
> > build
> > > > > > time (libraries for example) -> it is not in the source code, it
> > can't
> > > > be
> > > > > > included in binary release
> > > > >
> > > > > That is unless a user doing it on his own. The best way to go
> around
> > it
> > > > is by
> > > > > providing a build-time option that will pull such binaries in. But
> by
> > > > default
> > > > > such libs shouldn't be pulled.
> > > > >
> > > > > Cos
> > > > >
> > > > > > So in the case of licensing issues, it would need to be fully
> > optional
> > > > > > (user bring the interpreter in his directory and build Zeppelin
> > with
> > > > it)
> > > > > >
> > > > > >
> > > > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Moon let me clarify:
> > > > > > >
> > > > > > > Interpreted code doesn’t “link.” The wiki article actually
> > explains
> > > > it
> > > > > > > pretty well —
> > https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > > > “Linking” against a library means compiling its headers into a
> > > > binary, the
> > > > > > > way a C compiler works. The 2008 e-mail Moon distributed,
> called
> > > > this the
> > > > > > > “interpreter exception.”
> > > > > > >
> > > > > > > As for whether GPL’d code is a “mandatory dependency,” if
> knitr
> > is
> > > > missing
> > > > > > > the PR will compile, run and test just fine. The user is never
> > > > prompted to
> > > > > > > download it. The only effect is, if the user types “knitr” and
> > knitr
> > > > isn’t
> > > > > > > there, we display an InterpreterError that knitr isn’t there.
> > > > > > >
> > > > > > > KnitRInterpreter is not optionally required. so it does not
> > matter
> > > > KnitR
> > > > > > > is
> > > > > > > optionally required or not.
> > > > > > > Aren’t all interpreters optional? You can turn them on and off
> > in the
> > > > > > > config files.
> > > > > > >
> > > > > > > Do you mean that the KnitRInterpreter class gets compiled to
> > > > bytecode even
> > > > > > > if knitr is missing? So what? That isn't a mandatory
> dependency
> > or a
> > > > link.
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Subject: Re: License of KnitRInterpreter Was: Re:
> contributions
> > > > impasse.
> > > > > > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter
> for
> > > > Zeppelin
> > > > > > >
> > > > > > > Let me summarize license concern about KnitRInterpreter.
> > > > > > >
> > > > > > >
> > > > > > > Amos's interpretation.
> > > > > > >
> > > > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > > > R dependency in SparkR has no problem. So KnitR should be the
> > same.
> > > > > > >
> > > > > > >
> > > > > > > Moon's interpretation.
> > > > > > >
> > > > > > > KnitRInterpreter is not optionally required. so it does not
> > matter
> > > > KnitR is
> > > > > > > optionally required or not.
> > > > > > > R dependency in SparkR is exception of GPL. KnitR is not
> applied
> > that
> > > > > > > exception.
> > > > > > >
> > > > > > >
> > > > > > > Amos, could you confirm my understanding to your
> interpretation
> > is
> > > > correct?
> > > > > > > If it is not could you clarify it?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > > > amos.elberg@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Just to put the final nail in this, I looked it up.
> > > > > > > >
> > > > > > > > I see no evidence of any “compiler exception.”
> > > > > > > >
> > > > > > > > There is an exception in the license for the runtime
> libraries
> > > > that are
> > > > > > > > bundled with GCC. See:
> > > > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > > > >
> > > > > > > > But no “compiler exception.”
> > > > > > > >
> > > > > > > > In fact, I believe this is part of the reason why LLVM was
> > created.
> > > > > > > >
> > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > incubator-zeppelin pull
> > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > >
> > > > > > > > Is knitR is commonly considered as a interpreter/compiler?
> or
> > is it
> > > > > > > > considered as a library routine?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > moon
> > > > > > > >
> > > > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > > > amos.elberg@gmail.com>
> > > > > > > > wrote:
> > > > > > > > Moon - you give this as an explanation of the licensing
> issue:
> > > > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > >
> > > > > > > > According to that, there is an exception in the GPL for
> > interpreter
> > > > > > > > languages. As long as you don’t distribute the code, its
> fine
> > to
> > > > talk to
> > > > > > > > an interpreted language.
> > > > > > > >
> > > > > > > > Well, if that’s the case, then the PR plainly does not have
> a
> > > > license
> > > > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > > > >
> > > > > > > > I’m not sure what’s confusing about this. It seems
> completely
> > > > > > > > straightforward.
> > > > > > > >
> > > > > > > > Regarding this:
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Amos Elberg
> > > > > > > > Sent with Airmail
> > > > > > > >
> > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > > > >
> > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org
> > > > > > > >
> > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > incubator-zeppelin pull
> > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > >
> > > > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > > > amos.elberg@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > I am going to try to minimize my reaction to Moon’s
> e-mail.
> > > > > > > > >
> > > > > > > > > The tl;dr is this:
> > > > > > > > >
> > > > > > > > > The reason we are having this discussion now is that
> active
> > > > users of
> > > > > > > the
> > > > > > > > > PR — which now has its own user base — went public to
> > complain
> > > > about
> > > > > > > > this.
> > > > > > > >
> > > > > > > >
> > > > > > > > > The PR has been tested by an active user base for more
> than
> > three
> > > > > > > months.
> > > > > > > > > No-one has been able to identify any specific actual
> > licensing
> > > > problem,
> > > > > > > > and
> > > > > > > > > the PR was prepared based on an extensive, careful review
> of
> > the
> > > > > > > relevant
> > > > > > > > > licensing issues and after contacting the relevant people.
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > I admire every software that used by user and helping
> people.
> > That
> > > > > > > includes
> > > > > > > > your work. But that's not the topic we're in discussion.
> Active
> > > > user does
> > > > > > > > not mean your contribution can ignore the review.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > > It is not an explanation for someone who has been ignoring
> my
> > > > “how can
> > > > > > > I
> > > > > > > > > move this forward…” emails for three months to point the
> > finger
> > > > and
> > > > > > > say I
> > > > > > > > > didn’t contact the right person or file the right report.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > This is also not the topic in this discussion.
> > > > > > > >
> > > > > > > >
> > > > > > > > > The burden for providing an explanation for the inaction
> is
> > on
> > > > the PMCC
> > > > > > > > at
> > > > > > > > > this point.
> > > > > > > >
> > > > > > > > I'm sorry, but the other PRs are passing CI. If it's problem
> on
> > > > Zeppelin
> > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > > They’re not! I often see comments on PRs to just ignore
> that
> > CI
> > > > is
> > > > > > > > > failing.
> > > > > > > > >
> > > > > > > > > One of the most common reasons this PR fails CI, is CI
> > times-out
> > > > > > > > > downloading Spark to install. How could that possibly be
> > caused
> > > > by the
> > > > > > > > PR?
> > > > > > > > >
> > > > > > > > > It looks to me like the only PRs with changes to the
> relevant
> > > > parts of
> > > > > > > > the
> > > > > > > > > code — the SparkInterpreter — are being made by the person
> > who
> > > > wrote
> > > > > > > the
> > > > > > > > > testing suite.
> > > > > > > > >
> > > > > > > > > So, that would explain why some other PRs pass CI: Neither
> > the
> > > > > > > > > SparkInterpreter nor the testing suite are stable or
> robust,
> > but
> > > > since
> > > > > > > > the
> > > > > > > > > PRs are coming from the person who wrote both…
> > > > > > > > >
> > > > > > > > > And let's say Zeppelin core has problem and that makes
> your
> > PR
> > > > fails on
> > > > > > > > CI
> > > > > > > > > test. That's possible. But it still does not mean we can
> > merge
> > > > it with
> > > > > > > CI
> > > > > > > > > failing.
> > > > > > > > >
> > > > > > > > > It means you should be working with me to figure out why
> the
> > CI
> > > > is
> > > > > > > > failing.
> > > > > > > > >
> > > > > > > > > This PR has been tested by an active user base for the
> past
> > three
> > > > > > > months.
> > > > > > > > > If CI is continuing to fail, and dozens of hours of effort
> > have
> > > > not
> > > > > > > > > resolved the CI issues, then it is time to start
> considering
> > > > whether
> > > > > > > the
> > > > > > > > > testing suite is part of the problem.
> > > > > > > > >
> > > > > > > > > The level of defensiveness about the CI and
> SparkInterpreter
> > is
> > > > not
> > > > > > > > > helping to resolve these issues.
> > > > > > > > >
> > > > > > > > > If you think it's problem on Zeppelin core, then file an
> > issue
> > > > that
> > > > > > > > > reproduce the problem on Zeppelin core, that might be more
> > > > efficient
> > > > > > > than
> > > > > > > > > keep trying yourself.
> > > > > > > > > I contacted you numerous times about such issues...
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I remember i commented your issue about CI. but you just
> keep
> > > > repeated
> > > > > > > it's
> > > > > > > > not your problem but Zeppelin core problem.
> > > > > > > >
> > > > > > > > Then please file an issue about the problem you found in
> > Zeppelin
> > > > Core.
> > > > > > > > Then everyone will get into the problem.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > > > feature while
> > > > > > > > it
> > > > > > > > > is always enabled when compiling Zeppelin and always
> enabled
> > when
> > > > > > > running
> > > > > > > > > Zeppelin. And it requires dynamically linked GPL library
> on
> > > > runtime.
> > > > > > > (yes
> > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > >
> > > > > > > > > Its not always enabled.
> > > > > > > > > It is not dynamically linked at runtime.
> > > > > > > > > It will not fail when knitr is missing. If knitr is not
> > present,
> > > > the
> > > > > > > repl
> > > > > > > > > interpreter starts and a note is written to to the log
> that
> > the
> > > > knitr
> > > > > > > > > interpreter isn’t available because knitr is not present.
> > > > > > > > >
> > > > > > > > > no Apache code can ever call a shell script, on the
> purpose
> > of
> > > > dynamic
> > > > > > > > > linking with GPL library.
> > > > > > > > > You misunderstand.
> > > > > > > > >
> > > > > > > > > The *shell* is GPL'd.
> > > > > > > > >
> > > > > > > > > Is Zeppelin “linked" against the GPL’d shell because
> Zeppelin
> > > > depends
> > > > > > > on
> > > > > > > > a
> > > > > > > > > shell script to launch?
> > > > > > > > >
> > > > > > > > Obviously not.
> > > > > > > > >
> > > > > > > > > The interaction with R in the PR is the same.
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > Again, bash is one of exceptions of GPL, like other GPL
> > licensed
> > > > > > > > compiler/interpreter.
> > > > > > > >
> > > > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > > >
> > > > > > > > I'm not sure we can apply the same exception for 'using'
> KnitR.
> > > > > > > >
> > > > > > > > My point is not 'KnitR' is optional or not. Point is
> > > > 'KnitRInterpreter'
> > > > > > > you
> > > > > > > > wrote is not an optional feature. Which is clearly not
> > optionally
> > > > enabled
> > > > > > > > code and feature. And that depends on KnitR library which is
> > GPL.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > > I was guessing SparkR can be still in Apache License even
> if
> > it
> > > > is
> > > > > > > > depends
> > > > > > > > > on R. Because of GPL licensed compiler generated output is
> > not
> > > > GPL
> > > > > > > > license.
> > > > > > > > > and R is sort of compiler. If you can get answer from
> Spark
> > > > community
> > > > > > > how
> > > > > > > > > SparkR get managed to stay in Apache License while R is
> GPL,
> > the
> > > > answer
> > > > > > > > > might help.
> > > > > > > > > The description of SparkR is not accurate in any respect.
> (Do
> > > > you think
> > > > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > > > >
> > > > > > > > > I don’t see that any genuine issue is being raised here.
> > > > > > > > >
> > > > > > > > > If there is an issue, the burden is on you to identify it.
> > > > > > > > >
> > > > > > > > > If i give you one suggestion, Zeppelin committers
> sometimes
> > ask
> > > > rebase
> > > > > > > > the
> > > > > > > > > contribution branch for some reason. It is not the really
> the
> > > > best
> > > > > > > > > practice, but still okay while most contributions are not
> > > > including
> > > > > > > large
> > > > > > > > > code base changes
> > > > > > > > > However, your one, has more than 4000 lines of code
> change.
> > If
> > > > you
> > > > > > > rebase
> > > > > > > > > then review should be started from the beginning, again.
> So
> > you
> > > > might
> > > > > > > > want
> > > > > > > > > to minimize the rebase your branch.
> > > > > > > > >
> > > > > > > > > Are you actually complaining that the problem is that I
> > rebased
> > > > the
> > > > > > > code
> > > > > > > > > during the three-month period when no-one looked at it and
> > > > Zeppelin
> > > > > > > went
> > > > > > > > > through a release?
> > > > > > > > >
> > > > > > > > > I cannot take it seriously when you say things like this.
> > > > > > > > >
> > > > > > > > > Having to “start from the beginning” cannot be a problem
> if
> > you
> > > > never
> > > > > > > > > actually started the first time...
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > You wanted coordination and cooperation. So i gave you
> > suggestion
> > > > that
> > > > > > > > helping review process. For example, your code has been
> rebased
> > > > since my
> > > > > > > > comment and jongyoul's comment. that means committers will
> > need to
> > > > look
> > > > > > > > from the beginning. That'll require more time. And maybe, i
> > guess
> > > > that's
> > > > > > > > not what you want. But If you don't care, feel free to
> rebase.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > moon
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > > dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > incubator-zeppelin
> > > > > > > pull
> > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > >
> > > > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > > > amos.elberg@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > > Thank you, Cos.
> > > > > > > > >
> > > > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > > > >
> > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > > > >
> > > > > > > > > I’ve been seeking assistance on this since August.
> > > > > > > > >
> > > > > > > > > The most common reason is that SparkInterpreter is unable
> to
> > > > launch
> > > > > > > Spark
> > > > > > > > > and open a Spark Backend. This is necessary to test the
> PR.
> > > > > > > > >
> > > > > > > > > 60+ hours, has been spent adapting and re-basing when the
> > > > > > > > SparkInterpreter
> > > > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I'm sorry, but the other PRs are passing CI. If it's
> problem
> > on
> > > > > > > Zeppelin
> > > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > >
> > > > > > > > > And let's say Zeppelin core has problem and that makes
> your
> > PR
> > > > fails on
> > > > > > > > CI
> > > > > > > > > test. That's possible. But it still does not mean we can
> > merge
> > > > it with
> > > > > > > CI
> > > > > > > > > failing.
> > > > > > > > >
> > > > > > > > > If you think it's problem on Zeppelin core, then file an
> > issue
> > > > that
> > > > > > > > > reproduce the problem on Zeppelin core, that might be more
> > > > efficient
> > > > > > > than
> > > > > > > > > keep trying yourself.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> KniteR)
> > > > > > > > > What license problem *specifically* do you believe may
> exist?
> > > > > > > > >
> > > > > > > > > In preparing the PR, I:
> > > > > > > > >
> > > > > > > > > * Reviewed the Apache policy in detail.
> > > > > > > > >
> > > > > > > > > * Contacted the FSF to ask their interpretation of the
> > “linking”
> > > > > > > > > provisions of the GPL license.
> > > > > > > > >
> > > > > > > > > * Reviewed how other Apache software deals with this issue
> > > > (e.g., Spark
> > > > > > > > > talks to R, which is GPL'd).
> > > > > > > > >
> > > > > > > > > * No necessary *dependencies* of the PR have license
> > conflicts.
> > > > In
> > > > > > > > > several cases, I contacted package authors who agreed to
> > > > re-issue their
> > > > > > > > > packages under Apache-compatible licenses. (Usually I had
> to
> > do
> > > > a bit
> > > > > > > of
> > > > > > > > > coding in exchange…)
> > > > > > > > >
> > > > > > > > > * Where the license had to stay GPL, the packages are *not
> > > > necessary*
> > > > > > > and
> > > > > > > > > *not dependencies.* If the optional packages are present,
> > they
> > > > will be
> > > > > > > > > used to enable additional functionality. Knitr is an
> example.
> > > > The PR
> > > > > > > will
> > > > > > > > > compile and run fine without knitr. If knitr is available
> > (it is
> > > > part
> > > > > > > of
> > > > > > > > > the most common R distribution), the PR will enable the
> knitr
> > > > > > > > interpreter.
> > > > > > > > >
> > > > > > > > > * This is exactly how this issue is addressed through the
> > Apache
> > > > > > > > > ecosystem.
> > > > > > > > > The tl;dr is this: When Apache code is written to talk to
> > > > libraries
> > > > > > > that
> > > > > > > > > may or may not be present on the user’s system, or where
> it
> > > > talks to an
> > > > > > > > API
> > > > > > > > > but is agnostic about implementation, that is not
> “linking”
> > in a
> > > > way
> > > > > > > that
> > > > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > > > >
> > > > > > > > > Otherwise, no Apache code could ever call a shell script!
> Let
> > > > alone run
> > > > > > > > > on Linux, or talk to R.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > > > >
> > > > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > > > feature while
> > > > > > > > it
> > > > > > > > > is always enabled when compiling Zeppelin and always
> enabled
> > when
> > > > > > > running
> > > > > > > > > Zeppelin. And it requires dynamically linked GPL library
> on
> > > > runtime.
> > > > > > > (yes
> > > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > > >
> > > > > > > > > And of course, no Apache code can ever call a shell
> script,
> > on
> > > > the
> > > > > > > > purpose
> > > > > > > > > of dynamic linking with GPL library.
> > > > > > > > >
> > > > > > > > > I was guessing SparkR can be still in Apache License even
> if
> > it
> > > > is
> > > > > > > > depends
> > > > > > > > > on R. Because of GPL licensed compiler generated output is
> > not
> > > > GPL
> > > > > > > > license.
> > > > > > > > > and R is sort of compiler.
> > > > > > > > >
> > > > > > > > > If you can get answer from Spark community how SparkR get
> > > > managed to
> > > > > > > stay
> > > > > > > > > in Apache License while R is GPL, the answer might help.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 3. Need more time to review.
> > > > > > > > > Has any reviewer has downloaded the PR or run the demo
> > notebook?
> > > > (Which
> > > > > > > > > is there for the benefit of reviewers, and isn’t intended
> to
> > go
> > > > in
> > > > > > > final
> > > > > > > > > distribution.)
> > > > > > > > >
> > > > > > > > > How many +1 comments from users would you like to see?
> > > > > > > > >
> > > > > > > > > How much time do you believe is required?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > It all depends on when CI is going to pass, when license
> > problem
> > > > is
> > > > > > > going
> > > > > > > > > to be cleared, and when a committer willing to review and
> > > > responsible
> > > > > > > to
> > > > > > > > > commit your contribution.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 1. Large code base change
> > > > > > > > > Large code base changes require coordination and
> cooperation.
> > > > This PR
> > > > > > > > > necessarily implicates the build scripts, testing code,
> the
> > > > > > > > > SparkInterpreter, etc.
> > > > > > > > >
> > > > > > > > > I have been seeking to coordinate since August.
> > > > > > > > >
> > > > > > > > > I continue to stand ready to do so.
> > > > > > > > >
> > > > > > > > > -Amos
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > If i give you one suggestion, Zeppelin committers
> sometimes
> > ask
> > > > rebase
> > > > > > > > the
> > > > > > > > > contribution branch for some reason. It is not the really
> the
> > > > best
> > > > > > > > > practice, but still okay while most contributions are not
> > > > including
> > > > > > > large
> > > > > > > > > code base changes.
> > > > > > > > >
> > > > > > > > > However, your one, has more than 4000 lines of code
> change.
> > If
> > > > you
> > > > > > > rebase
> > > > > > > > > then review should be started from the beginning, again.
> So
> > you
> > > > might
> > > > > > > > want
> > > > > > > > > to minimize the rebase your branch.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > moon
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > > >
> > > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > > incubator-zeppelin
> > > > > > > pull
> > > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > > >
> > > > > > > > > Hi Cos,
> > > > > > > > >
> > > > > > > > > Thanks for opening a discussion.
> > > > > > > > > My answer about 'Why this PR is open for three months' is
> > > > > > > > >
> > > > > > > > > 1. This PR does not passes CI
> > > > > > > > > 2. Not 100% sure this PR has no license issue. (about
> KniteR)
> > > > > > > > > 3. Need more time to review.
> > > > > > > > >
> > > > > > > > > It's my personal answer, other committers may have
> different
> > > > opinion.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I think the question should be generalized. Because this
> PR
> > is
> > > > not the
> > > > > > > > only
> > > > > > > > > PR that is in impasse. There're more. For example
> > > > > > > > >
> > > > > > > > > Here's some examples that PR is not been merged.
> > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > > > and so on.
> > > > > > > > >
> > > > > > > > > I can categorize the cases, based on experience of
> involving
> > > > Zeppelin
> > > > > > > > > community from the beginning.
> > > > > > > > >
> > > > > > > > > 1. Large code base change
> > > > > > > > >
> > > > > > > > > When contribution has large code base changes, it tend to
> > take
> > > > more
> > > > > > > time
> > > > > > > > to
> > > > > > > > > review and merged. Normally, most contributions merged in
> > 1day~1
> > > > week.
> > > > > > > > > But some contribution has large code base changes take 2~4
> > > > weeks. Few
> > > > > > > > > contribution that has very large code base change take
> > months.
> > > > > > > > >
> > > > > > > > > 2. Communication lost
> > > > > > > > >
> > > > > > > > > Sometimes, committer is not responding, or contributor is
> not
> > > > > > > responding.
> > > > > > > > >
> > > > > > > > > 3. Opinion diverges
> > > > > > > > >
> > > > > > > > > For some changes, included in contribution. When people
> have
> > > > different
> > > > > > > > > opinion and it continue to diverges, those PRs are not
> been
> > > > merged.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I think having a guide such as ping other committer when a
> > > > committer is
> > > > > > > > not
> > > > > > > > > responding, and divide contribution into small peaces if
> > > > possible,
> > > > > > > would
> > > > > > > > > help most of the cases.
> > > > > > > > > Of course committer have to pay attention more to the
> > > > contribution and
> > > > > > > > > helping people. That's the first one.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > moon
> > > > > > > > >
> > > > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > > > cos@apache.org>
> > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > To make sure we're on the same page, here are two
> threads
> > that
> > > > I
> > > > > > > found
> > > > > > > > > > related
> > > > > > > > > > to this topic.
> > > > > > > > > >
> > > > > > > > > > Thread 1:
> > > > > > > > > > Subject: R?
> > > > > > > > > > Started on: July 1, 2015
> > > > > > > > > >
> > > > > > > > > > Thread 2:
> > > > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > > > Interpreter for
> > > > > > > > > > Zeppelin
> > > > > > > > > > Started on: August 13, 2015
> > > > > > > > > >
> > > > > > > > > > If you want to fetch these from our archive send emails
> to
> > > > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > > > >
> > > > > > > > > > Cos
> > > > > > > > > >
> > > > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik
> wrote:
> > > > > > > > > > > Guys,
> > > > > > > > > > >
> > > > > > > > > > > While catching up on my emails from the last a couple
> of
> > > > weeks,
> > > > > > > this
> > > > > > > > > > thread
> > > > > > > > > > > caught my attention. I am not normally paying much
> > attention
> > > > to the
> > > > > > > > > code
> > > > > > > > > > > reviews traffic from GH, but this one is pretty
> > different as
> > > > it
> > > > > > > spans
> > > > > > > > > > three
> > > > > > > > > > > months and counting.
> > > > > > > > > > >
> > > > > > > > > > > First, here are my five cents:
> > > > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed
> > to be
> > > > > > > > > > contributed to
> > > > > > > > > > > an ASF project this file should simply contain ASL2
> text,
> > > > like in
> > > > > > > [1]
> > > > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> > <developers>
> > > > > > > > section,
> > > > > > > > > > but
> > > > > > > > > > > Zeppelin might have different guidelines on it. Say,
> > Bigtop
> > > > doesn't
> > > > > > > > > > > maintain this in the source code, but we have the list
> of
> > > > all the
> > > > > > > > > > > committers on the project's site [2] Every new
> > committer's
> > > > first
> > > > > > > > > > commit is
> > > > > > > > > > > to update the team page ;)
> > > > > > > > > > > - comments like in
> > > > > > > > > >
> r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > > > >
> > > > > > > > > > > +/**
> > > > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > > > + */
> > > > > > > > > > >
> > > > > > > > > > > is better to be removed. It has been already discussed
> > here
> > > > [3].
> > > > > > > And
> > > > > > > > > > the
> > > > > > > > > > > initial discussion on the topic [4] was linked as well
> > > > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not
> sure
> > if
> > > > this is
> > > > > > > > > > R-specific
> > > > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > > > >
> > > > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > > > ...
> > > > > > > > > > > +Author: David B. Dahl
> > > > > > > > > > >
> > > > > > > > > > > shouldn't be here, IMO. Normally, if some additional
> > > > licenses are
> > > > > > > > > > used,
> > > > > > > > > > > they have to be listed in the top-level NOTICE file
> > (already
> > > > > > > there).
> > > > > > > > > > >
> > > > > > > > > > > - I am not going to offer any comments on the
> technical
> > > > merits of
> > > > > > > the
> > > > > > > > > > patch,
> > > > > > > > > > > as I haven't tried it personally. However, I don't see
> > any
> > > > serious
> > > > > > > > > > > technical objections to the functionality in question.
> > > > > > > > > > >
> > > > > > > > > > > So, the question is - why the PR is open for three
> > months? I
> > > > hasn't
> > > > > > > > > been
> > > > > > > > > > able
> > > > > > > > > > > to get a clear answer. What I found out though is
> pretty
> > > > > > > unsettling,
> > > > > > > > > > really.
> > > > > > > > > > > The communication on the topic is almost non-existent,
> > > > except for
> > > > > > > > this
> > > > > > > > > > sparse
> > > > > > > > > > > and bitter thread in the GH.
> > > > > > > > > > >
> > > > > > > > > > > I would love to hear from the committers what's
> stopping
> > the
> > > > > > > > acceptance
> > > > > > > > > > of the
> > > > > > > > > > > code, besides of the minor issues I've mentioned
> earlier?
> > > > What are
> > > > > > > > the
> > > > > > > > > > reasons for it?
> > > > > > > > > > > Is there anything wrong with it?
> > > > > > > > > > > One of the responsibilities of the committers is to
> make
> > > > sure the
> > > > > > > > > > > contributions are reviewed; new contributors are
> guided
> > and
> > > > do
> > > > > > > > > > understand how
> > > > > > > > > > > the project ticks. The easy feedback flow attracts new
> > > > people,
> > > > > > > > allowing
> > > > > > > > > > the
> > > > > > > > > > > community to grow and thrive.
> > > > > > > > > > >
> > > > > > > > > > > I am asking _explicitely_ not to re-start the
> bickering I
> > > > have
> > > > > > > > already
> > > > > > > > > > > seen. At this point I am interested in the purely
> > technical
> > > > side of
> > > > > > > > > this.
> > > > > > > > > > >
> > > > > > > > > > > [1]
> https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > > > [3]
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > > > >
> > > > > > > > > > > With regards,
> > > > > > > > > > > Cos
> > > > > > > > > > >
> > > > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > > > Github user elbamos commented on the pull request:
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > > > >
> > > > > > > > > > > > The current push should resolve some issues with
> > changes
> > > > in the
> > > > > > > > > > > > Spark-Zeppelin interface that had created issues for
> > > > users, as
> > > > > > > > > > well as
> > > > > > > > > > > > support for 1.5.1.
> > > > > > > > > > > >
> > > > > > > > > > > > Knitr support is improved, and the reason for a
> > separate
> > > > knitr
> > > > > > > > > > interpreter may be clearer now.
> > > > > > > > > > > >
> > > > > > > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > > > > > > >
> > > > > > > > > > > > I did not address issues with @author tags, or files
> > under
> > > > the R/
> > > > > > > > > > > > folder. The reason is, to be blunt, I don't
> understand
> > > > what the
> > > > > > > > > > precise
> > > > > > > > > > > > concerns actually are.
> > > > > > > > > > > >
> > > > > > > > > > > > Please note that I changed .travis.yml to only use
> > spark
> > > > 1.4 and
> > > > > > > > > > later.
> > > > > > > > > > > > I'm sure there is a better way to do it, but I'm
> just
> > not
> > > > in a
> > > > > > > > > > position
> > > > > > > > > > > > to try to figure out the entire Zeppelin build
> process.
> > > > > > > > > > > >
> > > > > > > > > > > > Integrating this with the rest of zeppelin is going
> to
> > > > take some
> > > > > > > > > > work
> > > > > > > > > > > > regarding pom's, travis, and so forth. I can do a
> lot
> > of
> > > > that,
> > > > > > > > > > but I'm
> > > > > > > > > > > > going to need to discuss it with the people who have
> > been
> > > > > > > "owning"
> > > > > > > > > > those
> > > > > > > > > > > > files. There are just too many moving pieces here.
> > > > > > > > > > > >
> > > > > > > > > > > > Because of the size of this (which is,
> unfortunately,
> > > > necessary),
> > > > > > > > > > > > posting here is probably not the most efficient way.
> > That
> > > > is also
> > > > > > > > > > true
> > > > > > > > > > > > because certain people chose to use this PR as a
> forum
> > to
> > > > air
> > > > > > > other
> > > > > > > > > > > > issues. Therefore, it would be better if reviewers
> > e-mail
> > > > me
> > > > > > > > > > directly.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > >
> >
>
>
R-Interpreter CI Was: Re: contributions impasse. Was: [GitHub]
incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Is there anyone who can work with me on the CI issues? It looks like there are a number of PRs experiencing similar things.
I think we should make getting CI stable to be a priority. Because it will save everyone a lot of frustration and aggravation if CI works reliably.
Is there anyone other than Jongyoul and Moon who knows the CI/Build process well?
(Moon - Thank you for taking another look at the licensing issue. Per the e-mail I wrote about this a few days ago, I don’t feel I have more to contribute to the licensing discussion, so I’m going to try not to comment further about it.)
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 7, 2015 at 5:00:08 PM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Thanks Amos, Roman, Cos for clarifying license issue.
I'm convinced that this license issue will not be a blocker.
In my understanding, these are good sign,
1. any gpl licensed source codes are not included in the source package
2. any gpl licensed libraries are not included in the binary package
However, i can not still 100% sure about
3. any gpl licensed libraries are not linked on runtime
Even after Amos's explanation. I still think using 'knitr' is one of the
clear case that 'knir' is linked to 'R' according to
http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL.
Giving input and getting output from GPL licensed interpreter (includes R)
from Apache licensed software is not a problem. That's not the point.
Let me say in this way. There's an java code,
import com.mysql.jdbc.Driver
Driver driver = new Driver()
Say without this java code, one of important feature of Zeppelin does not
work. And Zeppelin does not includes GPL licensed file in the source
package, GPL licensed library in the binary package, but it requires GPL
licensed library on the runtime.
In this case, will this java code be a license problem or not?
In other words, my question is
a) Is runtime GPL library dependency allowed in ASF release?
b) is 'knitr' considered as runtime dependency?
If someone can clarify a), b), then it would be extremely helpful
understanding this case, and possible similar cases, too.
Thanks,
moon
On Mon, Dec 7, 2015 at 3:20 PM Konstantin Boudnik <co...@apache.org> wrote:
> On Thu, Dec 03, 2015 at 11:03AM, Corneau Damien wrote:
> > Thanks Cos for those answers,
> >
> > If I'm right you are advising to have a default build that doesn't
> include
> > libraries with conflicting licenses, but have an option to include them
> for
> > users who wants to build the project themselves.
>
> Yes, that's what I said. Besides, looks like Roman provided the second
> pair of
> eyes to this licensing discussion and as well didn't find any issues with
> the
> current approach.
>
> Cos
>
> > To refer to another thread about decentralizing interpreters, it could
> even
> > be better in that case to have some interpreters separated from the tree,
> > and easily pluggable with a release instead of forcing users to build the
> > project to use them.
> >
> >
> > On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <co...@apache.org>
> wrote:
> >
> > > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > > Konstantin thank you for getting into this.
> > > >
> > > >> The best way to go around it is by
> > > >> providing a build-time option that will pull such binaries in. But
> by
> > > default
> > > >> such libs shouldn't be pulled.
> > > >
> > > > That is basically how the PR handles this. If the GPL’d interpreter
> > > scripts
> > > > are missing, there’s no indication at all at build time. It doesn’t
> try
> > > to
> > > > download them.
> > > >
> > > > At runtime, if the user tries to use functionality that would need
> such a
> > > > script (i.e., if they type “knitr” to use knitr), we display an error
> > > that
> > > > says that the functionality is not there because the library is
> missing,
> > > and
> > > > that the library cannot be provided because it has an incompatible
> > > license,
> > > > but the user can download it themselves if they want.
> > > >
> > > > And, in the log, if the logging level is high, they will see a note
> that
> > > > some functionality was disabled because the libraries weren’t there.
> > > >
> > > > To be clear, though, none of these libraries are binaries. They’re
> all
> > > interpreter scripts.
> > >
> > > If you ever in a doubt of which licenses could be used for dependncies
> > > (not to
> > > say about source code) are listed in Category A list of [1]
> > >
> > > A lot of quesitons discussed here are already covered in the legal
> FAQ, so
> > > just check against it if you have any questions.
> > >
> > > [1] http://www.apache.org/legal/resolved.html#category-a
> > >
> > > Cos
> > >
> > > > From: Konstantin Boudnik <co...@apache.org>
> > > > Reply: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>, dev@zeppelin.incubator.apache.org
> <
> > > dev@zeppelin.incubator.apache.org>
> > > > Date: December 2, 2015 at 3:24:50 PM
> > > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > > >
> > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > > impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter
> for
> > > Zeppelin
> > > >
> > > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > > I think that what moon means is that:
> > > > > If we merge the way it is now, the KnitRInterpreter will be part
> of the
> > > > > code base, so it isn't optional at code base level.
> > > > >
> > > > > To make it even more simple:
> > > > > * If the code has the right licensing -> that code can be part of
> the
> > > > > source code, and can be including in a binary release
> > > >
> > > > We aren't concerned with binary releases - as an Apache community we
> are
> > > > voting and releasing source code. If the project wants to provide a
> > > binary
> > > > release to its users, they are better be warned about inclusion of
> non
> > > > ASL2-friendly licensed bits.
> > > >
> > > > > * If the code doesn't have the right licensing -> it can't be part
> of
> > > the
> > > > > source code, and can't be included in a binary release
> > > >
> > > > See above.
> > > >
> > > > > * If the code doesn't have the right licensing but is imported at
> build
> > > > > time (libraries for example) -> it is not in the source code, it
> can't
> > > be
> > > > > included in binary release
> > > >
> > > > That is unless a user doing it on his own. The best way to go around
> it
> > > is by
> > > > providing a build-time option that will pull such binaries in. But by
> > > default
> > > > such libs shouldn't be pulled.
> > > >
> > > > Cos
> > > >
> > > > > So in the case of licensing issues, it would need to be fully
> optional
> > > > > (user bring the interpreter in his directory and build Zeppelin
> with
> > > it)
> > > > >
> > > > >
> > > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> amos.elberg@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Moon let me clarify:
> > > > > >
> > > > > > Interpreted code doesn’t “link.” The wiki article actually
> explains
> > > it
> > > > > > pretty well —
> https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > > “Linking” against a library means compiling its headers into a
> > > binary, the
> > > > > > way a C compiler works. The 2008 e-mail Moon distributed, called
> > > this the
> > > > > > “interpreter exception.”
> > > > > >
> > > > > > As for whether GPL’d code is a “mandatory dependency,” if knitr
> is
> > > missing
> > > > > > the PR will compile, run and test just fine. The user is never
> > > prompted to
> > > > > > download it. The only effect is, if the user types “knitr” and
> knitr
> > > isn’t
> > > > > > there, we display an InterpreterError that knitr isn’t there.
> > > > > >
> > > > > > KnitRInterpreter is not optionally required. so it does not
> matter
> > > KnitR
> > > > > > is
> > > > > > optionally required or not.
> > > > > > Aren’t all interpreters optional? You can turn them on and off
> in the
> > > > > > config files.
> > > > > >
> > > > > > Do you mean that the KnitRInterpreter class gets compiled to
> > > bytecode even
> > > > > > if knitr is missing? So what? That isn't a mandatory dependency
> or a
> > > link.
> > > > > >
> > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > > To: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > > impasse.
> > > > > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > > Zeppelin
> > > > > >
> > > > > > Let me summarize license concern about KnitRInterpreter.
> > > > > >
> > > > > >
> > > > > > Amos's interpretation.
> > > > > >
> > > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > > R dependency in SparkR has no problem. So KnitR should be the
> same.
> > > > > >
> > > > > >
> > > > > > Moon's interpretation.
> > > > > >
> > > > > > KnitRInterpreter is not optionally required. so it does not
> matter
> > > KnitR is
> > > > > > optionally required or not.
> > > > > > R dependency in SparkR is exception of GPL. KnitR is not applied
> that
> > > > > > exception.
> > > > > >
> > > > > >
> > > > > > Amos, could you confirm my understanding to your interpretation
> is
> > > correct?
> > > > > > If it is not could you clarify it?
> > > > > >
> > > > > > Thanks,
> > > > > > moon
> > > > > >
> > > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > > amos.elberg@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Just to put the final nail in this, I looked it up.
> > > > > > >
> > > > > > > I see no evidence of any “compiler exception.”
> > > > > > >
> > > > > > > There is an exception in the license for the runtime libraries
> > > that are
> > > > > > > bundled with GCC. See:
> > > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > > >
> > > > > > > But no “compiler exception.”
> > > > > > >
> > > > > > > In fact, I believe this is part of the reason why LLVM was
> created.
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > incubator-zeppelin pull
> > > > > > > request: R Interpreter for Zeppelin
> > > > > > >
> > > > > > > Is knitR is commonly considered as a interpreter/compiler? or
> is it
> > > > > > > considered as a library routine?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > > amos.elberg@gmail.com>
> > > > > > > wrote:
> > > > > > > Moon - you give this as an explanation of the licensing issue:
> > > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > >
> > > > > > > According to that, there is an exception in the GPL for
> interpreter
> > > > > > > languages. As long as you don’t distribute the code, its fine
> to
> > > talk to
> > > > > > > an interpreted language.
> > > > > > >
> > > > > > > Well, if that’s the case, then the PR plainly does not have a
> > > license
> > > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > > >
> > > > > > > I’m not sure what’s confusing about this. It seems completely
> > > > > > > straightforward.
> > > > > > >
> > > > > > > Regarding this:
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Amos Elberg
> > > > > > > Sent with Airmail
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > > >
> > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org
> > > > > > >
> > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > incubator-zeppelin pull
> > > > > > > request: R Interpreter for Zeppelin
> > > > > > >
> > > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > > amos.elberg@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > I am going to try to minimize my reaction to Moon’s e-mail.
> > > > > > > >
> > > > > > > > The tl;dr is this:
> > > > > > > >
> > > > > > > > The reason we are having this discussion now is that active
> > > users of
> > > > > > the
> > > > > > > > PR — which now has its own user base — went public to
> complain
> > > about
> > > > > > > this.
> > > > > > >
> > > > > > >
> > > > > > > > The PR has been tested by an active user base for more than
> three
> > > > > > months.
> > > > > > > > No-one has been able to identify any specific actual
> licensing
> > > problem,
> > > > > > > and
> > > > > > > > the PR was prepared based on an extensive, careful review of
> the
> > > > > > relevant
> > > > > > > > licensing issues and after contacting the relevant people.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > I admire every software that used by user and helping people.
> That
> > > > > > includes
> > > > > > > your work. But that's not the topic we're in discussion. Active
> > > user does
> > > > > > > not mean your contribution can ignore the review.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > It is not an explanation for someone who has been ignoring my
> > > “how can
> > > > > > I
> > > > > > > > move this forward…” emails for three months to point the
> finger
> > > and
> > > > > > say I
> > > > > > > > didn’t contact the right person or file the right report.
> > > > > > > >
> > > > > > > >
> > > > > > > This is also not the topic in this discussion.
> > > > > > >
> > > > > > >
> > > > > > > > The burden for providing an explanation for the inaction is
> on
> > > the PMCC
> > > > > > > at
> > > > > > > > this point.
> > > > > > >
> > > > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > > Zeppelin
> > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > They’re not! I often see comments on PRs to just ignore that
> CI
> > > is
> > > > > > > > failing.
> > > > > > > >
> > > > > > > > One of the most common reasons this PR fails CI, is CI
> times-out
> > > > > > > > downloading Spark to install. How could that possibly be
> caused
> > > by the
> > > > > > > PR?
> > > > > > > >
> > > > > > > > It looks to me like the only PRs with changes to the relevant
> > > parts of
> > > > > > > the
> > > > > > > > code — the SparkInterpreter — are being made by the person
> who
> > > wrote
> > > > > > the
> > > > > > > > testing suite.
> > > > > > > >
> > > > > > > > So, that would explain why some other PRs pass CI: Neither
> the
> > > > > > > > SparkInterpreter nor the testing suite are stable or robust,
> but
> > > since
> > > > > > > the
> > > > > > > > PRs are coming from the person who wrote both…
> > > > > > > >
> > > > > > > > And let's say Zeppelin core has problem and that makes your
> PR
> > > fails on
> > > > > > > CI
> > > > > > > > test. That's possible. But it still does not mean we can
> merge
> > > it with
> > > > > > CI
> > > > > > > > failing.
> > > > > > > >
> > > > > > > > It means you should be working with me to figure out why the
> CI
> > > is
> > > > > > > failing.
> > > > > > > >
> > > > > > > > This PR has been tested by an active user base for the past
> three
> > > > > > months.
> > > > > > > > If CI is continuing to fail, and dozens of hours of effort
> have
> > > not
> > > > > > > > resolved the CI issues, then it is time to start considering
> > > whether
> > > > > > the
> > > > > > > > testing suite is part of the problem.
> > > > > > > >
> > > > > > > > The level of defensiveness about the CI and SparkInterpreter
> is
> > > not
> > > > > > > > helping to resolve these issues.
> > > > > > > >
> > > > > > > > If you think it's problem on Zeppelin core, then file an
> issue
> > > that
> > > > > > > > reproduce the problem on Zeppelin core, that might be more
> > > efficient
> > > > > > than
> > > > > > > > keep trying yourself.
> > > > > > > > I contacted you numerous times about such issues...
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I remember i commented your issue about CI. but you just keep
> > > repeated
> > > > > > it's
> > > > > > > not your problem but Zeppelin core problem.
> > > > > > >
> > > > > > > Then please file an issue about the problem you found in
> Zeppelin
> > > Core.
> > > > > > > Then everyone will get into the problem.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > > feature while
> > > > > > > it
> > > > > > > > is always enabled when compiling Zeppelin and always enabled
> when
> > > > > > running
> > > > > > > > Zeppelin. And it requires dynamically linked GPL library on
> > > runtime.
> > > > > > (yes
> > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > >
> > > > > > > > Its not always enabled.
> > > > > > > > It is not dynamically linked at runtime.
> > > > > > > > It will not fail when knitr is missing. If knitr is not
> present,
> > > the
> > > > > > repl
> > > > > > > > interpreter starts and a note is written to to the log that
> the
> > > knitr
> > > > > > > > interpreter isn’t available because knitr is not present.
> > > > > > > >
> > > > > > > > no Apache code can ever call a shell script, on the purpose
> of
> > > dynamic
> > > > > > > > linking with GPL library.
> > > > > > > > You misunderstand.
> > > > > > > >
> > > > > > > > The *shell* is GPL'd.
> > > > > > > >
> > > > > > > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin
> > > depends
> > > > > > on
> > > > > > > a
> > > > > > > > shell script to launch?
> > > > > > > >
> > > > > > > Obviously not.
> > > > > > > >
> > > > > > > > The interaction with R in the PR is the same.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > Again, bash is one of exceptions of GPL, like other GPL
> licensed
> > > > > > > compiler/interpreter.
> > > > > > >
> > > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > >
> > > > > > > I'm not sure we can apply the same exception for 'using' KnitR.
> > > > > > >
> > > > > > > My point is not 'KnitR' is optional or not. Point is
> > > 'KnitRInterpreter'
> > > > > > you
> > > > > > > wrote is not an optional feature. Which is clearly not
> optionally
> > > enabled
> > > > > > > code and feature. And that depends on KnitR library which is
> GPL.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > I was guessing SparkR can be still in Apache License even if
> it
> > > is
> > > > > > > depends
> > > > > > > > on R. Because of GPL licensed compiler generated output is
> not
> > > GPL
> > > > > > > license.
> > > > > > > > and R is sort of compiler. If you can get answer from Spark
> > > community
> > > > > > how
> > > > > > > > SparkR get managed to stay in Apache License while R is GPL,
> the
> > > answer
> > > > > > > > might help.
> > > > > > > > The description of SparkR is not accurate in any respect. (Do
> > > you think
> > > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > > >
> > > > > > > > I don’t see that any genuine issue is being raised here.
> > > > > > > >
> > > > > > > > If there is an issue, the burden is on you to identify it.
> > > > > > > >
> > > > > > > > If i give you one suggestion, Zeppelin committers sometimes
> ask
> > > rebase
> > > > > > > the
> > > > > > > > contribution branch for some reason. It is not the really the
> > > best
> > > > > > > > practice, but still okay while most contributions are not
> > > including
> > > > > > large
> > > > > > > > code base changes
> > > > > > > > However, your one, has more than 4000 lines of code change.
> If
> > > you
> > > > > > rebase
> > > > > > > > then review should be started from the beginning, again. So
> you
> > > might
> > > > > > > want
> > > > > > > > to minimize the rebase your branch.
> > > > > > > >
> > > > > > > > Are you actually complaining that the problem is that I
> rebased
> > > the
> > > > > > code
> > > > > > > > during the three-month period when no-one looked at it and
> > > Zeppelin
> > > > > > went
> > > > > > > > through a release?
> > > > > > > >
> > > > > > > > I cannot take it seriously when you say things like this.
> > > > > > > >
> > > > > > > > Having to “start from the beginning” cannot be a problem if
> you
> > > never
> > > > > > > > actually started the first time...
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > You wanted coordination and cooperation. So i gave you
> suggestion
> > > that
> > > > > > > helping review process. For example, your code has been rebased
> > > since my
> > > > > > > comment and jongyoul's comment. that means committers will
> need to
> > > look
> > > > > > > from the beginning. That'll require more time. And maybe, i
> guess
> > > that's
> > > > > > > not what you want. But If you don't care, feel free to rebase.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > incubator-zeppelin
> > > > > > pull
> > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > >
> > > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > > amos.elberg@gmail.com>
> > > > > > > > wrote:
> > > > > > > > Thank you, Cos.
> > > > > > > >
> > > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > > >
> > > > > > > > 1. This PR does not passes CI
> > > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > > >
> > > > > > > > I’ve been seeking assistance on this since August.
> > > > > > > >
> > > > > > > > The most common reason is that SparkInterpreter is unable to
> > > launch
> > > > > > Spark
> > > > > > > > and open a Spark Backend. This is necessary to test the PR.
> > > > > > > >
> > > > > > > > 60+ hours, has been spent adapting and re-basing when the
> > > > > > > SparkInterpreter
> > > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > > >
> > > > > > > >
> > > > > > > > I'm sorry, but the other PRs are passing CI. If it's problem
> on
> > > > > > Zeppelin
> > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > >
> > > > > > > > And let's say Zeppelin core has problem and that makes your
> PR
> > > fails on
> > > > > > > CI
> > > > > > > > test. That's possible. But it still does not mean we can
> merge
> > > it with
> > > > > > CI
> > > > > > > > failing.
> > > > > > > >
> > > > > > > > If you think it's problem on Zeppelin core, then file an
> issue
> > > that
> > > > > > > > reproduce the problem on Zeppelin core, that might be more
> > > efficient
> > > > > > than
> > > > > > > > keep trying yourself.
> > > > > > > >
> > > > > > > >
> > > > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > > > What license problem *specifically* do you believe may exist?
> > > > > > > >
> > > > > > > > In preparing the PR, I:
> > > > > > > >
> > > > > > > > * Reviewed the Apache policy in detail.
> > > > > > > >
> > > > > > > > * Contacted the FSF to ask their interpretation of the
> “linking”
> > > > > > > > provisions of the GPL license.
> > > > > > > >
> > > > > > > > * Reviewed how other Apache software deals with this issue
> > > (e.g., Spark
> > > > > > > > talks to R, which is GPL'd).
> > > > > > > >
> > > > > > > > * No necessary *dependencies* of the PR have license
> conflicts.
> > > In
> > > > > > > > several cases, I contacted package authors who agreed to
> > > re-issue their
> > > > > > > > packages under Apache-compatible licenses. (Usually I had to
> do
> > > a bit
> > > > > > of
> > > > > > > > coding in exchange…)
> > > > > > > >
> > > > > > > > * Where the license had to stay GPL, the packages are *not
> > > necessary*
> > > > > > and
> > > > > > > > *not dependencies.* If the optional packages are present,
> they
> > > will be
> > > > > > > > used to enable additional functionality. Knitr is an example.
> > > The PR
> > > > > > will
> > > > > > > > compile and run fine without knitr. If knitr is available
> (it is
> > > part
> > > > > > of
> > > > > > > > the most common R distribution), the PR will enable the knitr
> > > > > > > interpreter.
> > > > > > > >
> > > > > > > > * This is exactly how this issue is addressed through the
> Apache
> > > > > > > > ecosystem.
> > > > > > > > The tl;dr is this: When Apache code is written to talk to
> > > libraries
> > > > > > that
> > > > > > > > may or may not be present on the user’s system, or where it
> > > talks to an
> > > > > > > API
> > > > > > > > but is agnostic about implementation, that is not “linking”
> in a
> > > way
> > > > > > that
> > > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > > >
> > > > > > > > Otherwise, no Apache code could ever call a shell script! Let
> > > alone run
> > > > > > > > on Linux, or talk to R.
> > > > > > > >
> > > > > > > >
> > > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > > >
> > > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > > feature while
> > > > > > > it
> > > > > > > > is always enabled when compiling Zeppelin and always enabled
> when
> > > > > > running
> > > > > > > > Zeppelin. And it requires dynamically linked GPL library on
> > > runtime.
> > > > > > (yes
> > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > >
> > > > > > > > And of course, no Apache code can ever call a shell script,
> on
> > > the
> > > > > > > purpose
> > > > > > > > of dynamic linking with GPL library.
> > > > > > > >
> > > > > > > > I was guessing SparkR can be still in Apache License even if
> it
> > > is
> > > > > > > depends
> > > > > > > > on R. Because of GPL licensed compiler generated output is
> not
> > > GPL
> > > > > > > license.
> > > > > > > > and R is sort of compiler.
> > > > > > > >
> > > > > > > > If you can get answer from Spark community how SparkR get
> > > managed to
> > > > > > stay
> > > > > > > > in Apache License while R is GPL, the answer might help.
> > > > > > > >
> > > > > > > >
> > > > > > > > 3. Need more time to review.
> > > > > > > > Has any reviewer has downloaded the PR or run the demo
> notebook?
> > > (Which
> > > > > > > > is there for the benefit of reviewers, and isn’t intended to
> go
> > > in
> > > > > > final
> > > > > > > > distribution.)
> > > > > > > >
> > > > > > > > How many +1 comments from users would you like to see?
> > > > > > > >
> > > > > > > > How much time do you believe is required?
> > > > > > > >
> > > > > > > >
> > > > > > > > It all depends on when CI is going to pass, when license
> problem
> > > is
> > > > > > going
> > > > > > > > to be cleared, and when a committer willing to review and
> > > responsible
> > > > > > to
> > > > > > > > commit your contribution.
> > > > > > > >
> > > > > > > >
> > > > > > > > 1. Large code base change
> > > > > > > > Large code base changes require coordination and cooperation.
> > > This PR
> > > > > > > > necessarily implicates the build scripts, testing code, the
> > > > > > > > SparkInterpreter, etc.
> > > > > > > >
> > > > > > > > I have been seeking to coordinate since August.
> > > > > > > >
> > > > > > > > I continue to stand ready to do so.
> > > > > > > >
> > > > > > > > -Amos
> > > > > > > >
> > > > > > > >
> > > > > > > > If i give you one suggestion, Zeppelin committers sometimes
> ask
> > > rebase
> > > > > > > the
> > > > > > > > contribution branch for some reason. It is not the really the
> > > best
> > > > > > > > practice, but still okay while most contributions are not
> > > including
> > > > > > large
> > > > > > > > code base changes.
> > > > > > > >
> > > > > > > > However, your one, has more than 4000 lines of code change.
> If
> > > you
> > > > > > rebase
> > > > > > > > then review should be started from the beginning, again. So
> you
> > > might
> > > > > > > want
> > > > > > > > to minimize the rebase your branch.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > moon
> > > > > > > >
> > > > > > > >
> > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > >
> > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > incubator-zeppelin
> > > > > > pull
> > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > >
> > > > > > > > Hi Cos,
> > > > > > > >
> > > > > > > > Thanks for opening a discussion.
> > > > > > > > My answer about 'Why this PR is open for three months' is
> > > > > > > >
> > > > > > > > 1. This PR does not passes CI
> > > > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > > > 3. Need more time to review.
> > > > > > > >
> > > > > > > > It's my personal answer, other committers may have different
> > > opinion.
> > > > > > > >
> > > > > > > >
> > > > > > > > I think the question should be generalized. Because this PR
> is
> > > not the
> > > > > > > only
> > > > > > > > PR that is in impasse. There're more. For example
> > > > > > > >
> > > > > > > > Here's some examples that PR is not been merged.
> > > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > > and so on.
> > > > > > > >
> > > > > > > > I can categorize the cases, based on experience of involving
> > > Zeppelin
> > > > > > > > community from the beginning.
> > > > > > > >
> > > > > > > > 1. Large code base change
> > > > > > > >
> > > > > > > > When contribution has large code base changes, it tend to
> take
> > > more
> > > > > > time
> > > > > > > to
> > > > > > > > review and merged. Normally, most contributions merged in
> 1day~1
> > > week.
> > > > > > > > But some contribution has large code base changes take 2~4
> > > weeks. Few
> > > > > > > > contribution that has very large code base change take
> months.
> > > > > > > >
> > > > > > > > 2. Communication lost
> > > > > > > >
> > > > > > > > Sometimes, committer is not responding, or contributor is not
> > > > > > responding.
> > > > > > > >
> > > > > > > > 3. Opinion diverges
> > > > > > > >
> > > > > > > > For some changes, included in contribution. When people have
> > > different
> > > > > > > > opinion and it continue to diverges, those PRs are not been
> > > merged.
> > > > > > > >
> > > > > > > >
> > > > > > > > I think having a guide such as ping other committer when a
> > > committer is
> > > > > > > not
> > > > > > > > responding, and divide contribution into small peaces if
> > > possible,
> > > > > > would
> > > > > > > > help most of the cases.
> > > > > > > > Of course committer have to pay attention more to the
> > > contribution and
> > > > > > > > helping people. That's the first one.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > moon
> > > > > > > >
> > > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > > cos@apache.org>
> > > > > > > wrote:
> > > > > > > >
> > > > > > > > > To make sure we're on the same page, here are two threads
> that
> > > I
> > > > > > found
> > > > > > > > > related
> > > > > > > > > to this topic.
> > > > > > > > >
> > > > > > > > > Thread 1:
> > > > > > > > > Subject: R?
> > > > > > > > > Started on: July 1, 2015
> > > > > > > > >
> > > > > > > > > Thread 2:
> > > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > > Interpreter for
> > > > > > > > > Zeppelin
> > > > > > > > > Started on: August 13, 2015
> > > > > > > > >
> > > > > > > > > If you want to fetch these from our archive send emails to
> > > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > > >
> > > > > > > > > Cos
> > > > > > > > >
> > > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > > > > > > > Guys,
> > > > > > > > > >
> > > > > > > > > > While catching up on my emails from the last a couple of
> > > weeks,
> > > > > > this
> > > > > > > > > thread
> > > > > > > > > > caught my attention. I am not normally paying much
> attention
> > > to the
> > > > > > > > code
> > > > > > > > > > reviews traffic from GH, but this one is pretty
> different as
> > > it
> > > > > > spans
> > > > > > > > > three
> > > > > > > > > > months and counting.
> > > > > > > > > >
> > > > > > > > > > First, here are my five cents:
> > > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed
> to be
> > > > > > > > > contributed to
> > > > > > > > > > an ASF project this file should simply contain ASL2 text,
> > > like in
> > > > > > [1]
> > > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> <developers>
> > > > > > > section,
> > > > > > > > > but
> > > > > > > > > > Zeppelin might have different guidelines on it. Say,
> Bigtop
> > > doesn't
> > > > > > > > > > maintain this in the source code, but we have the list of
> > > all the
> > > > > > > > > > committers on the project's site [2] Every new
> committer's
> > > first
> > > > > > > > > commit is
> > > > > > > > > > to update the team page ;)
> > > > > > > > > > - comments like in
> > > > > > > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > > >
> > > > > > > > > > +/**
> > > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > > + */
> > > > > > > > > >
> > > > > > > > > > is better to be removed. It has been already discussed
> here
> > > [3].
> > > > > > And
> > > > > > > > > the
> > > > > > > > > > initial discussion on the topic [4] was linked as well
> > > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure
> if
> > > this is
> > > > > > > > > R-specific
> > > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > > >
> > > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > > ...
> > > > > > > > > > +Author: David B. Dahl
> > > > > > > > > >
> > > > > > > > > > shouldn't be here, IMO. Normally, if some additional
> > > licenses are
> > > > > > > > > used,
> > > > > > > > > > they have to be listed in the top-level NOTICE file
> (already
> > > > > > there).
> > > > > > > > > >
> > > > > > > > > > - I am not going to offer any comments on the technical
> > > merits of
> > > > > > the
> > > > > > > > > patch,
> > > > > > > > > > as I haven't tried it personally. However, I don't see
> any
> > > serious
> > > > > > > > > > technical objections to the functionality in question.
> > > > > > > > > >
> > > > > > > > > > So, the question is - why the PR is open for three
> months? I
> > > hasn't
> > > > > > > > been
> > > > > > > > > able
> > > > > > > > > > to get a clear answer. What I found out though is pretty
> > > > > > unsettling,
> > > > > > > > > really.
> > > > > > > > > > The communication on the topic is almost non-existent,
> > > except for
> > > > > > > this
> > > > > > > > > sparse
> > > > > > > > > > and bitter thread in the GH.
> > > > > > > > > >
> > > > > > > > > > I would love to hear from the committers what's stopping
> the
> > > > > > > acceptance
> > > > > > > > > of the
> > > > > > > > > > code, besides of the minor issues I've mentioned earlier?
> > > What are
> > > > > > > the
> > > > > > > > > reasons for it?
> > > > > > > > > > Is there anything wrong with it?
> > > > > > > > > > One of the responsibilities of the committers is to make
> > > sure the
> > > > > > > > > > contributions are reviewed; new contributors are guided
> and
> > > do
> > > > > > > > > understand how
> > > > > > > > > > the project ticks. The easy feedback flow attracts new
> > > people,
> > > > > > > allowing
> > > > > > > > > the
> > > > > > > > > > community to grow and thrive.
> > > > > > > > > >
> > > > > > > > > > I am asking _explicitely_ not to re-start the bickering I
> > > have
> > > > > > > already
> > > > > > > > > > seen. At this point I am interested in the purely
> technical
> > > side of
> > > > > > > > this.
> > > > > > > > > >
> > > > > > > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > > [3]
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > > >
> > > > > > > > > > With regards,
> > > > > > > > > > Cos
> > > > > > > > > >
> > > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > > Github user elbamos commented on the pull request:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > > >
> > > > > > > > > > > The current push should resolve some issues with
> changes
> > > in the
> > > > > > > > > > > Spark-Zeppelin interface that had created issues for
> > > users, as
> > > > > > > > > well as
> > > > > > > > > > > support for 1.5.1.
> > > > > > > > > > >
> > > > > > > > > > > Knitr support is improved, and the reason for a
> separate
> > > knitr
> > > > > > > > > interpreter may be clearer now.
> > > > > > > > > > >
> > > > > > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > > > > > >
> > > > > > > > > > > I did not address issues with @author tags, or files
> under
> > > the R/
> > > > > > > > > > > folder. The reason is, to be blunt, I don't understand
> > > what the
> > > > > > > > > precise
> > > > > > > > > > > concerns actually are.
> > > > > > > > > > >
> > > > > > > > > > > Please note that I changed .travis.yml to only use
> spark
> > > 1.4 and
> > > > > > > > > later.
> > > > > > > > > > > I'm sure there is a better way to do it, but I'm just
> not
> > > in a
> > > > > > > > > position
> > > > > > > > > > > to try to figure out the entire Zeppelin build process.
> > > > > > > > > > >
> > > > > > > > > > > Integrating this with the rest of zeppelin is going to
> > > take some
> > > > > > > > > work
> > > > > > > > > > > regarding pom's, travis, and so forth. I can do a lot
> of
> > > that,
> > > > > > > > > but I'm
> > > > > > > > > > > going to need to discuss it with the people who have
> been
> > > > > > "owning"
> > > > > > > > > those
> > > > > > > > > > > files. There are just too many moving pieces here.
> > > > > > > > > > >
> > > > > > > > > > > Because of the size of this (which is, unfortunately,
> > > necessary),
> > > > > > > > > > > posting here is probably not the most efficient way.
> That
> > > is also
> > > > > > > > > true
> > > > > > > > > > > because certain people chose to use this PR as a forum
> to
> > > air
> > > > > > other
> > > > > > > > > > > issues. Therefore, it would be better if reviewers
> e-mail
> > > me
> > > > > > > > > directly.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > >
>
Re: License of KnitRInterpreter Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Thanks Amos, Roman, Cos for clarifying license issue.
I'm convinced that this license issue will not be a blocker.
In my understanding, these are good sign,
1. any gpl licensed source codes are not included in the source package
2. any gpl licensed libraries are not included in the binary package
However, i can not still 100% sure about
3. any gpl licensed libraries are not linked on runtime
Even after Amos's explanation. I still think using 'knitr' is one of the
clear case that 'knir' is linked to 'R' according to
http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL.
Giving input and getting output from GPL licensed interpreter (includes R)
from Apache licensed software is not a problem. That's not the point.
Let me say in this way. There's an java code,
import com.mysql.jdbc.Driver
Driver driver = new Driver()
Say without this java code, one of important feature of Zeppelin does not
work. And Zeppelin does not includes GPL licensed file in the source
package, GPL licensed library in the binary package, but it requires GPL
licensed library on the runtime.
In this case, will this java code be a license problem or not?
In other words, my question is
a) Is runtime GPL library dependency allowed in ASF release?
b) is 'knitr' considered as runtime dependency?
If someone can clarify a), b), then it would be extremely helpful
understanding this case, and possible similar cases, too.
Thanks,
moon
On Mon, Dec 7, 2015 at 3:20 PM Konstantin Boudnik <co...@apache.org> wrote:
> On Thu, Dec 03, 2015 at 11:03AM, Corneau Damien wrote:
> > Thanks Cos for those answers,
> >
> > If I'm right you are advising to have a default build that doesn't
> include
> > libraries with conflicting licenses, but have an option to include them
> for
> > users who wants to build the project themselves.
>
> Yes, that's what I said. Besides, looks like Roman provided the second
> pair of
> eyes to this licensing discussion and as well didn't find any issues with
> the
> current approach.
>
> Cos
>
> > To refer to another thread about decentralizing interpreters, it could
> even
> > be better in that case to have some interpreters separated from the tree,
> > and easily pluggable with a release instead of forcing users to build the
> > project to use them.
> >
> >
> > On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <co...@apache.org>
> wrote:
> >
> > > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > > Konstantin thank you for getting into this.
> > > >
> > > >> The best way to go around it is by
> > > >> providing a build-time option that will pull such binaries in. But
> by
> > > default
> > > >> such libs shouldn't be pulled.
> > > >
> > > > That is basically how the PR handles this. If the GPL’d interpreter
> > > scripts
> > > > are missing, there’s no indication at all at build time. It doesn’t
> try
> > > to
> > > > download them.
> > > >
> > > > At runtime, if the user tries to use functionality that would need
> such a
> > > > script (i.e., if they type “knitr” to use knitr), we display an error
> > > that
> > > > says that the functionality is not there because the library is
> missing,
> > > and
> > > > that the library cannot be provided because it has an incompatible
> > > license,
> > > > but the user can download it themselves if they want.
> > > >
> > > > And, in the log, if the logging level is high, they will see a note
> that
> > > > some functionality was disabled because the libraries weren’t there.
> > > >
> > > > To be clear, though, none of these libraries are binaries. They’re
> all
> > > interpreter scripts.
> > >
> > > If you ever in a doubt of which licenses could be used for dependncies
> > > (not to
> > > say about source code) are listed in Category A list of [1]
> > >
> > > A lot of quesitons discussed here are already covered in the legal
> FAQ, so
> > > just check against it if you have any questions.
> > >
> > > [1] http://www.apache.org/legal/resolved.html#category-a
> > >
> > > Cos
> > >
> > > > From: Konstantin Boudnik <co...@apache.org>
> > > > Reply: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>, dev@zeppelin.incubator.apache.org
> <
> > > dev@zeppelin.incubator.apache.org>
> > > > Date: December 2, 2015 at 3:24:50 PM
> > > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > > >
> > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > > impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter
> for
> > > Zeppelin
> > > >
> > > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > > I think that what moon means is that:
> > > > > If we merge the way it is now, the KnitRInterpreter will be part
> of the
> > > > > code base, so it isn't optional at code base level.
> > > > >
> > > > > To make it even more simple:
> > > > > * If the code has the right licensing -> that code can be part of
> the
> > > > > source code, and can be including in a binary release
> > > >
> > > > We aren't concerned with binary releases - as an Apache community we
> are
> > > > voting and releasing source code. If the project wants to provide a
> > > binary
> > > > release to its users, they are better be warned about inclusion of
> non
> > > > ASL2-friendly licensed bits.
> > > >
> > > > > * If the code doesn't have the right licensing -> it can't be part
> of
> > > the
> > > > > source code, and can't be included in a binary release
> > > >
> > > > See above.
> > > >
> > > > > * If the code doesn't have the right licensing but is imported at
> build
> > > > > time (libraries for example) -> it is not in the source code, it
> can't
> > > be
> > > > > included in binary release
> > > >
> > > > That is unless a user doing it on his own. The best way to go around
> it
> > > is by
> > > > providing a build-time option that will pull such binaries in. But by
> > > default
> > > > such libs shouldn't be pulled.
> > > >
> > > > Cos
> > > >
> > > > > So in the case of licensing issues, it would need to be fully
> optional
> > > > > (user bring the interpreter in his directory and build Zeppelin
> with
> > > it)
> > > > >
> > > > >
> > > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> amos.elberg@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Moon let me clarify:
> > > > > >
> > > > > > Interpreted code doesn’t “link.” The wiki article actually
> explains
> > > it
> > > > > > pretty well —
> https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > > “Linking” against a library means compiling its headers into a
> > > binary, the
> > > > > > way a C compiler works. The 2008 e-mail Moon distributed, called
> > > this the
> > > > > > “interpreter exception.”
> > > > > >
> > > > > > As for whether GPL’d code is a “mandatory dependency,” if knitr
> is
> > > missing
> > > > > > the PR will compile, run and test just fine. The user is never
> > > prompted to
> > > > > > download it. The only effect is, if the user types “knitr” and
> knitr
> > > isn’t
> > > > > > there, we display an InterpreterError that knitr isn’t there.
> > > > > >
> > > > > > KnitRInterpreter is not optionally required. so it does not
> matter
> > > KnitR
> > > > > > is
> > > > > > optionally required or not.
> > > > > > Aren’t all interpreters optional? You can turn them on and off
> in the
> > > > > > config files.
> > > > > >
> > > > > > Do you mean that the KnitRInterpreter class gets compiled to
> > > bytecode even
> > > > > > if knitr is missing? So what? That isn't a mandatory dependency
> or a
> > > link.
> > > > > >
> > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > > To: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > > impasse.
> > > > > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > > Zeppelin
> > > > > >
> > > > > > Let me summarize license concern about KnitRInterpreter.
> > > > > >
> > > > > >
> > > > > > Amos's interpretation.
> > > > > >
> > > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > > R dependency in SparkR has no problem. So KnitR should be the
> same.
> > > > > >
> > > > > >
> > > > > > Moon's interpretation.
> > > > > >
> > > > > > KnitRInterpreter is not optionally required. so it does not
> matter
> > > KnitR is
> > > > > > optionally required or not.
> > > > > > R dependency in SparkR is exception of GPL. KnitR is not applied
> that
> > > > > > exception.
> > > > > >
> > > > > >
> > > > > > Amos, could you confirm my understanding to your interpretation
> is
> > > correct?
> > > > > > If it is not could you clarify it?
> > > > > >
> > > > > > Thanks,
> > > > > > moon
> > > > > >
> > > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > > amos.elberg@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Just to put the final nail in this, I looked it up.
> > > > > > >
> > > > > > > I see no evidence of any “compiler exception.”
> > > > > > >
> > > > > > > There is an exception in the license for the runtime libraries
> > > that are
> > > > > > > bundled with GCC. See:
> > > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > > >
> > > > > > > But no “compiler exception.”
> > > > > > >
> > > > > > > In fact, I believe this is part of the reason why LLVM was
> created.
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > incubator-zeppelin pull
> > > > > > > request: R Interpreter for Zeppelin
> > > > > > >
> > > > > > > Is knitR is commonly considered as a interpreter/compiler? or
> is it
> > > > > > > considered as a library routine?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > > amos.elberg@gmail.com>
> > > > > > > wrote:
> > > > > > > Moon - you give this as an explanation of the licensing issue:
> > > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > >
> > > > > > > According to that, there is an exception in the GPL for
> interpreter
> > > > > > > languages. As long as you don’t distribute the code, its fine
> to
> > > talk to
> > > > > > > an interpreted language.
> > > > > > >
> > > > > > > Well, if that’s the case, then the PR plainly does not have a
> > > license
> > > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > > >
> > > > > > > I’m not sure what’s confusing about this. It seems completely
> > > > > > > straightforward.
> > > > > > >
> > > > > > > Regarding this:
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Amos Elberg
> > > > > > > Sent with Airmail
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > > >
> > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org
> > > > > > >
> > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > incubator-zeppelin pull
> > > > > > > request: R Interpreter for Zeppelin
> > > > > > >
> > > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > > amos.elberg@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > I am going to try to minimize my reaction to Moon’s e-mail.
> > > > > > > >
> > > > > > > > The tl;dr is this:
> > > > > > > >
> > > > > > > > The reason we are having this discussion now is that active
> > > users of
> > > > > > the
> > > > > > > > PR — which now has its own user base — went public to
> complain
> > > about
> > > > > > > this.
> > > > > > >
> > > > > > >
> > > > > > > > The PR has been tested by an active user base for more than
> three
> > > > > > months.
> > > > > > > > No-one has been able to identify any specific actual
> licensing
> > > problem,
> > > > > > > and
> > > > > > > > the PR was prepared based on an extensive, careful review of
> the
> > > > > > relevant
> > > > > > > > licensing issues and after contacting the relevant people.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > I admire every software that used by user and helping people.
> That
> > > > > > includes
> > > > > > > your work. But that's not the topic we're in discussion. Active
> > > user does
> > > > > > > not mean your contribution can ignore the review.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > It is not an explanation for someone who has been ignoring my
> > > “how can
> > > > > > I
> > > > > > > > move this forward…” emails for three months to point the
> finger
> > > and
> > > > > > say I
> > > > > > > > didn’t contact the right person or file the right report.
> > > > > > > >
> > > > > > > >
> > > > > > > This is also not the topic in this discussion.
> > > > > > >
> > > > > > >
> > > > > > > > The burden for providing an explanation for the inaction is
> on
> > > the PMCC
> > > > > > > at
> > > > > > > > this point.
> > > > > > >
> > > > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > > Zeppelin
> > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > > They’re not! I often see comments on PRs to just ignore that
> CI
> > > is
> > > > > > > > failing.
> > > > > > > >
> > > > > > > > One of the most common reasons this PR fails CI, is CI
> times-out
> > > > > > > > downloading Spark to install. How could that possibly be
> caused
> > > by the
> > > > > > > PR?
> > > > > > > >
> > > > > > > > It looks to me like the only PRs with changes to the relevant
> > > parts of
> > > > > > > the
> > > > > > > > code — the SparkInterpreter — are being made by the person
> who
> > > wrote
> > > > > > the
> > > > > > > > testing suite.
> > > > > > > >
> > > > > > > > So, that would explain why some other PRs pass CI: Neither
> the
> > > > > > > > SparkInterpreter nor the testing suite are stable or robust,
> but
> > > since
> > > > > > > the
> > > > > > > > PRs are coming from the person who wrote both…
> > > > > > > >
> > > > > > > > And let's say Zeppelin core has problem and that makes your
> PR
> > > fails on
> > > > > > > CI
> > > > > > > > test. That's possible. But it still does not mean we can
> merge
> > > it with
> > > > > > CI
> > > > > > > > failing.
> > > > > > > >
> > > > > > > > It means you should be working with me to figure out why the
> CI
> > > is
> > > > > > > failing.
> > > > > > > >
> > > > > > > > This PR has been tested by an active user base for the past
> three
> > > > > > months.
> > > > > > > > If CI is continuing to fail, and dozens of hours of effort
> have
> > > not
> > > > > > > > resolved the CI issues, then it is time to start considering
> > > whether
> > > > > > the
> > > > > > > > testing suite is part of the problem.
> > > > > > > >
> > > > > > > > The level of defensiveness about the CI and SparkInterpreter
> is
> > > not
> > > > > > > > helping to resolve these issues.
> > > > > > > >
> > > > > > > > If you think it's problem on Zeppelin core, then file an
> issue
> > > that
> > > > > > > > reproduce the problem on Zeppelin core, that might be more
> > > efficient
> > > > > > than
> > > > > > > > keep trying yourself.
> > > > > > > > I contacted you numerous times about such issues...
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I remember i commented your issue about CI. but you just keep
> > > repeated
> > > > > > it's
> > > > > > > not your problem but Zeppelin core problem.
> > > > > > >
> > > > > > > Then please file an issue about the problem you found in
> Zeppelin
> > > Core.
> > > > > > > Then everyone will get into the problem.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > > feature while
> > > > > > > it
> > > > > > > > is always enabled when compiling Zeppelin and always enabled
> when
> > > > > > running
> > > > > > > > Zeppelin. And it requires dynamically linked GPL library on
> > > runtime.
> > > > > > (yes
> > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > >
> > > > > > > > Its not always enabled.
> > > > > > > > It is not dynamically linked at runtime.
> > > > > > > > It will not fail when knitr is missing. If knitr is not
> present,
> > > the
> > > > > > repl
> > > > > > > > interpreter starts and a note is written to to the log that
> the
> > > knitr
> > > > > > > > interpreter isn’t available because knitr is not present.
> > > > > > > >
> > > > > > > > no Apache code can ever call a shell script, on the purpose
> of
> > > dynamic
> > > > > > > > linking with GPL library.
> > > > > > > > You misunderstand.
> > > > > > > >
> > > > > > > > The *shell* is GPL'd.
> > > > > > > >
> > > > > > > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin
> > > depends
> > > > > > on
> > > > > > > a
> > > > > > > > shell script to launch?
> > > > > > > >
> > > > > > > Obviously not.
> > > > > > > >
> > > > > > > > The interaction with R in the PR is the same.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > Again, bash is one of exceptions of GPL, like other GPL
> licensed
> > > > > > > compiler/interpreter.
> > > > > > >
> > > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > > >
> > > > > > > I'm not sure we can apply the same exception for 'using' KnitR.
> > > > > > >
> > > > > > > My point is not 'KnitR' is optional or not. Point is
> > > 'KnitRInterpreter'
> > > > > > you
> > > > > > > wrote is not an optional feature. Which is clearly not
> optionally
> > > enabled
> > > > > > > code and feature. And that depends on KnitR library which is
> GPL.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > I was guessing SparkR can be still in Apache License even if
> it
> > > is
> > > > > > > depends
> > > > > > > > on R. Because of GPL licensed compiler generated output is
> not
> > > GPL
> > > > > > > license.
> > > > > > > > and R is sort of compiler. If you can get answer from Spark
> > > community
> > > > > > how
> > > > > > > > SparkR get managed to stay in Apache License while R is GPL,
> the
> > > answer
> > > > > > > > might help.
> > > > > > > > The description of SparkR is not accurate in any respect. (Do
> > > you think
> > > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > > >
> > > > > > > > I don’t see that any genuine issue is being raised here.
> > > > > > > >
> > > > > > > > If there is an issue, the burden is on you to identify it.
> > > > > > > >
> > > > > > > > If i give you one suggestion, Zeppelin committers sometimes
> ask
> > > rebase
> > > > > > > the
> > > > > > > > contribution branch for some reason. It is not the really the
> > > best
> > > > > > > > practice, but still okay while most contributions are not
> > > including
> > > > > > large
> > > > > > > > code base changes
> > > > > > > > However, your one, has more than 4000 lines of code change.
> If
> > > you
> > > > > > rebase
> > > > > > > > then review should be started from the beginning, again. So
> you
> > > might
> > > > > > > want
> > > > > > > > to minimize the rebase your branch.
> > > > > > > >
> > > > > > > > Are you actually complaining that the problem is that I
> rebased
> > > the
> > > > > > code
> > > > > > > > during the three-month period when no-one looked at it and
> > > Zeppelin
> > > > > > went
> > > > > > > > through a release?
> > > > > > > >
> > > > > > > > I cannot take it seriously when you say things like this.
> > > > > > > >
> > > > > > > > Having to “start from the beginning” cannot be a problem if
> you
> > > never
> > > > > > > > actually started the first time...
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > You wanted coordination and cooperation. So i gave you
> suggestion
> > > that
> > > > > > > helping review process. For example, your code has been rebased
> > > since my
> > > > > > > comment and jongyoul's comment. that means committers will
> need to
> > > look
> > > > > > > from the beginning. That'll require more time. And maybe, i
> guess
> > > that's
> > > > > > > not what you want. But If you don't care, feel free to rebase.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > > dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > incubator-zeppelin
> > > > > > pull
> > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > >
> > > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > > amos.elberg@gmail.com>
> > > > > > > > wrote:
> > > > > > > > Thank you, Cos.
> > > > > > > >
> > > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > > >
> > > > > > > > 1. This PR does not passes CI
> > > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > > >
> > > > > > > > I’ve been seeking assistance on this since August.
> > > > > > > >
> > > > > > > > The most common reason is that SparkInterpreter is unable to
> > > launch
> > > > > > Spark
> > > > > > > > and open a Spark Backend. This is necessary to test the PR.
> > > > > > > >
> > > > > > > > 60+ hours, has been spent adapting and re-basing when the
> > > > > > > SparkInterpreter
> > > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > > >
> > > > > > > >
> > > > > > > > I'm sorry, but the other PRs are passing CI. If it's problem
> on
> > > > > > Zeppelin
> > > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > >
> > > > > > > > And let's say Zeppelin core has problem and that makes your
> PR
> > > fails on
> > > > > > > CI
> > > > > > > > test. That's possible. But it still does not mean we can
> merge
> > > it with
> > > > > > CI
> > > > > > > > failing.
> > > > > > > >
> > > > > > > > If you think it's problem on Zeppelin core, then file an
> issue
> > > that
> > > > > > > > reproduce the problem on Zeppelin core, that might be more
> > > efficient
> > > > > > than
> > > > > > > > keep trying yourself.
> > > > > > > >
> > > > > > > >
> > > > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > > > What license problem *specifically* do you believe may exist?
> > > > > > > >
> > > > > > > > In preparing the PR, I:
> > > > > > > >
> > > > > > > > * Reviewed the Apache policy in detail.
> > > > > > > >
> > > > > > > > * Contacted the FSF to ask their interpretation of the
> “linking”
> > > > > > > > provisions of the GPL license.
> > > > > > > >
> > > > > > > > * Reviewed how other Apache software deals with this issue
> > > (e.g., Spark
> > > > > > > > talks to R, which is GPL'd).
> > > > > > > >
> > > > > > > > * No necessary *dependencies* of the PR have license
> conflicts.
> > > In
> > > > > > > > several cases, I contacted package authors who agreed to
> > > re-issue their
> > > > > > > > packages under Apache-compatible licenses. (Usually I had to
> do
> > > a bit
> > > > > > of
> > > > > > > > coding in exchange…)
> > > > > > > >
> > > > > > > > * Where the license had to stay GPL, the packages are *not
> > > necessary*
> > > > > > and
> > > > > > > > *not dependencies.* If the optional packages are present,
> they
> > > will be
> > > > > > > > used to enable additional functionality. Knitr is an example.
> > > The PR
> > > > > > will
> > > > > > > > compile and run fine without knitr. If knitr is available
> (it is
> > > part
> > > > > > of
> > > > > > > > the most common R distribution), the PR will enable the knitr
> > > > > > > interpreter.
> > > > > > > >
> > > > > > > > * This is exactly how this issue is addressed through the
> Apache
> > > > > > > > ecosystem.
> > > > > > > > The tl;dr is this: When Apache code is written to talk to
> > > libraries
> > > > > > that
> > > > > > > > may or may not be present on the user’s system, or where it
> > > talks to an
> > > > > > > API
> > > > > > > > but is agnostic about implementation, that is not “linking”
> in a
> > > way
> > > > > > that
> > > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > > >
> > > > > > > > Otherwise, no Apache code could ever call a shell script! Let
> > > alone run
> > > > > > > > on Linux, or talk to R.
> > > > > > > >
> > > > > > > >
> > > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > > >
> > > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > > feature while
> > > > > > > it
> > > > > > > > is always enabled when compiling Zeppelin and always enabled
> when
> > > > > > running
> > > > > > > > Zeppelin. And it requires dynamically linked GPL library on
> > > runtime.
> > > > > > (yes
> > > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > > >
> > > > > > > > And of course, no Apache code can ever call a shell script,
> on
> > > the
> > > > > > > purpose
> > > > > > > > of dynamic linking with GPL library.
> > > > > > > >
> > > > > > > > I was guessing SparkR can be still in Apache License even if
> it
> > > is
> > > > > > > depends
> > > > > > > > on R. Because of GPL licensed compiler generated output is
> not
> > > GPL
> > > > > > > license.
> > > > > > > > and R is sort of compiler.
> > > > > > > >
> > > > > > > > If you can get answer from Spark community how SparkR get
> > > managed to
> > > > > > stay
> > > > > > > > in Apache License while R is GPL, the answer might help.
> > > > > > > >
> > > > > > > >
> > > > > > > > 3. Need more time to review.
> > > > > > > > Has any reviewer has downloaded the PR or run the demo
> notebook?
> > > (Which
> > > > > > > > is there for the benefit of reviewers, and isn’t intended to
> go
> > > in
> > > > > > final
> > > > > > > > distribution.)
> > > > > > > >
> > > > > > > > How many +1 comments from users would you like to see?
> > > > > > > >
> > > > > > > > How much time do you believe is required?
> > > > > > > >
> > > > > > > >
> > > > > > > > It all depends on when CI is going to pass, when license
> problem
> > > is
> > > > > > going
> > > > > > > > to be cleared, and when a committer willing to review and
> > > responsible
> > > > > > to
> > > > > > > > commit your contribution.
> > > > > > > >
> > > > > > > >
> > > > > > > > 1. Large code base change
> > > > > > > > Large code base changes require coordination and cooperation.
> > > This PR
> > > > > > > > necessarily implicates the build scripts, testing code, the
> > > > > > > > SparkInterpreter, etc.
> > > > > > > >
> > > > > > > > I have been seeking to coordinate since August.
> > > > > > > >
> > > > > > > > I continue to stand ready to do so.
> > > > > > > >
> > > > > > > > -Amos
> > > > > > > >
> > > > > > > >
> > > > > > > > If i give you one suggestion, Zeppelin committers sometimes
> ask
> > > rebase
> > > > > > > the
> > > > > > > > contribution branch for some reason. It is not the really the
> > > best
> > > > > > > > practice, but still okay while most contributions are not
> > > including
> > > > > > large
> > > > > > > > code base changes.
> > > > > > > >
> > > > > > > > However, your one, has more than 4000 lines of code change.
> If
> > > you
> > > > > > rebase
> > > > > > > > then review should be started from the beginning, again. So
> you
> > > might
> > > > > > > want
> > > > > > > > to minimize the rebase your branch.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > moon
> > > > > > > >
> > > > > > > >
> > > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org
> > > > > > > >
> > > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > > incubator-zeppelin
> > > > > > pull
> > > > > > > > request: R Interpreter for Zeppelin
> > > > > > > >
> > > > > > > > Hi Cos,
> > > > > > > >
> > > > > > > > Thanks for opening a discussion.
> > > > > > > > My answer about 'Why this PR is open for three months' is
> > > > > > > >
> > > > > > > > 1. This PR does not passes CI
> > > > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > > > 3. Need more time to review.
> > > > > > > >
> > > > > > > > It's my personal answer, other committers may have different
> > > opinion.
> > > > > > > >
> > > > > > > >
> > > > > > > > I think the question should be generalized. Because this PR
> is
> > > not the
> > > > > > > only
> > > > > > > > PR that is in impasse. There're more. For example
> > > > > > > >
> > > > > > > > Here's some examples that PR is not been merged.
> > > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > > and so on.
> > > > > > > >
> > > > > > > > I can categorize the cases, based on experience of involving
> > > Zeppelin
> > > > > > > > community from the beginning.
> > > > > > > >
> > > > > > > > 1. Large code base change
> > > > > > > >
> > > > > > > > When contribution has large code base changes, it tend to
> take
> > > more
> > > > > > time
> > > > > > > to
> > > > > > > > review and merged. Normally, most contributions merged in
> 1day~1
> > > week.
> > > > > > > > But some contribution has large code base changes take 2~4
> > > weeks. Few
> > > > > > > > contribution that has very large code base change take
> months.
> > > > > > > >
> > > > > > > > 2. Communication lost
> > > > > > > >
> > > > > > > > Sometimes, committer is not responding, or contributor is not
> > > > > > responding.
> > > > > > > >
> > > > > > > > 3. Opinion diverges
> > > > > > > >
> > > > > > > > For some changes, included in contribution. When people have
> > > different
> > > > > > > > opinion and it continue to diverges, those PRs are not been
> > > merged.
> > > > > > > >
> > > > > > > >
> > > > > > > > I think having a guide such as ping other committer when a
> > > committer is
> > > > > > > not
> > > > > > > > responding, and divide contribution into small peaces if
> > > possible,
> > > > > > would
> > > > > > > > help most of the cases.
> > > > > > > > Of course committer have to pay attention more to the
> > > contribution and
> > > > > > > > helping people. That's the first one.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > moon
> > > > > > > >
> > > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > > cos@apache.org>
> > > > > > > wrote:
> > > > > > > >
> > > > > > > > > To make sure we're on the same page, here are two threads
> that
> > > I
> > > > > > found
> > > > > > > > > related
> > > > > > > > > to this topic.
> > > > > > > > >
> > > > > > > > > Thread 1:
> > > > > > > > > Subject: R?
> > > > > > > > > Started on: July 1, 2015
> > > > > > > > >
> > > > > > > > > Thread 2:
> > > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > > Interpreter for
> > > > > > > > > Zeppelin
> > > > > > > > > Started on: August 13, 2015
> > > > > > > > >
> > > > > > > > > If you want to fetch these from our archive send emails to
> > > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > > >
> > > > > > > > > Cos
> > > > > > > > >
> > > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > > > > > > > Guys,
> > > > > > > > > >
> > > > > > > > > > While catching up on my emails from the last a couple of
> > > weeks,
> > > > > > this
> > > > > > > > > thread
> > > > > > > > > > caught my attention. I am not normally paying much
> attention
> > > to the
> > > > > > > > code
> > > > > > > > > > reviews traffic from GH, but this one is pretty
> different as
> > > it
> > > > > > spans
> > > > > > > > > three
> > > > > > > > > > months and counting.
> > > > > > > > > >
> > > > > > > > > > First, here are my five cents:
> > > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed
> to be
> > > > > > > > > contributed to
> > > > > > > > > > an ASF project this file should simply contain ASL2 text,
> > > like in
> > > > > > [1]
> > > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> <developers>
> > > > > > > section,
> > > > > > > > > but
> > > > > > > > > > Zeppelin might have different guidelines on it. Say,
> Bigtop
> > > doesn't
> > > > > > > > > > maintain this in the source code, but we have the list of
> > > all the
> > > > > > > > > > committers on the project's site [2] Every new
> committer's
> > > first
> > > > > > > > > commit is
> > > > > > > > > > to update the team page ;)
> > > > > > > > > > - comments like in
> > > > > > > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > > >
> > > > > > > > > > +/**
> > > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > > + */
> > > > > > > > > >
> > > > > > > > > > is better to be removed. It has been already discussed
> here
> > > [3].
> > > > > > And
> > > > > > > > > the
> > > > > > > > > > initial discussion on the topic [4] was linked as well
> > > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure
> if
> > > this is
> > > > > > > > > R-specific
> > > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > > >
> > > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > > ...
> > > > > > > > > > +Author: David B. Dahl
> > > > > > > > > >
> > > > > > > > > > shouldn't be here, IMO. Normally, if some additional
> > > licenses are
> > > > > > > > > used,
> > > > > > > > > > they have to be listed in the top-level NOTICE file
> (already
> > > > > > there).
> > > > > > > > > >
> > > > > > > > > > - I am not going to offer any comments on the technical
> > > merits of
> > > > > > the
> > > > > > > > > patch,
> > > > > > > > > > as I haven't tried it personally. However, I don't see
> any
> > > serious
> > > > > > > > > > technical objections to the functionality in question.
> > > > > > > > > >
> > > > > > > > > > So, the question is - why the PR is open for three
> months? I
> > > hasn't
> > > > > > > > been
> > > > > > > > > able
> > > > > > > > > > to get a clear answer. What I found out though is pretty
> > > > > > unsettling,
> > > > > > > > > really.
> > > > > > > > > > The communication on the topic is almost non-existent,
> > > except for
> > > > > > > this
> > > > > > > > > sparse
> > > > > > > > > > and bitter thread in the GH.
> > > > > > > > > >
> > > > > > > > > > I would love to hear from the committers what's stopping
> the
> > > > > > > acceptance
> > > > > > > > > of the
> > > > > > > > > > code, besides of the minor issues I've mentioned earlier?
> > > What are
> > > > > > > the
> > > > > > > > > reasons for it?
> > > > > > > > > > Is there anything wrong with it?
> > > > > > > > > > One of the responsibilities of the committers is to make
> > > sure the
> > > > > > > > > > contributions are reviewed; new contributors are guided
> and
> > > do
> > > > > > > > > understand how
> > > > > > > > > > the project ticks. The easy feedback flow attracts new
> > > people,
> > > > > > > allowing
> > > > > > > > > the
> > > > > > > > > > community to grow and thrive.
> > > > > > > > > >
> > > > > > > > > > I am asking _explicitely_ not to re-start the bickering I
> > > have
> > > > > > > already
> > > > > > > > > > seen. At this point I am interested in the purely
> technical
> > > side of
> > > > > > > > this.
> > > > > > > > > >
> > > > > > > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > > [3]
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > > >
> > > > > > > > > > With regards,
> > > > > > > > > > Cos
> > > > > > > > > >
> > > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > > Github user elbamos commented on the pull request:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > > >
> > > > > > > > > > > The current push should resolve some issues with
> changes
> > > in the
> > > > > > > > > > > Spark-Zeppelin interface that had created issues for
> > > users, as
> > > > > > > > > well as
> > > > > > > > > > > support for 1.5.1.
> > > > > > > > > > >
> > > > > > > > > > > Knitr support is improved, and the reason for a
> separate
> > > knitr
> > > > > > > > > interpreter may be clearer now.
> > > > > > > > > > >
> > > > > > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > > > > > >
> > > > > > > > > > > I did not address issues with @author tags, or files
> under
> > > the R/
> > > > > > > > > > > folder. The reason is, to be blunt, I don't understand
> > > what the
> > > > > > > > > precise
> > > > > > > > > > > concerns actually are.
> > > > > > > > > > >
> > > > > > > > > > > Please note that I changed .travis.yml to only use
> spark
> > > 1.4 and
> > > > > > > > > later.
> > > > > > > > > > > I'm sure there is a better way to do it, but I'm just
> not
> > > in a
> > > > > > > > > position
> > > > > > > > > > > to try to figure out the entire Zeppelin build process.
> > > > > > > > > > >
> > > > > > > > > > > Integrating this with the rest of zeppelin is going to
> > > take some
> > > > > > > > > work
> > > > > > > > > > > regarding pom's, travis, and so forth. I can do a lot
> of
> > > that,
> > > > > > > > > but I'm
> > > > > > > > > > > going to need to discuss it with the people who have
> been
> > > > > > "owning"
> > > > > > > > > those
> > > > > > > > > > > files. There are just too many moving pieces here.
> > > > > > > > > > >
> > > > > > > > > > > Because of the size of this (which is, unfortunately,
> > > necessary),
> > > > > > > > > > > posting here is probably not the most efficient way.
> That
> > > is also
> > > > > > > > > true
> > > > > > > > > > > because certain people chose to use this PR as a forum
> to
> > > air
> > > > > > other
> > > > > > > > > > > issues. Therefore, it would be better if reviewers
> e-mail
> > > me
> > > > > > > > > directly.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > >
>
Re: License of KnitRInterpreter Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Konstantin Boudnik <co...@apache.org>.
On Thu, Dec 03, 2015 at 11:03AM, Corneau Damien wrote:
> Thanks Cos for those answers,
>
> If I'm right you are advising to have a default build that doesn't include
> libraries with conflicting licenses, but have an option to include them for
> users who wants to build the project themselves.
Yes, that's what I said. Besides, looks like Roman provided the second pair of
eyes to this licensing discussion and as well didn't find any issues with the
current approach.
Cos
> To refer to another thread about decentralizing interpreters, it could even
> be better in that case to have some interpreters separated from the tree,
> and easily pluggable with a release instead of forcing users to build the
> project to use them.
>
>
> On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <co...@apache.org> wrote:
>
> > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > Konstantin thank you for getting into this.
> > >
> > >> The best way to go around it is by
> > >> providing a build-time option that will pull such binaries in. But by
> > default
> > >> such libs shouldn't be pulled.
> > >
> > > That is basically how the PR handles this. If the GPL’d interpreter
> > scripts
> > > are missing, there’s no indication at all at build time. It doesn’t try
> > to
> > > download them.
> > >
> > > At runtime, if the user tries to use functionality that would need such a
> > > script (i.e., if they type “knitr” to use knitr), we display an error
> > that
> > > says that the functionality is not there because the library is missing,
> > and
> > > that the library cannot be provided because it has an incompatible
> > license,
> > > but the user can download it themselves if they want.
> > >
> > > And, in the log, if the logging level is high, they will see a note that
> > > some functionality was disabled because the libraries weren’t there.
> > >
> > > To be clear, though, none of these libraries are binaries. They’re all
> > interpreter scripts.
> >
> > If you ever in a doubt of which licenses could be used for dependncies
> > (not to
> > say about source code) are listed in Category A list of [1]
> >
> > A lot of quesitons discussed here are already covered in the legal FAQ, so
> > just check against it if you have any questions.
> >
> > [1] http://www.apache.org/legal/resolved.html#category-a
> >
> > Cos
> >
> > > From: Konstantin Boudnik <co...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>, dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > Date: December 2, 2015 at 3:24:50 PM
> > > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> > >
> > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > >
> > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > I think that what moon means is that:
> > > > If we merge the way it is now, the KnitRInterpreter will be part of the
> > > > code base, so it isn't optional at code base level.
> > > >
> > > > To make it even more simple:
> > > > * If the code has the right licensing -> that code can be part of the
> > > > source code, and can be including in a binary release
> > >
> > > We aren't concerned with binary releases - as an Apache community we are
> > > voting and releasing source code. If the project wants to provide a
> > binary
> > > release to its users, they are better be warned about inclusion of non
> > > ASL2-friendly licensed bits.
> > >
> > > > * If the code doesn't have the right licensing -> it can't be part of
> > the
> > > > source code, and can't be included in a binary release
> > >
> > > See above.
> > >
> > > > * If the code doesn't have the right licensing but is imported at build
> > > > time (libraries for example) -> it is not in the source code, it can't
> > be
> > > > included in binary release
> > >
> > > That is unless a user doing it on his own. The best way to go around it
> > is by
> > > providing a build-time option that will pull such binaries in. But by
> > default
> > > such libs shouldn't be pulled.
> > >
> > > Cos
> > >
> > > > So in the case of licensing issues, it would need to be fully optional
> > > > (user bring the interpreter in his directory and build Zeppelin with
> > it)
> > > >
> > > >
> > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <am...@gmail.com>
> > > > wrote:
> > > >
> > > > > Moon let me clarify:
> > > > >
> > > > > Interpreted code doesn’t “link.” The wiki article actually explains
> > it
> > > > > pretty well — https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > “Linking” against a library means compiling its headers into a
> > binary, the
> > > > > way a C compiler works. The 2008 e-mail Moon distributed, called
> > this the
> > > > > “interpreter exception.”
> > > > >
> > > > > As for whether GPL’d code is a “mandatory dependency,” if knitr is
> > missing
> > > > > the PR will compile, run and test just fine. The user is never
> > prompted to
> > > > > download it. The only effect is, if the user types “knitr” and knitr
> > isn’t
> > > > > there, we display an InterpreterError that knitr isn’t there.
> > > > >
> > > > > KnitRInterpreter is not optionally required. so it does not matter
> > KnitR
> > > > > is
> > > > > optionally required or not.
> > > > > Aren’t all interpreters optional? You can turn them on and off in the
> > > > > config files.
> > > > >
> > > > > Do you mean that the KnitRInterpreter class gets compiled to
> > bytecode even
> > > > > if knitr is missing? So what? That isn't a mandatory dependency or a
> > link.
> > > > >
> > > > > From: moon soo Lee <mo...@apache.org>
> > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org>
> > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > impasse.
> > > > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > > > >
> > > > > Let me summarize license concern about KnitRInterpreter.
> > > > >
> > > > >
> > > > > Amos's interpretation.
> > > > >
> > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > R dependency in SparkR has no problem. So KnitR should be the same.
> > > > >
> > > > >
> > > > > Moon's interpretation.
> > > > >
> > > > > KnitRInterpreter is not optionally required. so it does not matter
> > KnitR is
> > > > > optionally required or not.
> > > > > R dependency in SparkR is exception of GPL. KnitR is not applied that
> > > > > exception.
> > > > >
> > > > >
> > > > > Amos, could you confirm my understanding to your interpretation is
> > correct?
> > > > > If it is not could you clarify it?
> > > > >
> > > > > Thanks,
> > > > > moon
> > > > >
> > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Just to put the final nail in this, I looked it up.
> > > > > >
> > > > > > I see no evidence of any “compiler exception.”
> > > > > >
> > > > > > There is an exception in the license for the runtime libraries
> > that are
> > > > > > bundled with GCC. See:
> > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > >
> > > > > > But no “compiler exception.”
> > > > > >
> > > > > > In fact, I believe this is part of the reason why LLVM was created.
> > > > > >
> > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin pull
> > > > > > request: R Interpreter for Zeppelin
> > > > > >
> > > > > > Is knitR is commonly considered as a interpreter/compiler? or is it
> > > > > > considered as a library routine?
> > > > > >
> > > > > > Thanks,
> > > > > > moon
> > > > > >
> > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > > wrote:
> > > > > > Moon - you give this as an explanation of the licensing issue:
> > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > >
> > > > > > According to that, there is an exception in the GPL for interpreter
> > > > > > languages. As long as you don’t distribute the code, its fine to
> > talk to
> > > > > > an interpreted language.
> > > > > >
> > > > > > Well, if that’s the case, then the PR plainly does not have a
> > license
> > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > >
> > > > > > I’m not sure what’s confusing about this. It seems completely
> > > > > > straightforward.
> > > > > >
> > > > > > Regarding this:
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Amos Elberg
> > > > > > Sent with Airmail
> > > > > >
> > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > >
> > > > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > > > >
> > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin pull
> > > > > > request: R Interpreter for Zeppelin
> > > > > >
> > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > I am going to try to minimize my reaction to Moon’s e-mail.
> > > > > > >
> > > > > > > The tl;dr is this:
> > > > > > >
> > > > > > > The reason we are having this discussion now is that active
> > users of
> > > > > the
> > > > > > > PR — which now has its own user base — went public to complain
> > about
> > > > > > this.
> > > > > >
> > > > > >
> > > > > > > The PR has been tested by an active user base for more than three
> > > > > months.
> > > > > > > No-one has been able to identify any specific actual licensing
> > problem,
> > > > > > and
> > > > > > > the PR was prepared based on an extensive, careful review of the
> > > > > relevant
> > > > > > > licensing issues and after contacting the relevant people.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > I admire every software that used by user and helping people. That
> > > > > includes
> > > > > > your work. But that's not the topic we're in discussion. Active
> > user does
> > > > > > not mean your contribution can ignore the review.
> > > > > >
> > > > > >
> > > > > >
> > > > > > > It is not an explanation for someone who has been ignoring my
> > “how can
> > > > > I
> > > > > > > move this forward…” emails for three months to point the finger
> > and
> > > > > say I
> > > > > > > didn’t contact the right person or file the right report.
> > > > > > >
> > > > > > >
> > > > > > This is also not the topic in this discussion.
> > > > > >
> > > > > >
> > > > > > > The burden for providing an explanation for the inaction is on
> > the PMCC
> > > > > > at
> > > > > > > this point.
> > > > > >
> > > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > Zeppelin
> > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > They’re not! I often see comments on PRs to just ignore that CI
> > is
> > > > > > > failing.
> > > > > > >
> > > > > > > One of the most common reasons this PR fails CI, is CI times-out
> > > > > > > downloading Spark to install. How could that possibly be caused
> > by the
> > > > > > PR?
> > > > > > >
> > > > > > > It looks to me like the only PRs with changes to the relevant
> > parts of
> > > > > > the
> > > > > > > code — the SparkInterpreter — are being made by the person who
> > wrote
> > > > > the
> > > > > > > testing suite.
> > > > > > >
> > > > > > > So, that would explain why some other PRs pass CI: Neither the
> > > > > > > SparkInterpreter nor the testing suite are stable or robust, but
> > since
> > > > > > the
> > > > > > > PRs are coming from the person who wrote both…
> > > > > > >
> > > > > > > And let's say Zeppelin core has problem and that makes your PR
> > fails on
> > > > > > CI
> > > > > > > test. That's possible. But it still does not mean we can merge
> > it with
> > > > > CI
> > > > > > > failing.
> > > > > > >
> > > > > > > It means you should be working with me to figure out why the CI
> > is
> > > > > > failing.
> > > > > > >
> > > > > > > This PR has been tested by an active user base for the past three
> > > > > months.
> > > > > > > If CI is continuing to fail, and dozens of hours of effort have
> > not
> > > > > > > resolved the CI issues, then it is time to start considering
> > whether
> > > > > the
> > > > > > > testing suite is part of the problem.
> > > > > > >
> > > > > > > The level of defensiveness about the CI and SparkInterpreter is
> > not
> > > > > > > helping to resolve these issues.
> > > > > > >
> > > > > > > If you think it's problem on Zeppelin core, then file an issue
> > that
> > > > > > > reproduce the problem on Zeppelin core, that might be more
> > efficient
> > > > > than
> > > > > > > keep trying yourself.
> > > > > > > I contacted you numerous times about such issues...
> > > > > > >
> > > > > >
> > > > > >
> > > > > > I remember i commented your issue about CI. but you just keep
> > repeated
> > > > > it's
> > > > > > not your problem but Zeppelin core problem.
> > > > > >
> > > > > > Then please file an issue about the problem you found in Zeppelin
> > Core.
> > > > > > Then everyone will get into the problem.
> > > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > feature while
> > > > > > it
> > > > > > > is always enabled when compiling Zeppelin and always enabled when
> > > > > running
> > > > > > > Zeppelin. And it requires dynamically linked GPL library on
> > runtime.
> > > > > (yes
> > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > >
> > > > > > > Its not always enabled.
> > > > > > > It is not dynamically linked at runtime.
> > > > > > > It will not fail when knitr is missing. If knitr is not present,
> > the
> > > > > repl
> > > > > > > interpreter starts and a note is written to to the log that the
> > knitr
> > > > > > > interpreter isn’t available because knitr is not present.
> > > > > > >
> > > > > > > no Apache code can ever call a shell script, on the purpose of
> > dynamic
> > > > > > > linking with GPL library.
> > > > > > > You misunderstand.
> > > > > > >
> > > > > > > The *shell* is GPL'd.
> > > > > > >
> > > > > > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin
> > depends
> > > > > on
> > > > > > a
> > > > > > > shell script to launch?
> > > > > > >
> > > > > > Obviously not.
> > > > > > >
> > > > > > > The interaction with R in the PR is the same.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > Again, bash is one of exceptions of GPL, like other GPL licensed
> > > > > > compiler/interpreter.
> > > > > >
> > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > >
> > > > > > I'm not sure we can apply the same exception for 'using' KnitR.
> > > > > >
> > > > > > My point is not 'KnitR' is optional or not. Point is
> > 'KnitRInterpreter'
> > > > > you
> > > > > > wrote is not an optional feature. Which is clearly not optionally
> > enabled
> > > > > > code and feature. And that depends on KnitR library which is GPL.
> > > > > >
> > > > > >
> > > > > >
> > > > > > > I was guessing SparkR can be still in Apache License even if it
> > is
> > > > > > depends
> > > > > > > on R. Because of GPL licensed compiler generated output is not
> > GPL
> > > > > > license.
> > > > > > > and R is sort of compiler. If you can get answer from Spark
> > community
> > > > > how
> > > > > > > SparkR get managed to stay in Apache License while R is GPL, the
> > answer
> > > > > > > might help.
> > > > > > > The description of SparkR is not accurate in any respect. (Do
> > you think
> > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > >
> > > > > > > I don’t see that any genuine issue is being raised here.
> > > > > > >
> > > > > > > If there is an issue, the burden is on you to identify it.
> > > > > > >
> > > > > > > If i give you one suggestion, Zeppelin committers sometimes ask
> > rebase
> > > > > > the
> > > > > > > contribution branch for some reason. It is not the really the
> > best
> > > > > > > practice, but still okay while most contributions are not
> > including
> > > > > large
> > > > > > > code base changes
> > > > > > > However, your one, has more than 4000 lines of code change. If
> > you
> > > > > rebase
> > > > > > > then review should be started from the beginning, again. So you
> > might
> > > > > > want
> > > > > > > to minimize the rebase your branch.
> > > > > > >
> > > > > > > Are you actually complaining that the problem is that I rebased
> > the
> > > > > code
> > > > > > > during the three-month period when no-one looked at it and
> > Zeppelin
> > > > > went
> > > > > > > through a release?
> > > > > > >
> > > > > > > I cannot take it seriously when you say things like this.
> > > > > > >
> > > > > > > Having to “start from the beginning” cannot be a problem if you
> > never
> > > > > > > actually started the first time...
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > You wanted coordination and cooperation. So i gave you suggestion
> > that
> > > > > > helping review process. For example, your code has been rebased
> > since my
> > > > > > comment and jongyoul's comment. that means committers will need to
> > look
> > > > > > from the beginning. That'll require more time. And maybe, i guess
> > that's
> > > > > > not what you want. But If you don't care, feel free to rebase.
> > > > > >
> > > > > > Thanks,
> > > > > > moon
> > > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin
> > > > > pull
> > > > > > > request: R Interpreter for Zeppelin
> > > > > > >
> > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > > > wrote:
> > > > > > > Thank you, Cos.
> > > > > > >
> > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > >
> > > > > > > 1. This PR does not passes CI
> > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > >
> > > > > > > I’ve been seeking assistance on this since August.
> > > > > > >
> > > > > > > The most common reason is that SparkInterpreter is unable to
> > launch
> > > > > Spark
> > > > > > > and open a Spark Backend. This is necessary to test the PR.
> > > > > > >
> > > > > > > 60+ hours, has been spent adapting and re-basing when the
> > > > > > SparkInterpreter
> > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > >
> > > > > > >
> > > > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > > > > Zeppelin
> > > > > > > core, why do you think other PRs are passing CI?
> > > > > > >
> > > > > > > And let's say Zeppelin core has problem and that makes your PR
> > fails on
> > > > > > CI
> > > > > > > test. That's possible. But it still does not mean we can merge
> > it with
> > > > > CI
> > > > > > > failing.
> > > > > > >
> > > > > > > If you think it's problem on Zeppelin core, then file an issue
> > that
> > > > > > > reproduce the problem on Zeppelin core, that might be more
> > efficient
> > > > > than
> > > > > > > keep trying yourself.
> > > > > > >
> > > > > > >
> > > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > > What license problem *specifically* do you believe may exist?
> > > > > > >
> > > > > > > In preparing the PR, I:
> > > > > > >
> > > > > > > * Reviewed the Apache policy in detail.
> > > > > > >
> > > > > > > * Contacted the FSF to ask their interpretation of the “linking”
> > > > > > > provisions of the GPL license.
> > > > > > >
> > > > > > > * Reviewed how other Apache software deals with this issue
> > (e.g., Spark
> > > > > > > talks to R, which is GPL'd).
> > > > > > >
> > > > > > > * No necessary *dependencies* of the PR have license conflicts.
> > In
> > > > > > > several cases, I contacted package authors who agreed to
> > re-issue their
> > > > > > > packages under Apache-compatible licenses. (Usually I had to do
> > a bit
> > > > > of
> > > > > > > coding in exchange…)
> > > > > > >
> > > > > > > * Where the license had to stay GPL, the packages are *not
> > necessary*
> > > > > and
> > > > > > > *not dependencies.* If the optional packages are present, they
> > will be
> > > > > > > used to enable additional functionality. Knitr is an example.
> > The PR
> > > > > will
> > > > > > > compile and run fine without knitr. If knitr is available (it is
> > part
> > > > > of
> > > > > > > the most common R distribution), the PR will enable the knitr
> > > > > > interpreter.
> > > > > > >
> > > > > > > * This is exactly how this issue is addressed through the Apache
> > > > > > > ecosystem.
> > > > > > > The tl;dr is this: When Apache code is written to talk to
> > libraries
> > > > > that
> > > > > > > may or may not be present on the user’s system, or where it
> > talks to an
> > > > > > API
> > > > > > > but is agnostic about implementation, that is not “linking” in a
> > way
> > > > > that
> > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > >
> > > > > > > Otherwise, no Apache code could ever call a shell script! Let
> > alone run
> > > > > > > on Linux, or talk to R.
> > > > > > >
> > > > > > >
> > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > >
> > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > feature while
> > > > > > it
> > > > > > > is always enabled when compiling Zeppelin and always enabled when
> > > > > running
> > > > > > > Zeppelin. And it requires dynamically linked GPL library on
> > runtime.
> > > > > (yes
> > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > >
> > > > > > > And of course, no Apache code can ever call a shell script, on
> > the
> > > > > > purpose
> > > > > > > of dynamic linking with GPL library.
> > > > > > >
> > > > > > > I was guessing SparkR can be still in Apache License even if it
> > is
> > > > > > depends
> > > > > > > on R. Because of GPL licensed compiler generated output is not
> > GPL
> > > > > > license.
> > > > > > > and R is sort of compiler.
> > > > > > >
> > > > > > > If you can get answer from Spark community how SparkR get
> > managed to
> > > > > stay
> > > > > > > in Apache License while R is GPL, the answer might help.
> > > > > > >
> > > > > > >
> > > > > > > 3. Need more time to review.
> > > > > > > Has any reviewer has downloaded the PR or run the demo notebook?
> > (Which
> > > > > > > is there for the benefit of reviewers, and isn’t intended to go
> > in
> > > > > final
> > > > > > > distribution.)
> > > > > > >
> > > > > > > How many +1 comments from users would you like to see?
> > > > > > >
> > > > > > > How much time do you believe is required?
> > > > > > >
> > > > > > >
> > > > > > > It all depends on when CI is going to pass, when license problem
> > is
> > > > > going
> > > > > > > to be cleared, and when a committer willing to review and
> > responsible
> > > > > to
> > > > > > > commit your contribution.
> > > > > > >
> > > > > > >
> > > > > > > 1. Large code base change
> > > > > > > Large code base changes require coordination and cooperation.
> > This PR
> > > > > > > necessarily implicates the build scripts, testing code, the
> > > > > > > SparkInterpreter, etc.
> > > > > > >
> > > > > > > I have been seeking to coordinate since August.
> > > > > > >
> > > > > > > I continue to stand ready to do so.
> > > > > > >
> > > > > > > -Amos
> > > > > > >
> > > > > > >
> > > > > > > If i give you one suggestion, Zeppelin committers sometimes ask
> > rebase
> > > > > > the
> > > > > > > contribution branch for some reason. It is not the really the
> > best
> > > > > > > practice, but still okay while most contributions are not
> > including
> > > > > large
> > > > > > > code base changes.
> > > > > > >
> > > > > > > However, your one, has more than 4000 lines of code change. If
> > you
> > > > > rebase
> > > > > > > then review should be started from the beginning, again. So you
> > might
> > > > > > want
> > > > > > > to minimize the rebase your branch.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org
> > > > > > >
> > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin
> > > > > pull
> > > > > > > request: R Interpreter for Zeppelin
> > > > > > >
> > > > > > > Hi Cos,
> > > > > > >
> > > > > > > Thanks for opening a discussion.
> > > > > > > My answer about 'Why this PR is open for three months' is
> > > > > > >
> > > > > > > 1. This PR does not passes CI
> > > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > > 3. Need more time to review.
> > > > > > >
> > > > > > > It's my personal answer, other committers may have different
> > opinion.
> > > > > > >
> > > > > > >
> > > > > > > I think the question should be generalized. Because this PR is
> > not the
> > > > > > only
> > > > > > > PR that is in impasse. There're more. For example
> > > > > > >
> > > > > > > Here's some examples that PR is not been merged.
> > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > and so on.
> > > > > > >
> > > > > > > I can categorize the cases, based on experience of involving
> > Zeppelin
> > > > > > > community from the beginning.
> > > > > > >
> > > > > > > 1. Large code base change
> > > > > > >
> > > > > > > When contribution has large code base changes, it tend to take
> > more
> > > > > time
> > > > > > to
> > > > > > > review and merged. Normally, most contributions merged in 1day~1
> > week.
> > > > > > > But some contribution has large code base changes take 2~4
> > weeks. Few
> > > > > > > contribution that has very large code base change take months.
> > > > > > >
> > > > > > > 2. Communication lost
> > > > > > >
> > > > > > > Sometimes, committer is not responding, or contributor is not
> > > > > responding.
> > > > > > >
> > > > > > > 3. Opinion diverges
> > > > > > >
> > > > > > > For some changes, included in contribution. When people have
> > different
> > > > > > > opinion and it continue to diverges, those PRs are not been
> > merged.
> > > > > > >
> > > > > > >
> > > > > > > I think having a guide such as ping other committer when a
> > committer is
> > > > > > not
> > > > > > > responding, and divide contribution into small peaces if
> > possible,
> > > > > would
> > > > > > > help most of the cases.
> > > > > > > Of course committer have to pay attention more to the
> > contribution and
> > > > > > > helping people. That's the first one.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > cos@apache.org>
> > > > > > wrote:
> > > > > > >
> > > > > > > > To make sure we're on the same page, here are two threads that
> > I
> > > > > found
> > > > > > > > related
> > > > > > > > to this topic.
> > > > > > > >
> > > > > > > > Thread 1:
> > > > > > > > Subject: R?
> > > > > > > > Started on: July 1, 2015
> > > > > > > >
> > > > > > > > Thread 2:
> > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > Interpreter for
> > > > > > > > Zeppelin
> > > > > > > > Started on: August 13, 2015
> > > > > > > >
> > > > > > > > If you want to fetch these from our archive send emails to
> > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > >
> > > > > > > > Cos
> > > > > > > >
> > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > > > > > > Guys,
> > > > > > > > >
> > > > > > > > > While catching up on my emails from the last a couple of
> > weeks,
> > > > > this
> > > > > > > > thread
> > > > > > > > > caught my attention. I am not normally paying much attention
> > to the
> > > > > > > code
> > > > > > > > > reviews traffic from GH, but this one is pretty different as
> > it
> > > > > spans
> > > > > > > > three
> > > > > > > > > months and counting.
> > > > > > > > >
> > > > > > > > > First, here are my five cents:
> > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > > > > > > > contributed to
> > > > > > > > > an ASF project this file should simply contain ASL2 text,
> > like in
> > > > > [1]
> > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> > > > > > section,
> > > > > > > > but
> > > > > > > > > Zeppelin might have different guidelines on it. Say, Bigtop
> > doesn't
> > > > > > > > > maintain this in the source code, but we have the list of
> > all the
> > > > > > > > > committers on the project's site [2] Every new committer's
> > first
> > > > > > > > commit is
> > > > > > > > > to update the team page ;)
> > > > > > > > > - comments like in
> > > > > > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > >
> > > > > > > > > +/**
> > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > + */
> > > > > > > > >
> > > > > > > > > is better to be removed. It has been already discussed here
> > [3].
> > > > > And
> > > > > > > > the
> > > > > > > > > initial discussion on the topic [4] was linked as well
> > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if
> > this is
> > > > > > > > R-specific
> > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > >
> > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > ...
> > > > > > > > > +Author: David B. Dahl
> > > > > > > > >
> > > > > > > > > shouldn't be here, IMO. Normally, if some additional
> > licenses are
> > > > > > > > used,
> > > > > > > > > they have to be listed in the top-level NOTICE file (already
> > > > > there).
> > > > > > > > >
> > > > > > > > > - I am not going to offer any comments on the technical
> > merits of
> > > > > the
> > > > > > > > patch,
> > > > > > > > > as I haven't tried it personally. However, I don't see any
> > serious
> > > > > > > > > technical objections to the functionality in question.
> > > > > > > > >
> > > > > > > > > So, the question is - why the PR is open for three months? I
> > hasn't
> > > > > > > been
> > > > > > > > able
> > > > > > > > > to get a clear answer. What I found out though is pretty
> > > > > unsettling,
> > > > > > > > really.
> > > > > > > > > The communication on the topic is almost non-existent,
> > except for
> > > > > > this
> > > > > > > > sparse
> > > > > > > > > and bitter thread in the GH.
> > > > > > > > >
> > > > > > > > > I would love to hear from the committers what's stopping the
> > > > > > acceptance
> > > > > > > > of the
> > > > > > > > > code, besides of the minor issues I've mentioned earlier?
> > What are
> > > > > > the
> > > > > > > > reasons for it?
> > > > > > > > > Is there anything wrong with it?
> > > > > > > > > One of the responsibilities of the committers is to make
> > sure the
> > > > > > > > > contributions are reviewed; new contributors are guided and
> > do
> > > > > > > > understand how
> > > > > > > > > the project ticks. The easy feedback flow attracts new
> > people,
> > > > > > allowing
> > > > > > > > the
> > > > > > > > > community to grow and thrive.
> > > > > > > > >
> > > > > > > > > I am asking _explicitely_ not to re-start the bickering I
> > have
> > > > > > already
> > > > > > > > > seen. At this point I am interested in the purely technical
> > side of
> > > > > > > this.
> > > > > > > > >
> > > > > > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > [3]
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > >
> > > > > > > > > With regards,
> > > > > > > > > Cos
> > > > > > > > >
> > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > Github user elbamos commented on the pull request:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > >
> > > > > > > > > > The current push should resolve some issues with changes
> > in the
> > > > > > > > > > Spark-Zeppelin interface that had created issues for
> > users, as
> > > > > > > > well as
> > > > > > > > > > support for 1.5.1.
> > > > > > > > > >
> > > > > > > > > > Knitr support is improved, and the reason for a separate
> > knitr
> > > > > > > > interpreter may be clearer now.
> > > > > > > > > >
> > > > > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > > > > >
> > > > > > > > > > I did not address issues with @author tags, or files under
> > the R/
> > > > > > > > > > folder. The reason is, to be blunt, I don't understand
> > what the
> > > > > > > > precise
> > > > > > > > > > concerns actually are.
> > > > > > > > > >
> > > > > > > > > > Please note that I changed .travis.yml to only use spark
> > 1.4 and
> > > > > > > > later.
> > > > > > > > > > I'm sure there is a better way to do it, but I'm just not
> > in a
> > > > > > > > position
> > > > > > > > > > to try to figure out the entire Zeppelin build process.
> > > > > > > > > >
> > > > > > > > > > Integrating this with the rest of zeppelin is going to
> > take some
> > > > > > > > work
> > > > > > > > > > regarding pom's, travis, and so forth. I can do a lot of
> > that,
> > > > > > > > but I'm
> > > > > > > > > > going to need to discuss it with the people who have been
> > > > > "owning"
> > > > > > > > those
> > > > > > > > > > files. There are just too many moving pieces here.
> > > > > > > > > >
> > > > > > > > > > Because of the size of this (which is, unfortunately,
> > necessary),
> > > > > > > > > > posting here is probably not the most efficient way. That
> > is also
> > > > > > > > true
> > > > > > > > > > because certain people chose to use this PR as a forum to
> > air
> > > > > other
> > > > > > > > > > issues. Therefore, it would be better if reviewers e-mail
> > me
> > > > > > > > directly.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> >
Re: License of KnitRInterpreter Was: Re: contributions impasse.
Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Moon -
In this e-mail you seem to be saying that you believe the problem is *linking* against knitr.
Before I address your e-mail I want to be very clear that “linking” is not the same issue as whether something is a mandatory dependency.
These are separate things that seem to be getting conflated.
Building Zeppelin with the instruction as documented will build
KnitRInterpreter and enable KnitRInterpreter on runtime.
So KnitRInterpreter is not an optional feature.
“Mandatory” != “Default.”
class “Default” extends “Optional” …
The KnitRIntepreter is only compiled if R is installed. It is only enabled at runtime if knitr is installed. It is only used at runtime if the user types “knitr.”
But, if this is your concern, it is very easy to resolve: Don’t include KnitRInterpreter in the default configuration xml.
It seems obvious to me that if your concern could be resolved by changing the default config, then its not a licensing issue.
So KnitRInterpreter now have features that dynamic report generation
oriented from knitr. That's clear design goal in my understanding.
knitr is an interface to R that is an alternative to a REPL. This is the same way that Zeppelin is an interface to Spark that is an alternative to the bundled spark cli client. knitr is also written in R.
3. knitr is licensed under GPL
knitr is licensed under GPL. R is licensed under GPL. R’s standard libraries are licensed under GPL.
We have all agreed that we want Zeppelin to integrate with R, like SparkR does, right?
Binding knitr library through R language interpreter requires Zeppelin
to be GPL ...
"However, when the interpreter is extended to provide “bindings” to other
facilities (often, but not necessarily, libraries), the interpreted program
is effectively linked to the facilities it uses through these bindings. S...
In our case, 'interpreter' is R, 'facilities' is knitr.
Please correct me if i'm wrong.
The key words here are “binding” and “link.” The example given by the GPL is Java that makes calls to a system library through the JNI. Because that is a *link* to the JVM.
There is no “binding” or “link” between *knitr* and *R* . Knitr itself is just interpreted code, what the GPL FAQ calls “just data.”
knitr is not a library. (Sometimes the language gets confused, and I am surely as guilty of that as anyone.) It’s a package. http://www.r-bloggers.com/packages-v-libraries-in-r/
If the user has on their system a package they wrote themselves, and for whatever reason they decided to call it “knitr,” the PR will call that code.
There is no “binding” or “link” between the PR and R either.
If the user gets R from a source other than the R foundation (there are, in fact, non-GPL’d, commercial versions of R), the PR will use that instead of R-foundation-GLP'd-R.
R scripts don’t bind, and they don’t link. (Well, they will if you want them to, but none of the ones involved here do.) This is a difference between R and, say, python or perl or Java. This is a feature of R.
Here is a short R script:
system(command = “Word.exe”)
system(command = “gpg”)
If you exported this email from your mail client as text and told R to source the file (and you’re on windows), it would launch Word. If you’re on Linux, it will launch Gnu privacy guard.
Does this e-mail link against MS Office? The e-mail is going to be maintained on an ASF server. Does the entire ASF now have to convert to GPL 3?
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 2, 2015 at 10:03:35 PM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Let me make my concern clear.
1. KnitRInterpreter is enabled by default
Building Zeppelin with the instruction as documented will build
KnitRInterpreter and enable KnitRInterpreter on runtime.
So KnitRInterpreter is not an optional feature.
2. KnitRInterpreter is designed to interact with knitr library.
Purpose of KnitRInterpreter is to call a knitr library.
You'll able to see [1] KnitRInterpreter.java:open(), [2]
KnitRInterpreter.java:interpret() to see how KnitRInterpreter works.
knitr library is called from JVM (Zeppelin) using R language interpreter.
So KnitRInterpreter now have features that dynamic report generation
oriented from knitr. That's clear design goal in my understanding.
3. knitr is licensed under GPL
https://github.com/yihui/knitr
4. Binding knitr library through R language interpreter requires Zeppelin
to be GPL
According to http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL,
"However, when the interpreter is extended to provide “bindings” to other
facilities (often, but not necessarily, libraries), the interpreted program
is effectively linked to the facilities it uses through these bindings. So
if these facilities are released under the GPL, the interpreted program
that uses them must be released in a GPL-compatible way"
In our case, 'interpreter' is R, 'facilities' is knitr.
Please correct me if i'm wrong.
[1]
https://github.com/apache/incubator-zeppelin/pull/208/files#diff-1bb44f3ddb1a6e92144352d8b54084c2R33
[2]
https://github.com/apache/incubator-zeppelin/pull/208/files#diff-1bb44f3ddb1a6e92144352d8b54084c2R54
Thanks,
moon
On Thu, Dec 3, 2015 at 11:03 AM Corneau Damien <co...@gmail.com> wrote:
> Thanks Cos for those answers,
>
> If I'm right you are advising to have a default build that doesn't include
> libraries with conflicting licenses, but have an option to include them for
> users who wants to build the project themselves.
>
> To refer to another thread about decentralizing interpreters, it could even
> be better in that case to have some interpreters separated from the tree,
> and easily pluggable with a release instead of forcing users to build the
> project to use them.
>
>
> On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <co...@apache.org> wrote:
>
> > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > Konstantin thank you for getting into this.
> > >
> > >> The best way to go around it is by
> > >> providing a build-time option that will pull such binaries in. But by
> > default
> > >> such libs shouldn't be pulled.
> > >
> > > That is basically how the PR handles this. If the GPL’d interpreter
> > scripts
> > > are missing, there’s no indication at all at build time. It doesn’t
> try
> > to
> > > download them.
> > >
> > > At runtime, if the user tries to use functionality that would need
> such a
> > > script (i.e., if they type “knitr” to use knitr), we display an error
> > that
> > > says that the functionality is not there because the library is
> missing,
> > and
> > > that the library cannot be provided because it has an incompatible
> > license,
> > > but the user can download it themselves if they want.
> > >
> > > And, in the log, if the logging level is high, they will see a note
> that
> > > some functionality was disabled because the libraries weren’t there.
> > >
> > > To be clear, though, none of these libraries are binaries. They’re all
> > interpreter scripts.
> >
> > If you ever in a doubt of which licenses could be used for dependncies
> > (not to
> > say about source code) are listed in Category A list of [1]
> >
> > A lot of quesitons discussed here are already covered in the legal FAQ,
> so
> > just check against it if you have any questions.
> >
> > [1] http://www.apache.org/legal/resolved.html#category-a
> >
> > Cos
> >
> > > From: Konstantin Boudnik <co...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>, dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > Date: December 2, 2015 at 3:24:50 PM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > >
> > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > I think that what moon means is that:
> > > > If we merge the way it is now, the KnitRInterpreter will be part of
> the
> > > > code base, so it isn't optional at code base level.
> > > >
> > > > To make it even more simple:
> > > > * If the code has the right licensing -> that code can be part of the
> > > > source code, and can be including in a binary release
> > >
> > > We aren't concerned with binary releases - as an Apache community we
> are
> > > voting and releasing source code. If the project wants to provide a
> > binary
> > > release to its users, they are better be warned about inclusion of non
> > > ASL2-friendly licensed bits.
> > >
> > > > * If the code doesn't have the right licensing -> it can't be part of
> > the
> > > > source code, and can't be included in a binary release
> > >
> > > See above.
> > >
> > > > * If the code doesn't have the right licensing but is imported at
> build
> > > > time (libraries for example) -> it is not in the source code, it
> can't
> > be
> > > > included in binary release
> > >
> > > That is unless a user doing it on his own. The best way to go around it
> > is by
> > > providing a build-time option that will pull such binaries in. But by
> > default
> > > such libs shouldn't be pulled.
> > >
> > > Cos
> > >
> > > > So in the case of licensing issues, it would need to be fully
> optional
> > > > (user bring the interpreter in his directory and build Zeppelin with
> > it)
> > > >
> > > >
> > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> amos.elberg@gmail.com>
> > > > wrote:
> > > >
> > > > > Moon let me clarify:
> > > > >
> > > > > Interpreted code doesn’t “link.” The wiki article actually explains
> > it
> > > > > pretty well — https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > “Linking” against a library means compiling its headers into a
> > binary, the
> > > > > way a C compiler works. The 2008 e-mail Moon distributed, called
> > this the
> > > > > “interpreter exception.”
> > > > >
> > > > > As for whether GPL’d code is a “mandatory dependency,” if knitr is
> > missing
> > > > > the PR will compile, run and test just fine. The user is never
> > prompted to
> > > > > download it. The only effect is, if the user types “knitr” and
> knitr
> > isn’t
> > > > > there, we display an InterpreterError that knitr isn’t there.
> > > > >
> > > > > KnitRInterpreter is not optionally required. so it does not matter
> > KnitR
> > > > > is
> > > > > optionally required or not.
> > > > > Aren’t all interpreters optional? You can turn them on and off in
> the
> > > > > config files.
> > > > >
> > > > > Do you mean that the KnitRInterpreter class gets compiled to
> > bytecode even
> > > > > if knitr is missing? So what? That isn't a mandatory dependency or
> a
> > link.
> > > > >
> > > > > From: moon soo Lee <mo...@apache.org>
> > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org>
> > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > impasse.
> > > > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > > > >
> > > > > Let me summarize license concern about KnitRInterpreter.
> > > > >
> > > > >
> > > > > Amos's interpretation.
> > > > >
> > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > R dependency in SparkR has no problem. So KnitR should be the same.
> > > > >
> > > > >
> > > > > Moon's interpretation.
> > > > >
> > > > > KnitRInterpreter is not optionally required. so it does not matter
> > KnitR is
> > > > > optionally required or not.
> > > > > R dependency in SparkR is exception of GPL. KnitR is not applied
> that
> > > > > exception.
> > > > >
> > > > >
> > > > > Amos, could you confirm my understanding to your interpretation is
> > correct?
> > > > > If it is not could you clarify it?
> > > > >
> > > > > Thanks,
> > > > > moon
> > > > >
> > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Just to put the final nail in this, I looked it up.
> > > > > >
> > > > > > I see no evidence of any “compiler exception.”
> > > > > >
> > > > > > There is an exception in the license for the runtime libraries
> > that are
> > > > > > bundled with GCC. See:
> > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > >
> > > > > > But no “compiler exception.”
> > > > > >
> > > > > > In fact, I believe this is part of the reason why LLVM was
> created.
> > > > > >
> > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin pull
> > > > > > request: R Interpreter for Zeppelin
> > > > > >
> > > > > > Is knitR is commonly considered as a interpreter/compiler? or is
> it
> > > > > > considered as a library routine?
> > > > > >
> > > > > > Thanks,
> > > > > > moon
> > > > > >
> > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > > wrote:
> > > > > > Moon - you give this as an explanation of the licensing issue:
> > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > >
> > > > > > According to that, there is an exception in the GPL for
> interpreter
> > > > > > languages. As long as you don’t distribute the code, its fine to
> > talk to
> > > > > > an interpreted language.
> > > > > >
> > > > > > Well, if that’s the case, then the PR plainly does not have a
> > license
> > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > >
> > > > > > I’m not sure what’s confusing about this. It seems completely
> > > > > > straightforward.
> > > > > >
> > > > > > Regarding this:
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Amos Elberg
> > > > > > Sent with Airmail
> > > > > >
> > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > >
> > > > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > > > >
> > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin pull
> > > > > > request: R Interpreter for Zeppelin
> > > > > >
> > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > I am going to try to minimize my reaction to Moon’s e-mail.
> > > > > > >
> > > > > > > The tl;dr is this:
> > > > > > >
> > > > > > > The reason we are having this discussion now is that active
> > users of
> > > > > the
> > > > > > > PR — which now has its own user base — went public to complain
> > about
> > > > > > this.
> > > > > >
> > > > > >
> > > > > > > The PR has been tested by an active user base for more than
> three
> > > > > months.
> > > > > > > No-one has been able to identify any specific actual licensing
> > problem,
> > > > > > and
> > > > > > > the PR was prepared based on an extensive, careful review of
> the
> > > > > relevant
> > > > > > > licensing issues and after contacting the relevant people.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > I admire every software that used by user and helping people.
> That
> > > > > includes
> > > > > > your work. But that's not the topic we're in discussion. Active
> > user does
> > > > > > not mean your contribution can ignore the review.
> > > > > >
> > > > > >
> > > > > >
> > > > > > > It is not an explanation for someone who has been ignoring my
> > “how can
> > > > > I
> > > > > > > move this forward…” emails for three months to point the finger
> > and
> > > > > say I
> > > > > > > didn’t contact the right person or file the right report.
> > > > > > >
> > > > > > >
> > > > > > This is also not the topic in this discussion.
> > > > > >
> > > > > >
> > > > > > > The burden for providing an explanation for the inaction is on
> > the PMCC
> > > > > > at
> > > > > > > this point.
> > > > > >
> > > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > Zeppelin
> > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > They’re not! I often see comments on PRs to just ignore that CI
> > is
> > > > > > > failing.
> > > > > > >
> > > > > > > One of the most common reasons this PR fails CI, is CI
> times-out
> > > > > > > downloading Spark to install. How could that possibly be caused
> > by the
> > > > > > PR?
> > > > > > >
> > > > > > > It looks to me like the only PRs with changes to the relevant
> > parts of
> > > > > > the
> > > > > > > code — the SparkInterpreter — are being made by the person who
> > wrote
> > > > > the
> > > > > > > testing suite.
> > > > > > >
> > > > > > > So, that would explain why some other PRs pass CI: Neither the
> > > > > > > SparkInterpreter nor the testing suite are stable or robust,
> but
> > since
> > > > > > the
> > > > > > > PRs are coming from the person who wrote both…
> > > > > > >
> > > > > > > And let's say Zeppelin core has problem and that makes your PR
> > fails on
> > > > > > CI
> > > > > > > test. That's possible. But it still does not mean we can merge
> > it with
> > > > > CI
> > > > > > > failing.
> > > > > > >
> > > > > > > It means you should be working with me to figure out why the CI
> > is
> > > > > > failing.
> > > > > > >
> > > > > > > This PR has been tested by an active user base for the past
> three
> > > > > months.
> > > > > > > If CI is continuing to fail, and dozens of hours of effort have
> > not
> > > > > > > resolved the CI issues, then it is time to start considering
> > whether
> > > > > the
> > > > > > > testing suite is part of the problem.
> > > > > > >
> > > > > > > The level of defensiveness about the CI and SparkInterpreter is
> > not
> > > > > > > helping to resolve these issues.
> > > > > > >
> > > > > > > If you think it's problem on Zeppelin core, then file an issue
> > that
> > > > > > > reproduce the problem on Zeppelin core, that might be more
> > efficient
> > > > > than
> > > > > > > keep trying yourself.
> > > > > > > I contacted you numerous times about such issues...
> > > > > > >
> > > > > >
> > > > > >
> > > > > > I remember i commented your issue about CI. but you just keep
> > repeated
> > > > > it's
> > > > > > not your problem but Zeppelin core problem.
> > > > > >
> > > > > > Then please file an issue about the problem you found in Zeppelin
> > Core.
> > > > > > Then everyone will get into the problem.
> > > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > feature while
> > > > > > it
> > > > > > > is always enabled when compiling Zeppelin and always enabled
> when
> > > > > running
> > > > > > > Zeppelin. And it requires dynamically linked GPL library on
> > runtime.
> > > > > (yes
> > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > >
> > > > > > > Its not always enabled.
> > > > > > > It is not dynamically linked at runtime.
> > > > > > > It will not fail when knitr is missing. If knitr is not
> present,
> > the
> > > > > repl
> > > > > > > interpreter starts and a note is written to to the log that the
> > knitr
> > > > > > > interpreter isn’t available because knitr is not present.
> > > > > > >
> > > > > > > no Apache code can ever call a shell script, on the purpose of
> > dynamic
> > > > > > > linking with GPL library.
> > > > > > > You misunderstand.
> > > > > > >
> > > > > > > The *shell* is GPL'd.
> > > > > > >
> > > > > > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin
> > depends
> > > > > on
> > > > > > a
> > > > > > > shell script to launch?
> > > > > > >
> > > > > > Obviously not.
> > > > > > >
> > > > > > > The interaction with R in the PR is the same.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > Again, bash is one of exceptions of GPL, like other GPL licensed
> > > > > > compiler/interpreter.
> > > > > >
> > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > >
> > > > > > I'm not sure we can apply the same exception for 'using' KnitR.
> > > > > >
> > > > > > My point is not 'KnitR' is optional or not. Point is
> > 'KnitRInterpreter'
> > > > > you
> > > > > > wrote is not an optional feature. Which is clearly not optionally
> > enabled
> > > > > > code and feature. And that depends on KnitR library which is GPL.
> > > > > >
> > > > > >
> > > > > >
> > > > > > > I was guessing SparkR can be still in Apache License even if it
> > is
> > > > > > depends
> > > > > > > on R. Because of GPL licensed compiler generated output is not
> > GPL
> > > > > > license.
> > > > > > > and R is sort of compiler. If you can get answer from Spark
> > community
> > > > > how
> > > > > > > SparkR get managed to stay in Apache License while R is GPL,
> the
> > answer
> > > > > > > might help.
> > > > > > > The description of SparkR is not accurate in any respect. (Do
> > you think
> > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > >
> > > > > > > I don’t see that any genuine issue is being raised here.
> > > > > > >
> > > > > > > If there is an issue, the burden is on you to identify it.
> > > > > > >
> > > > > > > If i give you one suggestion, Zeppelin committers sometimes ask
> > rebase
> > > > > > the
> > > > > > > contribution branch for some reason. It is not the really the
> > best
> > > > > > > practice, but still okay while most contributions are not
> > including
> > > > > large
> > > > > > > code base changes
> > > > > > > However, your one, has more than 4000 lines of code change. If
> > you
> > > > > rebase
> > > > > > > then review should be started from the beginning, again. So you
> > might
> > > > > > want
> > > > > > > to minimize the rebase your branch.
> > > > > > >
> > > > > > > Are you actually complaining that the problem is that I rebased
> > the
> > > > > code
> > > > > > > during the three-month period when no-one looked at it and
> > Zeppelin
> > > > > went
> > > > > > > through a release?
> > > > > > >
> > > > > > > I cannot take it seriously when you say things like this.
> > > > > > >
> > > > > > > Having to “start from the beginning” cannot be a problem if you
> > never
> > > > > > > actually started the first time...
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > You wanted coordination and cooperation. So i gave you suggestion
> > that
> > > > > > helping review process. For example, your code has been rebased
> > since my
> > > > > > comment and jongyoul's comment. that means committers will need
> to
> > look
> > > > > > from the beginning. That'll require more time. And maybe, i guess
> > that's
> > > > > > not what you want. But If you don't care, feel free to rebase.
> > > > > >
> > > > > > Thanks,
> > > > > > moon
> > > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin
> > > > > pull
> > > > > > > request: R Interpreter for Zeppelin
> > > > > > >
> > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > > > wrote:
> > > > > > > Thank you, Cos.
> > > > > > >
> > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > >
> > > > > > > 1. This PR does not passes CI
> > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > >
> > > > > > > I’ve been seeking assistance on this since August.
> > > > > > >
> > > > > > > The most common reason is that SparkInterpreter is unable to
> > launch
> > > > > Spark
> > > > > > > and open a Spark Backend. This is necessary to test the PR.
> > > > > > >
> > > > > > > 60+ hours, has been spent adapting and re-basing when the
> > > > > > SparkInterpreter
> > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > >
> > > > > > >
> > > > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > > > > Zeppelin
> > > > > > > core, why do you think other PRs are passing CI?
> > > > > > >
> > > > > > > And let's say Zeppelin core has problem and that makes your PR
> > fails on
> > > > > > CI
> > > > > > > test. That's possible. But it still does not mean we can merge
> > it with
> > > > > CI
> > > > > > > failing.
> > > > > > >
> > > > > > > If you think it's problem on Zeppelin core, then file an issue
> > that
> > > > > > > reproduce the problem on Zeppelin core, that might be more
> > efficient
> > > > > than
> > > > > > > keep trying yourself.
> > > > > > >
> > > > > > >
> > > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > > What license problem *specifically* do you believe may exist?
> > > > > > >
> > > > > > > In preparing the PR, I:
> > > > > > >
> > > > > > > * Reviewed the Apache policy in detail.
> > > > > > >
> > > > > > > * Contacted the FSF to ask their interpretation of the
> “linking”
> > > > > > > provisions of the GPL license.
> > > > > > >
> > > > > > > * Reviewed how other Apache software deals with this issue
> > (e.g., Spark
> > > > > > > talks to R, which is GPL'd).
> > > > > > >
> > > > > > > * No necessary *dependencies* of the PR have license conflicts.
> > In
> > > > > > > several cases, I contacted package authors who agreed to
> > re-issue their
> > > > > > > packages under Apache-compatible licenses. (Usually I had to do
> > a bit
> > > > > of
> > > > > > > coding in exchange…)
> > > > > > >
> > > > > > > * Where the license had to stay GPL, the packages are *not
> > necessary*
> > > > > and
> > > > > > > *not dependencies.* If the optional packages are present, they
> > will be
> > > > > > > used to enable additional functionality. Knitr is an example.
> > The PR
> > > > > will
> > > > > > > compile and run fine without knitr. If knitr is available (it
> is
> > part
> > > > > of
> > > > > > > the most common R distribution), the PR will enable the knitr
> > > > > > interpreter.
> > > > > > >
> > > > > > > * This is exactly how this issue is addressed through the
> Apache
> > > > > > > ecosystem.
> > > > > > > The tl;dr is this: When Apache code is written to talk to
> > libraries
> > > > > that
> > > > > > > may or may not be present on the user’s system, or where it
> > talks to an
> > > > > > API
> > > > > > > but is agnostic about implementation, that is not “linking” in
> a
> > way
> > > > > that
> > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > >
> > > > > > > Otherwise, no Apache code could ever call a shell script! Let
> > alone run
> > > > > > > on Linux, or talk to R.
> > > > > > >
> > > > > > >
> > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > >
> > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > feature while
> > > > > > it
> > > > > > > is always enabled when compiling Zeppelin and always enabled
> when
> > > > > running
> > > > > > > Zeppelin. And it requires dynamically linked GPL library on
> > runtime.
> > > > > (yes
> > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > >
> > > > > > > And of course, no Apache code can ever call a shell script, on
> > the
> > > > > > purpose
> > > > > > > of dynamic linking with GPL library.
> > > > > > >
> > > > > > > I was guessing SparkR can be still in Apache License even if it
> > is
> > > > > > depends
> > > > > > > on R. Because of GPL licensed compiler generated output is not
> > GPL
> > > > > > license.
> > > > > > > and R is sort of compiler.
> > > > > > >
> > > > > > > If you can get answer from Spark community how SparkR get
> > managed to
> > > > > stay
> > > > > > > in Apache License while R is GPL, the answer might help.
> > > > > > >
> > > > > > >
> > > > > > > 3. Need more time to review.
> > > > > > > Has any reviewer has downloaded the PR or run the demo
> notebook?
> > (Which
> > > > > > > is there for the benefit of reviewers, and isn’t intended to go
> > in
> > > > > final
> > > > > > > distribution.)
> > > > > > >
> > > > > > > How many +1 comments from users would you like to see?
> > > > > > >
> > > > > > > How much time do you believe is required?
> > > > > > >
> > > > > > >
> > > > > > > It all depends on when CI is going to pass, when license
> problem
> > is
> > > > > going
> > > > > > > to be cleared, and when a committer willing to review and
> > responsible
> > > > > to
> > > > > > > commit your contribution.
> > > > > > >
> > > > > > >
> > > > > > > 1. Large code base change
> > > > > > > Large code base changes require coordination and cooperation.
> > This PR
> > > > > > > necessarily implicates the build scripts, testing code, the
> > > > > > > SparkInterpreter, etc.
> > > > > > >
> > > > > > > I have been seeking to coordinate since August.
> > > > > > >
> > > > > > > I continue to stand ready to do so.
> > > > > > >
> > > > > > > -Amos
> > > > > > >
> > > > > > >
> > > > > > > If i give you one suggestion, Zeppelin committers sometimes ask
> > rebase
> > > > > > the
> > > > > > > contribution branch for some reason. It is not the really the
> > best
> > > > > > > practice, but still okay while most contributions are not
> > including
> > > > > large
> > > > > > > code base changes.
> > > > > > >
> > > > > > > However, your one, has more than 4000 lines of code change. If
> > you
> > > > > rebase
> > > > > > > then review should be started from the beginning, again. So you
> > might
> > > > > > want
> > > > > > > to minimize the rebase your branch.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org
> > > > > > >
> > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin
> > > > > pull
> > > > > > > request: R Interpreter for Zeppelin
> > > > > > >
> > > > > > > Hi Cos,
> > > > > > >
> > > > > > > Thanks for opening a discussion.
> > > > > > > My answer about 'Why this PR is open for three months' is
> > > > > > >
> > > > > > > 1. This PR does not passes CI
> > > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > > 3. Need more time to review.
> > > > > > >
> > > > > > > It's my personal answer, other committers may have different
> > opinion.
> > > > > > >
> > > > > > >
> > > > > > > I think the question should be generalized. Because this PR is
> > not the
> > > > > > only
> > > > > > > PR that is in impasse. There're more. For example
> > > > > > >
> > > > > > > Here's some examples that PR is not been merged.
> > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > and so on.
> > > > > > >
> > > > > > > I can categorize the cases, based on experience of involving
> > Zeppelin
> > > > > > > community from the beginning.
> > > > > > >
> > > > > > > 1. Large code base change
> > > > > > >
> > > > > > > When contribution has large code base changes, it tend to take
> > more
> > > > > time
> > > > > > to
> > > > > > > review and merged. Normally, most contributions merged in
> 1day~1
> > week.
> > > > > > > But some contribution has large code base changes take 2~4
> > weeks. Few
> > > > > > > contribution that has very large code base change take months.
> > > > > > >
> > > > > > > 2. Communication lost
> > > > > > >
> > > > > > > Sometimes, committer is not responding, or contributor is not
> > > > > responding.
> > > > > > >
> > > > > > > 3. Opinion diverges
> > > > > > >
> > > > > > > For some changes, included in contribution. When people have
> > different
> > > > > > > opinion and it continue to diverges, those PRs are not been
> > merged.
> > > > > > >
> > > > > > >
> > > > > > > I think having a guide such as ping other committer when a
> > committer is
> > > > > > not
> > > > > > > responding, and divide contribution into small peaces if
> > possible,
> > > > > would
> > > > > > > help most of the cases.
> > > > > > > Of course committer have to pay attention more to the
> > contribution and
> > > > > > > helping people. That's the first one.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > cos@apache.org>
> > > > > > wrote:
> > > > > > >
> > > > > > > > To make sure we're on the same page, here are two threads
> that
> > I
> > > > > found
> > > > > > > > related
> > > > > > > > to this topic.
> > > > > > > >
> > > > > > > > Thread 1:
> > > > > > > > Subject: R?
> > > > > > > > Started on: July 1, 2015
> > > > > > > >
> > > > > > > > Thread 2:
> > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > Interpreter for
> > > > > > > > Zeppelin
> > > > > > > > Started on: August 13, 2015
> > > > > > > >
> > > > > > > > If you want to fetch these from our archive send emails to
> > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > >
> > > > > > > > Cos
> > > > > > > >
> > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > > > > > > Guys,
> > > > > > > > >
> > > > > > > > > While catching up on my emails from the last a couple of
> > weeks,
> > > > > this
> > > > > > > > thread
> > > > > > > > > caught my attention. I am not normally paying much
> attention
> > to the
> > > > > > > code
> > > > > > > > > reviews traffic from GH, but this one is pretty different
> as
> > it
> > > > > spans
> > > > > > > > three
> > > > > > > > > months and counting.
> > > > > > > > >
> > > > > > > > > First, here are my five cents:
> > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to
> be
> > > > > > > > contributed to
> > > > > > > > > an ASF project this file should simply contain ASL2 text,
> > like in
> > > > > [1]
> > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> <developers>
> > > > > > section,
> > > > > > > > but
> > > > > > > > > Zeppelin might have different guidelines on it. Say, Bigtop
> > doesn't
> > > > > > > > > maintain this in the source code, but we have the list of
> > all the
> > > > > > > > > committers on the project's site [2] Every new committer's
> > first
> > > > > > > > commit is
> > > > > > > > > to update the team page ;)
> > > > > > > > > - comments like in
> > > > > > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > >
> > > > > > > > > +/**
> > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > + */
> > > > > > > > >
> > > > > > > > > is better to be removed. It has been already discussed here
> > [3].
> > > > > And
> > > > > > > > the
> > > > > > > > > initial discussion on the topic [4] was linked as well
> > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if
> > this is
> > > > > > > > R-specific
> > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > >
> > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > ...
> > > > > > > > > +Author: David B. Dahl
> > > > > > > > >
> > > > > > > > > shouldn't be here, IMO. Normally, if some additional
> > licenses are
> > > > > > > > used,
> > > > > > > > > they have to be listed in the top-level NOTICE file
> (already
> > > > > there).
> > > > > > > > >
> > > > > > > > > - I am not going to offer any comments on the technical
> > merits of
> > > > > the
> > > > > > > > patch,
> > > > > > > > > as I haven't tried it personally. However, I don't see any
> > serious
> > > > > > > > > technical objections to the functionality in question.
> > > > > > > > >
> > > > > > > > > So, the question is - why the PR is open for three months?
> I
> > hasn't
> > > > > > > been
> > > > > > > > able
> > > > > > > > > to get a clear answer. What I found out though is pretty
> > > > > unsettling,
> > > > > > > > really.
> > > > > > > > > The communication on the topic is almost non-existent,
> > except for
> > > > > > this
> > > > > > > > sparse
> > > > > > > > > and bitter thread in the GH.
> > > > > > > > >
> > > > > > > > > I would love to hear from the committers what's stopping
> the
> > > > > > acceptance
> > > > > > > > of the
> > > > > > > > > code, besides of the minor issues I've mentioned earlier?
> > What are
> > > > > > the
> > > > > > > > reasons for it?
> > > > > > > > > Is there anything wrong with it?
> > > > > > > > > One of the responsibilities of the committers is to make
> > sure the
> > > > > > > > > contributions are reviewed; new contributors are guided and
> > do
> > > > > > > > understand how
> > > > > > > > > the project ticks. The easy feedback flow attracts new
> > people,
> > > > > > allowing
> > > > > > > > the
> > > > > > > > > community to grow and thrive.
> > > > > > > > >
> > > > > > > > > I am asking _explicitely_ not to re-start the bickering I
> > have
> > > > > > already
> > > > > > > > > seen. At this point I am interested in the purely technical
> > side of
> > > > > > > this.
> > > > > > > > >
> > > > > > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > [3]
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > >
> > > > > > > > > With regards,
> > > > > > > > > Cos
> > > > > > > > >
> > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > Github user elbamos commented on the pull request:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > >
> > > > > > > > > > The current push should resolve some issues with changes
> > in the
> > > > > > > > > > Spark-Zeppelin interface that had created issues for
> > users, as
> > > > > > > > well as
> > > > > > > > > > support for 1.5.1.
> > > > > > > > > >
> > > > > > > > > > Knitr support is improved, and the reason for a separate
> > knitr
> > > > > > > > interpreter may be clearer now.
> > > > > > > > > >
> > > > > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > > > > >
> > > > > > > > > > I did not address issues with @author tags, or files
> under
> > the R/
> > > > > > > > > > folder. The reason is, to be blunt, I don't understand
> > what the
> > > > > > > > precise
> > > > > > > > > > concerns actually are.
> > > > > > > > > >
> > > > > > > > > > Please note that I changed .travis.yml to only use spark
> > 1.4 and
> > > > > > > > later.
> > > > > > > > > > I'm sure there is a better way to do it, but I'm just not
> > in a
> > > > > > > > position
> > > > > > > > > > to try to figure out the entire Zeppelin build process.
> > > > > > > > > >
> > > > > > > > > > Integrating this with the rest of zeppelin is going to
> > take some
> > > > > > > > work
> > > > > > > > > > regarding pom's, travis, and so forth. I can do a lot of
> > that,
> > > > > > > > but I'm
> > > > > > > > > > going to need to discuss it with the people who have been
> > > > > "owning"
> > > > > > > > those
> > > > > > > > > > files. There are just too many moving pieces here.
> > > > > > > > > >
> > > > > > > > > > Because of the size of this (which is, unfortunately,
> > necessary),
> > > > > > > > > > posting here is probably not the most efficient way. That
> > is also
> > > > > > > > true
> > > > > > > > > > because certain people chose to use this PR as a forum to
> > air
> > > > > other
> > > > > > > > > > issues. Therefore, it would be better if reviewers e-mail
> > me
> > > > > > > > directly.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> >
>
Re: License of KnitRInterpreter Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Let me make my concern clear.
1. KnitRInterpreter is enabled by default
Building Zeppelin with the instruction as documented will build
KnitRInterpreter and enable KnitRInterpreter on runtime.
So KnitRInterpreter is not an optional feature.
2. KnitRInterpreter is designed to interact with knitr library.
Purpose of KnitRInterpreter is to call a knitr library.
You'll able to see [1] KnitRInterpreter.java:open(), [2]
KnitRInterpreter.java:interpret() to see how KnitRInterpreter works.
knitr library is called from JVM (Zeppelin) using R language interpreter.
So KnitRInterpreter now have features that dynamic report generation
oriented from knitr. That's clear design goal in my understanding.
3. knitr is licensed under GPL
https://github.com/yihui/knitr
4. Binding knitr library through R language interpreter requires Zeppelin
to be GPL
According to http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL,
"However, when the interpreter is extended to provide “bindings” to other
facilities (often, but not necessarily, libraries), the interpreted program
is effectively linked to the facilities it uses through these bindings. So
if these facilities are released under the GPL, the interpreted program
that uses them must be released in a GPL-compatible way"
In our case, 'interpreter' is R, 'facilities' is knitr.
Please correct me if i'm wrong.
[1]
https://github.com/apache/incubator-zeppelin/pull/208/files#diff-1bb44f3ddb1a6e92144352d8b54084c2R33
[2]
https://github.com/apache/incubator-zeppelin/pull/208/files#diff-1bb44f3ddb1a6e92144352d8b54084c2R54
Thanks,
moon
On Thu, Dec 3, 2015 at 11:03 AM Corneau Damien <co...@gmail.com> wrote:
> Thanks Cos for those answers,
>
> If I'm right you are advising to have a default build that doesn't include
> libraries with conflicting licenses, but have an option to include them for
> users who wants to build the project themselves.
>
> To refer to another thread about decentralizing interpreters, it could even
> be better in that case to have some interpreters separated from the tree,
> and easily pluggable with a release instead of forcing users to build the
> project to use them.
>
>
> On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <co...@apache.org> wrote:
>
> > On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > > Konstantin thank you for getting into this.
> > >
> > >> The best way to go around it is by
> > >> providing a build-time option that will pull such binaries in. But by
> > default
> > >> such libs shouldn't be pulled.
> > >
> > > That is basically how the PR handles this. If the GPL’d interpreter
> > scripts
> > > are missing, there’s no indication at all at build time. It doesn’t
> try
> > to
> > > download them.
> > >
> > > At runtime, if the user tries to use functionality that would need
> such a
> > > script (i.e., if they type “knitr” to use knitr), we display an error
> > that
> > > says that the functionality is not there because the library is
> missing,
> > and
> > > that the library cannot be provided because it has an incompatible
> > license,
> > > but the user can download it themselves if they want.
> > >
> > > And, in the log, if the logging level is high, they will see a note
> that
> > > some functionality was disabled because the libraries weren’t there.
> > >
> > > To be clear, though, none of these libraries are binaries. They’re all
> > interpreter scripts.
> >
> > If you ever in a doubt of which licenses could be used for dependncies
> > (not to
> > say about source code) are listed in Category A list of [1]
> >
> > A lot of quesitons discussed here are already covered in the legal FAQ,
> so
> > just check against it if you have any questions.
> >
> > [1] http://www.apache.org/legal/resolved.html#category-a
> >
> > Cos
> >
> > > From: Konstantin Boudnik <co...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>, dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > Date: December 2, 2015 at 3:24:50 PM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > >
> > > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > > I think that what moon means is that:
> > > > If we merge the way it is now, the KnitRInterpreter will be part of
> the
> > > > code base, so it isn't optional at code base level.
> > > >
> > > > To make it even more simple:
> > > > * If the code has the right licensing -> that code can be part of the
> > > > source code, and can be including in a binary release
> > >
> > > We aren't concerned with binary releases - as an Apache community we
> are
> > > voting and releasing source code. If the project wants to provide a
> > binary
> > > release to its users, they are better be warned about inclusion of non
> > > ASL2-friendly licensed bits.
> > >
> > > > * If the code doesn't have the right licensing -> it can't be part of
> > the
> > > > source code, and can't be included in a binary release
> > >
> > > See above.
> > >
> > > > * If the code doesn't have the right licensing but is imported at
> build
> > > > time (libraries for example) -> it is not in the source code, it
> can't
> > be
> > > > included in binary release
> > >
> > > That is unless a user doing it on his own. The best way to go around it
> > is by
> > > providing a build-time option that will pull such binaries in. But by
> > default
> > > such libs shouldn't be pulled.
> > >
> > > Cos
> > >
> > > > So in the case of licensing issues, it would need to be fully
> optional
> > > > (user bring the interpreter in his directory and build Zeppelin with
> > it)
> > > >
> > > >
> > > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <
> amos.elberg@gmail.com>
> > > > wrote:
> > > >
> > > > > Moon let me clarify:
> > > > >
> > > > > Interpreted code doesn’t “link.” The wiki article actually explains
> > it
> > > > > pretty well — https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > > “Linking” against a library means compiling its headers into a
> > binary, the
> > > > > way a C compiler works. The 2008 e-mail Moon distributed, called
> > this the
> > > > > “interpreter exception.”
> > > > >
> > > > > As for whether GPL’d code is a “mandatory dependency,” if knitr is
> > missing
> > > > > the PR will compile, run and test just fine. The user is never
> > prompted to
> > > > > download it. The only effect is, if the user types “knitr” and
> knitr
> > isn’t
> > > > > there, we display an InterpreterError that knitr isn’t there.
> > > > >
> > > > > KnitRInterpreter is not optionally required. so it does not matter
> > KnitR
> > > > > is
> > > > > optionally required or not.
> > > > > Aren’t all interpreters optional? You can turn them on and off in
> the
> > > > > config files.
> > > > >
> > > > > Do you mean that the KnitRInterpreter class gets compiled to
> > bytecode even
> > > > > if knitr is missing? So what? That isn't a mandatory dependency or
> a
> > link.
> > > > >
> > > > > From: moon soo Lee <mo...@apache.org>
> > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org>
> > > > > Date: December 2, 2015 at 3:18:00 AM
> > > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> > impasse.
> > > > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > > > >
> > > > > Let me summarize license concern about KnitRInterpreter.
> > > > >
> > > > >
> > > > > Amos's interpretation.
> > > > >
> > > > > KnitR is optionally required by KnitRInterpreter.
> > > > > R dependency in SparkR has no problem. So KnitR should be the same.
> > > > >
> > > > >
> > > > > Moon's interpretation.
> > > > >
> > > > > KnitRInterpreter is not optionally required. so it does not matter
> > KnitR is
> > > > > optionally required or not.
> > > > > R dependency in SparkR is exception of GPL. KnitR is not applied
> that
> > > > > exception.
> > > > >
> > > > >
> > > > > Amos, could you confirm my understanding to your interpretation is
> > correct?
> > > > > If it is not could you clarify it?
> > > > >
> > > > > Thanks,
> > > > > moon
> > > > >
> > > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Just to put the final nail in this, I looked it up.
> > > > > >
> > > > > > I see no evidence of any “compiler exception.”
> > > > > >
> > > > > > There is an exception in the license for the runtime libraries
> > that are
> > > > > > bundled with GCC. See:
> > > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > > >
> > > > > > But no “compiler exception.”
> > > > > >
> > > > > > In fact, I believe this is part of the reason why LLVM was
> created.
> > > > > >
> > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin pull
> > > > > > request: R Interpreter for Zeppelin
> > > > > >
> > > > > > Is knitR is commonly considered as a interpreter/compiler? or is
> it
> > > > > > considered as a library routine?
> > > > > >
> > > > > > Thanks,
> > > > > > moon
> > > > > >
> > > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > > wrote:
> > > > > > Moon - you give this as an explanation of the licensing issue:
> > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > >
> > > > > > According to that, there is an exception in the GPL for
> interpreter
> > > > > > languages. As long as you don’t distribute the code, its fine to
> > talk to
> > > > > > an interpreted language.
> > > > > >
> > > > > > Well, if that’s the case, then the PR plainly does not have a
> > license
> > > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > > >
> > > > > > I’m not sure what’s confusing about this. It seems completely
> > > > > > straightforward.
> > > > > >
> > > > > > Regarding this:
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Amos Elberg
> > > > > > Sent with Airmail
> > > > > >
> > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > > >
> > > > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > > > >
> > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin pull
> > > > > > request: R Interpreter for Zeppelin
> > > > > >
> > > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > I am going to try to minimize my reaction to Moon’s e-mail.
> > > > > > >
> > > > > > > The tl;dr is this:
> > > > > > >
> > > > > > > The reason we are having this discussion now is that active
> > users of
> > > > > the
> > > > > > > PR — which now has its own user base — went public to complain
> > about
> > > > > > this.
> > > > > >
> > > > > >
> > > > > > > The PR has been tested by an active user base for more than
> three
> > > > > months.
> > > > > > > No-one has been able to identify any specific actual licensing
> > problem,
> > > > > > and
> > > > > > > the PR was prepared based on an extensive, careful review of
> the
> > > > > relevant
> > > > > > > licensing issues and after contacting the relevant people.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > I admire every software that used by user and helping people.
> That
> > > > > includes
> > > > > > your work. But that's not the topic we're in discussion. Active
> > user does
> > > > > > not mean your contribution can ignore the review.
> > > > > >
> > > > > >
> > > > > >
> > > > > > > It is not an explanation for someone who has been ignoring my
> > “how can
> > > > > I
> > > > > > > move this forward…” emails for three months to point the finger
> > and
> > > > > say I
> > > > > > > didn’t contact the right person or file the right report.
> > > > > > >
> > > > > > >
> > > > > > This is also not the topic in this discussion.
> > > > > >
> > > > > >
> > > > > > > The burden for providing an explanation for the inaction is on
> > the PMCC
> > > > > > at
> > > > > > > this point.
> > > > > >
> > > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > Zeppelin
> > > > > > > core, why do you think other PRs are passing CI?
> > > > > > > They’re not! I often see comments on PRs to just ignore that CI
> > is
> > > > > > > failing.
> > > > > > >
> > > > > > > One of the most common reasons this PR fails CI, is CI
> times-out
> > > > > > > downloading Spark to install. How could that possibly be caused
> > by the
> > > > > > PR?
> > > > > > >
> > > > > > > It looks to me like the only PRs with changes to the relevant
> > parts of
> > > > > > the
> > > > > > > code — the SparkInterpreter — are being made by the person who
> > wrote
> > > > > the
> > > > > > > testing suite.
> > > > > > >
> > > > > > > So, that would explain why some other PRs pass CI: Neither the
> > > > > > > SparkInterpreter nor the testing suite are stable or robust,
> but
> > since
> > > > > > the
> > > > > > > PRs are coming from the person who wrote both…
> > > > > > >
> > > > > > > And let's say Zeppelin core has problem and that makes your PR
> > fails on
> > > > > > CI
> > > > > > > test. That's possible. But it still does not mean we can merge
> > it with
> > > > > CI
> > > > > > > failing.
> > > > > > >
> > > > > > > It means you should be working with me to figure out why the CI
> > is
> > > > > > failing.
> > > > > > >
> > > > > > > This PR has been tested by an active user base for the past
> three
> > > > > months.
> > > > > > > If CI is continuing to fail, and dozens of hours of effort have
> > not
> > > > > > > resolved the CI issues, then it is time to start considering
> > whether
> > > > > the
> > > > > > > testing suite is part of the problem.
> > > > > > >
> > > > > > > The level of defensiveness about the CI and SparkInterpreter is
> > not
> > > > > > > helping to resolve these issues.
> > > > > > >
> > > > > > > If you think it's problem on Zeppelin core, then file an issue
> > that
> > > > > > > reproduce the problem on Zeppelin core, that might be more
> > efficient
> > > > > than
> > > > > > > keep trying yourself.
> > > > > > > I contacted you numerous times about such issues...
> > > > > > >
> > > > > >
> > > > > >
> > > > > > I remember i commented your issue about CI. but you just keep
> > repeated
> > > > > it's
> > > > > > not your problem but Zeppelin core problem.
> > > > > >
> > > > > > Then please file an issue about the problem you found in Zeppelin
> > Core.
> > > > > > Then everyone will get into the problem.
> > > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > feature while
> > > > > > it
> > > > > > > is always enabled when compiling Zeppelin and always enabled
> when
> > > > > running
> > > > > > > Zeppelin. And it requires dynamically linked GPL library on
> > runtime.
> > > > > (yes
> > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > >
> > > > > > > Its not always enabled.
> > > > > > > It is not dynamically linked at runtime.
> > > > > > > It will not fail when knitr is missing. If knitr is not
> present,
> > the
> > > > > repl
> > > > > > > interpreter starts and a note is written to to the log that the
> > knitr
> > > > > > > interpreter isn’t available because knitr is not present.
> > > > > > >
> > > > > > > no Apache code can ever call a shell script, on the purpose of
> > dynamic
> > > > > > > linking with GPL library.
> > > > > > > You misunderstand.
> > > > > > >
> > > > > > > The *shell* is GPL'd.
> > > > > > >
> > > > > > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin
> > depends
> > > > > on
> > > > > > a
> > > > > > > shell script to launch?
> > > > > > >
> > > > > > Obviously not.
> > > > > > >
> > > > > > > The interaction with R in the PR is the same.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > Again, bash is one of exceptions of GPL, like other GPL licensed
> > > > > > compiler/interpreter.
> > > > > >
> > > > > > Check here why Bash and R is okay with Apache License.
> > > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > > >
> > > > > > I'm not sure we can apply the same exception for 'using' KnitR.
> > > > > >
> > > > > > My point is not 'KnitR' is optional or not. Point is
> > 'KnitRInterpreter'
> > > > > you
> > > > > > wrote is not an optional feature. Which is clearly not optionally
> > enabled
> > > > > > code and feature. And that depends on KnitR library which is GPL.
> > > > > >
> > > > > >
> > > > > >
> > > > > > > I was guessing SparkR can be still in Apache License even if it
> > is
> > > > > > depends
> > > > > > > on R. Because of GPL licensed compiler generated output is not
> > GPL
> > > > > > license.
> > > > > > > and R is sort of compiler. If you can get answer from Spark
> > community
> > > > > how
> > > > > > > SparkR get managed to stay in Apache License while R is GPL,
> the
> > answer
> > > > > > > might help.
> > > > > > > The description of SparkR is not accurate in any respect. (Do
> > you think
> > > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > > >
> > > > > > > I don’t see that any genuine issue is being raised here.
> > > > > > >
> > > > > > > If there is an issue, the burden is on you to identify it.
> > > > > > >
> > > > > > > If i give you one suggestion, Zeppelin committers sometimes ask
> > rebase
> > > > > > the
> > > > > > > contribution branch for some reason. It is not the really the
> > best
> > > > > > > practice, but still okay while most contributions are not
> > including
> > > > > large
> > > > > > > code base changes
> > > > > > > However, your one, has more than 4000 lines of code change. If
> > you
> > > > > rebase
> > > > > > > then review should be started from the beginning, again. So you
> > might
> > > > > > want
> > > > > > > to minimize the rebase your branch.
> > > > > > >
> > > > > > > Are you actually complaining that the problem is that I rebased
> > the
> > > > > code
> > > > > > > during the three-month period when no-one looked at it and
> > Zeppelin
> > > > > went
> > > > > > > through a release?
> > > > > > >
> > > > > > > I cannot take it seriously when you say things like this.
> > > > > > >
> > > > > > > Having to “start from the beginning” cannot be a problem if you
> > never
> > > > > > > actually started the first time...
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > You wanted coordination and cooperation. So i gave you suggestion
> > that
> > > > > > helping review process. For example, your code has been rebased
> > since my
> > > > > > comment and jongyoul's comment. that means committers will need
> to
> > look
> > > > > > from the beginning. That'll require more time. And maybe, i guess
> > that's
> > > > > > not what you want. But If you don't care, feel free to rebase.
> > > > > >
> > > > > > Thanks,
> > > > > > moon
> > > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > > dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin
> > > > > pull
> > > > > > > request: R Interpreter for Zeppelin
> > > > > > >
> > > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> > amos.elberg@gmail.com>
> > > > > > > wrote:
> > > > > > > Thank you, Cos.
> > > > > > >
> > > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > > >
> > > > > > > 1. This PR does not passes CI
> > > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > > >
> > > > > > > I’ve been seeking assistance on this since August.
> > > > > > >
> > > > > > > The most common reason is that SparkInterpreter is unable to
> > launch
> > > > > Spark
> > > > > > > and open a Spark Backend. This is necessary to test the PR.
> > > > > > >
> > > > > > > 60+ hours, has been spent adapting and re-basing when the
> > > > > > SparkInterpreter
> > > > > > > architecture changed and broke the PR’s *tests.*
> > > > > > >
> > > > > > >
> > > > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > > > > Zeppelin
> > > > > > > core, why do you think other PRs are passing CI?
> > > > > > >
> > > > > > > And let's say Zeppelin core has problem and that makes your PR
> > fails on
> > > > > > CI
> > > > > > > test. That's possible. But it still does not mean we can merge
> > it with
> > > > > CI
> > > > > > > failing.
> > > > > > >
> > > > > > > If you think it's problem on Zeppelin core, then file an issue
> > that
> > > > > > > reproduce the problem on Zeppelin core, that might be more
> > efficient
> > > > > than
> > > > > > > keep trying yourself.
> > > > > > >
> > > > > > >
> > > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > > What license problem *specifically* do you believe may exist?
> > > > > > >
> > > > > > > In preparing the PR, I:
> > > > > > >
> > > > > > > * Reviewed the Apache policy in detail.
> > > > > > >
> > > > > > > * Contacted the FSF to ask their interpretation of the
> “linking”
> > > > > > > provisions of the GPL license.
> > > > > > >
> > > > > > > * Reviewed how other Apache software deals with this issue
> > (e.g., Spark
> > > > > > > talks to R, which is GPL'd).
> > > > > > >
> > > > > > > * No necessary *dependencies* of the PR have license conflicts.
> > In
> > > > > > > several cases, I contacted package authors who agreed to
> > re-issue their
> > > > > > > packages under Apache-compatible licenses. (Usually I had to do
> > a bit
> > > > > of
> > > > > > > coding in exchange…)
> > > > > > >
> > > > > > > * Where the license had to stay GPL, the packages are *not
> > necessary*
> > > > > and
> > > > > > > *not dependencies.* If the optional packages are present, they
> > will be
> > > > > > > used to enable additional functionality. Knitr is an example.
> > The PR
> > > > > will
> > > > > > > compile and run fine without knitr. If knitr is available (it
> is
> > part
> > > > > of
> > > > > > > the most common R distribution), the PR will enable the knitr
> > > > > > interpreter.
> > > > > > >
> > > > > > > * This is exactly how this issue is addressed through the
> Apache
> > > > > > > ecosystem.
> > > > > > > The tl;dr is this: When Apache code is written to talk to
> > libraries
> > > > > that
> > > > > > > may or may not be present on the user’s system, or where it
> > talks to an
> > > > > > API
> > > > > > > but is agnostic about implementation, that is not “linking” in
> a
> > way
> > > > > that
> > > > > > > implicate the anti-linking provision of the GPL.
> > > > > > >
> > > > > > > Otherwise, no Apache code could ever call a shell script! Let
> > alone run
> > > > > > > on Linux, or talk to R.
> > > > > > >
> > > > > > >
> > > > > > > I'm not a legal expert. So following could be wrong.
> > > > > > >
> > > > > > > In my interpretation, KnitRInterpreter is not an optional
> > feature while
> > > > > > it
> > > > > > > is always enabled when compiling Zeppelin and always enabled
> when
> > > > > running
> > > > > > > Zeppelin. And it requires dynamically linked GPL library on
> > runtime.
> > > > > (yes
> > > > > > > it will fail when no KnitR is installed on the system)
> > > > > > >
> > > > > > > And of course, no Apache code can ever call a shell script, on
> > the
> > > > > > purpose
> > > > > > > of dynamic linking with GPL library.
> > > > > > >
> > > > > > > I was guessing SparkR can be still in Apache License even if it
> > is
> > > > > > depends
> > > > > > > on R. Because of GPL licensed compiler generated output is not
> > GPL
> > > > > > license.
> > > > > > > and R is sort of compiler.
> > > > > > >
> > > > > > > If you can get answer from Spark community how SparkR get
> > managed to
> > > > > stay
> > > > > > > in Apache License while R is GPL, the answer might help.
> > > > > > >
> > > > > > >
> > > > > > > 3. Need more time to review.
> > > > > > > Has any reviewer has downloaded the PR or run the demo
> notebook?
> > (Which
> > > > > > > is there for the benefit of reviewers, and isn’t intended to go
> > in
> > > > > final
> > > > > > > distribution.)
> > > > > > >
> > > > > > > How many +1 comments from users would you like to see?
> > > > > > >
> > > > > > > How much time do you believe is required?
> > > > > > >
> > > > > > >
> > > > > > > It all depends on when CI is going to pass, when license
> problem
> > is
> > > > > going
> > > > > > > to be cleared, and when a committer willing to review and
> > responsible
> > > > > to
> > > > > > > commit your contribution.
> > > > > > >
> > > > > > >
> > > > > > > 1. Large code base change
> > > > > > > Large code base changes require coordination and cooperation.
> > This PR
> > > > > > > necessarily implicates the build scripts, testing code, the
> > > > > > > SparkInterpreter, etc.
> > > > > > >
> > > > > > > I have been seeking to coordinate since August.
> > > > > > >
> > > > > > > I continue to stand ready to do so.
> > > > > > >
> > > > > > > -Amos
> > > > > > >
> > > > > > >
> > > > > > > If i give you one suggestion, Zeppelin committers sometimes ask
> > rebase
> > > > > > the
> > > > > > > contribution branch for some reason. It is not the really the
> > best
> > > > > > > practice, but still okay while most contributions are not
> > including
> > > > > large
> > > > > > > code base changes.
> > > > > > >
> > > > > > > However, your one, has more than 4000 lines of code change. If
> > you
> > > > > rebase
> > > > > > > then review should be started from the beginning, again. So you
> > might
> > > > > > want
> > > > > > > to minimize the rebase your branch.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > >
> > > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org
> > > > > > >
> > > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> > incubator-zeppelin
> > > > > pull
> > > > > > > request: R Interpreter for Zeppelin
> > > > > > >
> > > > > > > Hi Cos,
> > > > > > >
> > > > > > > Thanks for opening a discussion.
> > > > > > > My answer about 'Why this PR is open for three months' is
> > > > > > >
> > > > > > > 1. This PR does not passes CI
> > > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > > 3. Need more time to review.
> > > > > > >
> > > > > > > It's my personal answer, other committers may have different
> > opinion.
> > > > > > >
> > > > > > >
> > > > > > > I think the question should be generalized. Because this PR is
> > not the
> > > > > > only
> > > > > > > PR that is in impasse. There're more. For example
> > > > > > >
> > > > > > > Here's some examples that PR is not been merged.
> > > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > > and so on.
> > > > > > >
> > > > > > > I can categorize the cases, based on experience of involving
> > Zeppelin
> > > > > > > community from the beginning.
> > > > > > >
> > > > > > > 1. Large code base change
> > > > > > >
> > > > > > > When contribution has large code base changes, it tend to take
> > more
> > > > > time
> > > > > > to
> > > > > > > review and merged. Normally, most contributions merged in
> 1day~1
> > week.
> > > > > > > But some contribution has large code base changes take 2~4
> > weeks. Few
> > > > > > > contribution that has very large code base change take months.
> > > > > > >
> > > > > > > 2. Communication lost
> > > > > > >
> > > > > > > Sometimes, committer is not responding, or contributor is not
> > > > > responding.
> > > > > > >
> > > > > > > 3. Opinion diverges
> > > > > > >
> > > > > > > For some changes, included in contribution. When people have
> > different
> > > > > > > opinion and it continue to diverges, those PRs are not been
> > merged.
> > > > > > >
> > > > > > >
> > > > > > > I think having a guide such as ping other committer when a
> > committer is
> > > > > > not
> > > > > > > responding, and divide contribution into small peaces if
> > possible,
> > > > > would
> > > > > > > help most of the cases.
> > > > > > > Of course committer have to pay attention more to the
> > contribution and
> > > > > > > helping people. That's the first one.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > moon
> > > > > > >
> > > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> > cos@apache.org>
> > > > > > wrote:
> > > > > > >
> > > > > > > > To make sure we're on the same page, here are two threads
> that
> > I
> > > > > found
> > > > > > > > related
> > > > > > > > to this topic.
> > > > > > > >
> > > > > > > > Thread 1:
> > > > > > > > Subject: R?
> > > > > > > > Started on: July 1, 2015
> > > > > > > >
> > > > > > > > Thread 2:
> > > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> > Interpreter for
> > > > > > > > Zeppelin
> > > > > > > > Started on: August 13, 2015
> > > > > > > >
> > > > > > > > If you want to fetch these from our archive send emails to
> > > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > > >
> > > > > > > > Cos
> > > > > > > >
> > > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > > > > > > Guys,
> > > > > > > > >
> > > > > > > > > While catching up on my emails from the last a couple of
> > weeks,
> > > > > this
> > > > > > > > thread
> > > > > > > > > caught my attention. I am not normally paying much
> attention
> > to the
> > > > > > > code
> > > > > > > > > reviews traffic from GH, but this one is pretty different
> as
> > it
> > > > > spans
> > > > > > > > three
> > > > > > > > > months and counting.
> > > > > > > > >
> > > > > > > > > First, here are my five cents:
> > > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to
> be
> > > > > > > > contributed to
> > > > > > > > > an ASF project this file should simply contain ASL2 text,
> > like in
> > > > > [1]
> > > > > > > > > - r/pom.xml perhaps shouldn't contain a separate
> <developers>
> > > > > > section,
> > > > > > > > but
> > > > > > > > > Zeppelin might have different guidelines on it. Say, Bigtop
> > doesn't
> > > > > > > > > maintain this in the source code, but we have the list of
> > all the
> > > > > > > > > committers on the project's site [2] Every new committer's
> > first
> > > > > > > > commit is
> > > > > > > > > to update the team page ;)
> > > > > > > > > - comments like in
> > > > > > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > > >
> > > > > > > > > +/**
> > > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > > + */
> > > > > > > > >
> > > > > > > > > is better to be removed. It has been already discussed here
> > [3].
> > > > > And
> > > > > > > > the
> > > > > > > > > initial discussion on the topic [4] was linked as well
> > > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if
> > this is
> > > > > > > > R-specific
> > > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > > >
> > > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > > ...
> > > > > > > > > +Author: David B. Dahl
> > > > > > > > >
> > > > > > > > > shouldn't be here, IMO. Normally, if some additional
> > licenses are
> > > > > > > > used,
> > > > > > > > > they have to be listed in the top-level NOTICE file
> (already
> > > > > there).
> > > > > > > > >
> > > > > > > > > - I am not going to offer any comments on the technical
> > merits of
> > > > > the
> > > > > > > > patch,
> > > > > > > > > as I haven't tried it personally. However, I don't see any
> > serious
> > > > > > > > > technical objections to the functionality in question.
> > > > > > > > >
> > > > > > > > > So, the question is - why the PR is open for three months?
> I
> > hasn't
> > > > > > > been
> > > > > > > > able
> > > > > > > > > to get a clear answer. What I found out though is pretty
> > > > > unsettling,
> > > > > > > > really.
> > > > > > > > > The communication on the topic is almost non-existent,
> > except for
> > > > > > this
> > > > > > > > sparse
> > > > > > > > > and bitter thread in the GH.
> > > > > > > > >
> > > > > > > > > I would love to hear from the committers what's stopping
> the
> > > > > > acceptance
> > > > > > > > of the
> > > > > > > > > code, besides of the minor issues I've mentioned earlier?
> > What are
> > > > > > the
> > > > > > > > reasons for it?
> > > > > > > > > Is there anything wrong with it?
> > > > > > > > > One of the responsibilities of the committers is to make
> > sure the
> > > > > > > > > contributions are reviewed; new contributors are guided and
> > do
> > > > > > > > understand how
> > > > > > > > > the project ticks. The easy feedback flow attracts new
> > people,
> > > > > > allowing
> > > > > > > > the
> > > > > > > > > community to grow and thrive.
> > > > > > > > >
> > > > > > > > > I am asking _explicitely_ not to re-start the bickering I
> > have
> > > > > > already
> > > > > > > > > seen. At this point I am interested in the purely technical
> > side of
> > > > > > > this.
> > > > > > > > >
> > > > > > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > > [3]
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > > >
> > > > > > > > > With regards,
> > > > > > > > > Cos
> > > > > > > > >
> > > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > > Github user elbamos commented on the pull request:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > > >
> > > > > > > > > > The current push should resolve some issues with changes
> > in the
> > > > > > > > > > Spark-Zeppelin interface that had created issues for
> > users, as
> > > > > > > > well as
> > > > > > > > > > support for 1.5.1.
> > > > > > > > > >
> > > > > > > > > > Knitr support is improved, and the reason for a separate
> > knitr
> > > > > > > > interpreter may be clearer now.
> > > > > > > > > >
> > > > > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > > > > >
> > > > > > > > > > I did not address issues with @author tags, or files
> under
> > the R/
> > > > > > > > > > folder. The reason is, to be blunt, I don't understand
> > what the
> > > > > > > > precise
> > > > > > > > > > concerns actually are.
> > > > > > > > > >
> > > > > > > > > > Please note that I changed .travis.yml to only use spark
> > 1.4 and
> > > > > > > > later.
> > > > > > > > > > I'm sure there is a better way to do it, but I'm just not
> > in a
> > > > > > > > position
> > > > > > > > > > to try to figure out the entire Zeppelin build process.
> > > > > > > > > >
> > > > > > > > > > Integrating this with the rest of zeppelin is going to
> > take some
> > > > > > > > work
> > > > > > > > > > regarding pom's, travis, and so forth. I can do a lot of
> > that,
> > > > > > > > but I'm
> > > > > > > > > > going to need to discuss it with the people who have been
> > > > > "owning"
> > > > > > > > those
> > > > > > > > > > files. There are just too many moving pieces here.
> > > > > > > > > >
> > > > > > > > > > Because of the size of this (which is, unfortunately,
> > necessary),
> > > > > > > > > > posting here is probably not the most efficient way. That
> > is also
> > > > > > > > true
> > > > > > > > > > because certain people chose to use this PR as a forum to
> > air
> > > > > other
> > > > > > > > > > issues. Therefore, it would be better if reviewers e-mail
> > me
> > > > > > > > directly.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> >
>
Re: License of KnitRInterpreter Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Corneau Damien <co...@gmail.com>.
Thanks Cos for those answers,
If I'm right you are advising to have a default build that doesn't include
libraries with conflicting licenses, but have an option to include them for
users who wants to build the project themselves.
To refer to another thread about decentralizing interpreters, it could even
be better in that case to have some interpreters separated from the tree,
and easily pluggable with a release instead of forcing users to build the
project to use them.
On Thu, Dec 3, 2015 at 9:26 AM, Konstantin Boudnik <co...@apache.org> wrote:
> On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> > Konstantin thank you for getting into this.
> >
> >> The best way to go around it is by
> >> providing a build-time option that will pull such binaries in. But by
> default
> >> such libs shouldn't be pulled.
> >
> > That is basically how the PR handles this. If the GPL’d interpreter
> scripts
> > are missing, there’s no indication at all at build time. It doesn’t try
> to
> > download them.
> >
> > At runtime, if the user tries to use functionality that would need such a
> > script (i.e., if they type “knitr” to use knitr), we display an error
> that
> > says that the functionality is not there because the library is missing,
> and
> > that the library cannot be provided because it has an incompatible
> license,
> > but the user can download it themselves if they want.
> >
> > And, in the log, if the logging level is high, they will see a note that
> > some functionality was disabled because the libraries weren’t there.
> >
> > To be clear, though, none of these libraries are binaries. They’re all
> interpreter scripts.
>
> If you ever in a doubt of which licenses could be used for dependncies
> (not to
> say about source code) are listed in Category A list of [1]
>
> A lot of quesitons discussed here are already covered in the legal FAQ, so
> just check against it if you have any questions.
>
> [1] http://www.apache.org/legal/resolved.html#category-a
>
> Cos
>
> > From: Konstantin Boudnik <co...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>, dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 3:24:50 PM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> Zeppelin
> >
> > On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > > I think that what moon means is that:
> > > If we merge the way it is now, the KnitRInterpreter will be part of the
> > > code base, so it isn't optional at code base level.
> > >
> > > To make it even more simple:
> > > * If the code has the right licensing -> that code can be part of the
> > > source code, and can be including in a binary release
> >
> > We aren't concerned with binary releases - as an Apache community we are
> > voting and releasing source code. If the project wants to provide a
> binary
> > release to its users, they are better be warned about inclusion of non
> > ASL2-friendly licensed bits.
> >
> > > * If the code doesn't have the right licensing -> it can't be part of
> the
> > > source code, and can't be included in a binary release
> >
> > See above.
> >
> > > * If the code doesn't have the right licensing but is imported at build
> > > time (libraries for example) -> it is not in the source code, it can't
> be
> > > included in binary release
> >
> > That is unless a user doing it on his own. The best way to go around it
> is by
> > providing a build-time option that will pull such binaries in. But by
> default
> > such libs shouldn't be pulled.
> >
> > Cos
> >
> > > So in the case of licensing issues, it would need to be fully optional
> > > (user bring the interpreter in his directory and build Zeppelin with
> it)
> > >
> > >
> > > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <am...@gmail.com>
> > > wrote:
> > >
> > > > Moon let me clarify:
> > > >
> > > > Interpreted code doesn’t “link.” The wiki article actually explains
> it
> > > > pretty well — https://en.wikipedia.org/wiki/GPL_linking_exception
> > > > “Linking” against a library means compiling its headers into a
> binary, the
> > > > way a C compiler works. The 2008 e-mail Moon distributed, called
> this the
> > > > “interpreter exception.”
> > > >
> > > > As for whether GPL’d code is a “mandatory dependency,” if knitr is
> missing
> > > > the PR will compile, run and test just fine. The user is never
> prompted to
> > > > download it. The only effect is, if the user types “knitr” and knitr
> isn’t
> > > > there, we display an InterpreterError that knitr isn’t there.
> > > >
> > > > KnitRInterpreter is not optionally required. so it does not matter
> KnitR
> > > > is
> > > > optionally required or not.
> > > > Aren’t all interpreters optional? You can turn them on and off in the
> > > > config files.
> > > >
> > > > Do you mean that the KnitRInterpreter class gets compiled to
> bytecode even
> > > > if knitr is missing? So what? That isn't a mandatory dependency or a
> link.
> > > >
> > > > From: moon soo Lee <mo...@apache.org>
> > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org>
> > > > Date: December 2, 2015 at 3:18:00 AM
> > > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> > > > Subject: Re: License of KnitRInterpreter Was: Re: contributions
> impasse.
> > > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
> Zeppelin
> > > >
> > > > Let me summarize license concern about KnitRInterpreter.
> > > >
> > > >
> > > > Amos's interpretation.
> > > >
> > > > KnitR is optionally required by KnitRInterpreter.
> > > > R dependency in SparkR has no problem. So KnitR should be the same.
> > > >
> > > >
> > > > Moon's interpretation.
> > > >
> > > > KnitRInterpreter is not optionally required. so it does not matter
> KnitR is
> > > > optionally required or not.
> > > > R dependency in SparkR is exception of GPL. KnitR is not applied that
> > > > exception.
> > > >
> > > >
> > > > Amos, could you confirm my understanding to your interpretation is
> correct?
> > > > If it is not could you clarify it?
> > > >
> > > > Thanks,
> > > > moon
> > > >
> > > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <
> amos.elberg@gmail.com>
> > > > wrote:
> > > >
> > > > > Just to put the final nail in this, I looked it up.
> > > > >
> > > > > I see no evidence of any “compiler exception.”
> > > > >
> > > > > There is an exception in the license for the runtime libraries
> that are
> > > > > bundled with GCC. See:
> > > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > > >
> > > > > But no “compiler exception.”
> > > > >
> > > > > In fact, I believe this is part of the reason why LLVM was created.
> > > > >
> > > > > From: moon soo Lee <mo...@apache.org>
> > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > Date: December 1, 2015 at 8:16:36 PM
> > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> > > > > Subject: Re: contributions impasse. Was: [GitHub]
> incubator-zeppelin pull
> > > > > request: R Interpreter for Zeppelin
> > > > >
> > > > > Is knitR is commonly considered as a interpreter/compiler? or is it
> > > > > considered as a library routine?
> > > > >
> > > > > Thanks,
> > > > > moon
> > > > >
> > > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <
> amos.elberg@gmail.com>
> > > > > wrote:
> > > > > Moon - you give this as an explanation of the licensing issue:
> > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > >
> > > > > According to that, there is an exception in the GPL for interpreter
> > > > > languages. As long as you don’t distribute the code, its fine to
> talk to
> > > > > an interpreted language.
> > > > >
> > > > > Well, if that’s the case, then the PR plainly does not have a
> license
> > > > > issue. It doesn’t distribute any GPL’d R code.
> > > > >
> > > > > I’m not sure what’s confusing about this. It seems completely
> > > > > straightforward.
> > > > >
> > > > > Regarding this:
> > > > >
> > > > >
> > > > > --
> > > > > Amos Elberg
> > > > > Sent with Airmail
> > > > >
> > > > > From: moon soo Lee <mo...@apache.org>
> > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org>
> > > > > Date: December 1, 2015 at 6:48:47 PM
> > > > >
> > > > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > > > >
> > > > > Subject: Re: contributions impasse. Was: [GitHub]
> incubator-zeppelin pull
> > > > > request: R Interpreter for Zeppelin
> > > > >
> > > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <
> amos.elberg@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > I am going to try to minimize my reaction to Moon’s e-mail.
> > > > > >
> > > > > > The tl;dr is this:
> > > > > >
> > > > > > The reason we are having this discussion now is that active
> users of
> > > > the
> > > > > > PR — which now has its own user base — went public to complain
> about
> > > > > this.
> > > > >
> > > > >
> > > > > > The PR has been tested by an active user base for more than three
> > > > months.
> > > > > > No-one has been able to identify any specific actual licensing
> problem,
> > > > > and
> > > > > > the PR was prepared based on an extensive, careful review of the
> > > > relevant
> > > > > > licensing issues and after contacting the relevant people.
> > > > > >
> > > > > >
> > > > >
> > > > > I admire every software that used by user and helping people. That
> > > > includes
> > > > > your work. But that's not the topic we're in discussion. Active
> user does
> > > > > not mean your contribution can ignore the review.
> > > > >
> > > > >
> > > > >
> > > > > > It is not an explanation for someone who has been ignoring my
> “how can
> > > > I
> > > > > > move this forward…” emails for three months to point the finger
> and
> > > > say I
> > > > > > didn’t contact the right person or file the right report.
> > > > > >
> > > > > >
> > > > > This is also not the topic in this discussion.
> > > > >
> > > > >
> > > > > > The burden for providing an explanation for the inaction is on
> the PMCC
> > > > > at
> > > > > > this point.
> > > > >
> > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> Zeppelin
> > > > > > core, why do you think other PRs are passing CI?
> > > > > > They’re not! I often see comments on PRs to just ignore that CI
> is
> > > > > > failing.
> > > > > >
> > > > > > One of the most common reasons this PR fails CI, is CI times-out
> > > > > > downloading Spark to install. How could that possibly be caused
> by the
> > > > > PR?
> > > > > >
> > > > > > It looks to me like the only PRs with changes to the relevant
> parts of
> > > > > the
> > > > > > code — the SparkInterpreter — are being made by the person who
> wrote
> > > > the
> > > > > > testing suite.
> > > > > >
> > > > > > So, that would explain why some other PRs pass CI: Neither the
> > > > > > SparkInterpreter nor the testing suite are stable or robust, but
> since
> > > > > the
> > > > > > PRs are coming from the person who wrote both…
> > > > > >
> > > > > > And let's say Zeppelin core has problem and that makes your PR
> fails on
> > > > > CI
> > > > > > test. That's possible. But it still does not mean we can merge
> it with
> > > > CI
> > > > > > failing.
> > > > > >
> > > > > > It means you should be working with me to figure out why the CI
> is
> > > > > failing.
> > > > > >
> > > > > > This PR has been tested by an active user base for the past three
> > > > months.
> > > > > > If CI is continuing to fail, and dozens of hours of effort have
> not
> > > > > > resolved the CI issues, then it is time to start considering
> whether
> > > > the
> > > > > > testing suite is part of the problem.
> > > > > >
> > > > > > The level of defensiveness about the CI and SparkInterpreter is
> not
> > > > > > helping to resolve these issues.
> > > > > >
> > > > > > If you think it's problem on Zeppelin core, then file an issue
> that
> > > > > > reproduce the problem on Zeppelin core, that might be more
> efficient
> > > > than
> > > > > > keep trying yourself.
> > > > > > I contacted you numerous times about such issues...
> > > > > >
> > > > >
> > > > >
> > > > > I remember i commented your issue about CI. but you just keep
> repeated
> > > > it's
> > > > > not your problem but Zeppelin core problem.
> > > > >
> > > > > Then please file an issue about the problem you found in Zeppelin
> Core.
> > > > > Then everyone will get into the problem.
> > > > >
> > > > >
> > > > >
> > > > > >
> > > > > > In my interpretation, KnitRInterpreter is not an optional
> feature while
> > > > > it
> > > > > > is always enabled when compiling Zeppelin and always enabled when
> > > > running
> > > > > > Zeppelin. And it requires dynamically linked GPL library on
> runtime.
> > > > (yes
> > > > > > it will fail when no KnitR is installed on the system)
> > > > > >
> > > > > > Its not always enabled.
> > > > > > It is not dynamically linked at runtime.
> > > > > > It will not fail when knitr is missing. If knitr is not present,
> the
> > > > repl
> > > > > > interpreter starts and a note is written to to the log that the
> knitr
> > > > > > interpreter isn’t available because knitr is not present.
> > > > > >
> > > > > > no Apache code can ever call a shell script, on the purpose of
> dynamic
> > > > > > linking with GPL library.
> > > > > > You misunderstand.
> > > > > >
> > > > > > The *shell* is GPL'd.
> > > > > >
> > > > > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin
> depends
> > > > on
> > > > > a
> > > > > > shell script to launch?
> > > > > >
> > > > > Obviously not.
> > > > > >
> > > > > > The interaction with R in the PR is the same.
> > > > > >
> > > > > >
> > > > >
> > > > > Again, bash is one of exceptions of GPL, like other GPL licensed
> > > > > compiler/interpreter.
> > > > >
> > > > > Check here why Bash and R is okay with Apache License.
> > > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > > >
> > > > > I'm not sure we can apply the same exception for 'using' KnitR.
> > > > >
> > > > > My point is not 'KnitR' is optional or not. Point is
> 'KnitRInterpreter'
> > > > you
> > > > > wrote is not an optional feature. Which is clearly not optionally
> enabled
> > > > > code and feature. And that depends on KnitR library which is GPL.
> > > > >
> > > > >
> > > > >
> > > > > > I was guessing SparkR can be still in Apache License even if it
> is
> > > > > depends
> > > > > > on R. Because of GPL licensed compiler generated output is not
> GPL
> > > > > license.
> > > > > > and R is sort of compiler. If you can get answer from Spark
> community
> > > > how
> > > > > > SparkR get managed to stay in Apache License while R is GPL, the
> answer
> > > > > > might help.
> > > > > > The description of SparkR is not accurate in any respect. (Do
> you think
> > > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > > >
> > > > > > I don’t see that any genuine issue is being raised here.
> > > > > >
> > > > > > If there is an issue, the burden is on you to identify it.
> > > > > >
> > > > > > If i give you one suggestion, Zeppelin committers sometimes ask
> rebase
> > > > > the
> > > > > > contribution branch for some reason. It is not the really the
> best
> > > > > > practice, but still okay while most contributions are not
> including
> > > > large
> > > > > > code base changes
> > > > > > However, your one, has more than 4000 lines of code change. If
> you
> > > > rebase
> > > > > > then review should be started from the beginning, again. So you
> might
> > > > > want
> > > > > > to minimize the rebase your branch.
> > > > > >
> > > > > > Are you actually complaining that the problem is that I rebased
> the
> > > > code
> > > > > > during the three-month period when no-one looked at it and
> Zeppelin
> > > > went
> > > > > > through a release?
> > > > > >
> > > > > > I cannot take it seriously when you say things like this.
> > > > > >
> > > > > > Having to “start from the beginning” cannot be a problem if you
> never
> > > > > > actually started the first time...
> > > > > >
> > > > > >
> > > > >
> > > > > You wanted coordination and cooperation. So i gave you suggestion
> that
> > > > > helping review process. For example, your code has been rebased
> since my
> > > > > comment and jongyoul's comment. that means committers will need to
> look
> > > > > from the beginning. That'll require more time. And maybe, i guess
> that's
> > > > > not what you want. But If you don't care, feel free to rebase.
> > > > >
> > > > > Thanks,
> > > > > moon
> > > > >
> > > > >
> > > > >
> > > > > >
> > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > > dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> incubator-zeppelin
> > > > pull
> > > > > > request: R Interpreter for Zeppelin
> > > > > >
> > > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <
> amos.elberg@gmail.com>
> > > > > > wrote:
> > > > > > Thank you, Cos.
> > > > > >
> > > > > > I’d like to briefly address the issues raised by Moon:
> > > > > >
> > > > > > 1. This PR does not passes CI
> > > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > > >
> > > > > > I’ve been seeking assistance on this since August.
> > > > > >
> > > > > > The most common reason is that SparkInterpreter is unable to
> launch
> > > > Spark
> > > > > > and open a Spark Backend. This is necessary to test the PR.
> > > > > >
> > > > > > 60+ hours, has been spent adapting and re-basing when the
> > > > > SparkInterpreter
> > > > > > architecture changed and broke the PR’s *tests.*
> > > > > >
> > > > > >
> > > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > > > Zeppelin
> > > > > > core, why do you think other PRs are passing CI?
> > > > > >
> > > > > > And let's say Zeppelin core has problem and that makes your PR
> fails on
> > > > > CI
> > > > > > test. That's possible. But it still does not mean we can merge
> it with
> > > > CI
> > > > > > failing.
> > > > > >
> > > > > > If you think it's problem on Zeppelin core, then file an issue
> that
> > > > > > reproduce the problem on Zeppelin core, that might be more
> efficient
> > > > than
> > > > > > keep trying yourself.
> > > > > >
> > > > > >
> > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > What license problem *specifically* do you believe may exist?
> > > > > >
> > > > > > In preparing the PR, I:
> > > > > >
> > > > > > * Reviewed the Apache policy in detail.
> > > > > >
> > > > > > * Contacted the FSF to ask their interpretation of the “linking”
> > > > > > provisions of the GPL license.
> > > > > >
> > > > > > * Reviewed how other Apache software deals with this issue
> (e.g., Spark
> > > > > > talks to R, which is GPL'd).
> > > > > >
> > > > > > * No necessary *dependencies* of the PR have license conflicts.
> In
> > > > > > several cases, I contacted package authors who agreed to
> re-issue their
> > > > > > packages under Apache-compatible licenses. (Usually I had to do
> a bit
> > > > of
> > > > > > coding in exchange…)
> > > > > >
> > > > > > * Where the license had to stay GPL, the packages are *not
> necessary*
> > > > and
> > > > > > *not dependencies.* If the optional packages are present, they
> will be
> > > > > > used to enable additional functionality. Knitr is an example.
> The PR
> > > > will
> > > > > > compile and run fine without knitr. If knitr is available (it is
> part
> > > > of
> > > > > > the most common R distribution), the PR will enable the knitr
> > > > > interpreter.
> > > > > >
> > > > > > * This is exactly how this issue is addressed through the Apache
> > > > > > ecosystem.
> > > > > > The tl;dr is this: When Apache code is written to talk to
> libraries
> > > > that
> > > > > > may or may not be present on the user’s system, or where it
> talks to an
> > > > > API
> > > > > > but is agnostic about implementation, that is not “linking” in a
> way
> > > > that
> > > > > > implicate the anti-linking provision of the GPL.
> > > > > >
> > > > > > Otherwise, no Apache code could ever call a shell script! Let
> alone run
> > > > > > on Linux, or talk to R.
> > > > > >
> > > > > >
> > > > > > I'm not a legal expert. So following could be wrong.
> > > > > >
> > > > > > In my interpretation, KnitRInterpreter is not an optional
> feature while
> > > > > it
> > > > > > is always enabled when compiling Zeppelin and always enabled when
> > > > running
> > > > > > Zeppelin. And it requires dynamically linked GPL library on
> runtime.
> > > > (yes
> > > > > > it will fail when no KnitR is installed on the system)
> > > > > >
> > > > > > And of course, no Apache code can ever call a shell script, on
> the
> > > > > purpose
> > > > > > of dynamic linking with GPL library.
> > > > > >
> > > > > > I was guessing SparkR can be still in Apache License even if it
> is
> > > > > depends
> > > > > > on R. Because of GPL licensed compiler generated output is not
> GPL
> > > > > license.
> > > > > > and R is sort of compiler.
> > > > > >
> > > > > > If you can get answer from Spark community how SparkR get
> managed to
> > > > stay
> > > > > > in Apache License while R is GPL, the answer might help.
> > > > > >
> > > > > >
> > > > > > 3. Need more time to review.
> > > > > > Has any reviewer has downloaded the PR or run the demo notebook?
> (Which
> > > > > > is there for the benefit of reviewers, and isn’t intended to go
> in
> > > > final
> > > > > > distribution.)
> > > > > >
> > > > > > How many +1 comments from users would you like to see?
> > > > > >
> > > > > > How much time do you believe is required?
> > > > > >
> > > > > >
> > > > > > It all depends on when CI is going to pass, when license problem
> is
> > > > going
> > > > > > to be cleared, and when a committer willing to review and
> responsible
> > > > to
> > > > > > commit your contribution.
> > > > > >
> > > > > >
> > > > > > 1. Large code base change
> > > > > > Large code base changes require coordination and cooperation.
> This PR
> > > > > > necessarily implicates the build scripts, testing code, the
> > > > > > SparkInterpreter, etc.
> > > > > >
> > > > > > I have been seeking to coordinate since August.
> > > > > >
> > > > > > I continue to stand ready to do so.
> > > > > >
> > > > > > -Amos
> > > > > >
> > > > > >
> > > > > > If i give you one suggestion, Zeppelin committers sometimes ask
> rebase
> > > > > the
> > > > > > contribution branch for some reason. It is not the really the
> best
> > > > > > practice, but still okay while most contributions are not
> including
> > > > large
> > > > > > code base changes.
> > > > > >
> > > > > > However, your one, has more than 4000 lines of code change. If
> you
> > > > rebase
> > > > > > then review should be started from the beginning, again. So you
> might
> > > > > want
> > > > > > to minimize the rebase your branch.
> > > > > >
> > > > > > Thanks,
> > > > > > moon
> > > > > >
> > > > > >
> > > > > > From: moon soo Lee <mo...@apache.org>
> > > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > > dev@zeppelin.incubator.apache.org>
> > > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > > To: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org
> > > > > >
> > > > > > Subject: Re: contributions impasse. Was: [GitHub]
> incubator-zeppelin
> > > > pull
> > > > > > request: R Interpreter for Zeppelin
> > > > > >
> > > > > > Hi Cos,
> > > > > >
> > > > > > Thanks for opening a discussion.
> > > > > > My answer about 'Why this PR is open for three months' is
> > > > > >
> > > > > > 1. This PR does not passes CI
> > > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > > 3. Need more time to review.
> > > > > >
> > > > > > It's my personal answer, other committers may have different
> opinion.
> > > > > >
> > > > > >
> > > > > > I think the question should be generalized. Because this PR is
> not the
> > > > > only
> > > > > > PR that is in impasse. There're more. For example
> > > > > >
> > > > > > Here's some examples that PR is not been merged.
> > > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > > and so on.
> > > > > >
> > > > > > I can categorize the cases, based on experience of involving
> Zeppelin
> > > > > > community from the beginning.
> > > > > >
> > > > > > 1. Large code base change
> > > > > >
> > > > > > When contribution has large code base changes, it tend to take
> more
> > > > time
> > > > > to
> > > > > > review and merged. Normally, most contributions merged in 1day~1
> week.
> > > > > > But some contribution has large code base changes take 2~4
> weeks. Few
> > > > > > contribution that has very large code base change take months.
> > > > > >
> > > > > > 2. Communication lost
> > > > > >
> > > > > > Sometimes, committer is not responding, or contributor is not
> > > > responding.
> > > > > >
> > > > > > 3. Opinion diverges
> > > > > >
> > > > > > For some changes, included in contribution. When people have
> different
> > > > > > opinion and it continue to diverges, those PRs are not been
> merged.
> > > > > >
> > > > > >
> > > > > > I think having a guide such as ping other committer when a
> committer is
> > > > > not
> > > > > > responding, and divide contribution into small peaces if
> possible,
> > > > would
> > > > > > help most of the cases.
> > > > > > Of course committer have to pay attention more to the
> contribution and
> > > > > > helping people. That's the first one.
> > > > > >
> > > > > > Thanks,
> > > > > > moon
> > > > > >
> > > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <
> cos@apache.org>
> > > > > wrote:
> > > > > >
> > > > > > > To make sure we're on the same page, here are two threads that
> I
> > > > found
> > > > > > > related
> > > > > > > to this topic.
> > > > > > >
> > > > > > > Thread 1:
> > > > > > > Subject: R?
> > > > > > > Started on: July 1, 2015
> > > > > > >
> > > > > > > Thread 2:
> > > > > > > Subject: [GitHub] incubator-zeppelin pull request: R
> Interpreter for
> > > > > > > Zeppelin
> > > > > > > Started on: August 13, 2015
> > > > > > >
> > > > > > > If you want to fetch these from our archive send emails to
> > > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > > >
> > > > > > > Cos
> > > > > > >
> > > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > > > > > Guys,
> > > > > > > >
> > > > > > > > While catching up on my emails from the last a couple of
> weeks,
> > > > this
> > > > > > > thread
> > > > > > > > caught my attention. I am not normally paying much attention
> to the
> > > > > > code
> > > > > > > > reviews traffic from GH, but this one is pretty different as
> it
> > > > spans
> > > > > > > three
> > > > > > > > months and counting.
> > > > > > > >
> > > > > > > > First, here are my five cents:
> > > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > > > > > > contributed to
> > > > > > > > an ASF project this file should simply contain ASL2 text,
> like in
> > > > [1]
> > > > > > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> > > > > section,
> > > > > > > but
> > > > > > > > Zeppelin might have different guidelines on it. Say, Bigtop
> doesn't
> > > > > > > > maintain this in the source code, but we have the list of
> all the
> > > > > > > > committers on the project's site [2] Every new committer's
> first
> > > > > > > commit is
> > > > > > > > to update the team page ;)
> > > > > > > > - comments like in
> > > > > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > > >
> > > > > > > > +/**
> > > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > > + */
> > > > > > > >
> > > > > > > > is better to be removed. It has been already discussed here
> [3].
> > > > And
> > > > > > > the
> > > > > > > > initial discussion on the topic [4] was linked as well
> > > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if
> this is
> > > > > > > R-specific
> > > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > > >
> > > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > > ...
> > > > > > > > +Author: David B. Dahl
> > > > > > > >
> > > > > > > > shouldn't be here, IMO. Normally, if some additional
> licenses are
> > > > > > > used,
> > > > > > > > they have to be listed in the top-level NOTICE file (already
> > > > there).
> > > > > > > >
> > > > > > > > - I am not going to offer any comments on the technical
> merits of
> > > > the
> > > > > > > patch,
> > > > > > > > as I haven't tried it personally. However, I don't see any
> serious
> > > > > > > > technical objections to the functionality in question.
> > > > > > > >
> > > > > > > > So, the question is - why the PR is open for three months? I
> hasn't
> > > > > > been
> > > > > > > able
> > > > > > > > to get a clear answer. What I found out though is pretty
> > > > unsettling,
> > > > > > > really.
> > > > > > > > The communication on the topic is almost non-existent,
> except for
> > > > > this
> > > > > > > sparse
> > > > > > > > and bitter thread in the GH.
> > > > > > > >
> > > > > > > > I would love to hear from the committers what's stopping the
> > > > > acceptance
> > > > > > > of the
> > > > > > > > code, besides of the minor issues I've mentioned earlier?
> What are
> > > > > the
> > > > > > > reasons for it?
> > > > > > > > Is there anything wrong with it?
> > > > > > > > One of the responsibilities of the committers is to make
> sure the
> > > > > > > > contributions are reviewed; new contributors are guided and
> do
> > > > > > > understand how
> > > > > > > > the project ticks. The easy feedback flow attracts new
> people,
> > > > > allowing
> > > > > > > the
> > > > > > > > community to grow and thrive.
> > > > > > > >
> > > > > > > > I am asking _explicitely_ not to re-start the bickering I
> have
> > > > > already
> > > > > > > > seen. At this point I am interested in the purely technical
> side of
> > > > > > this.
> > > > > > > >
> > > > > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > > [3]
> > > > > > >
> > > > > >
> > > > >
> > > >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > > [4] http://s.apache.org/iZl
> > > > > > > >
> > > > > > > > With regards,
> > > > > > > > Cos
> > > > > > > >
> > > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > > Github user elbamos commented on the pull request:
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > > >
> > > > > > > > > The current push should resolve some issues with changes
> in the
> > > > > > > > > Spark-Zeppelin interface that had created issues for
> users, as
> > > > > > > well as
> > > > > > > > > support for 1.5.1.
> > > > > > > > >
> > > > > > > > > Knitr support is improved, and the reason for a separate
> knitr
> > > > > > > interpreter may be clearer now.
> > > > > > > > >
> > > > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > > > >
> > > > > > > > > I did not address issues with @author tags, or files under
> the R/
> > > > > > > > > folder. The reason is, to be blunt, I don't understand
> what the
> > > > > > > precise
> > > > > > > > > concerns actually are.
> > > > > > > > >
> > > > > > > > > Please note that I changed .travis.yml to only use spark
> 1.4 and
> > > > > > > later.
> > > > > > > > > I'm sure there is a better way to do it, but I'm just not
> in a
> > > > > > > position
> > > > > > > > > to try to figure out the entire Zeppelin build process.
> > > > > > > > >
> > > > > > > > > Integrating this with the rest of zeppelin is going to
> take some
> > > > > > > work
> > > > > > > > > regarding pom's, travis, and so forth. I can do a lot of
> that,
> > > > > > > but I'm
> > > > > > > > > going to need to discuss it with the people who have been
> > > > "owning"
> > > > > > > those
> > > > > > > > > files. There are just too many moving pieces here.
> > > > > > > > >
> > > > > > > > > Because of the size of this (which is, unfortunately,
> necessary),
> > > > > > > > > posting here is probably not the most efficient way. That
> is also
> > > > > > > true
> > > > > > > > > because certain people chose to use this PR as a forum to
> air
> > > > other
> > > > > > > > > issues. Therefore, it would be better if reviewers e-mail
> me
> > > > > > > directly.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
>
Re: License of KnitRInterpreter Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Konstantin Boudnik <co...@apache.org>.
On Wed, Dec 02, 2015 at 04:28PM, Amos B. Elberg wrote:
> Konstantin thank you for getting into this.
>
>> The best way to go around it is by
>> providing a build-time option that will pull such binaries in. But by default
>> such libs shouldn't be pulled.
>
> That is basically how the PR handles this. If the GPL’d interpreter scripts
> are missing, there’s no indication at all at build time. It doesn’t try to
> download them.
>
> At runtime, if the user tries to use functionality that would need such a
> script (i.e., if they type “knitr” to use knitr), we display an error that
> says that the functionality is not there because the library is missing, and
> that the library cannot be provided because it has an incompatible license,
> but the user can download it themselves if they want.
>
> And, in the log, if the logging level is high, they will see a note that
> some functionality was disabled because the libraries weren’t there.
>
> To be clear, though, none of these libraries are binaries. They’re all interpreter scripts.
If you ever in a doubt of which licenses could be used for dependncies (not to
say about source code) are listed in Category A list of [1]
A lot of quesitons discussed here are already covered in the legal FAQ, so
just check against it if you have any questions.
[1] http://www.apache.org/legal/resolved.html#category-a
Cos
> From: Konstantin Boudnik <co...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 3:24:50 PM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
>
> On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> > I think that what moon means is that:
> > If we merge the way it is now, the KnitRInterpreter will be part of the
> > code base, so it isn't optional at code base level.
> >
> > To make it even more simple:
> > * If the code has the right licensing -> that code can be part of the
> > source code, and can be including in a binary release
>
> We aren't concerned with binary releases - as an Apache community we are
> voting and releasing source code. If the project wants to provide a binary
> release to its users, they are better be warned about inclusion of non
> ASL2-friendly licensed bits.
>
> > * If the code doesn't have the right licensing -> it can't be part of the
> > source code, and can't be included in a binary release
>
> See above.
>
> > * If the code doesn't have the right licensing but is imported at build
> > time (libraries for example) -> it is not in the source code, it can't be
> > included in binary release
>
> That is unless a user doing it on his own. The best way to go around it is by
> providing a build-time option that will pull such binaries in. But by default
> such libs shouldn't be pulled.
>
> Cos
>
> > So in the case of licensing issues, it would need to be fully optional
> > (user bring the interpreter in his directory and build Zeppelin with it)
> >
> >
> > On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <am...@gmail.com>
> > wrote:
> >
> > > Moon let me clarify:
> > >
> > > Interpreted code doesn’t “link.” The wiki article actually explains it
> > > pretty well — https://en.wikipedia.org/wiki/GPL_linking_exception
> > > “Linking” against a library means compiling its headers into a binary, the
> > > way a C compiler works. The 2008 e-mail Moon distributed, called this the
> > > “interpreter exception.”
> > >
> > > As for whether GPL’d code is a “mandatory dependency,” if knitr is missing
> > > the PR will compile, run and test just fine. The user is never prompted to
> > > download it. The only effect is, if the user types “knitr” and knitr isn’t
> > > there, we display an InterpreterError that knitr isn’t there.
> > >
> > > KnitRInterpreter is not optionally required. so it does not matter KnitR
> > > is
> > > optionally required or not.
> > > Aren’t all interpreters optional? You can turn them on and off in the
> > > config files.
> > >
> > > Do you mean that the KnitRInterpreter class gets compiled to bytecode even
> > > if knitr is missing? So what? That isn't a mandatory dependency or a link.
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > Date: December 2, 2015 at 3:18:00 AM
> > > To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > > Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse.
> > > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
> > >
> > > Let me summarize license concern about KnitRInterpreter.
> > >
> > >
> > > Amos's interpretation.
> > >
> > > KnitR is optionally required by KnitRInterpreter.
> > > R dependency in SparkR has no problem. So KnitR should be the same.
> > >
> > >
> > > Moon's interpretation.
> > >
> > > KnitRInterpreter is not optionally required. so it does not matter KnitR is
> > > optionally required or not.
> > > R dependency in SparkR is exception of GPL. KnitR is not applied that
> > > exception.
> > >
> > >
> > > Amos, could you confirm my understanding to your interpretation is correct?
> > > If it is not could you clarify it?
> > >
> > > Thanks,
> > > moon
> > >
> > > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <am...@gmail.com>
> > > wrote:
> > >
> > > > Just to put the final nail in this, I looked it up.
> > > >
> > > > I see no evidence of any “compiler exception.”
> > > >
> > > > There is an exception in the license for the runtime libraries that are
> > > > bundled with GCC. See:
> > > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > > >
> > > > But no “compiler exception.”
> > > >
> > > > In fact, I believe this is part of the reason why LLVM was created.
> > > >
> > > > From: moon soo Lee <mo...@apache.org>
> > > > Reply: moon soo Lee <mo...@apache.org>
> > > > Date: December 1, 2015 at 8:16:36 PM
> > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > > > request: R Interpreter for Zeppelin
> > > >
> > > > Is knitR is commonly considered as a interpreter/compiler? or is it
> > > > considered as a library routine?
> > > >
> > > > Thanks,
> > > > moon
> > > >
> > > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com>
> > > > wrote:
> > > > Moon - you give this as an explanation of the licensing issue:
> > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > >
> > > > According to that, there is an exception in the GPL for interpreter
> > > > languages. As long as you don’t distribute the code, its fine to talk to
> > > > an interpreted language.
> > > >
> > > > Well, if that’s the case, then the PR plainly does not have a license
> > > > issue. It doesn’t distribute any GPL’d R code.
> > > >
> > > > I’m not sure what’s confusing about this. It seems completely
> > > > straightforward.
> > > >
> > > > Regarding this:
> > > >
> > > >
> > > > --
> > > > Amos Elberg
> > > > Sent with Airmail
> > > >
> > > > From: moon soo Lee <mo...@apache.org>
> > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org>
> > > > Date: December 1, 2015 at 6:48:47 PM
> > > >
> > > > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> > > >
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > > > request: R Interpreter for Zeppelin
> > > >
> > > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com>
> > > > wrote:
> > > >
> > > > > I am going to try to minimize my reaction to Moon’s e-mail.
> > > > >
> > > > > The tl;dr is this:
> > > > >
> > > > > The reason we are having this discussion now is that active users of
> > > the
> > > > > PR — which now has its own user base — went public to complain about
> > > > this.
> > > >
> > > >
> > > > > The PR has been tested by an active user base for more than three
> > > months.
> > > > > No-one has been able to identify any specific actual licensing problem,
> > > > and
> > > > > the PR was prepared based on an extensive, careful review of the
> > > relevant
> > > > > licensing issues and after contacting the relevant people.
> > > > >
> > > > >
> > > >
> > > > I admire every software that used by user and helping people. That
> > > includes
> > > > your work. But that's not the topic we're in discussion. Active user does
> > > > not mean your contribution can ignore the review.
> > > >
> > > >
> > > >
> > > > > It is not an explanation for someone who has been ignoring my “how can
> > > I
> > > > > move this forward…” emails for three months to point the finger and
> > > say I
> > > > > didn’t contact the right person or file the right report.
> > > > >
> > > > >
> > > > This is also not the topic in this discussion.
> > > >
> > > >
> > > > > The burden for providing an explanation for the inaction is on the PMCC
> > > > at
> > > > > this point.
> > > >
> > > > I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > > > > core, why do you think other PRs are passing CI?
> > > > > They’re not! I often see comments on PRs to just ignore that CI is
> > > > > failing.
> > > > >
> > > > > One of the most common reasons this PR fails CI, is CI times-out
> > > > > downloading Spark to install. How could that possibly be caused by the
> > > > PR?
> > > > >
> > > > > It looks to me like the only PRs with changes to the relevant parts of
> > > > the
> > > > > code — the SparkInterpreter — are being made by the person who wrote
> > > the
> > > > > testing suite.
> > > > >
> > > > > So, that would explain why some other PRs pass CI: Neither the
> > > > > SparkInterpreter nor the testing suite are stable or robust, but since
> > > > the
> > > > > PRs are coming from the person who wrote both…
> > > > >
> > > > > And let's say Zeppelin core has problem and that makes your PR fails on
> > > > CI
> > > > > test. That's possible. But it still does not mean we can merge it with
> > > CI
> > > > > failing.
> > > > >
> > > > > It means you should be working with me to figure out why the CI is
> > > > failing.
> > > > >
> > > > > This PR has been tested by an active user base for the past three
> > > months.
> > > > > If CI is continuing to fail, and dozens of hours of effort have not
> > > > > resolved the CI issues, then it is time to start considering whether
> > > the
> > > > > testing suite is part of the problem.
> > > > >
> > > > > The level of defensiveness about the CI and SparkInterpreter is not
> > > > > helping to resolve these issues.
> > > > >
> > > > > If you think it's problem on Zeppelin core, then file an issue that
> > > > > reproduce the problem on Zeppelin core, that might be more efficient
> > > than
> > > > > keep trying yourself.
> > > > > I contacted you numerous times about such issues...
> > > > >
> > > >
> > > >
> > > > I remember i commented your issue about CI. but you just keep repeated
> > > it's
> > > > not your problem but Zeppelin core problem.
> > > >
> > > > Then please file an issue about the problem you found in Zeppelin Core.
> > > > Then everyone will get into the problem.
> > > >
> > > >
> > > >
> > > > >
> > > > > In my interpretation, KnitRInterpreter is not an optional feature while
> > > > it
> > > > > is always enabled when compiling Zeppelin and always enabled when
> > > running
> > > > > Zeppelin. And it requires dynamically linked GPL library on runtime.
> > > (yes
> > > > > it will fail when no KnitR is installed on the system)
> > > > >
> > > > > Its not always enabled.
> > > > > It is not dynamically linked at runtime.
> > > > > It will not fail when knitr is missing. If knitr is not present, the
> > > repl
> > > > > interpreter starts and a note is written to to the log that the knitr
> > > > > interpreter isn’t available because knitr is not present.
> > > > >
> > > > > no Apache code can ever call a shell script, on the purpose of dynamic
> > > > > linking with GPL library.
> > > > > You misunderstand.
> > > > >
> > > > > The *shell* is GPL'd.
> > > > >
> > > > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends
> > > on
> > > > a
> > > > > shell script to launch?
> > > > >
> > > > Obviously not.
> > > > >
> > > > > The interaction with R in the PR is the same.
> > > > >
> > > > >
> > > >
> > > > Again, bash is one of exceptions of GPL, like other GPL licensed
> > > > compiler/interpreter.
> > > >
> > > > Check here why Bash and R is okay with Apache License.
> > > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > > >
> > > > I'm not sure we can apply the same exception for 'using' KnitR.
> > > >
> > > > My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter'
> > > you
> > > > wrote is not an optional feature. Which is clearly not optionally enabled
> > > > code and feature. And that depends on KnitR library which is GPL.
> > > >
> > > >
> > > >
> > > > > I was guessing SparkR can be still in Apache License even if it is
> > > > depends
> > > > > on R. Because of GPL licensed compiler generated output is not GPL
> > > > license.
> > > > > and R is sort of compiler. If you can get answer from Spark community
> > > how
> > > > > SparkR get managed to stay in Apache License while R is GPL, the answer
> > > > > might help.
> > > > > The description of SparkR is not accurate in any respect. (Do you think
> > > > > SparkR is not talking to GPL-licensed libraries?)
> > > > >
> > > > > I don’t see that any genuine issue is being raised here.
> > > > >
> > > > > If there is an issue, the burden is on you to identify it.
> > > > >
> > > > > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> > > > the
> > > > > contribution branch for some reason. It is not the really the best
> > > > > practice, but still okay while most contributions are not including
> > > large
> > > > > code base changes
> > > > > However, your one, has more than 4000 lines of code change. If you
> > > rebase
> > > > > then review should be started from the beginning, again. So you might
> > > > want
> > > > > to minimize the rebase your branch.
> > > > >
> > > > > Are you actually complaining that the problem is that I rebased the
> > > code
> > > > > during the three-month period when no-one looked at it and Zeppelin
> > > went
> > > > > through a release?
> > > > >
> > > > > I cannot take it seriously when you say things like this.
> > > > >
> > > > > Having to “start from the beginning” cannot be a problem if you never
> > > > > actually started the first time...
> > > > >
> > > > >
> > > >
> > > > You wanted coordination and cooperation. So i gave you suggestion that
> > > > helping review process. For example, your code has been rebased since my
> > > > comment and jongyoul's comment. that means committers will need to look
> > > > from the beginning. That'll require more time. And maybe, i guess that's
> > > > not what you want. But If you don't care, feel free to rebase.
> > > >
> > > > Thanks,
> > > > moon
> > > >
> > > >
> > > >
> > > > >
> > > > > From: moon soo Lee <mo...@apache.org>
> > > > > Reply: moon soo Lee <mo...@apache.org>
> > > > > Date: December 1, 2015 at 4:42:06 AM
> > > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > > pull
> > > > > request: R Interpreter for Zeppelin
> > > > >
> > > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> > > > > wrote:
> > > > > Thank you, Cos.
> > > > >
> > > > > I’d like to briefly address the issues raised by Moon:
> > > > >
> > > > > 1. This PR does not passes CI
> > > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > > >
> > > > > I’ve been seeking assistance on this since August.
> > > > >
> > > > > The most common reason is that SparkInterpreter is unable to launch
> > > Spark
> > > > > and open a Spark Backend. This is necessary to test the PR.
> > > > >
> > > > > 60+ hours, has been spent adapting and re-basing when the
> > > > SparkInterpreter
> > > > > architecture changed and broke the PR’s *tests.*
> > > > >
> > > > >
> > > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > > Zeppelin
> > > > > core, why do you think other PRs are passing CI?
> > > > >
> > > > > And let's say Zeppelin core has problem and that makes your PR fails on
> > > > CI
> > > > > test. That's possible. But it still does not mean we can merge it with
> > > CI
> > > > > failing.
> > > > >
> > > > > If you think it's problem on Zeppelin core, then file an issue that
> > > > > reproduce the problem on Zeppelin core, that might be more efficient
> > > than
> > > > > keep trying yourself.
> > > > >
> > > > >
> > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > What license problem *specifically* do you believe may exist?
> > > > >
> > > > > In preparing the PR, I:
> > > > >
> > > > > * Reviewed the Apache policy in detail.
> > > > >
> > > > > * Contacted the FSF to ask their interpretation of the “linking”
> > > > > provisions of the GPL license.
> > > > >
> > > > > * Reviewed how other Apache software deals with this issue (e.g., Spark
> > > > > talks to R, which is GPL'd).
> > > > >
> > > > > * No necessary *dependencies* of the PR have license conflicts. In
> > > > > several cases, I contacted package authors who agreed to re-issue their
> > > > > packages under Apache-compatible licenses. (Usually I had to do a bit
> > > of
> > > > > coding in exchange…)
> > > > >
> > > > > * Where the license had to stay GPL, the packages are *not necessary*
> > > and
> > > > > *not dependencies.* If the optional packages are present, they will be
> > > > > used to enable additional functionality. Knitr is an example. The PR
> > > will
> > > > > compile and run fine without knitr. If knitr is available (it is part
> > > of
> > > > > the most common R distribution), the PR will enable the knitr
> > > > interpreter.
> > > > >
> > > > > * This is exactly how this issue is addressed through the Apache
> > > > > ecosystem.
> > > > > The tl;dr is this: When Apache code is written to talk to libraries
> > > that
> > > > > may or may not be present on the user’s system, or where it talks to an
> > > > API
> > > > > but is agnostic about implementation, that is not “linking” in a way
> > > that
> > > > > implicate the anti-linking provision of the GPL.
> > > > >
> > > > > Otherwise, no Apache code could ever call a shell script! Let alone run
> > > > > on Linux, or talk to R.
> > > > >
> > > > >
> > > > > I'm not a legal expert. So following could be wrong.
> > > > >
> > > > > In my interpretation, KnitRInterpreter is not an optional feature while
> > > > it
> > > > > is always enabled when compiling Zeppelin and always enabled when
> > > running
> > > > > Zeppelin. And it requires dynamically linked GPL library on runtime.
> > > (yes
> > > > > it will fail when no KnitR is installed on the system)
> > > > >
> > > > > And of course, no Apache code can ever call a shell script, on the
> > > > purpose
> > > > > of dynamic linking with GPL library.
> > > > >
> > > > > I was guessing SparkR can be still in Apache License even if it is
> > > > depends
> > > > > on R. Because of GPL licensed compiler generated output is not GPL
> > > > license.
> > > > > and R is sort of compiler.
> > > > >
> > > > > If you can get answer from Spark community how SparkR get managed to
> > > stay
> > > > > in Apache License while R is GPL, the answer might help.
> > > > >
> > > > >
> > > > > 3. Need more time to review.
> > > > > Has any reviewer has downloaded the PR or run the demo notebook? (Which
> > > > > is there for the benefit of reviewers, and isn’t intended to go in
> > > final
> > > > > distribution.)
> > > > >
> > > > > How many +1 comments from users would you like to see?
> > > > >
> > > > > How much time do you believe is required?
> > > > >
> > > > >
> > > > > It all depends on when CI is going to pass, when license problem is
> > > going
> > > > > to be cleared, and when a committer willing to review and responsible
> > > to
> > > > > commit your contribution.
> > > > >
> > > > >
> > > > > 1. Large code base change
> > > > > Large code base changes require coordination and cooperation. This PR
> > > > > necessarily implicates the build scripts, testing code, the
> > > > > SparkInterpreter, etc.
> > > > >
> > > > > I have been seeking to coordinate since August.
> > > > >
> > > > > I continue to stand ready to do so.
> > > > >
> > > > > -Amos
> > > > >
> > > > >
> > > > > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> > > > the
> > > > > contribution branch for some reason. It is not the really the best
> > > > > practice, but still okay while most contributions are not including
> > > large
> > > > > code base changes.
> > > > >
> > > > > However, your one, has more than 4000 lines of code change. If you
> > > rebase
> > > > > then review should be started from the beginning, again. So you might
> > > > want
> > > > > to minimize the rebase your branch.
> > > > >
> > > > > Thanks,
> > > > > moon
> > > > >
> > > > >
> > > > > From: moon soo Lee <mo...@apache.org>
> > > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > > dev@zeppelin.incubator.apache.org>
> > > > > Date: December 1, 2015 at 1:34:19 AM
> > > > > To: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org
> > > > >
> > > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > > pull
> > > > > request: R Interpreter for Zeppelin
> > > > >
> > > > > Hi Cos,
> > > > >
> > > > > Thanks for opening a discussion.
> > > > > My answer about 'Why this PR is open for three months' is
> > > > >
> > > > > 1. This PR does not passes CI
> > > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > > 3. Need more time to review.
> > > > >
> > > > > It's my personal answer, other committers may have different opinion.
> > > > >
> > > > >
> > > > > I think the question should be generalized. Because this PR is not the
> > > > only
> > > > > PR that is in impasse. There're more. For example
> > > > >
> > > > > Here's some examples that PR is not been merged.
> > > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > > and so on.
> > > > >
> > > > > I can categorize the cases, based on experience of involving Zeppelin
> > > > > community from the beginning.
> > > > >
> > > > > 1. Large code base change
> > > > >
> > > > > When contribution has large code base changes, it tend to take more
> > > time
> > > > to
> > > > > review and merged. Normally, most contributions merged in 1day~1 week.
> > > > > But some contribution has large code base changes take 2~4 weeks. Few
> > > > > contribution that has very large code base change take months.
> > > > >
> > > > > 2. Communication lost
> > > > >
> > > > > Sometimes, committer is not responding, or contributor is not
> > > responding.
> > > > >
> > > > > 3. Opinion diverges
> > > > >
> > > > > For some changes, included in contribution. When people have different
> > > > > opinion and it continue to diverges, those PRs are not been merged.
> > > > >
> > > > >
> > > > > I think having a guide such as ping other committer when a committer is
> > > > not
> > > > > responding, and divide contribution into small peaces if possible,
> > > would
> > > > > help most of the cases.
> > > > > Of course committer have to pay attention more to the contribution and
> > > > > helping people. That's the first one.
> > > > >
> > > > > Thanks,
> > > > > moon
> > > > >
> > > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
> > > > wrote:
> > > > >
> > > > > > To make sure we're on the same page, here are two threads that I
> > > found
> > > > > > related
> > > > > > to this topic.
> > > > > >
> > > > > > Thread 1:
> > > > > > Subject: R?
> > > > > > Started on: July 1, 2015
> > > > > >
> > > > > > Thread 2:
> > > > > > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > > > > > Zeppelin
> > > > > > Started on: August 13, 2015
> > > > > >
> > > > > > If you want to fetch these from our archive send emails to
> > > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > > >
> > > > > > Cos
> > > > > >
> > > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > > > > Guys,
> > > > > > >
> > > > > > > While catching up on my emails from the last a couple of weeks,
> > > this
> > > > > > thread
> > > > > > > caught my attention. I am not normally paying much attention to the
> > > > > code
> > > > > > > reviews traffic from GH, but this one is pretty different as it
> > > spans
> > > > > > three
> > > > > > > months and counting.
> > > > > > >
> > > > > > > First, here are my five cents:
> > > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > > > > > contributed to
> > > > > > > an ASF project this file should simply contain ASL2 text, like in
> > > [1]
> > > > > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> > > > section,
> > > > > > but
> > > > > > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > > > > > maintain this in the source code, but we have the list of all the
> > > > > > > committers on the project's site [2] Every new committer's first
> > > > > > commit is
> > > > > > > to update the team page ;)
> > > > > > > - comments like in
> > > > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > > >
> > > > > > > +/**
> > > > > > > + * Created by aelberg on 7/28/15.
> > > > > > > + */
> > > > > > >
> > > > > > > is better to be removed. It has been already discussed here [3].
> > > And
> > > > > > the
> > > > > > > initial discussion on the topic [4] was linked as well
> > > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > > > > > R-specific
> > > > > > > stuff - I have no idea about R, honestly, but
> > > > > > >
> > > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > > ...
> > > > > > > +Author: David B. Dahl
> > > > > > >
> > > > > > > shouldn't be here, IMO. Normally, if some additional licenses are
> > > > > > used,
> > > > > > > they have to be listed in the top-level NOTICE file (already
> > > there).
> > > > > > >
> > > > > > > - I am not going to offer any comments on the technical merits of
> > > the
> > > > > > patch,
> > > > > > > as I haven't tried it personally. However, I don't see any serious
> > > > > > > technical objections to the functionality in question.
> > > > > > >
> > > > > > > So, the question is - why the PR is open for three months? I hasn't
> > > > > been
> > > > > > able
> > > > > > > to get a clear answer. What I found out though is pretty
> > > unsettling,
> > > > > > really.
> > > > > > > The communication on the topic is almost non-existent, except for
> > > > this
> > > > > > sparse
> > > > > > > and bitter thread in the GH.
> > > > > > >
> > > > > > > I would love to hear from the committers what's stopping the
> > > > acceptance
> > > > > > of the
> > > > > > > code, besides of the minor issues I've mentioned earlier? What are
> > > > the
> > > > > > reasons for it?
> > > > > > > Is there anything wrong with it?
> > > > > > > One of the responsibilities of the committers is to make sure the
> > > > > > > contributions are reviewed; new contributors are guided and do
> > > > > > understand how
> > > > > > > the project ticks. The easy feedback flow attracts new people,
> > > > allowing
> > > > > > the
> > > > > > > community to grow and thrive.
> > > > > > >
> > > > > > > I am asking _explicitely_ not to re-start the bickering I have
> > > > already
> > > > > > > seen. At this point I am interested in the purely technical side of
> > > > > this.
> > > > > > >
> > > > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > > [3]
> > > > > >
> > > > >
> > > >
> > > http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > > [4] http://s.apache.org/iZl
> > > > > > >
> > > > > > > With regards,
> > > > > > > Cos
> > > > > > >
> > > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > > Github user elbamos commented on the pull request:
> > > > > > > >
> > > > > > > >
> > > > > >
> > > > >
> > > >
> > > https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > > >
> > > > > > > > The current push should resolve some issues with changes in the
> > > > > > > > Spark-Zeppelin interface that had created issues for users, as
> > > > > > well as
> > > > > > > > support for 1.5.1.
> > > > > > > >
> > > > > > > > Knitr support is improved, and the reason for a separate knitr
> > > > > > interpreter may be clearer now.
> > > > > > > >
> > > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > > >
> > > > > > > > I did not address issues with @author tags, or files under the R/
> > > > > > > > folder. The reason is, to be blunt, I don't understand what the
> > > > > > precise
> > > > > > > > concerns actually are.
> > > > > > > >
> > > > > > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > > > > > later.
> > > > > > > > I'm sure there is a better way to do it, but I'm just not in a
> > > > > > position
> > > > > > > > to try to figure out the entire Zeppelin build process.
> > > > > > > >
> > > > > > > > Integrating this with the rest of zeppelin is going to take some
> > > > > > work
> > > > > > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > > > > > but I'm
> > > > > > > > going to need to discuss it with the people who have been
> > > "owning"
> > > > > > those
> > > > > > > > files. There are just too many moving pieces here.
> > > > > > > >
> > > > > > > > Because of the size of this (which is, unfortunately, necessary),
> > > > > > > > posting here is probably not the most efficient way. That is also
> > > > > > true
> > > > > > > > because certain people chose to use this PR as a forum to air
> > > other
> > > > > > > > issues. Therefore, it would be better if reviewers e-mail me
> > > > > > directly.
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
Re: License of KnitRInterpreter Was: Re: contributions impasse.
Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Konstantin thank you for getting into this.
The best way to go around it is by
providing a build-time option that will pull such binaries in. But by default
such libs shouldn't be pulled.
That is basically how the PR handles this. If the GPL’d interpreter scripts are missing, there’s no indication at all at build time. It doesn’t try to download them.
At runtime, if the user tries to use functionality that would need such a script (i.e., if they type “knitr” to use knitr), we display an error that says that the functionality is not there because the library is missing, and that the library cannot be provided because it has an incompatible license, but the user can download it themselves if they want.
And, in the log, if the logging level is high, they will see a note that some functionality was disabled because the libraries weren’t there.
To be clear, though, none of these libraries are binaries. They’re all interpreter scripts.
From: Konstantin Boudnik <co...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 2, 2015 at 3:24:50 PM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> I think that what moon means is that:
> If we merge the way it is now, the KnitRInterpreter will be part of the
> code base, so it isn't optional at code base level.
>
> To make it even more simple:
> * If the code has the right licensing -> that code can be part of the
> source code, and can be including in a binary release
We aren't concerned with binary releases - as an Apache community we are
voting and releasing source code. If the project wants to provide a binary
release to its users, they are better be warned about inclusion of non
ASL2-friendly licensed bits.
> * If the code doesn't have the right licensing -> it can't be part of the
> source code, and can't be included in a binary release
See above.
> * If the code doesn't have the right licensing but is imported at build
> time (libraries for example) -> it is not in the source code, it can't be
> included in binary release
That is unless a user doing it on his own. The best way to go around it is by
providing a build-time option that will pull such binaries in. But by default
such libs shouldn't be pulled.
Cos
> So in the case of licensing issues, it would need to be fully optional
> (user bring the interpreter in his directory and build Zeppelin with it)
>
>
> On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Moon let me clarify:
> >
> > Interpreted code doesn’t “link.” The wiki article actually explains it
> > pretty well — https://en.wikipedia.org/wiki/GPL_linking_exception
> > “Linking” against a library means compiling its headers into a binary, the
> > way a C compiler works. The 2008 e-mail Moon distributed, called this the
> > “interpreter exception.”
> >
> > As for whether GPL’d code is a “mandatory dependency,” if knitr is missing
> > the PR will compile, run and test just fine. The user is never prompted to
> > download it. The only effect is, if the user types “knitr” and knitr isn’t
> > there, we display an InterpreterError that knitr isn’t there.
> >
> > KnitRInterpreter is not optionally required. so it does not matter KnitR
> > is
> > optionally required or not.
> > Aren’t all interpreters optional? You can turn them on and off in the
> > config files.
> >
> > Do you mean that the KnitRInterpreter class gets compiled to bytecode even
> > if knitr is missing? So what? That isn't a mandatory dependency or a link.
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 3:18:00 AM
> > To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse.
> > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
> >
> > Let me summarize license concern about KnitRInterpreter.
> >
> >
> > Amos's interpretation.
> >
> > KnitR is optionally required by KnitRInterpreter.
> > R dependency in SparkR has no problem. So KnitR should be the same.
> >
> >
> > Moon's interpretation.
> >
> > KnitRInterpreter is not optionally required. so it does not matter KnitR is
> > optionally required or not.
> > R dependency in SparkR is exception of GPL. KnitR is not applied that
> > exception.
> >
> >
> > Amos, could you confirm my understanding to your interpretation is correct?
> > If it is not could you clarify it?
> >
> > Thanks,
> > moon
> >
> > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <am...@gmail.com>
> > wrote:
> >
> > > Just to put the final nail in this, I looked it up.
> > >
> > > I see no evidence of any “compiler exception.”
> > >
> > > There is an exception in the license for the runtime libraries that are
> > > bundled with GCC. See:
> > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > >
> > > But no “compiler exception.”
> > >
> > > In fact, I believe this is part of the reason why LLVM was created.
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: moon soo Lee <mo...@apache.org>
> > > Date: December 1, 2015 at 8:16:36 PM
> > > To: Amos B. Elberg <am...@gmail.com>,
> > > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > > request: R Interpreter for Zeppelin
> > >
> > > Is knitR is commonly considered as a interpreter/compiler? or is it
> > > considered as a library routine?
> > >
> > > Thanks,
> > > moon
> > >
> > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com>
> > > wrote:
> > > Moon - you give this as an explanation of the licensing issue:
> > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > >
> > > According to that, there is an exception in the GPL for interpreter
> > > languages. As long as you don’t distribute the code, its fine to talk to
> > > an interpreted language.
> > >
> > > Well, if that’s the case, then the PR plainly does not have a license
> > > issue. It doesn’t distribute any GPL’d R code.
> > >
> > > I’m not sure what’s confusing about this. It seems completely
> > > straightforward.
> > >
> > > Regarding this:
> > >
> > >
> > > --
> > > Amos Elberg
> > > Sent with Airmail
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > Date: December 1, 2015 at 6:48:47 PM
> > >
> > > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> > >
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > > request: R Interpreter for Zeppelin
> > >
> > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com>
> > > wrote:
> > >
> > > > I am going to try to minimize my reaction to Moon’s e-mail.
> > > >
> > > > The tl;dr is this:
> > > >
> > > > The reason we are having this discussion now is that active users of
> > the
> > > > PR — which now has its own user base — went public to complain about
> > > this.
> > >
> > >
> > > > The PR has been tested by an active user base for more than three
> > months.
> > > > No-one has been able to identify any specific actual licensing problem,
> > > and
> > > > the PR was prepared based on an extensive, careful review of the
> > relevant
> > > > licensing issues and after contacting the relevant people.
> > > >
> > > >
> > >
> > > I admire every software that used by user and helping people. That
> > includes
> > > your work. But that's not the topic we're in discussion. Active user does
> > > not mean your contribution can ignore the review.
> > >
> > >
> > >
> > > > It is not an explanation for someone who has been ignoring my “how can
> > I
> > > > move this forward…” emails for three months to point the finger and
> > say I
> > > > didn’t contact the right person or file the right report.
> > > >
> > > >
> > > This is also not the topic in this discussion.
> > >
> > >
> > > > The burden for providing an explanation for the inaction is on the PMCC
> > > at
> > > > this point.
> > >
> > > I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > > > core, why do you think other PRs are passing CI?
> > > > They’re not! I often see comments on PRs to just ignore that CI is
> > > > failing.
> > > >
> > > > One of the most common reasons this PR fails CI, is CI times-out
> > > > downloading Spark to install. How could that possibly be caused by the
> > > PR?
> > > >
> > > > It looks to me like the only PRs with changes to the relevant parts of
> > > the
> > > > code — the SparkInterpreter — are being made by the person who wrote
> > the
> > > > testing suite.
> > > >
> > > > So, that would explain why some other PRs pass CI: Neither the
> > > > SparkInterpreter nor the testing suite are stable or robust, but since
> > > the
> > > > PRs are coming from the person who wrote both…
> > > >
> > > > And let's say Zeppelin core has problem and that makes your PR fails on
> > > CI
> > > > test. That's possible. But it still does not mean we can merge it with
> > CI
> > > > failing.
> > > >
> > > > It means you should be working with me to figure out why the CI is
> > > failing.
> > > >
> > > > This PR has been tested by an active user base for the past three
> > months.
> > > > If CI is continuing to fail, and dozens of hours of effort have not
> > > > resolved the CI issues, then it is time to start considering whether
> > the
> > > > testing suite is part of the problem.
> > > >
> > > > The level of defensiveness about the CI and SparkInterpreter is not
> > > > helping to resolve these issues.
> > > >
> > > > If you think it's problem on Zeppelin core, then file an issue that
> > > > reproduce the problem on Zeppelin core, that might be more efficient
> > than
> > > > keep trying yourself.
> > > > I contacted you numerous times about such issues...
> > > >
> > >
> > >
> > > I remember i commented your issue about CI. but you just keep repeated
> > it's
> > > not your problem but Zeppelin core problem.
> > >
> > > Then please file an issue about the problem you found in Zeppelin Core.
> > > Then everyone will get into the problem.
> > >
> > >
> > >
> > > >
> > > > In my interpretation, KnitRInterpreter is not an optional feature while
> > > it
> > > > is always enabled when compiling Zeppelin and always enabled when
> > running
> > > > Zeppelin. And it requires dynamically linked GPL library on runtime.
> > (yes
> > > > it will fail when no KnitR is installed on the system)
> > > >
> > > > Its not always enabled.
> > > > It is not dynamically linked at runtime.
> > > > It will not fail when knitr is missing. If knitr is not present, the
> > repl
> > > > interpreter starts and a note is written to to the log that the knitr
> > > > interpreter isn’t available because knitr is not present.
> > > >
> > > > no Apache code can ever call a shell script, on the purpose of dynamic
> > > > linking with GPL library.
> > > > You misunderstand.
> > > >
> > > > The *shell* is GPL'd.
> > > >
> > > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends
> > on
> > > a
> > > > shell script to launch?
> > > >
> > > Obviously not.
> > > >
> > > > The interaction with R in the PR is the same.
> > > >
> > > >
> > >
> > > Again, bash is one of exceptions of GPL, like other GPL licensed
> > > compiler/interpreter.
> > >
> > > Check here why Bash and R is okay with Apache License.
> > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > >
> > > I'm not sure we can apply the same exception for 'using' KnitR.
> > >
> > > My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter'
> > you
> > > wrote is not an optional feature. Which is clearly not optionally enabled
> > > code and feature. And that depends on KnitR library which is GPL.
> > >
> > >
> > >
> > > > I was guessing SparkR can be still in Apache License even if it is
> > > depends
> > > > on R. Because of GPL licensed compiler generated output is not GPL
> > > license.
> > > > and R is sort of compiler. If you can get answer from Spark community
> > how
> > > > SparkR get managed to stay in Apache License while R is GPL, the answer
> > > > might help.
> > > > The description of SparkR is not accurate in any respect. (Do you think
> > > > SparkR is not talking to GPL-licensed libraries?)
> > > >
> > > > I don’t see that any genuine issue is being raised here.
> > > >
> > > > If there is an issue, the burden is on you to identify it.
> > > >
> > > > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> > > the
> > > > contribution branch for some reason. It is not the really the best
> > > > practice, but still okay while most contributions are not including
> > large
> > > > code base changes
> > > > However, your one, has more than 4000 lines of code change. If you
> > rebase
> > > > then review should be started from the beginning, again. So you might
> > > want
> > > > to minimize the rebase your branch.
> > > >
> > > > Are you actually complaining that the problem is that I rebased the
> > code
> > > > during the three-month period when no-one looked at it and Zeppelin
> > went
> > > > through a release?
> > > >
> > > > I cannot take it seriously when you say things like this.
> > > >
> > > > Having to “start from the beginning” cannot be a problem if you never
> > > > actually started the first time...
> > > >
> > > >
> > >
> > > You wanted coordination and cooperation. So i gave you suggestion that
> > > helping review process. For example, your code has been rebased since my
> > > comment and jongyoul's comment. that means committers will need to look
> > > from the beginning. That'll require more time. And maybe, i guess that's
> > > not what you want. But If you don't care, feel free to rebase.
> > >
> > > Thanks,
> > > moon
> > >
> > >
> > >
> > > >
> > > > From: moon soo Lee <mo...@apache.org>
> > > > Reply: moon soo Lee <mo...@apache.org>
> > > > Date: December 1, 2015 at 4:42:06 AM
> > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull
> > > > request: R Interpreter for Zeppelin
> > > >
> > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> > > > wrote:
> > > > Thank you, Cos.
> > > >
> > > > I’d like to briefly address the issues raised by Moon:
> > > >
> > > > 1. This PR does not passes CI
> > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > >
> > > > I’ve been seeking assistance on this since August.
> > > >
> > > > The most common reason is that SparkInterpreter is unable to launch
> > Spark
> > > > and open a Spark Backend. This is necessary to test the PR.
> > > >
> > > > 60+ hours, has been spent adapting and re-basing when the
> > > SparkInterpreter
> > > > architecture changed and broke the PR’s *tests.*
> > > >
> > > >
> > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > Zeppelin
> > > > core, why do you think other PRs are passing CI?
> > > >
> > > > And let's say Zeppelin core has problem and that makes your PR fails on
> > > CI
> > > > test. That's possible. But it still does not mean we can merge it with
> > CI
> > > > failing.
> > > >
> > > > If you think it's problem on Zeppelin core, then file an issue that
> > > > reproduce the problem on Zeppelin core, that might be more efficient
> > than
> > > > keep trying yourself.
> > > >
> > > >
> > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > What license problem *specifically* do you believe may exist?
> > > >
> > > > In preparing the PR, I:
> > > >
> > > > * Reviewed the Apache policy in detail.
> > > >
> > > > * Contacted the FSF to ask their interpretation of the “linking”
> > > > provisions of the GPL license.
> > > >
> > > > * Reviewed how other Apache software deals with this issue (e.g., Spark
> > > > talks to R, which is GPL'd).
> > > >
> > > > * No necessary *dependencies* of the PR have license conflicts. In
> > > > several cases, I contacted package authors who agreed to re-issue their
> > > > packages under Apache-compatible licenses. (Usually I had to do a bit
> > of
> > > > coding in exchange…)
> > > >
> > > > * Where the license had to stay GPL, the packages are *not necessary*
> > and
> > > > *not dependencies.* If the optional packages are present, they will be
> > > > used to enable additional functionality. Knitr is an example. The PR
> > will
> > > > compile and run fine without knitr. If knitr is available (it is part
> > of
> > > > the most common R distribution), the PR will enable the knitr
> > > interpreter.
> > > >
> > > > * This is exactly how this issue is addressed through the Apache
> > > > ecosystem.
> > > > The tl;dr is this: When Apache code is written to talk to libraries
> > that
> > > > may or may not be present on the user’s system, or where it talks to an
> > > API
> > > > but is agnostic about implementation, that is not “linking” in a way
> > that
> > > > implicate the anti-linking provision of the GPL.
> > > >
> > > > Otherwise, no Apache code could ever call a shell script! Let alone run
> > > > on Linux, or talk to R.
> > > >
> > > >
> > > > I'm not a legal expert. So following could be wrong.
> > > >
> > > > In my interpretation, KnitRInterpreter is not an optional feature while
> > > it
> > > > is always enabled when compiling Zeppelin and always enabled when
> > running
> > > > Zeppelin. And it requires dynamically linked GPL library on runtime.
> > (yes
> > > > it will fail when no KnitR is installed on the system)
> > > >
> > > > And of course, no Apache code can ever call a shell script, on the
> > > purpose
> > > > of dynamic linking with GPL library.
> > > >
> > > > I was guessing SparkR can be still in Apache License even if it is
> > > depends
> > > > on R. Because of GPL licensed compiler generated output is not GPL
> > > license.
> > > > and R is sort of compiler.
> > > >
> > > > If you can get answer from Spark community how SparkR get managed to
> > stay
> > > > in Apache License while R is GPL, the answer might help.
> > > >
> > > >
> > > > 3. Need more time to review.
> > > > Has any reviewer has downloaded the PR or run the demo notebook? (Which
> > > > is there for the benefit of reviewers, and isn’t intended to go in
> > final
> > > > distribution.)
> > > >
> > > > How many +1 comments from users would you like to see?
> > > >
> > > > How much time do you believe is required?
> > > >
> > > >
> > > > It all depends on when CI is going to pass, when license problem is
> > going
> > > > to be cleared, and when a committer willing to review and responsible
> > to
> > > > commit your contribution.
> > > >
> > > >
> > > > 1. Large code base change
> > > > Large code base changes require coordination and cooperation. This PR
> > > > necessarily implicates the build scripts, testing code, the
> > > > SparkInterpreter, etc.
> > > >
> > > > I have been seeking to coordinate since August.
> > > >
> > > > I continue to stand ready to do so.
> > > >
> > > > -Amos
> > > >
> > > >
> > > > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> > > the
> > > > contribution branch for some reason. It is not the really the best
> > > > practice, but still okay while most contributions are not including
> > large
> > > > code base changes.
> > > >
> > > > However, your one, has more than 4000 lines of code change. If you
> > rebase
> > > > then review should be started from the beginning, again. So you might
> > > want
> > > > to minimize the rebase your branch.
> > > >
> > > > Thanks,
> > > > moon
> > > >
> > > >
> > > > From: moon soo Lee <mo...@apache.org>
> > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org>
> > > > Date: December 1, 2015 at 1:34:19 AM
> > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > >
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull
> > > > request: R Interpreter for Zeppelin
> > > >
> > > > Hi Cos,
> > > >
> > > > Thanks for opening a discussion.
> > > > My answer about 'Why this PR is open for three months' is
> > > >
> > > > 1. This PR does not passes CI
> > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > 3. Need more time to review.
> > > >
> > > > It's my personal answer, other committers may have different opinion.
> > > >
> > > >
> > > > I think the question should be generalized. Because this PR is not the
> > > only
> > > > PR that is in impasse. There're more. For example
> > > >
> > > > Here's some examples that PR is not been merged.
> > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > and so on.
> > > >
> > > > I can categorize the cases, based on experience of involving Zeppelin
> > > > community from the beginning.
> > > >
> > > > 1. Large code base change
> > > >
> > > > When contribution has large code base changes, it tend to take more
> > time
> > > to
> > > > review and merged. Normally, most contributions merged in 1day~1 week.
> > > > But some contribution has large code base changes take 2~4 weeks. Few
> > > > contribution that has very large code base change take months.
> > > >
> > > > 2. Communication lost
> > > >
> > > > Sometimes, committer is not responding, or contributor is not
> > responding.
> > > >
> > > > 3. Opinion diverges
> > > >
> > > > For some changes, included in contribution. When people have different
> > > > opinion and it continue to diverges, those PRs are not been merged.
> > > >
> > > >
> > > > I think having a guide such as ping other committer when a committer is
> > > not
> > > > responding, and divide contribution into small peaces if possible,
> > would
> > > > help most of the cases.
> > > > Of course committer have to pay attention more to the contribution and
> > > > helping people. That's the first one.
> > > >
> > > > Thanks,
> > > > moon
> > > >
> > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
> > > wrote:
> > > >
> > > > > To make sure we're on the same page, here are two threads that I
> > found
> > > > > related
> > > > > to this topic.
> > > > >
> > > > > Thread 1:
> > > > > Subject: R?
> > > > > Started on: July 1, 2015
> > > > >
> > > > > Thread 2:
> > > > > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > > > > Zeppelin
> > > > > Started on: August 13, 2015
> > > > >
> > > > > If you want to fetch these from our archive send emails to
> > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > >
> > > > > Cos
> > > > >
> > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > > > Guys,
> > > > > >
> > > > > > While catching up on my emails from the last a couple of weeks,
> > this
> > > > > thread
> > > > > > caught my attention. I am not normally paying much attention to the
> > > > code
> > > > > > reviews traffic from GH, but this one is pretty different as it
> > spans
> > > > > three
> > > > > > months and counting.
> > > > > >
> > > > > > First, here are my five cents:
> > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > > > > contributed to
> > > > > > an ASF project this file should simply contain ASL2 text, like in
> > [1]
> > > > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> > > section,
> > > > > but
> > > > > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > > > > maintain this in the source code, but we have the list of all the
> > > > > > committers on the project's site [2] Every new committer's first
> > > > > commit is
> > > > > > to update the team page ;)
> > > > > > - comments like in
> > > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > >
> > > > > > +/**
> > > > > > + * Created by aelberg on 7/28/15.
> > > > > > + */
> > > > > >
> > > > > > is better to be removed. It has been already discussed here [3].
> > And
> > > > > the
> > > > > > initial discussion on the topic [4] was linked as well
> > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > > > > R-specific
> > > > > > stuff - I have no idea about R, honestly, but
> > > > > >
> > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > ...
> > > > > > +Author: David B. Dahl
> > > > > >
> > > > > > shouldn't be here, IMO. Normally, if some additional licenses are
> > > > > used,
> > > > > > they have to be listed in the top-level NOTICE file (already
> > there).
> > > > > >
> > > > > > - I am not going to offer any comments on the technical merits of
> > the
> > > > > patch,
> > > > > > as I haven't tried it personally. However, I don't see any serious
> > > > > > technical objections to the functionality in question.
> > > > > >
> > > > > > So, the question is - why the PR is open for three months? I hasn't
> > > > been
> > > > > able
> > > > > > to get a clear answer. What I found out though is pretty
> > unsettling,
> > > > > really.
> > > > > > The communication on the topic is almost non-existent, except for
> > > this
> > > > > sparse
> > > > > > and bitter thread in the GH.
> > > > > >
> > > > > > I would love to hear from the committers what's stopping the
> > > acceptance
> > > > > of the
> > > > > > code, besides of the minor issues I've mentioned earlier? What are
> > > the
> > > > > reasons for it?
> > > > > > Is there anything wrong with it?
> > > > > > One of the responsibilities of the committers is to make sure the
> > > > > > contributions are reviewed; new contributors are guided and do
> > > > > understand how
> > > > > > the project ticks. The easy feedback flow attracts new people,
> > > allowing
> > > > > the
> > > > > > community to grow and thrive.
> > > > > >
> > > > > > I am asking _explicitely_ not to re-start the bickering I have
> > > already
> > > > > > seen. At this point I am interested in the purely technical side of
> > > > this.
> > > > > >
> > > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > [3]
> > > > >
> > > >
> > >
> > http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > [4] http://s.apache.org/iZl
> > > > > >
> > > > > > With regards,
> > > > > > Cos
> > > > > >
> > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > Github user elbamos commented on the pull request:
> > > > > > >
> > > > > > >
> > > > >
> > > >
> > >
> > https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > >
> > > > > > > The current push should resolve some issues with changes in the
> > > > > > > Spark-Zeppelin interface that had created issues for users, as
> > > > > well as
> > > > > > > support for 1.5.1.
> > > > > > >
> > > > > > > Knitr support is improved, and the reason for a separate knitr
> > > > > interpreter may be clearer now.
> > > > > > >
> > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > >
> > > > > > > I did not address issues with @author tags, or files under the R/
> > > > > > > folder. The reason is, to be blunt, I don't understand what the
> > > > > precise
> > > > > > > concerns actually are.
> > > > > > >
> > > > > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > > > > later.
> > > > > > > I'm sure there is a better way to do it, but I'm just not in a
> > > > > position
> > > > > > > to try to figure out the entire Zeppelin build process.
> > > > > > >
> > > > > > > Integrating this with the rest of zeppelin is going to take some
> > > > > work
> > > > > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > > > > but I'm
> > > > > > > going to need to discuss it with the people who have been
> > "owning"
> > > > > those
> > > > > > > files. There are just too many moving pieces here.
> > > > > > >
> > > > > > > Because of the size of this (which is, unfortunately, necessary),
> > > > > > > posting here is probably not the most efficient way. That is also
> > > > > true
> > > > > > > because certain people chose to use this PR as a forum to air
> > other
> > > > > > > issues. Therefore, it would be better if reviewers e-mail me
> > > > > directly.
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
Re: License of KnitRInterpreter Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Konstantin Boudnik <co...@apache.org>.
On Wed, Dec 02, 2015 at 06:56PM, Corneau Damien wrote:
> I think that what moon means is that:
> If we merge the way it is now, the KnitRInterpreter will be part of the
> code base, so it isn't optional at code base level.
>
> To make it even more simple:
> * If the code has the right licensing -> that code can be part of the
> source code, and can be including in a binary release
We aren't concerned with binary releases - as an Apache community we are
voting and releasing source code. If the project wants to provide a binary
release to its users, they are better be warned about inclusion of non
ASL2-friendly licensed bits.
> * If the code doesn't have the right licensing -> it can't be part of the
> source code, and can't be included in a binary release
See above.
> * If the code doesn't have the right licensing but is imported at build
> time (libraries for example) -> it is not in the source code, it can't be
> included in binary release
That is unless a user doing it on his own. The best way to go around it is by
providing a build-time option that will pull such binaries in. But by default
such libs shouldn't be pulled.
Cos
> So in the case of licensing issues, it would need to be fully optional
> (user bring the interpreter in his directory and build Zeppelin with it)
>
>
> On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Moon let me clarify:
> >
> > Interpreted code doesn’t “link.” The wiki article actually explains it
> > pretty well — https://en.wikipedia.org/wiki/GPL_linking_exception
> > “Linking” against a library means compiling its headers into a binary, the
> > way a C compiler works. The 2008 e-mail Moon distributed, called this the
> > “interpreter exception.”
> >
> > As for whether GPL’d code is a “mandatory dependency,” if knitr is missing
> > the PR will compile, run and test just fine. The user is never prompted to
> > download it. The only effect is, if the user types “knitr” and knitr isn’t
> > there, we display an InterpreterError that knitr isn’t there.
> >
> > KnitRInterpreter is not optionally required. so it does not matter KnitR
> > is
> > optionally required or not.
> > Aren’t all interpreters optional? You can turn them on and off in the
> > config files.
> >
> > Do you mean that the KnitRInterpreter class gets compiled to bytecode even
> > if knitr is missing? So what? That isn't a mandatory dependency or a link.
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 3:18:00 AM
> > To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse.
> > Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
> >
> > Let me summarize license concern about KnitRInterpreter.
> >
> >
> > Amos's interpretation.
> >
> > KnitR is optionally required by KnitRInterpreter.
> > R dependency in SparkR has no problem. So KnitR should be the same.
> >
> >
> > Moon's interpretation.
> >
> > KnitRInterpreter is not optionally required. so it does not matter KnitR is
> > optionally required or not.
> > R dependency in SparkR is exception of GPL. KnitR is not applied that
> > exception.
> >
> >
> > Amos, could you confirm my understanding to your interpretation is correct?
> > If it is not could you clarify it?
> >
> > Thanks,
> > moon
> >
> > On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <am...@gmail.com>
> > wrote:
> >
> > > Just to put the final nail in this, I looked it up.
> > >
> > > I see no evidence of any “compiler exception.”
> > >
> > > There is an exception in the license for the runtime libraries that are
> > > bundled with GCC. See:
> > > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> > >
> > > But no “compiler exception.”
> > >
> > > In fact, I believe this is part of the reason why LLVM was created.
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: moon soo Lee <mo...@apache.org>
> > > Date: December 1, 2015 at 8:16:36 PM
> > > To: Amos B. Elberg <am...@gmail.com>,
> > > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > > request: R Interpreter for Zeppelin
> > >
> > > Is knitR is commonly considered as a interpreter/compiler? or is it
> > > considered as a library routine?
> > >
> > > Thanks,
> > > moon
> > >
> > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com>
> > > wrote:
> > > Moon - you give this as an explanation of the licensing issue:
> > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > >
> > > According to that, there is an exception in the GPL for interpreter
> > > languages. As long as you don’t distribute the code, its fine to talk to
> > > an interpreted language.
> > >
> > > Well, if that’s the case, then the PR plainly does not have a license
> > > issue. It doesn’t distribute any GPL’d R code.
> > >
> > > I’m not sure what’s confusing about this. It seems completely
> > > straightforward.
> > >
> > > Regarding this:
> > >
> > >
> > > --
> > > Amos Elberg
> > > Sent with Airmail
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > Date: December 1, 2015 at 6:48:47 PM
> > >
> > > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> > >
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > > request: R Interpreter for Zeppelin
> > >
> > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com>
> > > wrote:
> > >
> > > > I am going to try to minimize my reaction to Moon’s e-mail.
> > > >
> > > > The tl;dr is this:
> > > >
> > > > The reason we are having this discussion now is that active users of
> > the
> > > > PR — which now has its own user base — went public to complain about
> > > this.
> > >
> > >
> > > > The PR has been tested by an active user base for more than three
> > months.
> > > > No-one has been able to identify any specific actual licensing problem,
> > > and
> > > > the PR was prepared based on an extensive, careful review of the
> > relevant
> > > > licensing issues and after contacting the relevant people.
> > > >
> > > >
> > >
> > > I admire every software that used by user and helping people. That
> > includes
> > > your work. But that's not the topic we're in discussion. Active user does
> > > not mean your contribution can ignore the review.
> > >
> > >
> > >
> > > > It is not an explanation for someone who has been ignoring my “how can
> > I
> > > > move this forward…” emails for three months to point the finger and
> > say I
> > > > didn’t contact the right person or file the right report.
> > > >
> > > >
> > > This is also not the topic in this discussion.
> > >
> > >
> > > > The burden for providing an explanation for the inaction is on the PMCC
> > > at
> > > > this point.
> > >
> > > I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > > > core, why do you think other PRs are passing CI?
> > > > They’re not! I often see comments on PRs to just ignore that CI is
> > > > failing.
> > > >
> > > > One of the most common reasons this PR fails CI, is CI times-out
> > > > downloading Spark to install. How could that possibly be caused by the
> > > PR?
> > > >
> > > > It looks to me like the only PRs with changes to the relevant parts of
> > > the
> > > > code — the SparkInterpreter — are being made by the person who wrote
> > the
> > > > testing suite.
> > > >
> > > > So, that would explain why some other PRs pass CI: Neither the
> > > > SparkInterpreter nor the testing suite are stable or robust, but since
> > > the
> > > > PRs are coming from the person who wrote both…
> > > >
> > > > And let's say Zeppelin core has problem and that makes your PR fails on
> > > CI
> > > > test. That's possible. But it still does not mean we can merge it with
> > CI
> > > > failing.
> > > >
> > > > It means you should be working with me to figure out why the CI is
> > > failing.
> > > >
> > > > This PR has been tested by an active user base for the past three
> > months.
> > > > If CI is continuing to fail, and dozens of hours of effort have not
> > > > resolved the CI issues, then it is time to start considering whether
> > the
> > > > testing suite is part of the problem.
> > > >
> > > > The level of defensiveness about the CI and SparkInterpreter is not
> > > > helping to resolve these issues.
> > > >
> > > > If you think it's problem on Zeppelin core, then file an issue that
> > > > reproduce the problem on Zeppelin core, that might be more efficient
> > than
> > > > keep trying yourself.
> > > > I contacted you numerous times about such issues...
> > > >
> > >
> > >
> > > I remember i commented your issue about CI. but you just keep repeated
> > it's
> > > not your problem but Zeppelin core problem.
> > >
> > > Then please file an issue about the problem you found in Zeppelin Core.
> > > Then everyone will get into the problem.
> > >
> > >
> > >
> > > >
> > > > In my interpretation, KnitRInterpreter is not an optional feature while
> > > it
> > > > is always enabled when compiling Zeppelin and always enabled when
> > running
> > > > Zeppelin. And it requires dynamically linked GPL library on runtime.
> > (yes
> > > > it will fail when no KnitR is installed on the system)
> > > >
> > > > Its not always enabled.
> > > > It is not dynamically linked at runtime.
> > > > It will not fail when knitr is missing. If knitr is not present, the
> > repl
> > > > interpreter starts and a note is written to to the log that the knitr
> > > > interpreter isn’t available because knitr is not present.
> > > >
> > > > no Apache code can ever call a shell script, on the purpose of dynamic
> > > > linking with GPL library.
> > > > You misunderstand.
> > > >
> > > > The *shell* is GPL'd.
> > > >
> > > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends
> > on
> > > a
> > > > shell script to launch?
> > > >
> > > Obviously not.
> > > >
> > > > The interaction with R in the PR is the same.
> > > >
> > > >
> > >
> > > Again, bash is one of exceptions of GPL, like other GPL licensed
> > > compiler/interpreter.
> > >
> > > Check here why Bash and R is okay with Apache License.
> > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > >
> > > I'm not sure we can apply the same exception for 'using' KnitR.
> > >
> > > My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter'
> > you
> > > wrote is not an optional feature. Which is clearly not optionally enabled
> > > code and feature. And that depends on KnitR library which is GPL.
> > >
> > >
> > >
> > > > I was guessing SparkR can be still in Apache License even if it is
> > > depends
> > > > on R. Because of GPL licensed compiler generated output is not GPL
> > > license.
> > > > and R is sort of compiler. If you can get answer from Spark community
> > how
> > > > SparkR get managed to stay in Apache License while R is GPL, the answer
> > > > might help.
> > > > The description of SparkR is not accurate in any respect. (Do you think
> > > > SparkR is not talking to GPL-licensed libraries?)
> > > >
> > > > I don’t see that any genuine issue is being raised here.
> > > >
> > > > If there is an issue, the burden is on you to identify it.
> > > >
> > > > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> > > the
> > > > contribution branch for some reason. It is not the really the best
> > > > practice, but still okay while most contributions are not including
> > large
> > > > code base changes
> > > > However, your one, has more than 4000 lines of code change. If you
> > rebase
> > > > then review should be started from the beginning, again. So you might
> > > want
> > > > to minimize the rebase your branch.
> > > >
> > > > Are you actually complaining that the problem is that I rebased the
> > code
> > > > during the three-month period when no-one looked at it and Zeppelin
> > went
> > > > through a release?
> > > >
> > > > I cannot take it seriously when you say things like this.
> > > >
> > > > Having to “start from the beginning” cannot be a problem if you never
> > > > actually started the first time...
> > > >
> > > >
> > >
> > > You wanted coordination and cooperation. So i gave you suggestion that
> > > helping review process. For example, your code has been rebased since my
> > > comment and jongyoul's comment. that means committers will need to look
> > > from the beginning. That'll require more time. And maybe, i guess that's
> > > not what you want. But If you don't care, feel free to rebase.
> > >
> > > Thanks,
> > > moon
> > >
> > >
> > >
> > > >
> > > > From: moon soo Lee <mo...@apache.org>
> > > > Reply: moon soo Lee <mo...@apache.org>
> > > > Date: December 1, 2015 at 4:42:06 AM
> > > > To: Amos B. Elberg <am...@gmail.com>,
> > > > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull
> > > > request: R Interpreter for Zeppelin
> > > >
> > > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> > > > wrote:
> > > > Thank you, Cos.
> > > >
> > > > I’d like to briefly address the issues raised by Moon:
> > > >
> > > > 1. This PR does not passes CI
> > > > The CI fails on core Zeppelin, *not* code in this PR.
> > > >
> > > > I’ve been seeking assistance on this since August.
> > > >
> > > > The most common reason is that SparkInterpreter is unable to launch
> > Spark
> > > > and open a Spark Backend. This is necessary to test the PR.
> > > >
> > > > 60+ hours, has been spent adapting and re-basing when the
> > > SparkInterpreter
> > > > architecture changed and broke the PR’s *tests.*
> > > >
> > > >
> > > > I'm sorry, but the other PRs are passing CI. If it's problem on
> > Zeppelin
> > > > core, why do you think other PRs are passing CI?
> > > >
> > > > And let's say Zeppelin core has problem and that makes your PR fails on
> > > CI
> > > > test. That's possible. But it still does not mean we can merge it with
> > CI
> > > > failing.
> > > >
> > > > If you think it's problem on Zeppelin core, then file an issue that
> > > > reproduce the problem on Zeppelin core, that might be more efficient
> > than
> > > > keep trying yourself.
> > > >
> > > >
> > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > What license problem *specifically* do you believe may exist?
> > > >
> > > > In preparing the PR, I:
> > > >
> > > > * Reviewed the Apache policy in detail.
> > > >
> > > > * Contacted the FSF to ask their interpretation of the “linking”
> > > > provisions of the GPL license.
> > > >
> > > > * Reviewed how other Apache software deals with this issue (e.g., Spark
> > > > talks to R, which is GPL'd).
> > > >
> > > > * No necessary *dependencies* of the PR have license conflicts. In
> > > > several cases, I contacted package authors who agreed to re-issue their
> > > > packages under Apache-compatible licenses. (Usually I had to do a bit
> > of
> > > > coding in exchange…)
> > > >
> > > > * Where the license had to stay GPL, the packages are *not necessary*
> > and
> > > > *not dependencies.* If the optional packages are present, they will be
> > > > used to enable additional functionality. Knitr is an example. The PR
> > will
> > > > compile and run fine without knitr. If knitr is available (it is part
> > of
> > > > the most common R distribution), the PR will enable the knitr
> > > interpreter.
> > > >
> > > > * This is exactly how this issue is addressed through the Apache
> > > > ecosystem.
> > > > The tl;dr is this: When Apache code is written to talk to libraries
> > that
> > > > may or may not be present on the user’s system, or where it talks to an
> > > API
> > > > but is agnostic about implementation, that is not “linking” in a way
> > that
> > > > implicate the anti-linking provision of the GPL.
> > > >
> > > > Otherwise, no Apache code could ever call a shell script! Let alone run
> > > > on Linux, or talk to R.
> > > >
> > > >
> > > > I'm not a legal expert. So following could be wrong.
> > > >
> > > > In my interpretation, KnitRInterpreter is not an optional feature while
> > > it
> > > > is always enabled when compiling Zeppelin and always enabled when
> > running
> > > > Zeppelin. And it requires dynamically linked GPL library on runtime.
> > (yes
> > > > it will fail when no KnitR is installed on the system)
> > > >
> > > > And of course, no Apache code can ever call a shell script, on the
> > > purpose
> > > > of dynamic linking with GPL library.
> > > >
> > > > I was guessing SparkR can be still in Apache License even if it is
> > > depends
> > > > on R. Because of GPL licensed compiler generated output is not GPL
> > > license.
> > > > and R is sort of compiler.
> > > >
> > > > If you can get answer from Spark community how SparkR get managed to
> > stay
> > > > in Apache License while R is GPL, the answer might help.
> > > >
> > > >
> > > > 3. Need more time to review.
> > > > Has any reviewer has downloaded the PR or run the demo notebook? (Which
> > > > is there for the benefit of reviewers, and isn’t intended to go in
> > final
> > > > distribution.)
> > > >
> > > > How many +1 comments from users would you like to see?
> > > >
> > > > How much time do you believe is required?
> > > >
> > > >
> > > > It all depends on when CI is going to pass, when license problem is
> > going
> > > > to be cleared, and when a committer willing to review and responsible
> > to
> > > > commit your contribution.
> > > >
> > > >
> > > > 1. Large code base change
> > > > Large code base changes require coordination and cooperation. This PR
> > > > necessarily implicates the build scripts, testing code, the
> > > > SparkInterpreter, etc.
> > > >
> > > > I have been seeking to coordinate since August.
> > > >
> > > > I continue to stand ready to do so.
> > > >
> > > > -Amos
> > > >
> > > >
> > > > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> > > the
> > > > contribution branch for some reason. It is not the really the best
> > > > practice, but still okay while most contributions are not including
> > large
> > > > code base changes.
> > > >
> > > > However, your one, has more than 4000 lines of code change. If you
> > rebase
> > > > then review should be started from the beginning, again. So you might
> > > want
> > > > to minimize the rebase your branch.
> > > >
> > > > Thanks,
> > > > moon
> > > >
> > > >
> > > > From: moon soo Lee <mo...@apache.org>
> > > > Reply: dev@zeppelin.incubator.apache.org <
> > > > dev@zeppelin.incubator.apache.org>
> > > > Date: December 1, 2015 at 1:34:19 AM
> > > > To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org
> > > >
> > > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull
> > > > request: R Interpreter for Zeppelin
> > > >
> > > > Hi Cos,
> > > >
> > > > Thanks for opening a discussion.
> > > > My answer about 'Why this PR is open for three months' is
> > > >
> > > > 1. This PR does not passes CI
> > > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > > 3. Need more time to review.
> > > >
> > > > It's my personal answer, other committers may have different opinion.
> > > >
> > > >
> > > > I think the question should be generalized. Because this PR is not the
> > > only
> > > > PR that is in impasse. There're more. For example
> > > >
> > > > Here's some examples that PR is not been merged.
> > > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > > https://github.com/apache/incubator-zeppelin/pull/60
> > > > and so on.
> > > >
> > > > I can categorize the cases, based on experience of involving Zeppelin
> > > > community from the beginning.
> > > >
> > > > 1. Large code base change
> > > >
> > > > When contribution has large code base changes, it tend to take more
> > time
> > > to
> > > > review and merged. Normally, most contributions merged in 1day~1 week.
> > > > But some contribution has large code base changes take 2~4 weeks. Few
> > > > contribution that has very large code base change take months.
> > > >
> > > > 2. Communication lost
> > > >
> > > > Sometimes, committer is not responding, or contributor is not
> > responding.
> > > >
> > > > 3. Opinion diverges
> > > >
> > > > For some changes, included in contribution. When people have different
> > > > opinion and it continue to diverges, those PRs are not been merged.
> > > >
> > > >
> > > > I think having a guide such as ping other committer when a committer is
> > > not
> > > > responding, and divide contribution into small peaces if possible,
> > would
> > > > help most of the cases.
> > > > Of course committer have to pay attention more to the contribution and
> > > > helping people. That's the first one.
> > > >
> > > > Thanks,
> > > > moon
> > > >
> > > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
> > > wrote:
> > > >
> > > > > To make sure we're on the same page, here are two threads that I
> > found
> > > > > related
> > > > > to this topic.
> > > > >
> > > > > Thread 1:
> > > > > Subject: R?
> > > > > Started on: July 1, 2015
> > > > >
> > > > > Thread 2:
> > > > > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > > > > Zeppelin
> > > > > Started on: August 13, 2015
> > > > >
> > > > > If you want to fetch these from our archive send emails to
> > > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > > >
> > > > > Cos
> > > > >
> > > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > > > Guys,
> > > > > >
> > > > > > While catching up on my emails from the last a couple of weeks,
> > this
> > > > > thread
> > > > > > caught my attention. I am not normally paying much attention to the
> > > > code
> > > > > > reviews traffic from GH, but this one is pretty different as it
> > spans
> > > > > three
> > > > > > months and counting.
> > > > > >
> > > > > > First, here are my five cents:
> > > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > > > > contributed to
> > > > > > an ASF project this file should simply contain ASL2 text, like in
> > [1]
> > > > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> > > section,
> > > > > but
> > > > > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > > > > maintain this in the source code, but we have the list of all the
> > > > > > committers on the project's site [2] Every new committer's first
> > > > > commit is
> > > > > > to update the team page ;)
> > > > > > - comments like in
> > > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > > >
> > > > > > +/**
> > > > > > + * Created by aelberg on 7/28/15.
> > > > > > + */
> > > > > >
> > > > > > is better to be removed. It has been already discussed here [3].
> > And
> > > > > the
> > > > > > initial discussion on the topic [4] was linked as well
> > > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > > > > R-specific
> > > > > > stuff - I have no idea about R, honestly, but
> > > > > >
> > > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > > ...
> > > > > > +Author: David B. Dahl
> > > > > >
> > > > > > shouldn't be here, IMO. Normally, if some additional licenses are
> > > > > used,
> > > > > > they have to be listed in the top-level NOTICE file (already
> > there).
> > > > > >
> > > > > > - I am not going to offer any comments on the technical merits of
> > the
> > > > > patch,
> > > > > > as I haven't tried it personally. However, I don't see any serious
> > > > > > technical objections to the functionality in question.
> > > > > >
> > > > > > So, the question is - why the PR is open for three months? I hasn't
> > > > been
> > > > > able
> > > > > > to get a clear answer. What I found out though is pretty
> > unsettling,
> > > > > really.
> > > > > > The communication on the topic is almost non-existent, except for
> > > this
> > > > > sparse
> > > > > > and bitter thread in the GH.
> > > > > >
> > > > > > I would love to hear from the committers what's stopping the
> > > acceptance
> > > > > of the
> > > > > > code, besides of the minor issues I've mentioned earlier? What are
> > > the
> > > > > reasons for it?
> > > > > > Is there anything wrong with it?
> > > > > > One of the responsibilities of the committers is to make sure the
> > > > > > contributions are reviewed; new contributors are guided and do
> > > > > understand how
> > > > > > the project ticks. The easy feedback flow attracts new people,
> > > allowing
> > > > > the
> > > > > > community to grow and thrive.
> > > > > >
> > > > > > I am asking _explicitely_ not to re-start the bickering I have
> > > already
> > > > > > seen. At this point I am interested in the purely technical side of
> > > > this.
> > > > > >
> > > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > > [3]
> > > > >
> > > >
> > >
> > http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > > [4] http://s.apache.org/iZl
> > > > > >
> > > > > > With regards,
> > > > > > Cos
> > > > > >
> > > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > > Github user elbamos commented on the pull request:
> > > > > > >
> > > > > > >
> > > > >
> > > >
> > >
> > https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > > >
> > > > > > > The current push should resolve some issues with changes in the
> > > > > > > Spark-Zeppelin interface that had created issues for users, as
> > > > > well as
> > > > > > > support for 1.5.1.
> > > > > > >
> > > > > > > Knitr support is improved, and the reason for a separate knitr
> > > > > interpreter may be clearer now.
> > > > > > >
> > > > > > > The amount of code borrowed from rscala is reduced.
> > > > > > >
> > > > > > > I did not address issues with @author tags, or files under the R/
> > > > > > > folder. The reason is, to be blunt, I don't understand what the
> > > > > precise
> > > > > > > concerns actually are.
> > > > > > >
> > > > > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > > > > later.
> > > > > > > I'm sure there is a better way to do it, but I'm just not in a
> > > > > position
> > > > > > > to try to figure out the entire Zeppelin build process.
> > > > > > >
> > > > > > > Integrating this with the rest of zeppelin is going to take some
> > > > > work
> > > > > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > > > > but I'm
> > > > > > > going to need to discuss it with the people who have been
> > "owning"
> > > > > those
> > > > > > > files. There are just too many moving pieces here.
> > > > > > >
> > > > > > > Because of the size of this (which is, unfortunately, necessary),
> > > > > > > posting here is probably not the most efficient way. That is also
> > > > > true
> > > > > > > because certain people chose to use this PR as a forum to air
> > other
> > > > > > > issues. Therefore, it would be better if reviewers e-mail me
> > > > > directly.
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
Re: License of KnitRInterpreter Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Thanks Amos for clarifying your interpretation. Then i can update
summarize, like
Amos's interpretation
- KnitR is optionally required by KnitRInterpreter.
- R dependency in SparkR has no problem. So KnitR should be the same.
- KnitRInterpreter is able to compile without KnitR dependency.
- All interpreters (includes KnitRInterpreter) in Zeppelin are optional.
Moon's interpretation
- KnitRInterpreter require KnitR library on runtime. And KniteRInterpreter
is not optional feature.
- R dependency in SparkR is exception of GPL. KnitR is not applied that
exception.
- KnitR is dynamically linked from Zeppelin through R.
- All interpreters in Zeppelin are enabled by default.
The reason i summarizing this is, not to make a decision, but to give a
short summary before start a discussion in legal-discuss@.
If i add one link about compiler exception and library linking through
interpreter, see
http://www.gnu.org/licenses/gpl-faq.en.html#IfInterpreterIsGPL.
If summary seems have no big problem, i'm staring discussion on
legal-discuss@ by referencing this thread.
Thanks,
moon
On Wed, Dec 2, 2015 at 6:56 PM Corneau Damien <co...@gmail.com> wrote:
> I think that what moon means is that:
> If we merge the way it is now, the KnitRInterpreter will be part of the
> code base, so it isn't optional at code base level.
>
> To make it even more simple:
> * If the code has the right licensing -> that code can be part of the
> source code, and can be including in a binary release
> * If the code doesn't have the right licensing -> it can't be part of the
> source code, and can't be included in a binary release
> * If the code doesn't have the right licensing but is imported at build
> time (libraries for example) -> it is not in the source code, it can't be
> included in binary release
>
> So in the case of licensing issues, it would need to be fully optional
> (user bring the interpreter in his directory and build Zeppelin with it)
>
>
> On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <am...@gmail.com>
> wrote:
>
>> Moon let me clarify:
>>
>> Interpreted code doesn’t “link.” The wiki article actually explains it
>> pretty well — https://en.wikipedia.org/wiki/GPL_linking_exception
>> “Linking” against a library means compiling its headers into a binary, the
>> way a C compiler works. The 2008 e-mail Moon distributed, called this the
>> “interpreter exception.”
>>
>> As for whether GPL’d code is a “mandatory dependency,” if knitr is
>> missing the PR will compile, run and test just fine. The user is never
>> prompted to download it. The only effect is, if the user types “knitr” and
>> knitr isn’t there, we display an InterpreterError that knitr isn’t there.
>>
>> KnitRInterpreter is not optionally required. so it does not matter KnitR
>> is
>> optionally required or not.
>> Aren’t all interpreters optional? You can turn them on and off in the
>> config files.
>>
>> Do you mean that the KnitRInterpreter class gets compiled to bytecode
>> even if knitr is missing? So what? That isn't a mandatory dependency or a
>> link.
>>
>> From: moon soo Lee <mo...@apache.org>
>> Reply: dev@zeppelin.incubator.apache.org <
>> dev@zeppelin.incubator.apache.org>
>> Date: December 2, 2015 at 3:18:00 AM
>> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>> Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse.
>> Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
>>
>> Let me summarize license concern about KnitRInterpreter.
>>
>>
>> Amos's interpretation.
>>
>> KnitR is optionally required by KnitRInterpreter.
>> R dependency in SparkR has no problem. So KnitR should be the same.
>>
>>
>> Moon's interpretation.
>>
>> KnitRInterpreter is not optionally required. so it does not matter KnitR
>> is
>> optionally required or not.
>> R dependency in SparkR is exception of GPL. KnitR is not applied that
>> exception.
>>
>>
>> Amos, could you confirm my understanding to your interpretation is
>> correct?
>> If it is not could you clarify it?
>>
>> Thanks,
>> moon
>>
>> On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <am...@gmail.com>
>> wrote:
>>
>> > Just to put the final nail in this, I looked it up.
>> >
>> > I see no evidence of any “compiler exception.”
>> >
>> > There is an exception in the license for the runtime libraries that are
>> > bundled with GCC. See:
>> > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
>> >
>> > But no “compiler exception.”
>> >
>> > In fact, I believe this is part of the reason why LLVM was created.
>> >
>> > From: moon soo Lee <mo...@apache.org>
>> > Reply: moon soo Lee <mo...@apache.org>
>> > Date: December 1, 2015 at 8:16:36 PM
>> > To: Amos B. Elberg <am...@gmail.com>,
>> > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull
>> > request: R Interpreter for Zeppelin
>> >
>> > Is knitR is commonly considered as a interpreter/compiler? or is it
>> > considered as a library routine?
>> >
>> > Thanks,
>> > moon
>> >
>> > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com>
>> > wrote:
>> > Moon - you give this as an explanation of the licensing issue:
>> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>> >
>> > According to that, there is an exception in the GPL for interpreter
>> > languages. As long as you don’t distribute the code, its fine to talk to
>> > an interpreted language.
>> >
>> > Well, if that’s the case, then the PR plainly does not have a license
>> > issue. It doesn’t distribute any GPL’d R code.
>> >
>> > I’m not sure what’s confusing about this. It seems completely
>> > straightforward.
>> >
>> > Regarding this:
>> >
>> >
>> > --
>> > Amos Elberg
>> > Sent with Airmail
>> >
>> > From: moon soo Lee <mo...@apache.org>
>> > Reply: dev@zeppelin.incubator.apache.org <
>> > dev@zeppelin.incubator.apache.org>
>> > Date: December 1, 2015 at 6:48:47 PM
>> >
>> > To: dev@zeppelin.incubator.apache.org <
>> dev@zeppelin.incubator.apache.org>
>> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull
>> > request: R Interpreter for Zeppelin
>> >
>> > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com>
>> > wrote:
>> >
>> > > I am going to try to minimize my reaction to Moon’s e-mail.
>> > >
>> > > The tl;dr is this:
>> > >
>> > > The reason we are having this discussion now is that active users of
>> the
>> > > PR — which now has its own user base — went public to complain about
>> > this.
>> >
>> >
>> > > The PR has been tested by an active user base for more than three
>> months.
>> > > No-one has been able to identify any specific actual licensing
>> problem,
>> > and
>> > > the PR was prepared based on an extensive, careful review of the
>> relevant
>> > > licensing issues and after contacting the relevant people.
>> > >
>> > >
>> >
>> > I admire every software that used by user and helping people. That
>> includes
>> > your work. But that's not the topic we're in discussion. Active user
>> does
>> > not mean your contribution can ignore the review.
>> >
>> >
>> >
>> > > It is not an explanation for someone who has been ignoring my “how
>> can I
>> > > move this forward…” emails for three months to point the finger and
>> say I
>> > > didn’t contact the right person or file the right report.
>> > >
>> > >
>> > This is also not the topic in this discussion.
>> >
>> >
>> > > The burden for providing an explanation for the inaction is on the
>> PMCC
>> > at
>> > > this point.
>> >
>> > I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
>> > > core, why do you think other PRs are passing CI?
>> > > They’re not! I often see comments on PRs to just ignore that CI is
>> > > failing.
>> > >
>> > > One of the most common reasons this PR fails CI, is CI times-out
>> > > downloading Spark to install. How could that possibly be caused by the
>> > PR?
>> > >
>> > > It looks to me like the only PRs with changes to the relevant parts of
>> > the
>> > > code — the SparkInterpreter — are being made by the person who wrote
>> the
>> > > testing suite.
>> > >
>> > > So, that would explain why some other PRs pass CI: Neither the
>> > > SparkInterpreter nor the testing suite are stable or robust, but since
>> > the
>> > > PRs are coming from the person who wrote both…
>> > >
>> > > And let's say Zeppelin core has problem and that makes your PR fails
>> on
>> > CI
>> > > test. That's possible. But it still does not mean we can merge it
>> with CI
>> > > failing.
>> > >
>> > > It means you should be working with me to figure out why the CI is
>> > failing.
>> > >
>> > > This PR has been tested by an active user base for the past three
>> months.
>> > > If CI is continuing to fail, and dozens of hours of effort have not
>> > > resolved the CI issues, then it is time to start considering whether
>> the
>> > > testing suite is part of the problem.
>> > >
>> > > The level of defensiveness about the CI and SparkInterpreter is not
>> > > helping to resolve these issues.
>> > >
>> > > If you think it's problem on Zeppelin core, then file an issue that
>> > > reproduce the problem on Zeppelin core, that might be more efficient
>> than
>> > > keep trying yourself.
>> > > I contacted you numerous times about such issues...
>> > >
>> >
>> >
>> > I remember i commented your issue about CI. but you just keep repeated
>> it's
>> > not your problem but Zeppelin core problem.
>> >
>> > Then please file an issue about the problem you found in Zeppelin Core.
>> > Then everyone will get into the problem.
>> >
>> >
>> >
>> > >
>> > > In my interpretation, KnitRInterpreter is not an optional feature
>> while
>> > it
>> > > is always enabled when compiling Zeppelin and always enabled when
>> running
>> > > Zeppelin. And it requires dynamically linked GPL library on runtime.
>> (yes
>> > > it will fail when no KnitR is installed on the system)
>> > >
>> > > Its not always enabled.
>> > > It is not dynamically linked at runtime.
>> > > It will not fail when knitr is missing. If knitr is not present, the
>> repl
>> > > interpreter starts and a note is written to to the log that the knitr
>> > > interpreter isn’t available because knitr is not present.
>> > >
>> > > no Apache code can ever call a shell script, on the purpose of dynamic
>> > > linking with GPL library.
>> > > You misunderstand.
>> > >
>> > > The *shell* is GPL'd.
>> > >
>> > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends
>> on
>> > a
>> > > shell script to launch?
>> > >
>> > Obviously not.
>> > >
>> > > The interaction with R in the PR is the same.
>> > >
>> > >
>> >
>> > Again, bash is one of exceptions of GPL, like other GPL licensed
>> > compiler/interpreter.
>> >
>> > Check here why Bash and R is okay with Apache License.
>> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>> >
>> > I'm not sure we can apply the same exception for 'using' KnitR.
>> >
>> > My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter'
>> you
>> > wrote is not an optional feature. Which is clearly not optionally
>> enabled
>> > code and feature. And that depends on KnitR library which is GPL.
>> >
>> >
>> >
>> > > I was guessing SparkR can be still in Apache License even if it is
>> > depends
>> > > on R. Because of GPL licensed compiler generated output is not GPL
>> > license.
>> > > and R is sort of compiler. If you can get answer from Spark community
>> how
>> > > SparkR get managed to stay in Apache License while R is GPL, the
>> answer
>> > > might help.
>> > > The description of SparkR is not accurate in any respect. (Do you
>> think
>> > > SparkR is not talking to GPL-licensed libraries?)
>> > >
>> > > I don’t see that any genuine issue is being raised here.
>> > >
>> > > If there is an issue, the burden is on you to identify it.
>> > >
>> > > If i give you one suggestion, Zeppelin committers sometimes ask rebase
>> > the
>> > > contribution branch for some reason. It is not the really the best
>> > > practice, but still okay while most contributions are not including
>> large
>> > > code base changes
>> > > However, your one, has more than 4000 lines of code change. If you
>> rebase
>> > > then review should be started from the beginning, again. So you might
>> > want
>> > > to minimize the rebase your branch.
>> > >
>> > > Are you actually complaining that the problem is that I rebased the
>> code
>> > > during the three-month period when no-one looked at it and Zeppelin
>> went
>> > > through a release?
>> > >
>> > > I cannot take it seriously when you say things like this.
>> > >
>> > > Having to “start from the beginning” cannot be a problem if you never
>> > > actually started the first time...
>> > >
>> > >
>> >
>> > You wanted coordination and cooperation. So i gave you suggestion that
>> > helping review process. For example, your code has been rebased since my
>> > comment and jongyoul's comment. that means committers will need to look
>> > from the beginning. That'll require more time. And maybe, i guess that's
>> > not what you want. But If you don't care, feel free to rebase.
>> >
>> > Thanks,
>> > moon
>> >
>> >
>> >
>> > >
>> > > From: moon soo Lee <mo...@apache.org>
>> > > Reply: moon soo Lee <mo...@apache.org>
>> > > Date: December 1, 2015 at 4:42:06 AM
>> > > To: Amos B. Elberg <am...@gmail.com>,
>> > > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull
>> > > request: R Interpreter for Zeppelin
>> > >
>> > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
>> > > wrote:
>> > > Thank you, Cos.
>> > >
>> > > I’d like to briefly address the issues raised by Moon:
>> > >
>> > > 1. This PR does not passes CI
>> > > The CI fails on core Zeppelin, *not* code in this PR.
>> > >
>> > > I’ve been seeking assistance on this since August.
>> > >
>> > > The most common reason is that SparkInterpreter is unable to launch
>> Spark
>> > > and open a Spark Backend. This is necessary to test the PR.
>> > >
>> > > 60+ hours, has been spent adapting and re-basing when the
>> > SparkInterpreter
>> > > architecture changed and broke the PR’s *tests.*
>> > >
>> > >
>> > > I'm sorry, but the other PRs are passing CI. If it's problem on
>> Zeppelin
>> > > core, why do you think other PRs are passing CI?
>> > >
>> > > And let's say Zeppelin core has problem and that makes your PR fails
>> on
>> > CI
>> > > test. That's possible. But it still does not mean we can merge it
>> with CI
>> > > failing.
>> > >
>> > > If you think it's problem on Zeppelin core, then file an issue that
>> > > reproduce the problem on Zeppelin core, that might be more efficient
>> than
>> > > keep trying yourself.
>> > >
>> > >
>> > > 2. Not 100% sure this PR has no license issue. (about KniteR)
>> > > What license problem *specifically* do you believe may exist?
>> > >
>> > > In preparing the PR, I:
>> > >
>> > > * Reviewed the Apache policy in detail.
>> > >
>> > > * Contacted the FSF to ask their interpretation of the “linking”
>> > > provisions of the GPL license.
>> > >
>> > > * Reviewed how other Apache software deals with this issue (e.g.,
>> Spark
>> > > talks to R, which is GPL'd).
>> > >
>> > > * No necessary *dependencies* of the PR have license conflicts. In
>> > > several cases, I contacted package authors who agreed to re-issue
>> their
>> > > packages under Apache-compatible licenses. (Usually I had to do a bit
>> of
>> > > coding in exchange…)
>> > >
>> > > * Where the license had to stay GPL, the packages are *not necessary*
>> and
>> > > *not dependencies.* If the optional packages are present, they will be
>> > > used to enable additional functionality. Knitr is an example. The PR
>> will
>> > > compile and run fine without knitr. If knitr is available (it is part
>> of
>> > > the most common R distribution), the PR will enable the knitr
>> > interpreter.
>> > >
>> > > * This is exactly how this issue is addressed through the Apache
>> > > ecosystem.
>> > > The tl;dr is this: When Apache code is written to talk to libraries
>> that
>> > > may or may not be present on the user’s system, or where it talks to
>> an
>> > API
>> > > but is agnostic about implementation, that is not “linking” in a way
>> that
>> > > implicate the anti-linking provision of the GPL.
>> > >
>> > > Otherwise, no Apache code could ever call a shell script! Let alone
>> run
>> > > on Linux, or talk to R.
>> > >
>> > >
>> > > I'm not a legal expert. So following could be wrong.
>> > >
>> > > In my interpretation, KnitRInterpreter is not an optional feature
>> while
>> > it
>> > > is always enabled when compiling Zeppelin and always enabled when
>> running
>> > > Zeppelin. And it requires dynamically linked GPL library on runtime.
>> (yes
>> > > it will fail when no KnitR is installed on the system)
>> > >
>> > > And of course, no Apache code can ever call a shell script, on the
>> > purpose
>> > > of dynamic linking with GPL library.
>> > >
>> > > I was guessing SparkR can be still in Apache License even if it is
>> > depends
>> > > on R. Because of GPL licensed compiler generated output is not GPL
>> > license.
>> > > and R is sort of compiler.
>> > >
>> > > If you can get answer from Spark community how SparkR get managed to
>> stay
>> > > in Apache License while R is GPL, the answer might help.
>> > >
>> > >
>> > > 3. Need more time to review.
>> > > Has any reviewer has downloaded the PR or run the demo notebook?
>> (Which
>> > > is there for the benefit of reviewers, and isn’t intended to go in
>> final
>> > > distribution.)
>> > >
>> > > How many +1 comments from users would you like to see?
>> > >
>> > > How much time do you believe is required?
>> > >
>> > >
>> > > It all depends on when CI is going to pass, when license problem is
>> going
>> > > to be cleared, and when a committer willing to review and responsible
>> to
>> > > commit your contribution.
>> > >
>> > >
>> > > 1. Large code base change
>> > > Large code base changes require coordination and cooperation. This PR
>> > > necessarily implicates the build scripts, testing code, the
>> > > SparkInterpreter, etc.
>> > >
>> > > I have been seeking to coordinate since August.
>> > >
>> > > I continue to stand ready to do so.
>> > >
>> > > -Amos
>> > >
>> > >
>> > > If i give you one suggestion, Zeppelin committers sometimes ask rebase
>> > the
>> > > contribution branch for some reason. It is not the really the best
>> > > practice, but still okay while most contributions are not including
>> large
>> > > code base changes.
>> > >
>> > > However, your one, has more than 4000 lines of code change. If you
>> rebase
>> > > then review should be started from the beginning, again. So you might
>> > want
>> > > to minimize the rebase your branch.
>> > >
>> > > Thanks,
>> > > moon
>> > >
>> > >
>> > > From: moon soo Lee <mo...@apache.org>
>> > > Reply: dev@zeppelin.incubator.apache.org <
>> > > dev@zeppelin.incubator.apache.org>
>> > > Date: December 1, 2015 at 1:34:19 AM
>> > > To: dev@zeppelin.incubator.apache.org <
>> dev@zeppelin.incubator.apache.org
>> > >
>> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
>> pull
>> > > request: R Interpreter for Zeppelin
>> > >
>> > > Hi Cos,
>> > >
>> > > Thanks for opening a discussion.
>> > > My answer about 'Why this PR is open for three months' is
>> > >
>> > > 1. This PR does not passes CI
>> > > 2. Not 100% sure this PR has no license issue. (about KniteR)
>> > > 3. Need more time to review.
>> > >
>> > > It's my personal answer, other committers may have different opinion.
>> > >
>> > >
>> > > I think the question should be generalized. Because this PR is not the
>> > only
>> > > PR that is in impasse. There're more. For example
>> > >
>> > > Here's some examples that PR is not been merged.
>> > > https://github.com/apache/incubator-zeppelin/pull/53,
>> > > https://github.com/apache/incubator-zeppelin/pull/60
>> > > and so on.
>> > >
>> > > I can categorize the cases, based on experience of involving Zeppelin
>> > > community from the beginning.
>> > >
>> > > 1. Large code base change
>> > >
>> > > When contribution has large code base changes, it tend to take more
>> time
>> > to
>> > > review and merged. Normally, most contributions merged in 1day~1 week.
>> > > But some contribution has large code base changes take 2~4 weeks. Few
>> > > contribution that has very large code base change take months.
>> > >
>> > > 2. Communication lost
>> > >
>> > > Sometimes, committer is not responding, or contributor is not
>> responding.
>> > >
>> > > 3. Opinion diverges
>> > >
>> > > For some changes, included in contribution. When people have different
>> > > opinion and it continue to diverges, those PRs are not been merged.
>> > >
>> > >
>> > > I think having a guide such as ping other committer when a committer
>> is
>> > not
>> > > responding, and divide contribution into small peaces if possible,
>> would
>> > > help most of the cases.
>> > > Of course committer have to pay attention more to the contribution and
>> > > helping people. That's the first one.
>> > >
>> > > Thanks,
>> > > moon
>> > >
>> > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
>> > wrote:
>> > >
>> > > > To make sure we're on the same page, here are two threads that I
>> found
>> > > > related
>> > > > to this topic.
>> > > >
>> > > > Thread 1:
>> > > > Subject: R?
>> > > > Started on: July 1, 2015
>> > > >
>> > > > Thread 2:
>> > > > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
>> > > > Zeppelin
>> > > > Started on: August 13, 2015
>> > > >
>> > > > If you want to fetch these from our archive send emails to
>> > > > dev-thread.1735@zeppelin.incubator.apache.org
>> > > > dev-thread.3573@zeppelin.incubator.apache.org
>> > > >
>> > > > Cos
>> > > >
>> > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
>> > > > > Guys,
>> > > > >
>> > > > > While catching up on my emails from the last a couple of weeks,
>> this
>> > > > thread
>> > > > > caught my attention. I am not normally paying much attention to
>> the
>> > > code
>> > > > > reviews traffic from GH, but this one is pretty different as it
>> spans
>> > > > three
>> > > > > months and counting.
>> > > > >
>> > > > > First, here are my five cents:
>> > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
>> > > > contributed to
>> > > > > an ASF project this file should simply contain ASL2 text, like in
>> [1]
>> > > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
>> > section,
>> > > > but
>> > > > > Zeppelin might have different guidelines on it. Say, Bigtop
>> doesn't
>> > > > > maintain this in the source code, but we have the list of all the
>> > > > > committers on the project's site [2] Every new committer's first
>> > > > commit is
>> > > > > to update the team page ;)
>> > > > > - comments like in
>> > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
>> > > > >
>> > > > > +/**
>> > > > > + * Created by aelberg on 7/28/15.
>> > > > > + */
>> > > > >
>> > > > > is better to be removed. It has been already discussed here [3].
>> And
>> > > > the
>> > > > > initial discussion on the topic [4] was linked as well
>> > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
>> > > > R-specific
>> > > > > stuff - I have no idea about R, honestly, but
>> > > > >
>> > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
>> > > > > ...
>> > > > > +Author: David B. Dahl
>> > > > >
>> > > > > shouldn't be here, IMO. Normally, if some additional licenses are
>> > > > used,
>> > > > > they have to be listed in the top-level NOTICE file (already
>> there).
>> > > > >
>> > > > > - I am not going to offer any comments on the technical merits of
>> the
>> > > > patch,
>> > > > > as I haven't tried it personally. However, I don't see any serious
>> > > > > technical objections to the functionality in question.
>> > > > >
>> > > > > So, the question is - why the PR is open for three months? I
>> hasn't
>> > > been
>> > > > able
>> > > > > to get a clear answer. What I found out though is pretty
>> unsettling,
>> > > > really.
>> > > > > The communication on the topic is almost non-existent, except for
>> > this
>> > > > sparse
>> > > > > and bitter thread in the GH.
>> > > > >
>> > > > > I would love to hear from the committers what's stopping the
>> > acceptance
>> > > > of the
>> > > > > code, besides of the minor issues I've mentioned earlier? What are
>> > the
>> > > > reasons for it?
>> > > > > Is there anything wrong with it?
>> > > > > One of the responsibilities of the committers is to make sure the
>> > > > > contributions are reviewed; new contributors are guided and do
>> > > > understand how
>> > > > > the project ticks. The easy feedback flow attracts new people,
>> > allowing
>> > > > the
>> > > > > community to grow and thrive.
>> > > > >
>> > > > > I am asking _explicitely_ not to re-start the bickering I have
>> > already
>> > > > > seen. At this point I am interested in the purely technical side
>> of
>> > > this.
>> > > > >
>> > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
>> > > > > [2] http://bigtop.apache.org/team-list.html
>> > > > > [3]
>> > > >
>> > >
>> >
>> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
>> > > > > [4] http://s.apache.org/iZl
>> > > > >
>> > > > > With regards,
>> > > > > Cos
>> > > > >
>> > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
>> > > > > > Github user elbamos commented on the pull request:
>> > > > > >
>> > > > > >
>> > > >
>> > >
>> >
>> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
>> > > > > >
>> > > > > > The current push should resolve some issues with changes in the
>> > > > > > Spark-Zeppelin interface that had created issues for users, as
>> > > > well as
>> > > > > > support for 1.5.1.
>> > > > > >
>> > > > > > Knitr support is improved, and the reason for a separate knitr
>> > > > interpreter may be clearer now.
>> > > > > >
>> > > > > > The amount of code borrowed from rscala is reduced.
>> > > > > >
>> > > > > > I did not address issues with @author tags, or files under the
>> R/
>> > > > > > folder. The reason is, to be blunt, I don't understand what the
>> > > > precise
>> > > > > > concerns actually are.
>> > > > > >
>> > > > > > Please note that I changed .travis.yml to only use spark 1.4 and
>> > > > later.
>> > > > > > I'm sure there is a better way to do it, but I'm just not in a
>> > > > position
>> > > > > > to try to figure out the entire Zeppelin build process.
>> > > > > >
>> > > > > > Integrating this with the rest of zeppelin is going to take some
>> > > > work
>> > > > > > regarding pom's, travis, and so forth. I can do a lot of that,
>> > > > but I'm
>> > > > > > going to need to discuss it with the people who have been
>> "owning"
>> > > > those
>> > > > > > files. There are just too many moving pieces here.
>> > > > > >
>> > > > > > Because of the size of this (which is, unfortunately,
>> necessary),
>> > > > > > posting here is probably not the most efficient way. That is
>> also
>> > > > true
>> > > > > > because certain people chose to use this PR as a forum to air
>> other
>> > > > > > issues. Therefore, it would be better if reviewers e-mail me
>> > > > directly.
>> > > >
>> > > >
>> > > >
>> > >
>> >
>>
>
>
Re: License of KnitRInterpreter Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Corneau Damien <co...@gmail.com>.
I think that what moon means is that:
If we merge the way it is now, the KnitRInterpreter will be part of the
code base, so it isn't optional at code base level.
To make it even more simple:
* If the code has the right licensing -> that code can be part of the
source code, and can be including in a binary release
* If the code doesn't have the right licensing -> it can't be part of the
source code, and can't be included in a binary release
* If the code doesn't have the right licensing but is imported at build
time (libraries for example) -> it is not in the source code, it can't be
included in binary release
So in the case of licensing issues, it would need to be fully optional
(user bring the interpreter in his directory and build Zeppelin with it)
On Wed, Dec 2, 2015 at 6:33 PM, Amos B. Elberg <am...@gmail.com>
wrote:
> Moon let me clarify:
>
> Interpreted code doesn’t “link.” The wiki article actually explains it
> pretty well — https://en.wikipedia.org/wiki/GPL_linking_exception
> “Linking” against a library means compiling its headers into a binary, the
> way a C compiler works. The 2008 e-mail Moon distributed, called this the
> “interpreter exception.”
>
> As for whether GPL’d code is a “mandatory dependency,” if knitr is missing
> the PR will compile, run and test just fine. The user is never prompted to
> download it. The only effect is, if the user types “knitr” and knitr isn’t
> there, we display an InterpreterError that knitr isn’t there.
>
> KnitRInterpreter is not optionally required. so it does not matter KnitR
> is
> optionally required or not.
> Aren’t all interpreters optional? You can turn them on and off in the
> config files.
>
> Do you mean that the KnitRInterpreter class gets compiled to bytecode even
> if knitr is missing? So what? That isn't a mandatory dependency or a link.
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 3:18:00 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse.
> Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
>
> Let me summarize license concern about KnitRInterpreter.
>
>
> Amos's interpretation.
>
> KnitR is optionally required by KnitRInterpreter.
> R dependency in SparkR has no problem. So KnitR should be the same.
>
>
> Moon's interpretation.
>
> KnitRInterpreter is not optionally required. so it does not matter KnitR is
> optionally required or not.
> R dependency in SparkR is exception of GPL. KnitR is not applied that
> exception.
>
>
> Amos, could you confirm my understanding to your interpretation is correct?
> If it is not could you clarify it?
>
> Thanks,
> moon
>
> On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > Just to put the final nail in this, I looked it up.
> >
> > I see no evidence of any “compiler exception.”
> >
> > There is an exception in the license for the runtime libraries that are
> > bundled with GCC. See:
> > http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
> >
> > But no “compiler exception.”
> >
> > In fact, I believe this is part of the reason why LLVM was created.
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: moon soo Lee <mo...@apache.org>
> > Date: December 1, 2015 at 8:16:36 PM
> > To: Amos B. Elberg <am...@gmail.com>,
> > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > Is knitR is commonly considered as a interpreter/compiler? or is it
> > considered as a library routine?
> >
> > Thanks,
> > moon
> >
> > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com>
> > wrote:
> > Moon - you give this as an explanation of the licensing issue:
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> >
> > According to that, there is an exception in the GPL for interpreter
> > languages. As long as you don’t distribute the code, its fine to talk to
> > an interpreted language.
> >
> > Well, if that’s the case, then the PR plainly does not have a license
> > issue. It doesn’t distribute any GPL’d R code.
> >
> > I’m not sure what’s confusing about this. It seems completely
> > straightforward.
> >
> > Regarding this:
> >
> >
> > --
> > Amos Elberg
> > Sent with Airmail
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 1, 2015 at 6:48:47 PM
> >
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com>
> > wrote:
> >
> > > I am going to try to minimize my reaction to Moon’s e-mail.
> > >
> > > The tl;dr is this:
> > >
> > > The reason we are having this discussion now is that active users of
> the
> > > PR — which now has its own user base — went public to complain about
> > this.
> >
> >
> > > The PR has been tested by an active user base for more than three
> months.
> > > No-one has been able to identify any specific actual licensing problem,
> > and
> > > the PR was prepared based on an extensive, careful review of the
> relevant
> > > licensing issues and after contacting the relevant people.
> > >
> > >
> >
> > I admire every software that used by user and helping people. That
> includes
> > your work. But that's not the topic we're in discussion. Active user does
> > not mean your contribution can ignore the review.
> >
> >
> >
> > > It is not an explanation for someone who has been ignoring my “how can
> I
> > > move this forward…” emails for three months to point the finger and
> say I
> > > didn’t contact the right person or file the right report.
> > >
> > >
> > This is also not the topic in this discussion.
> >
> >
> > > The burden for providing an explanation for the inaction is on the PMCC
> > at
> > > this point.
> >
> > I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > > core, why do you think other PRs are passing CI?
> > > They’re not! I often see comments on PRs to just ignore that CI is
> > > failing.
> > >
> > > One of the most common reasons this PR fails CI, is CI times-out
> > > downloading Spark to install. How could that possibly be caused by the
> > PR?
> > >
> > > It looks to me like the only PRs with changes to the relevant parts of
> > the
> > > code — the SparkInterpreter — are being made by the person who wrote
> the
> > > testing suite.
> > >
> > > So, that would explain why some other PRs pass CI: Neither the
> > > SparkInterpreter nor the testing suite are stable or robust, but since
> > the
> > > PRs are coming from the person who wrote both…
> > >
> > > And let's say Zeppelin core has problem and that makes your PR fails on
> > CI
> > > test. That's possible. But it still does not mean we can merge it with
> CI
> > > failing.
> > >
> > > It means you should be working with me to figure out why the CI is
> > failing.
> > >
> > > This PR has been tested by an active user base for the past three
> months.
> > > If CI is continuing to fail, and dozens of hours of effort have not
> > > resolved the CI issues, then it is time to start considering whether
> the
> > > testing suite is part of the problem.
> > >
> > > The level of defensiveness about the CI and SparkInterpreter is not
> > > helping to resolve these issues.
> > >
> > > If you think it's problem on Zeppelin core, then file an issue that
> > > reproduce the problem on Zeppelin core, that might be more efficient
> than
> > > keep trying yourself.
> > > I contacted you numerous times about such issues...
> > >
> >
> >
> > I remember i commented your issue about CI. but you just keep repeated
> it's
> > not your problem but Zeppelin core problem.
> >
> > Then please file an issue about the problem you found in Zeppelin Core.
> > Then everyone will get into the problem.
> >
> >
> >
> > >
> > > In my interpretation, KnitRInterpreter is not an optional feature while
> > it
> > > is always enabled when compiling Zeppelin and always enabled when
> running
> > > Zeppelin. And it requires dynamically linked GPL library on runtime.
> (yes
> > > it will fail when no KnitR is installed on the system)
> > >
> > > Its not always enabled.
> > > It is not dynamically linked at runtime.
> > > It will not fail when knitr is missing. If knitr is not present, the
> repl
> > > interpreter starts and a note is written to to the log that the knitr
> > > interpreter isn’t available because knitr is not present.
> > >
> > > no Apache code can ever call a shell script, on the purpose of dynamic
> > > linking with GPL library.
> > > You misunderstand.
> > >
> > > The *shell* is GPL'd.
> > >
> > > Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends
> on
> > a
> > > shell script to launch?
> > >
> > Obviously not.
> > >
> > > The interaction with R in the PR is the same.
> > >
> > >
> >
> > Again, bash is one of exceptions of GPL, like other GPL licensed
> > compiler/interpreter.
> >
> > Check here why Bash and R is okay with Apache License.
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> >
> > I'm not sure we can apply the same exception for 'using' KnitR.
> >
> > My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter'
> you
> > wrote is not an optional feature. Which is clearly not optionally enabled
> > code and feature. And that depends on KnitR library which is GPL.
> >
> >
> >
> > > I was guessing SparkR can be still in Apache License even if it is
> > depends
> > > on R. Because of GPL licensed compiler generated output is not GPL
> > license.
> > > and R is sort of compiler. If you can get answer from Spark community
> how
> > > SparkR get managed to stay in Apache License while R is GPL, the answer
> > > might help.
> > > The description of SparkR is not accurate in any respect. (Do you think
> > > SparkR is not talking to GPL-licensed libraries?)
> > >
> > > I don’t see that any genuine issue is being raised here.
> > >
> > > If there is an issue, the burden is on you to identify it.
> > >
> > > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> > the
> > > contribution branch for some reason. It is not the really the best
> > > practice, but still okay while most contributions are not including
> large
> > > code base changes
> > > However, your one, has more than 4000 lines of code change. If you
> rebase
> > > then review should be started from the beginning, again. So you might
> > want
> > > to minimize the rebase your branch.
> > >
> > > Are you actually complaining that the problem is that I rebased the
> code
> > > during the three-month period when no-one looked at it and Zeppelin
> went
> > > through a release?
> > >
> > > I cannot take it seriously when you say things like this.
> > >
> > > Having to “start from the beginning” cannot be a problem if you never
> > > actually started the first time...
> > >
> > >
> >
> > You wanted coordination and cooperation. So i gave you suggestion that
> > helping review process. For example, your code has been rebased since my
> > comment and jongyoul's comment. that means committers will need to look
> > from the beginning. That'll require more time. And maybe, i guess that's
> > not what you want. But If you don't care, feel free to rebase.
> >
> > Thanks,
> > moon
> >
> >
> >
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: moon soo Lee <mo...@apache.org>
> > > Date: December 1, 2015 at 4:42:06 AM
> > > To: Amos B. Elberg <am...@gmail.com>,
> > > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull
> > > request: R Interpreter for Zeppelin
> > >
> > > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> > > wrote:
> > > Thank you, Cos.
> > >
> > > I’d like to briefly address the issues raised by Moon:
> > >
> > > 1. This PR does not passes CI
> > > The CI fails on core Zeppelin, *not* code in this PR.
> > >
> > > I’ve been seeking assistance on this since August.
> > >
> > > The most common reason is that SparkInterpreter is unable to launch
> Spark
> > > and open a Spark Backend. This is necessary to test the PR.
> > >
> > > 60+ hours, has been spent adapting and re-basing when the
> > SparkInterpreter
> > > architecture changed and broke the PR’s *tests.*
> > >
> > >
> > > I'm sorry, but the other PRs are passing CI. If it's problem on
> Zeppelin
> > > core, why do you think other PRs are passing CI?
> > >
> > > And let's say Zeppelin core has problem and that makes your PR fails on
> > CI
> > > test. That's possible. But it still does not mean we can merge it with
> CI
> > > failing.
> > >
> > > If you think it's problem on Zeppelin core, then file an issue that
> > > reproduce the problem on Zeppelin core, that might be more efficient
> than
> > > keep trying yourself.
> > >
> > >
> > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > What license problem *specifically* do you believe may exist?
> > >
> > > In preparing the PR, I:
> > >
> > > * Reviewed the Apache policy in detail.
> > >
> > > * Contacted the FSF to ask their interpretation of the “linking”
> > > provisions of the GPL license.
> > >
> > > * Reviewed how other Apache software deals with this issue (e.g., Spark
> > > talks to R, which is GPL'd).
> > >
> > > * No necessary *dependencies* of the PR have license conflicts. In
> > > several cases, I contacted package authors who agreed to re-issue their
> > > packages under Apache-compatible licenses. (Usually I had to do a bit
> of
> > > coding in exchange…)
> > >
> > > * Where the license had to stay GPL, the packages are *not necessary*
> and
> > > *not dependencies.* If the optional packages are present, they will be
> > > used to enable additional functionality. Knitr is an example. The PR
> will
> > > compile and run fine without knitr. If knitr is available (it is part
> of
> > > the most common R distribution), the PR will enable the knitr
> > interpreter.
> > >
> > > * This is exactly how this issue is addressed through the Apache
> > > ecosystem.
> > > The tl;dr is this: When Apache code is written to talk to libraries
> that
> > > may or may not be present on the user’s system, or where it talks to an
> > API
> > > but is agnostic about implementation, that is not “linking” in a way
> that
> > > implicate the anti-linking provision of the GPL.
> > >
> > > Otherwise, no Apache code could ever call a shell script! Let alone run
> > > on Linux, or talk to R.
> > >
> > >
> > > I'm not a legal expert. So following could be wrong.
> > >
> > > In my interpretation, KnitRInterpreter is not an optional feature while
> > it
> > > is always enabled when compiling Zeppelin and always enabled when
> running
> > > Zeppelin. And it requires dynamically linked GPL library on runtime.
> (yes
> > > it will fail when no KnitR is installed on the system)
> > >
> > > And of course, no Apache code can ever call a shell script, on the
> > purpose
> > > of dynamic linking with GPL library.
> > >
> > > I was guessing SparkR can be still in Apache License even if it is
> > depends
> > > on R. Because of GPL licensed compiler generated output is not GPL
> > license.
> > > and R is sort of compiler.
> > >
> > > If you can get answer from Spark community how SparkR get managed to
> stay
> > > in Apache License while R is GPL, the answer might help.
> > >
> > >
> > > 3. Need more time to review.
> > > Has any reviewer has downloaded the PR or run the demo notebook? (Which
> > > is there for the benefit of reviewers, and isn’t intended to go in
> final
> > > distribution.)
> > >
> > > How many +1 comments from users would you like to see?
> > >
> > > How much time do you believe is required?
> > >
> > >
> > > It all depends on when CI is going to pass, when license problem is
> going
> > > to be cleared, and when a committer willing to review and responsible
> to
> > > commit your contribution.
> > >
> > >
> > > 1. Large code base change
> > > Large code base changes require coordination and cooperation. This PR
> > > necessarily implicates the build scripts, testing code, the
> > > SparkInterpreter, etc.
> > >
> > > I have been seeking to coordinate since August.
> > >
> > > I continue to stand ready to do so.
> > >
> > > -Amos
> > >
> > >
> > > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> > the
> > > contribution branch for some reason. It is not the really the best
> > > practice, but still okay while most contributions are not including
> large
> > > code base changes.
> > >
> > > However, your one, has more than 4000 lines of code change. If you
> rebase
> > > then review should be started from the beginning, again. So you might
> > want
> > > to minimize the rebase your branch.
> > >
> > > Thanks,
> > > moon
> > >
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org <
> > > dev@zeppelin.incubator.apache.org>
> > > Date: December 1, 2015 at 1:34:19 AM
> > > To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org
> > >
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull
> > > request: R Interpreter for Zeppelin
> > >
> > > Hi Cos,
> > >
> > > Thanks for opening a discussion.
> > > My answer about 'Why this PR is open for three months' is
> > >
> > > 1. This PR does not passes CI
> > > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > > 3. Need more time to review.
> > >
> > > It's my personal answer, other committers may have different opinion.
> > >
> > >
> > > I think the question should be generalized. Because this PR is not the
> > only
> > > PR that is in impasse. There're more. For example
> > >
> > > Here's some examples that PR is not been merged.
> > > https://github.com/apache/incubator-zeppelin/pull/53,
> > > https://github.com/apache/incubator-zeppelin/pull/60
> > > and so on.
> > >
> > > I can categorize the cases, based on experience of involving Zeppelin
> > > community from the beginning.
> > >
> > > 1. Large code base change
> > >
> > > When contribution has large code base changes, it tend to take more
> time
> > to
> > > review and merged. Normally, most contributions merged in 1day~1 week.
> > > But some contribution has large code base changes take 2~4 weeks. Few
> > > contribution that has very large code base change take months.
> > >
> > > 2. Communication lost
> > >
> > > Sometimes, committer is not responding, or contributor is not
> responding.
> > >
> > > 3. Opinion diverges
> > >
> > > For some changes, included in contribution. When people have different
> > > opinion and it continue to diverges, those PRs are not been merged.
> > >
> > >
> > > I think having a guide such as ping other committer when a committer is
> > not
> > > responding, and divide contribution into small peaces if possible,
> would
> > > help most of the cases.
> > > Of course committer have to pay attention more to the contribution and
> > > helping people. That's the first one.
> > >
> > > Thanks,
> > > moon
> > >
> > > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
> > wrote:
> > >
> > > > To make sure we're on the same page, here are two threads that I
> found
> > > > related
> > > > to this topic.
> > > >
> > > > Thread 1:
> > > > Subject: R?
> > > > Started on: July 1, 2015
> > > >
> > > > Thread 2:
> > > > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > > > Zeppelin
> > > > Started on: August 13, 2015
> > > >
> > > > If you want to fetch these from our archive send emails to
> > > > dev-thread.1735@zeppelin.incubator.apache.org
> > > > dev-thread.3573@zeppelin.incubator.apache.org
> > > >
> > > > Cos
> > > >
> > > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > > Guys,
> > > > >
> > > > > While catching up on my emails from the last a couple of weeks,
> this
> > > > thread
> > > > > caught my attention. I am not normally paying much attention to the
> > > code
> > > > > reviews traffic from GH, but this one is pretty different as it
> spans
> > > > three
> > > > > months and counting.
> > > > >
> > > > > First, here are my five cents:
> > > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > > > contributed to
> > > > > an ASF project this file should simply contain ASL2 text, like in
> [1]
> > > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> > section,
> > > > but
> > > > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > > > maintain this in the source code, but we have the list of all the
> > > > > committers on the project's site [2] Every new committer's first
> > > > commit is
> > > > > to update the team page ;)
> > > > > - comments like in
> > > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > > >
> > > > > +/**
> > > > > + * Created by aelberg on 7/28/15.
> > > > > + */
> > > > >
> > > > > is better to be removed. It has been already discussed here [3].
> And
> > > > the
> > > > > initial discussion on the topic [4] was linked as well
> > > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > > > R-specific
> > > > > stuff - I have no idea about R, honestly, but
> > > > >
> > > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > > ...
> > > > > +Author: David B. Dahl
> > > > >
> > > > > shouldn't be here, IMO. Normally, if some additional licenses are
> > > > used,
> > > > > they have to be listed in the top-level NOTICE file (already
> there).
> > > > >
> > > > > - I am not going to offer any comments on the technical merits of
> the
> > > > patch,
> > > > > as I haven't tried it personally. However, I don't see any serious
> > > > > technical objections to the functionality in question.
> > > > >
> > > > > So, the question is - why the PR is open for three months? I hasn't
> > > been
> > > > able
> > > > > to get a clear answer. What I found out though is pretty
> unsettling,
> > > > really.
> > > > > The communication on the topic is almost non-existent, except for
> > this
> > > > sparse
> > > > > and bitter thread in the GH.
> > > > >
> > > > > I would love to hear from the committers what's stopping the
> > acceptance
> > > > of the
> > > > > code, besides of the minor issues I've mentioned earlier? What are
> > the
> > > > reasons for it?
> > > > > Is there anything wrong with it?
> > > > > One of the responsibilities of the committers is to make sure the
> > > > > contributions are reviewed; new contributors are guided and do
> > > > understand how
> > > > > the project ticks. The easy feedback flow attracts new people,
> > allowing
> > > > the
> > > > > community to grow and thrive.
> > > > >
> > > > > I am asking _explicitely_ not to re-start the bickering I have
> > already
> > > > > seen. At this point I am interested in the purely technical side of
> > > this.
> > > > >
> > > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > > [2] http://bigtop.apache.org/team-list.html
> > > > > [3]
> > > >
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > > [4] http://s.apache.org/iZl
> > > > >
> > > > > With regards,
> > > > > Cos
> > > > >
> > > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > > Github user elbamos commented on the pull request:
> > > > > >
> > > > > >
> > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > > >
> > > > > > The current push should resolve some issues with changes in the
> > > > > > Spark-Zeppelin interface that had created issues for users, as
> > > > well as
> > > > > > support for 1.5.1.
> > > > > >
> > > > > > Knitr support is improved, and the reason for a separate knitr
> > > > interpreter may be clearer now.
> > > > > >
> > > > > > The amount of code borrowed from rscala is reduced.
> > > > > >
> > > > > > I did not address issues with @author tags, or files under the R/
> > > > > > folder. The reason is, to be blunt, I don't understand what the
> > > > precise
> > > > > > concerns actually are.
> > > > > >
> > > > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > > > later.
> > > > > > I'm sure there is a better way to do it, but I'm just not in a
> > > > position
> > > > > > to try to figure out the entire Zeppelin build process.
> > > > > >
> > > > > > Integrating this with the rest of zeppelin is going to take some
> > > > work
> > > > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > > > but I'm
> > > > > > going to need to discuss it with the people who have been
> "owning"
> > > > those
> > > > > > files. There are just too many moving pieces here.
> > > > > >
> > > > > > Because of the size of this (which is, unfortunately, necessary),
> > > > > > posting here is probably not the most efficient way. That is also
> > > > true
> > > > > > because certain people chose to use this PR as a forum to air
> other
> > > > > > issues. Therefore, it would be better if reviewers e-mail me
> > > > directly.
> > > >
> > > >
> > > >
> > >
> >
>
Re: License of KnitRInterpreter Was: Re: contributions impasse.
Was: [GitHub] incubator-zeppelin pull request: R Interpreter for
Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Moon let me clarify:
Interpreted code doesn’t “link.” The wiki article actually explains it pretty well — https://en.wikipedia.org/wiki/GPL_linking_exception “Linking” against a library means compiling its headers into a binary, the way a C compiler works. The 2008 e-mail Moon distributed, called this the “interpreter exception.”
As for whether GPL’d code is a “mandatory dependency,” if knitr is missing the PR will compile, run and test just fine. The user is never prompted to download it. The only effect is, if the user types “knitr” and knitr isn’t there, we display an InterpreterError that knitr isn’t there.
KnitRInterpreter is not optionally required. so it does not matter KnitR is
optionally required or not.
Aren’t all interpreters optional? You can turn them on and off in the config files.
Do you mean that the KnitRInterpreter class gets compiled to bytecode even if knitr is missing? So what? That isn't a mandatory dependency or a link.
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 2, 2015 at 3:18:00 AM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: License of KnitRInterpreter Was: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Let me summarize license concern about KnitRInterpreter.
Amos's interpretation.
KnitR is optionally required by KnitRInterpreter.
R dependency in SparkR has no problem. So KnitR should be the same.
Moon's interpretation.
KnitRInterpreter is not optionally required. so it does not matter KnitR is
optionally required or not.
R dependency in SparkR is exception of GPL. KnitR is not applied that
exception.
Amos, could you confirm my understanding to your interpretation is correct?
If it is not could you clarify it?
Thanks,
moon
On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <am...@gmail.com>
wrote:
> Just to put the final nail in this, I looked it up.
>
> I see no evidence of any “compiler exception.”
>
> There is an exception in the license for the runtime libraries that are
> bundled with GCC. See:
> http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
>
> But no “compiler exception.”
>
> In fact, I believe this is part of the reason why LLVM was created.
>
> From: moon soo Lee <mo...@apache.org>
> Reply: moon soo Lee <mo...@apache.org>
> Date: December 1, 2015 at 8:16:36 PM
> To: Amos B. Elberg <am...@gmail.com>,
> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Is knitR is commonly considered as a interpreter/compiler? or is it
> considered as a library routine?
>
> Thanks,
> moon
>
> On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com>
> wrote:
> Moon - you give this as an explanation of the licensing issue:
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>
> According to that, there is an exception in the GPL for interpreter
> languages. As long as you don’t distribute the code, its fine to talk to
> an interpreted language.
>
> Well, if that’s the case, then the PR plainly does not have a license
> issue. It doesn’t distribute any GPL’d R code.
>
> I’m not sure what’s confusing about this. It seems completely
> straightforward.
>
> Regarding this:
>
>
> --
> Amos Elberg
> Sent with Airmail
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 1, 2015 at 6:48:47 PM
>
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > I am going to try to minimize my reaction to Moon’s e-mail.
> >
> > The tl;dr is this:
> >
> > The reason we are having this discussion now is that active users of the
> > PR — which now has its own user base — went public to complain about
> this.
>
>
> > The PR has been tested by an active user base for more than three months.
> > No-one has been able to identify any specific actual licensing problem,
> and
> > the PR was prepared based on an extensive, careful review of the relevant
> > licensing issues and after contacting the relevant people.
> >
> >
>
> I admire every software that used by user and helping people. That includes
> your work. But that's not the topic we're in discussion. Active user does
> not mean your contribution can ignore the review.
>
>
>
> > It is not an explanation for someone who has been ignoring my “how can I
> > move this forward…” emails for three months to point the finger and say I
> > didn’t contact the right person or file the right report.
> >
> >
> This is also not the topic in this discussion.
>
>
> > The burden for providing an explanation for the inaction is on the PMCC
> at
> > this point.
>
> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > core, why do you think other PRs are passing CI?
> > They’re not! I often see comments on PRs to just ignore that CI is
> > failing.
> >
> > One of the most common reasons this PR fails CI, is CI times-out
> > downloading Spark to install. How could that possibly be caused by the
> PR?
> >
> > It looks to me like the only PRs with changes to the relevant parts of
> the
> > code — the SparkInterpreter — are being made by the person who wrote the
> > testing suite.
> >
> > So, that would explain why some other PRs pass CI: Neither the
> > SparkInterpreter nor the testing suite are stable or robust, but since
> the
> > PRs are coming from the person who wrote both…
> >
> > And let's say Zeppelin core has problem and that makes your PR fails on
> CI
> > test. That's possible. But it still does not mean we can merge it with CI
> > failing.
> >
> > It means you should be working with me to figure out why the CI is
> failing.
> >
> > This PR has been tested by an active user base for the past three months.
> > If CI is continuing to fail, and dozens of hours of effort have not
> > resolved the CI issues, then it is time to start considering whether the
> > testing suite is part of the problem.
> >
> > The level of defensiveness about the CI and SparkInterpreter is not
> > helping to resolve these issues.
> >
> > If you think it's problem on Zeppelin core, then file an issue that
> > reproduce the problem on Zeppelin core, that might be more efficient than
> > keep trying yourself.
> > I contacted you numerous times about such issues...
> >
>
>
> I remember i commented your issue about CI. but you just keep repeated it's
> not your problem but Zeppelin core problem.
>
> Then please file an issue about the problem you found in Zeppelin Core.
> Then everyone will get into the problem.
>
>
>
> >
> > In my interpretation, KnitRInterpreter is not an optional feature while
> it
> > is always enabled when compiling Zeppelin and always enabled when running
> > Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> > it will fail when no KnitR is installed on the system)
> >
> > Its not always enabled.
> > It is not dynamically linked at runtime.
> > It will not fail when knitr is missing. If knitr is not present, the repl
> > interpreter starts and a note is written to to the log that the knitr
> > interpreter isn’t available because knitr is not present.
> >
> > no Apache code can ever call a shell script, on the purpose of dynamic
> > linking with GPL library.
> > You misunderstand.
> >
> > The *shell* is GPL'd.
> >
> > Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends on
> a
> > shell script to launch?
> >
> Obviously not.
> >
> > The interaction with R in the PR is the same.
> >
> >
>
> Again, bash is one of exceptions of GPL, like other GPL licensed
> compiler/interpreter.
>
> Check here why Bash and R is okay with Apache License.
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>
> I'm not sure we can apply the same exception for 'using' KnitR.
>
> My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
> wrote is not an optional feature. Which is clearly not optionally enabled
> code and feature. And that depends on KnitR library which is GPL.
>
>
>
> > I was guessing SparkR can be still in Apache License even if it is
> depends
> > on R. Because of GPL licensed compiler generated output is not GPL
> license.
> > and R is sort of compiler. If you can get answer from Spark community how
> > SparkR get managed to stay in Apache License while R is GPL, the answer
> > might help.
> > The description of SparkR is not accurate in any respect. (Do you think
> > SparkR is not talking to GPL-licensed libraries?)
> >
> > I don’t see that any genuine issue is being raised here.
> >
> > If there is an issue, the burden is on you to identify it.
> >
> > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> the
> > contribution branch for some reason. It is not the really the best
> > practice, but still okay while most contributions are not including large
> > code base changes
> > However, your one, has more than 4000 lines of code change. If you rebase
> > then review should be started from the beginning, again. So you might
> want
> > to minimize the rebase your branch.
> >
> > Are you actually complaining that the problem is that I rebased the code
> > during the three-month period when no-one looked at it and Zeppelin went
> > through a release?
> >
> > I cannot take it seriously when you say things like this.
> >
> > Having to “start from the beginning” cannot be a problem if you never
> > actually started the first time...
> >
> >
>
> You wanted coordination and cooperation. So i gave you suggestion that
> helping review process. For example, your code has been rebased since my
> comment and jongyoul's comment. that means committers will need to look
> from the beginning. That'll require more time. And maybe, i guess that's
> not what you want. But If you don't care, feel free to rebase.
>
> Thanks,
> moon
>
>
>
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: moon soo Lee <mo...@apache.org>
> > Date: December 1, 2015 at 4:42:06 AM
> > To: Amos B. Elberg <am...@gmail.com>,
> > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> > wrote:
> > Thank you, Cos.
> >
> > I’d like to briefly address the issues raised by Moon:
> >
> > 1. This PR does not passes CI
> > The CI fails on core Zeppelin, *not* code in this PR.
> >
> > I’ve been seeking assistance on this since August.
> >
> > The most common reason is that SparkInterpreter is unable to launch Spark
> > and open a Spark Backend. This is necessary to test the PR.
> >
> > 60+ hours, has been spent adapting and re-basing when the
> SparkInterpreter
> > architecture changed and broke the PR’s *tests.*
> >
> >
> > I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > core, why do you think other PRs are passing CI?
> >
> > And let's say Zeppelin core has problem and that makes your PR fails on
> CI
> > test. That's possible. But it still does not mean we can merge it with CI
> > failing.
> >
> > If you think it's problem on Zeppelin core, then file an issue that
> > reproduce the problem on Zeppelin core, that might be more efficient than
> > keep trying yourself.
> >
> >
> > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > What license problem *specifically* do you believe may exist?
> >
> > In preparing the PR, I:
> >
> > * Reviewed the Apache policy in detail.
> >
> > * Contacted the FSF to ask their interpretation of the “linking”
> > provisions of the GPL license.
> >
> > * Reviewed how other Apache software deals with this issue (e.g., Spark
> > talks to R, which is GPL'd).
> >
> > * No necessary *dependencies* of the PR have license conflicts. In
> > several cases, I contacted package authors who agreed to re-issue their
> > packages under Apache-compatible licenses. (Usually I had to do a bit of
> > coding in exchange…)
> >
> > * Where the license had to stay GPL, the packages are *not necessary* and
> > *not dependencies.* If the optional packages are present, they will be
> > used to enable additional functionality. Knitr is an example. The PR will
> > compile and run fine without knitr. If knitr is available (it is part of
> > the most common R distribution), the PR will enable the knitr
> interpreter.
> >
> > * This is exactly how this issue is addressed through the Apache
> > ecosystem.
> > The tl;dr is this: When Apache code is written to talk to libraries that
> > may or may not be present on the user’s system, or where it talks to an
> API
> > but is agnostic about implementation, that is not “linking” in a way that
> > implicate the anti-linking provision of the GPL.
> >
> > Otherwise, no Apache code could ever call a shell script! Let alone run
> > on Linux, or talk to R.
> >
> >
> > I'm not a legal expert. So following could be wrong.
> >
> > In my interpretation, KnitRInterpreter is not an optional feature while
> it
> > is always enabled when compiling Zeppelin and always enabled when running
> > Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> > it will fail when no KnitR is installed on the system)
> >
> > And of course, no Apache code can ever call a shell script, on the
> purpose
> > of dynamic linking with GPL library.
> >
> > I was guessing SparkR can be still in Apache License even if it is
> depends
> > on R. Because of GPL licensed compiler generated output is not GPL
> license.
> > and R is sort of compiler.
> >
> > If you can get answer from Spark community how SparkR get managed to stay
> > in Apache License while R is GPL, the answer might help.
> >
> >
> > 3. Need more time to review.
> > Has any reviewer has downloaded the PR or run the demo notebook? (Which
> > is there for the benefit of reviewers, and isn’t intended to go in final
> > distribution.)
> >
> > How many +1 comments from users would you like to see?
> >
> > How much time do you believe is required?
> >
> >
> > It all depends on when CI is going to pass, when license problem is going
> > to be cleared, and when a committer willing to review and responsible to
> > commit your contribution.
> >
> >
> > 1. Large code base change
> > Large code base changes require coordination and cooperation. This PR
> > necessarily implicates the build scripts, testing code, the
> > SparkInterpreter, etc.
> >
> > I have been seeking to coordinate since August.
> >
> > I continue to stand ready to do so.
> >
> > -Amos
> >
> >
> > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> the
> > contribution branch for some reason. It is not the really the best
> > practice, but still okay while most contributions are not including large
> > code base changes.
> >
> > However, your one, has more than 4000 lines of code change. If you rebase
> > then review should be started from the beginning, again. So you might
> want
> > to minimize the rebase your branch.
> >
> > Thanks,
> > moon
> >
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 1, 2015 at 1:34:19 AM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > Hi Cos,
> >
> > Thanks for opening a discussion.
> > My answer about 'Why this PR is open for three months' is
> >
> > 1. This PR does not passes CI
> > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > 3. Need more time to review.
> >
> > It's my personal answer, other committers may have different opinion.
> >
> >
> > I think the question should be generalized. Because this PR is not the
> only
> > PR that is in impasse. There're more. For example
> >
> > Here's some examples that PR is not been merged.
> > https://github.com/apache/incubator-zeppelin/pull/53,
> > https://github.com/apache/incubator-zeppelin/pull/60
> > and so on.
> >
> > I can categorize the cases, based on experience of involving Zeppelin
> > community from the beginning.
> >
> > 1. Large code base change
> >
> > When contribution has large code base changes, it tend to take more time
> to
> > review and merged. Normally, most contributions merged in 1day~1 week.
> > But some contribution has large code base changes take 2~4 weeks. Few
> > contribution that has very large code base change take months.
> >
> > 2. Communication lost
> >
> > Sometimes, committer is not responding, or contributor is not responding.
> >
> > 3. Opinion diverges
> >
> > For some changes, included in contribution. When people have different
> > opinion and it continue to diverges, those PRs are not been merged.
> >
> >
> > I think having a guide such as ping other committer when a committer is
> not
> > responding, and divide contribution into small peaces if possible, would
> > help most of the cases.
> > Of course committer have to pay attention more to the contribution and
> > helping people. That's the first one.
> >
> > Thanks,
> > moon
> >
> > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
> wrote:
> >
> > > To make sure we're on the same page, here are two threads that I found
> > > related
> > > to this topic.
> > >
> > > Thread 1:
> > > Subject: R?
> > > Started on: July 1, 2015
> > >
> > > Thread 2:
> > > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > > Zeppelin
> > > Started on: August 13, 2015
> > >
> > > If you want to fetch these from our archive send emails to
> > > dev-thread.1735@zeppelin.incubator.apache.org
> > > dev-thread.3573@zeppelin.incubator.apache.org
> > >
> > > Cos
> > >
> > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > Guys,
> > > >
> > > > While catching up on my emails from the last a couple of weeks, this
> > > thread
> > > > caught my attention. I am not normally paying much attention to the
> > code
> > > > reviews traffic from GH, but this one is pretty different as it spans
> > > three
> > > > months and counting.
> > > >
> > > > First, here are my five cents:
> > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > > contributed to
> > > > an ASF project this file should simply contain ASL2 text, like in [1]
> > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> section,
> > > but
> > > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > > maintain this in the source code, but we have the list of all the
> > > > committers on the project's site [2] Every new committer's first
> > > commit is
> > > > to update the team page ;)
> > > > - comments like in
> > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > >
> > > > +/**
> > > > + * Created by aelberg on 7/28/15.
> > > > + */
> > > >
> > > > is better to be removed. It has been already discussed here [3]. And
> > > the
> > > > initial discussion on the topic [4] was linked as well
> > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > > R-specific
> > > > stuff - I have no idea about R, honestly, but
> > > >
> > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > ...
> > > > +Author: David B. Dahl
> > > >
> > > > shouldn't be here, IMO. Normally, if some additional licenses are
> > > used,
> > > > they have to be listed in the top-level NOTICE file (already there).
> > > >
> > > > - I am not going to offer any comments on the technical merits of the
> > > patch,
> > > > as I haven't tried it personally. However, I don't see any serious
> > > > technical objections to the functionality in question.
> > > >
> > > > So, the question is - why the PR is open for three months? I hasn't
> > been
> > > able
> > > > to get a clear answer. What I found out though is pretty unsettling,
> > > really.
> > > > The communication on the topic is almost non-existent, except for
> this
> > > sparse
> > > > and bitter thread in the GH.
> > > >
> > > > I would love to hear from the committers what's stopping the
> acceptance
> > > of the
> > > > code, besides of the minor issues I've mentioned earlier? What are
> the
> > > reasons for it?
> > > > Is there anything wrong with it?
> > > > One of the responsibilities of the committers is to make sure the
> > > > contributions are reviewed; new contributors are guided and do
> > > understand how
> > > > the project ticks. The easy feedback flow attracts new people,
> allowing
> > > the
> > > > community to grow and thrive.
> > > >
> > > > I am asking _explicitely_ not to re-start the bickering I have
> already
> > > > seen. At this point I am interested in the purely technical side of
> > this.
> > > >
> > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > [2] http://bigtop.apache.org/team-list.html
> > > > [3]
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > [4] http://s.apache.org/iZl
> > > >
> > > > With regards,
> > > > Cos
> > > >
> > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > Github user elbamos commented on the pull request:
> > > > >
> > > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > >
> > > > > The current push should resolve some issues with changes in the
> > > > > Spark-Zeppelin interface that had created issues for users, as
> > > well as
> > > > > support for 1.5.1.
> > > > >
> > > > > Knitr support is improved, and the reason for a separate knitr
> > > interpreter may be clearer now.
> > > > >
> > > > > The amount of code borrowed from rscala is reduced.
> > > > >
> > > > > I did not address issues with @author tags, or files under the R/
> > > > > folder. The reason is, to be blunt, I don't understand what the
> > > precise
> > > > > concerns actually are.
> > > > >
> > > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > > later.
> > > > > I'm sure there is a better way to do it, but I'm just not in a
> > > position
> > > > > to try to figure out the entire Zeppelin build process.
> > > > >
> > > > > Integrating this with the rest of zeppelin is going to take some
> > > work
> > > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > > but I'm
> > > > > going to need to discuss it with the people who have been "owning"
> > > those
> > > > > files. There are just too many moving pieces here.
> > > > >
> > > > > Because of the size of this (which is, unfortunately, necessary),
> > > > > posting here is probably not the most efficient way. That is also
> > > true
> > > > > because certain people chose to use this PR as a forum to air other
> > > > > issues. Therefore, it would be better if reviewers e-mail me
> > > directly.
> > >
> > >
> > >
> >
>
Re: License of KnitRInterpreter Was: Re: contributions impasse. Was:
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Let me summarize license concern about KnitRInterpreter.
Amos's interpretation.
KnitR is optionally required by KnitRInterpreter.
R dependency in SparkR has no problem. So KnitR should be the same.
Moon's interpretation.
KnitRInterpreter is not optionally required. so it does not matter KnitR is
optionally required or not.
R dependency in SparkR is exception of GPL. KnitR is not applied that
exception.
Amos, could you confirm my understanding to your interpretation is correct?
If it is not could you clarify it?
Thanks,
moon
On Wed, Dec 2, 2015 at 10:34 AM Amos B. Elberg <am...@gmail.com>
wrote:
> Just to put the final nail in this, I looked it up.
>
> I see no evidence of any “compiler exception.”
>
> There is an exception in the license for the runtime libraries that are
> bundled with GCC. See:
> http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
>
> But no “compiler exception.”
>
> In fact, I believe this is part of the reason why LLVM was created.
>
> From: moon soo Lee <mo...@apache.org>
> Reply: moon soo Lee <mo...@apache.org>
> Date: December 1, 2015 at 8:16:36 PM
> To: Amos B. Elberg <am...@gmail.com>,
> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Is knitR is commonly considered as a interpreter/compiler? or is it
> considered as a library routine?
>
> Thanks,
> moon
>
> On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com>
> wrote:
> Moon - you give this as an explanation of the licensing issue:
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>
> According to that, there is an exception in the GPL for interpreter
> languages. As long as you don’t distribute the code, its fine to talk to
> an interpreted language.
>
> Well, if that’s the case, then the PR plainly does not have a license
> issue. It doesn’t distribute any GPL’d R code.
>
> I’m not sure what’s confusing about this. It seems completely
> straightforward.
>
> Regarding this:
>
>
> --
> Amos Elberg
> Sent with Airmail
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 1, 2015 at 6:48:47 PM
>
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > I am going to try to minimize my reaction to Moon’s e-mail.
> >
> > The tl;dr is this:
> >
> > The reason we are having this discussion now is that active users of the
> > PR — which now has its own user base — went public to complain about
> this.
>
>
> > The PR has been tested by an active user base for more than three months.
> > No-one has been able to identify any specific actual licensing problem,
> and
> > the PR was prepared based on an extensive, careful review of the relevant
> > licensing issues and after contacting the relevant people.
> >
> >
>
> I admire every software that used by user and helping people. That includes
> your work. But that's not the topic we're in discussion. Active user does
> not mean your contribution can ignore the review.
>
>
>
> > It is not an explanation for someone who has been ignoring my “how can I
> > move this forward…” emails for three months to point the finger and say I
> > didn’t contact the right person or file the right report.
> >
> >
> This is also not the topic in this discussion.
>
>
> > The burden for providing an explanation for the inaction is on the PMCC
> at
> > this point.
>
> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > core, why do you think other PRs are passing CI?
> > They’re not! I often see comments on PRs to just ignore that CI is
> > failing.
> >
> > One of the most common reasons this PR fails CI, is CI times-out
> > downloading Spark to install. How could that possibly be caused by the
> PR?
> >
> > It looks to me like the only PRs with changes to the relevant parts of
> the
> > code — the SparkInterpreter — are being made by the person who wrote the
> > testing suite.
> >
> > So, that would explain why some other PRs pass CI: Neither the
> > SparkInterpreter nor the testing suite are stable or robust, but since
> the
> > PRs are coming from the person who wrote both…
> >
> > And let's say Zeppelin core has problem and that makes your PR fails on
> CI
> > test. That's possible. But it still does not mean we can merge it with CI
> > failing.
> >
> > It means you should be working with me to figure out why the CI is
> failing.
> >
> > This PR has been tested by an active user base for the past three months.
> > If CI is continuing to fail, and dozens of hours of effort have not
> > resolved the CI issues, then it is time to start considering whether the
> > testing suite is part of the problem.
> >
> > The level of defensiveness about the CI and SparkInterpreter is not
> > helping to resolve these issues.
> >
> > If you think it's problem on Zeppelin core, then file an issue that
> > reproduce the problem on Zeppelin core, that might be more efficient than
> > keep trying yourself.
> > I contacted you numerous times about such issues...
> >
>
>
> I remember i commented your issue about CI. but you just keep repeated it's
> not your problem but Zeppelin core problem.
>
> Then please file an issue about the problem you found in Zeppelin Core.
> Then everyone will get into the problem.
>
>
>
> >
> > In my interpretation, KnitRInterpreter is not an optional feature while
> it
> > is always enabled when compiling Zeppelin and always enabled when running
> > Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> > it will fail when no KnitR is installed on the system)
> >
> > Its not always enabled.
> > It is not dynamically linked at runtime.
> > It will not fail when knitr is missing. If knitr is not present, the repl
> > interpreter starts and a note is written to to the log that the knitr
> > interpreter isn’t available because knitr is not present.
> >
> > no Apache code can ever call a shell script, on the purpose of dynamic
> > linking with GPL library.
> > You misunderstand.
> >
> > The *shell* is GPL'd.
> >
> > Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends on
> a
> > shell script to launch?
> >
> Obviously not.
> >
> > The interaction with R in the PR is the same.
> >
> >
>
> Again, bash is one of exceptions of GPL, like other GPL licensed
> compiler/interpreter.
>
> Check here why Bash and R is okay with Apache License.
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>
> I'm not sure we can apply the same exception for 'using' KnitR.
>
> My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
> wrote is not an optional feature. Which is clearly not optionally enabled
> code and feature. And that depends on KnitR library which is GPL.
>
>
>
> > I was guessing SparkR can be still in Apache License even if it is
> depends
> > on R. Because of GPL licensed compiler generated output is not GPL
> license.
> > and R is sort of compiler. If you can get answer from Spark community how
> > SparkR get managed to stay in Apache License while R is GPL, the answer
> > might help.
> > The description of SparkR is not accurate in any respect. (Do you think
> > SparkR is not talking to GPL-licensed libraries?)
> >
> > I don’t see that any genuine issue is being raised here.
> >
> > If there is an issue, the burden is on you to identify it.
> >
> > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> the
> > contribution branch for some reason. It is not the really the best
> > practice, but still okay while most contributions are not including large
> > code base changes
> > However, your one, has more than 4000 lines of code change. If you rebase
> > then review should be started from the beginning, again. So you might
> want
> > to minimize the rebase your branch.
> >
> > Are you actually complaining that the problem is that I rebased the code
> > during the three-month period when no-one looked at it and Zeppelin went
> > through a release?
> >
> > I cannot take it seriously when you say things like this.
> >
> > Having to “start from the beginning” cannot be a problem if you never
> > actually started the first time...
> >
> >
>
> You wanted coordination and cooperation. So i gave you suggestion that
> helping review process. For example, your code has been rebased since my
> comment and jongyoul's comment. that means committers will need to look
> from the beginning. That'll require more time. And maybe, i guess that's
> not what you want. But If you don't care, feel free to rebase.
>
> Thanks,
> moon
>
>
>
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: moon soo Lee <mo...@apache.org>
> > Date: December 1, 2015 at 4:42:06 AM
> > To: Amos B. Elberg <am...@gmail.com>,
> > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> > wrote:
> > Thank you, Cos.
> >
> > I’d like to briefly address the issues raised by Moon:
> >
> > 1. This PR does not passes CI
> > The CI fails on core Zeppelin, *not* code in this PR.
> >
> > I’ve been seeking assistance on this since August.
> >
> > The most common reason is that SparkInterpreter is unable to launch Spark
> > and open a Spark Backend. This is necessary to test the PR.
> >
> > 60+ hours, has been spent adapting and re-basing when the
> SparkInterpreter
> > architecture changed and broke the PR’s *tests.*
> >
> >
> > I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > core, why do you think other PRs are passing CI?
> >
> > And let's say Zeppelin core has problem and that makes your PR fails on
> CI
> > test. That's possible. But it still does not mean we can merge it with CI
> > failing.
> >
> > If you think it's problem on Zeppelin core, then file an issue that
> > reproduce the problem on Zeppelin core, that might be more efficient than
> > keep trying yourself.
> >
> >
> > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > What license problem *specifically* do you believe may exist?
> >
> > In preparing the PR, I:
> >
> > * Reviewed the Apache policy in detail.
> >
> > * Contacted the FSF to ask their interpretation of the “linking”
> > provisions of the GPL license.
> >
> > * Reviewed how other Apache software deals with this issue (e.g., Spark
> > talks to R, which is GPL'd).
> >
> > * No necessary *dependencies* of the PR have license conflicts. In
> > several cases, I contacted package authors who agreed to re-issue their
> > packages under Apache-compatible licenses. (Usually I had to do a bit of
> > coding in exchange…)
> >
> > * Where the license had to stay GPL, the packages are *not necessary* and
> > *not dependencies.* If the optional packages are present, they will be
> > used to enable additional functionality. Knitr is an example. The PR will
> > compile and run fine without knitr. If knitr is available (it is part of
> > the most common R distribution), the PR will enable the knitr
> interpreter.
> >
> > * This is exactly how this issue is addressed through the Apache
> > ecosystem.
> > The tl;dr is this: When Apache code is written to talk to libraries that
> > may or may not be present on the user’s system, or where it talks to an
> API
> > but is agnostic about implementation, that is not “linking” in a way that
> > implicate the anti-linking provision of the GPL.
> >
> > Otherwise, no Apache code could ever call a shell script! Let alone run
> > on Linux, or talk to R.
> >
> >
> > I'm not a legal expert. So following could be wrong.
> >
> > In my interpretation, KnitRInterpreter is not an optional feature while
> it
> > is always enabled when compiling Zeppelin and always enabled when running
> > Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> > it will fail when no KnitR is installed on the system)
> >
> > And of course, no Apache code can ever call a shell script, on the
> purpose
> > of dynamic linking with GPL library.
> >
> > I was guessing SparkR can be still in Apache License even if it is
> depends
> > on R. Because of GPL licensed compiler generated output is not GPL
> license.
> > and R is sort of compiler.
> >
> > If you can get answer from Spark community how SparkR get managed to stay
> > in Apache License while R is GPL, the answer might help.
> >
> >
> > 3. Need more time to review.
> > Has any reviewer has downloaded the PR or run the demo notebook? (Which
> > is there for the benefit of reviewers, and isn’t intended to go in final
> > distribution.)
> >
> > How many +1 comments from users would you like to see?
> >
> > How much time do you believe is required?
> >
> >
> > It all depends on when CI is going to pass, when license problem is going
> > to be cleared, and when a committer willing to review and responsible to
> > commit your contribution.
> >
> >
> > 1. Large code base change
> > Large code base changes require coordination and cooperation. This PR
> > necessarily implicates the build scripts, testing code, the
> > SparkInterpreter, etc.
> >
> > I have been seeking to coordinate since August.
> >
> > I continue to stand ready to do so.
> >
> > -Amos
> >
> >
> > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> the
> > contribution branch for some reason. It is not the really the best
> > practice, but still okay while most contributions are not including large
> > code base changes.
> >
> > However, your one, has more than 4000 lines of code change. If you rebase
> > then review should be started from the beginning, again. So you might
> want
> > to minimize the rebase your branch.
> >
> > Thanks,
> > moon
> >
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 1, 2015 at 1:34:19 AM
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > Hi Cos,
> >
> > Thanks for opening a discussion.
> > My answer about 'Why this PR is open for three months' is
> >
> > 1. This PR does not passes CI
> > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > 3. Need more time to review.
> >
> > It's my personal answer, other committers may have different opinion.
> >
> >
> > I think the question should be generalized. Because this PR is not the
> only
> > PR that is in impasse. There're more. For example
> >
> > Here's some examples that PR is not been merged.
> > https://github.com/apache/incubator-zeppelin/pull/53,
> > https://github.com/apache/incubator-zeppelin/pull/60
> > and so on.
> >
> > I can categorize the cases, based on experience of involving Zeppelin
> > community from the beginning.
> >
> > 1. Large code base change
> >
> > When contribution has large code base changes, it tend to take more time
> to
> > review and merged. Normally, most contributions merged in 1day~1 week.
> > But some contribution has large code base changes take 2~4 weeks. Few
> > contribution that has very large code base change take months.
> >
> > 2. Communication lost
> >
> > Sometimes, committer is not responding, or contributor is not responding.
> >
> > 3. Opinion diverges
> >
> > For some changes, included in contribution. When people have different
> > opinion and it continue to diverges, those PRs are not been merged.
> >
> >
> > I think having a guide such as ping other committer when a committer is
> not
> > responding, and divide contribution into small peaces if possible, would
> > help most of the cases.
> > Of course committer have to pay attention more to the contribution and
> > helping people. That's the first one.
> >
> > Thanks,
> > moon
> >
> > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
> wrote:
> >
> > > To make sure we're on the same page, here are two threads that I found
> > > related
> > > to this topic.
> > >
> > > Thread 1:
> > > Subject: R?
> > > Started on: July 1, 2015
> > >
> > > Thread 2:
> > > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > > Zeppelin
> > > Started on: August 13, 2015
> > >
> > > If you want to fetch these from our archive send emails to
> > > dev-thread.1735@zeppelin.incubator.apache.org
> > > dev-thread.3573@zeppelin.incubator.apache.org
> > >
> > > Cos
> > >
> > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > Guys,
> > > >
> > > > While catching up on my emails from the last a couple of weeks, this
> > > thread
> > > > caught my attention. I am not normally paying much attention to the
> > code
> > > > reviews traffic from GH, but this one is pretty different as it spans
> > > three
> > > > months and counting.
> > > >
> > > > First, here are my five cents:
> > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > > contributed to
> > > > an ASF project this file should simply contain ASL2 text, like in [1]
> > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> section,
> > > but
> > > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > > maintain this in the source code, but we have the list of all the
> > > > committers on the project's site [2] Every new committer's first
> > > commit is
> > > > to update the team page ;)
> > > > - comments like in
> > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > >
> > > > +/**
> > > > + * Created by aelberg on 7/28/15.
> > > > + */
> > > >
> > > > is better to be removed. It has been already discussed here [3]. And
> > > the
> > > > initial discussion on the topic [4] was linked as well
> > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > > R-specific
> > > > stuff - I have no idea about R, honestly, but
> > > >
> > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > ...
> > > > +Author: David B. Dahl
> > > >
> > > > shouldn't be here, IMO. Normally, if some additional licenses are
> > > used,
> > > > they have to be listed in the top-level NOTICE file (already there).
> > > >
> > > > - I am not going to offer any comments on the technical merits of the
> > > patch,
> > > > as I haven't tried it personally. However, I don't see any serious
> > > > technical objections to the functionality in question.
> > > >
> > > > So, the question is - why the PR is open for three months? I hasn't
> > been
> > > able
> > > > to get a clear answer. What I found out though is pretty unsettling,
> > > really.
> > > > The communication on the topic is almost non-existent, except for
> this
> > > sparse
> > > > and bitter thread in the GH.
> > > >
> > > > I would love to hear from the committers what's stopping the
> acceptance
> > > of the
> > > > code, besides of the minor issues I've mentioned earlier? What are
> the
> > > reasons for it?
> > > > Is there anything wrong with it?
> > > > One of the responsibilities of the committers is to make sure the
> > > > contributions are reviewed; new contributors are guided and do
> > > understand how
> > > > the project ticks. The easy feedback flow attracts new people,
> allowing
> > > the
> > > > community to grow and thrive.
> > > >
> > > > I am asking _explicitely_ not to re-start the bickering I have
> already
> > > > seen. At this point I am interested in the purely technical side of
> > this.
> > > >
> > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > [2] http://bigtop.apache.org/team-list.html
> > > > [3]
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > [4] http://s.apache.org/iZl
> > > >
> > > > With regards,
> > > > Cos
> > > >
> > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > Github user elbamos commented on the pull request:
> > > > >
> > > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > >
> > > > > The current push should resolve some issues with changes in the
> > > > > Spark-Zeppelin interface that had created issues for users, as
> > > well as
> > > > > support for 1.5.1.
> > > > >
> > > > > Knitr support is improved, and the reason for a separate knitr
> > > interpreter may be clearer now.
> > > > >
> > > > > The amount of code borrowed from rscala is reduced.
> > > > >
> > > > > I did not address issues with @author tags, or files under the R/
> > > > > folder. The reason is, to be blunt, I don't understand what the
> > > precise
> > > > > concerns actually are.
> > > > >
> > > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > > later.
> > > > > I'm sure there is a better way to do it, but I'm just not in a
> > > position
> > > > > to try to figure out the entire Zeppelin build process.
> > > > >
> > > > > Integrating this with the rest of zeppelin is going to take some
> > > work
> > > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > > but I'm
> > > > > going to need to discuss it with the people who have been "owning"
> > > those
> > > > > files. There are just too many moving pieces here.
> > > > >
> > > > > Because of the size of this (which is, unfortunately, necessary),
> > > > > posting here is probably not the most efficient way. That is also
> > > true
> > > > > because certain people chose to use this PR as a forum to air other
> > > > > issues. Therefore, it would be better if reviewers e-mail me
> > > directly.
> > >
> > >
> > >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Just to put the final nail in this, I looked it up.
I see no evidence of any “compiler exception.”
There is an exception in the license for the runtime libraries that are bundled with GCC. See: http://www.gnu.org/licenses/gcc-exception-3.1-faq.html
But no “compiler exception.”
In fact, I believe this is part of the reason why LLVM was created.
From: moon soo Lee <mo...@apache.org>
Reply: moon soo Lee <mo...@apache.org>
Date: December 1, 2015 at 8:16:36 PM
To: Amos B. Elberg <am...@gmail.com>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Is knitR is commonly considered as a interpreter/compiler? or is it considered as a library routine?
Thanks,
moon
On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com> wrote:
Moon - you give this as an explanation of the licensing issue: https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
According to that, there is an exception in the GPL for interpreter languages. As long as you don’t distribute the code, its fine to talk to an interpreted language.
Well, if that’s the case, then the PR plainly does not have a license issue. It doesn’t distribute any GPL’d R code.
I’m not sure what’s confusing about this. It seems completely straightforward.
Regarding this:
--
Amos Elberg
Sent with Airmail
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 1, 2015 at 6:48:47 PM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com> wrote:
> I am going to try to minimize my reaction to Moon’s e-mail.
>
> The tl;dr is this:
>
> The reason we are having this discussion now is that active users of the
> PR — which now has its own user base — went public to complain about this.
> The PR has been tested by an active user base for more than three months.
> No-one has been able to identify any specific actual licensing problem, and
> the PR was prepared based on an extensive, careful review of the relevant
> licensing issues and after contacting the relevant people.
>
>
I admire every software that used by user and helping people. That includes
your work. But that's not the topic we're in discussion. Active user does
not mean your contribution can ignore the review.
> It is not an explanation for someone who has been ignoring my “how can I
> move this forward…” emails for three months to point the finger and say I
> didn’t contact the right person or file the right report.
>
>
This is also not the topic in this discussion.
> The burden for providing an explanation for the inaction is on the PMCC at
> this point.
I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> core, why do you think other PRs are passing CI?
> They’re not! I often see comments on PRs to just ignore that CI is
> failing.
>
> One of the most common reasons this PR fails CI, is CI times-out
> downloading Spark to install. How could that possibly be caused by the PR?
>
> It looks to me like the only PRs with changes to the relevant parts of the
> code — the SparkInterpreter — are being made by the person who wrote the
> testing suite.
>
> So, that would explain why some other PRs pass CI: Neither the
> SparkInterpreter nor the testing suite are stable or robust, but since the
> PRs are coming from the person who wrote both…
>
> And let's say Zeppelin core has problem and that makes your PR fails on CI
> test. That's possible. But it still does not mean we can merge it with CI
> failing.
>
> It means you should be working with me to figure out why the CI is failing.
>
> This PR has been tested by an active user base for the past three months.
> If CI is continuing to fail, and dozens of hours of effort have not
> resolved the CI issues, then it is time to start considering whether the
> testing suite is part of the problem.
>
> The level of defensiveness about the CI and SparkInterpreter is not
> helping to resolve these issues.
>
> If you think it's problem on Zeppelin core, then file an issue that
> reproduce the problem on Zeppelin core, that might be more efficient than
> keep trying yourself.
> I contacted you numerous times about such issues...
>
I remember i commented your issue about CI. but you just keep repeated it's
not your problem but Zeppelin core problem.
Then please file an issue about the problem you found in Zeppelin Core.
Then everyone will get into the problem.
>
> In my interpretation, KnitRInterpreter is not an optional feature while it
> is always enabled when compiling Zeppelin and always enabled when running
> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> it will fail when no KnitR is installed on the system)
>
> Its not always enabled.
> It is not dynamically linked at runtime.
> It will not fail when knitr is missing. If knitr is not present, the repl
> interpreter starts and a note is written to to the log that the knitr
> interpreter isn’t available because knitr is not present.
>
> no Apache code can ever call a shell script, on the purpose of dynamic
> linking with GPL library.
> You misunderstand.
>
> The *shell* is GPL'd.
>
> Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends on a
> shell script to launch?
>
Obviously not.
>
> The interaction with R in the PR is the same.
>
>
Again, bash is one of exceptions of GPL, like other GPL licensed
compiler/interpreter.
Check here why Bash and R is okay with Apache License.
https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
I'm not sure we can apply the same exception for 'using' KnitR.
My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
wrote is not an optional feature. Which is clearly not optionally enabled
code and feature. And that depends on KnitR library which is GPL.
> I was guessing SparkR can be still in Apache License even if it is depends
> on R. Because of GPL licensed compiler generated output is not GPL license.
> and R is sort of compiler. If you can get answer from Spark community how
> SparkR get managed to stay in Apache License while R is GPL, the answer
> might help.
> The description of SparkR is not accurate in any respect. (Do you think
> SparkR is not talking to GPL-licensed libraries?)
>
> I don’t see that any genuine issue is being raised here.
>
> If there is an issue, the burden is on you to identify it.
>
> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
> contribution branch for some reason. It is not the really the best
> practice, but still okay while most contributions are not including large
> code base changes
> However, your one, has more than 4000 lines of code change. If you rebase
> then review should be started from the beginning, again. So you might want
> to minimize the rebase your branch.
>
> Are you actually complaining that the problem is that I rebased the code
> during the three-month period when no-one looked at it and Zeppelin went
> through a release?
>
> I cannot take it seriously when you say things like this.
>
> Having to “start from the beginning” cannot be a problem if you never
> actually started the first time...
>
>
You wanted coordination and cooperation. So i gave you suggestion that
helping review process. For example, your code has been rebased since my
comment and jongyoul's comment. that means committers will need to look
from the beginning. That'll require more time. And maybe, i guess that's
not what you want. But If you don't care, feel free to rebase.
Thanks,
moon
>
> From: moon soo Lee <mo...@apache.org>
> Reply: moon soo Lee <mo...@apache.org>
> Date: December 1, 2015 at 4:42:06 AM
> To: Amos B. Elberg <am...@gmail.com>,
> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> wrote:
> Thank you, Cos.
>
> I’d like to briefly address the issues raised by Moon:
>
> 1. This PR does not passes CI
> The CI fails on core Zeppelin, *not* code in this PR.
>
> I’ve been seeking assistance on this since August.
>
> The most common reason is that SparkInterpreter is unable to launch Spark
> and open a Spark Backend. This is necessary to test the PR.
>
> 60+ hours, has been spent adapting and re-basing when the SparkInterpreter
> architecture changed and broke the PR’s *tests.*
>
>
> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> core, why do you think other PRs are passing CI?
>
> And let's say Zeppelin core has problem and that makes your PR fails on CI
> test. That's possible. But it still does not mean we can merge it with CI
> failing.
>
> If you think it's problem on Zeppelin core, then file an issue that
> reproduce the problem on Zeppelin core, that might be more efficient than
> keep trying yourself.
>
>
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> What license problem *specifically* do you believe may exist?
>
> In preparing the PR, I:
>
> * Reviewed the Apache policy in detail.
>
> * Contacted the FSF to ask their interpretation of the “linking”
> provisions of the GPL license.
>
> * Reviewed how other Apache software deals with this issue (e.g., Spark
> talks to R, which is GPL'd).
>
> * No necessary *dependencies* of the PR have license conflicts. In
> several cases, I contacted package authors who agreed to re-issue their
> packages under Apache-compatible licenses. (Usually I had to do a bit of
> coding in exchange…)
>
> * Where the license had to stay GPL, the packages are *not necessary* and
> *not dependencies.* If the optional packages are present, they will be
> used to enable additional functionality. Knitr is an example. The PR will
> compile and run fine without knitr. If knitr is available (it is part of
> the most common R distribution), the PR will enable the knitr interpreter.
>
> * This is exactly how this issue is addressed through the Apache
> ecosystem.
> The tl;dr is this: When Apache code is written to talk to libraries that
> may or may not be present on the user’s system, or where it talks to an API
> but is agnostic about implementation, that is not “linking” in a way that
> implicate the anti-linking provision of the GPL.
>
> Otherwise, no Apache code could ever call a shell script! Let alone run
> on Linux, or talk to R.
>
>
> I'm not a legal expert. So following could be wrong.
>
> In my interpretation, KnitRInterpreter is not an optional feature while it
> is always enabled when compiling Zeppelin and always enabled when running
> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> it will fail when no KnitR is installed on the system)
>
> And of course, no Apache code can ever call a shell script, on the purpose
> of dynamic linking with GPL library.
>
> I was guessing SparkR can be still in Apache License even if it is depends
> on R. Because of GPL licensed compiler generated output is not GPL license.
> and R is sort of compiler.
>
> If you can get answer from Spark community how SparkR get managed to stay
> in Apache License while R is GPL, the answer might help.
>
>
> 3. Need more time to review.
> Has any reviewer has downloaded the PR or run the demo notebook? (Which
> is there for the benefit of reviewers, and isn’t intended to go in final
> distribution.)
>
> How many +1 comments from users would you like to see?
>
> How much time do you believe is required?
>
>
> It all depends on when CI is going to pass, when license problem is going
> to be cleared, and when a committer willing to review and responsible to
> commit your contribution.
>
>
> 1. Large code base change
> Large code base changes require coordination and cooperation. This PR
> necessarily implicates the build scripts, testing code, the
> SparkInterpreter, etc.
>
> I have been seeking to coordinate since August.
>
> I continue to stand ready to do so.
>
> -Amos
>
>
> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
> contribution branch for some reason. It is not the really the best
> practice, but still okay while most contributions are not including large
> code base changes.
>
> However, your one, has more than 4000 lines of code change. If you rebase
> then review should be started from the beginning, again. So you might want
> to minimize the rebase your branch.
>
> Thanks,
> moon
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 1, 2015 at 1:34:19 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Hi Cos,
>
> Thanks for opening a discussion.
> My answer about 'Why this PR is open for three months' is
>
> 1. This PR does not passes CI
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> 3. Need more time to review.
>
> It's my personal answer, other committers may have different opinion.
>
>
> I think the question should be generalized. Because this PR is not the only
> PR that is in impasse. There're more. For example
>
> Here's some examples that PR is not been merged.
> https://github.com/apache/incubator-zeppelin/pull/53,
> https://github.com/apache/incubator-zeppelin/pull/60
> and so on.
>
> I can categorize the cases, based on experience of involving Zeppelin
> community from the beginning.
>
> 1. Large code base change
>
> When contribution has large code base changes, it tend to take more time to
> review and merged. Normally, most contributions merged in 1day~1 week.
> But some contribution has large code base changes take 2~4 weeks. Few
> contribution that has very large code base change take months.
>
> 2. Communication lost
>
> Sometimes, committer is not responding, or contributor is not responding.
>
> 3. Opinion diverges
>
> For some changes, included in contribution. When people have different
> opinion and it continue to diverges, those PRs are not been merged.
>
>
> I think having a guide such as ping other committer when a committer is not
> responding, and divide contribution into small peaces if possible, would
> help most of the cases.
> Of course committer have to pay attention more to the contribution and
> helping people. That's the first one.
>
> Thanks,
> moon
>
> On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
>
> > To make sure we're on the same page, here are two threads that I found
> > related
> > to this topic.
> >
> > Thread 1:
> > Subject: R?
> > Started on: July 1, 2015
> >
> > Thread 2:
> > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > Started on: August 13, 2015
> >
> > If you want to fetch these from our archive send emails to
> > dev-thread.1735@zeppelin.incubator.apache.org
> > dev-thread.3573@zeppelin.incubator.apache.org
> >
> > Cos
> >
> > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > Guys,
> > >
> > > While catching up on my emails from the last a couple of weeks, this
> > thread
> > > caught my attention. I am not normally paying much attention to the
> code
> > > reviews traffic from GH, but this one is pretty different as it spans
> > three
> > > months and counting.
> > >
> > > First, here are my five cents:
> > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > contributed to
> > > an ASF project this file should simply contain ASL2 text, like in [1]
> > > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
> > but
> > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > maintain this in the source code, but we have the list of all the
> > > committers on the project's site [2] Every new committer's first
> > commit is
> > > to update the team page ;)
> > > - comments like in
> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > >
> > > +/**
> > > + * Created by aelberg on 7/28/15.
> > > + */
> > >
> > > is better to be removed. It has been already discussed here [3]. And
> > the
> > > initial discussion on the topic [4] was linked as well
> > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > R-specific
> > > stuff - I have no idea about R, honestly, but
> > >
> > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > ...
> > > +Author: David B. Dahl
> > >
> > > shouldn't be here, IMO. Normally, if some additional licenses are
> > used,
> > > they have to be listed in the top-level NOTICE file (already there).
> > >
> > > - I am not going to offer any comments on the technical merits of the
> > patch,
> > > as I haven't tried it personally. However, I don't see any serious
> > > technical objections to the functionality in question.
> > >
> > > So, the question is - why the PR is open for three months? I hasn't
> been
> > able
> > > to get a clear answer. What I found out though is pretty unsettling,
> > really.
> > > The communication on the topic is almost non-existent, except for this
> > sparse
> > > and bitter thread in the GH.
> > >
> > > I would love to hear from the committers what's stopping the acceptance
> > of the
> > > code, besides of the minor issues I've mentioned earlier? What are the
> > reasons for it?
> > > Is there anything wrong with it?
> > > One of the responsibilities of the committers is to make sure the
> > > contributions are reviewed; new contributors are guided and do
> > understand how
> > > the project ticks. The easy feedback flow attracts new people, allowing
> > the
> > > community to grow and thrive.
> > >
> > > I am asking _explicitely_ not to re-start the bickering I have already
> > > seen. At this point I am interested in the purely technical side of
> this.
> > >
> > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > [2] http://bigtop.apache.org/team-list.html
> > > [3]
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > [4] http://s.apache.org/iZl
> > >
> > > With regards,
> > > Cos
> > >
> > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > Github user elbamos commented on the pull request:
> > > >
> > > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > >
> > > > The current push should resolve some issues with changes in the
> > > > Spark-Zeppelin interface that had created issues for users, as
> > well as
> > > > support for 1.5.1.
> > > >
> > > > Knitr support is improved, and the reason for a separate knitr
> > interpreter may be clearer now.
> > > >
> > > > The amount of code borrowed from rscala is reduced.
> > > >
> > > > I did not address issues with @author tags, or files under the R/
> > > > folder. The reason is, to be blunt, I don't understand what the
> > precise
> > > > concerns actually are.
> > > >
> > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > later.
> > > > I'm sure there is a better way to do it, but I'm just not in a
> > position
> > > > to try to figure out the entire Zeppelin build process.
> > > >
> > > > Integrating this with the rest of zeppelin is going to take some
> > work
> > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > but I'm
> > > > going to need to discuss it with the people who have been "owning"
> > those
> > > > files. There are just too many moving pieces here.
> > > >
> > > > Because of the size of this (which is, unfortunately, necessary),
> > > > posting here is probably not the most efficient way. That is also
> > true
> > > > because certain people chose to use this PR as a forum to air other
> > > > issues. Therefore, it would be better if reviewers e-mail me
> > directly.
> >
> >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Konstantin Boudnik <co...@apache.org>.
The Foundation was around for 16 years and had worked our a lot of "best
practices" on how to deal with the situations like that. It's called "Apache
Way". So, you hardly need to search around to find out what to do when dealing
with interesting situations.
Cos
On Wed, Dec 02, 2015 at 07:48AM, Eran Witkon wrote:
> The more I read this thread and other thread about this topic the more I
> feel discomfort from the way we act as a community.
> I welcome Roman willingness to help here but suggest we all look and adopt
> the following way of thinking...
>
> http://ecorner.stanford.edu/authorMaterialInfo.html?mid=1642
>
> Eran
> On Wed, 2 Dec 2015 at 08:50 Amos B. Elberg <am...@gmail.com> wrote:
>
> > Roman - thank you for taking a look at the PR! The PR should compile
> > out-of-box if you have R and the evaluate package installed.
> >
> > I have been working on a “release” version rebased to match 5.5-release.
> > It has documentation, including what features are added with optional
> > (incompatible-license) R packages. And how to build a seamless Spark
> > pipeline that mixes scala, python, and R without breaking lazy evaluation.
> >
> > I can send you a zip of that tomorrow, and will contact you directly to
> > provide it.
> >
> > From: Roman Shaposhnik <ro...@shaposhnik.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 2, 2015 at 12:30:52 AM
> > To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > CC: moon soo Lee <mo...@apache.org>
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> > request: R Interpreter for Zeppelin
> >
> > Hi!
> >
> > reading through the thread made me realize that what Amos
> > is saying makes perfect sense to me. That said, I don't like to
> > take Moon's concerns lightly either.
> >
> > Hence, would it be possible to get the *bundle* of a binary
> > package built with the patch applied and ready to go? I'd
> > like to provide an extra pair of eyes to help settle this.
> >
> > Thanks,
> > Roman.
> >
> > P.S. I do a lot of this type of work around IP at my $DAYJOB
> >
> > On Tue, Dec 1, 2015 at 5:25 PM, Amos B. Elberg <am...@gmail.com>
> > wrote:
> > > Moon - If there were seriously a licensing issue, then you or someone
> > else would be able to say clearly and specifically what it is.
> > >
> > > There plainly is not. This idea you have about a “compiler exception”
> > has nothing to do with any of this. The link you sent doesn’t talk about
> > any “compiler exception.” (I’m not sure what a 2008 e-mail from a developer
> > who wanted to release a branded version of R has to do with Apache’s policy
> > concerning linking to GPL’d code anyway…)
> > >
> > > My e-mail was accidentally sent incomplete. This is the rest:
> > >
> > > You say this:
> > >
> > > My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter'
> > you
> > > wrote is not an optional feature. Which is clearly not optionally enabled
> > > code and feature. And that depends on KnitR library which is GPL.
> > >
> > > That’s false.
> > >
> > > ***
> > > I addressed the licensing issue only because waving the “license” flag
> > could scare people off.
> > >
> > > If someone really believed there was a licensing issue, they would be
> > able to say clearly what that issue is.
> > >
> > > I am not going to respond to the rest of Moon’s e-mail.
> > >
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: moon soo Lee <mo...@apache.org>
> > > Date: December 1, 2015 at 8:16:36 PM
> > > To: Amos B. Elberg <am...@gmail.com>,
> > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull request: R Interpreter for Zeppelin
> > >
> > > Is knitR is commonly considered as a interpreter/compiler? or is it
> > considered as a library routine?
> > >
> > > Thanks,
> > > moon
> > >
> > > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com>
> > wrote:
> > > Moon - you give this as an explanation of the licensing issue:
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > >
> > > According to that, there is an exception in the GPL for interpreter
> > languages. As long as you don’t distribute the code, its fine to talk to an
> > interpreted language.
> > >
> > > Well, if that’s the case, then the PR plainly does not have a license
> > issue. It doesn’t distribute any GPL’d R code.
> > >
> > > I’m not sure what’s confusing about this. It seems completely
> > straightforward.
> > >
> > > Regarding this:
> > >
> > >
> > > --
> > > Amos Elberg
> > > Sent with Airmail
> > >
> > > From: moon soo Lee <mo...@apache.org>
> > > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > > Date: December 1, 2015 at 6:48:47 PM
> > >
> > > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> > >
> > > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull request: R Interpreter for Zeppelin
> > >
> > > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com>
> > wrote:
> > >
> > >> I am going to try to minimize my reaction to Moon’s e-mail.
> > >>
> > >> The tl;dr is this:
> > >>
> > >> The reason we are having this discussion now is that active users of the
> > >> PR — which now has its own user base — went public to complain about
> > this.
> > >
> > >
> > >> The PR has been tested by an active user base for more than three
> > months.
> > >> No-one has been able to identify any specific actual licensing problem,
> > and
> > >> the PR was prepared based on an extensive, careful review of the
> > relevant
> > >> licensing issues and after contacting the relevant people.
> > >>
> > >>
> > >
> > > I admire every software that used by user and helping people. That
> > includes
> > > your work. But that's not the topic we're in discussion. Active user does
> > > not mean your contribution can ignore the review.
> > >
> > >
> > >
> > >> It is not an explanation for someone who has been ignoring my “how can I
> > >> move this forward…” emails for three months to point the finger and say
> > I
> > >> didn’t contact the right person or file the right report.
> > >>
> > >>
> > > This is also not the topic in this discussion.
> > >
> > >
> > >> The burden for providing an explanation for the inaction is on the PMCC
> > at
> > >> this point.
> > >
> > > I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > >> core, why do you think other PRs are passing CI?
> > >> They’re not! I often see comments on PRs to just ignore that CI is
> > >> failing.
> > >>
> > >> One of the most common reasons this PR fails CI, is CI times-out
> > >> downloading Spark to install. How could that possibly be caused by the
> > PR?
> > >>
> > >> It looks to me like the only PRs with changes to the relevant parts of
> > the
> > >> code — the SparkInterpreter — are being made by the person who wrote the
> > >> testing suite.
> > >>
> > >> So, that would explain why some other PRs pass CI: Neither the
> > >> SparkInterpreter nor the testing suite are stable or robust, but since
> > the
> > >> PRs are coming from the person who wrote both…
> > >>
> > >> And let's say Zeppelin core has problem and that makes your PR fails on
> > CI
> > >> test. That's possible. But it still does not mean we can merge it with
> > CI
> > >> failing.
> > >>
> > >> It means you should be working with me to figure out why the CI is
> > failing.
> > >>
> > >> This PR has been tested by an active user base for the past three
> > months.
> > >> If CI is continuing to fail, and dozens of hours of effort have not
> > >> resolved the CI issues, then it is time to start considering whether the
> > >> testing suite is part of the problem.
> > >>
> > >> The level of defensiveness about the CI and SparkInterpreter is not
> > >> helping to resolve these issues.
> > >>
> > >> If you think it's problem on Zeppelin core, then file an issue that
> > >> reproduce the problem on Zeppelin core, that might be more efficient
> > than
> > >> keep trying yourself.
> > >> I contacted you numerous times about such issues...
> > >>
> > >
> > >
> > > I remember i commented your issue about CI. but you just keep repeated
> > it's
> > > not your problem but Zeppelin core problem.
> > >
> > > Then please file an issue about the problem you found in Zeppelin Core.
> > > Then everyone will get into the problem.
> > >
> > >
> > >
> > >>
> > >> In my interpretation, KnitRInterpreter is not an optional feature while
> > it
> > >> is always enabled when compiling Zeppelin and always enabled when
> > running
> > >> Zeppelin. And it requires dynamically linked GPL library on runtime.
> > (yes
> > >> it will fail when no KnitR is installed on the system)
> > >>
> > >> Its not always enabled.
> > >> It is not dynamically linked at runtime.
> > >> It will not fail when knitr is missing. If knitr is not present, the
> > repl
> > >> interpreter starts and a note is written to to the log that the knitr
> > >> interpreter isn’t available because knitr is not present.
> > >>
> > >> no Apache code can ever call a shell script, on the purpose of dynamic
> > >> linking with GPL library.
> > >> You misunderstand.
> > >>
> > >> The *shell* is GPL'd.
> > >>
> > >> Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends
> > on a
> > >> shell script to launch?
> > >>
> > > Obviously not.
> > >>
> > >> The interaction with R in the PR is the same.
> > >>
> > >>
> > >
> > > Again, bash is one of exceptions of GPL, like other GPL licensed
> > > compiler/interpreter.
> > >
> > > Check here why Bash and R is okay with Apache License.
> > > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> > >
> > > I'm not sure we can apply the same exception for 'using' KnitR.
> > >
> > > My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter'
> > you
> > > wrote is not an optional feature. Which is clearly not optionally enabled
> > > code and feature. And that depends on KnitR library which is GPL.
> > >
> > >
> > >
> > >> I was guessing SparkR can be still in Apache License even if it is
> > depends
> > >> on R. Because of GPL licensed compiler generated output is not GPL
> > license.
> > >> and R is sort of compiler. If you can get answer from Spark community
> > how
> > >> SparkR get managed to stay in Apache License while R is GPL, the answer
> > >> might help.
> > >> The description of SparkR is not accurate in any respect. (Do you think
> > >> SparkR is not talking to GPL-licensed libraries?)
> > >>
> > >> I don’t see that any genuine issue is being raised here.
> > >>
> > >> If there is an issue, the burden is on you to identify it.
> > >>
> > >> If i give you one suggestion, Zeppelin committers sometimes ask rebase
> > the
> > >> contribution branch for some reason. It is not the really the best
> > >> practice, but still okay while most contributions are not including
> > large
> > >> code base changes
> > >> However, your one, has more than 4000 lines of code change. If you
> > rebase
> > >> then review should be started from the beginning, again. So you might
> > want
> > >> to minimize the rebase your branch.
> > >>
> > >> Are you actually complaining that the problem is that I rebased the code
> > >> during the three-month period when no-one looked at it and Zeppelin went
> > >> through a release?
> > >>
> > >> I cannot take it seriously when you say things like this.
> > >>
> > >> Having to “start from the beginning” cannot be a problem if you never
> > >> actually started the first time...
> > >>
> > >>
> > >
> > > You wanted coordination and cooperation. So i gave you suggestion that
> > > helping review process. For example, your code has been rebased since my
> > > comment and jongyoul's comment. that means committers will need to look
> > > from the beginning. That'll require more time. And maybe, i guess that's
> > > not what you want. But If you don't care, feel free to rebase.
> > >
> > > Thanks,
> > > moon
> > >
> > >
> > >
> > >>
> > >> From: moon soo Lee <mo...@apache.org>
> > >> Reply: moon soo Lee <mo...@apache.org>
> > >> Date: December 1, 2015 at 4:42:06 AM
> > >> To: Amos B. Elberg <am...@gmail.com>,
> > >> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > >> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull
> > >> request: R Interpreter for Zeppelin
> > >>
> > >> On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> > >> wrote:
> > >> Thank you, Cos.
> > >>
> > >> I’d like to briefly address the issues raised by Moon:
> > >>
> > >> 1. This PR does not passes CI
> > >> The CI fails on core Zeppelin, *not* code in this PR.
> > >>
> > >> I’ve been seeking assistance on this since August.
> > >>
> > >> The most common reason is that SparkInterpreter is unable to launch
> > Spark
> > >> and open a Spark Backend. This is necessary to test the PR.
> > >>
> > >> 60+ hours, has been spent adapting and re-basing when the
> > SparkInterpreter
> > >> architecture changed and broke the PR’s *tests.*
> > >>
> > >>
> > >> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > >> core, why do you think other PRs are passing CI?
> > >>
> > >> And let's say Zeppelin core has problem and that makes your PR fails on
> > CI
> > >> test. That's possible. But it still does not mean we can merge it with
> > CI
> > >> failing.
> > >>
> > >> If you think it's problem on Zeppelin core, then file an issue that
> > >> reproduce the problem on Zeppelin core, that might be more efficient
> > than
> > >> keep trying yourself.
> > >>
> > >>
> > >> 2. Not 100% sure this PR has no license issue. (about KniteR)
> > >> What license problem *specifically* do you believe may exist?
> > >>
> > >> In preparing the PR, I:
> > >>
> > >> * Reviewed the Apache policy in detail.
> > >>
> > >> * Contacted the FSF to ask their interpretation of the “linking”
> > >> provisions of the GPL license.
> > >>
> > >> * Reviewed how other Apache software deals with this issue (e.g., Spark
> > >> talks to R, which is GPL'd).
> > >>
> > >> * No necessary *dependencies* of the PR have license conflicts. In
> > >> several cases, I contacted package authors who agreed to re-issue their
> > >> packages under Apache-compatible licenses. (Usually I had to do a bit of
> > >> coding in exchange…)
> > >>
> > >> * Where the license had to stay GPL, the packages are *not necessary*
> > and
> > >> *not dependencies.* If the optional packages are present, they will be
> > >> used to enable additional functionality. Knitr is an example. The PR
> > will
> > >> compile and run fine without knitr. If knitr is available (it is part of
> > >> the most common R distribution), the PR will enable the knitr
> > interpreter.
> > >>
> > >> * This is exactly how this issue is addressed through the Apache
> > >> ecosystem.
> > >> The tl;dr is this: When Apache code is written to talk to libraries that
> > >> may or may not be present on the user’s system, or where it talks to an
> > API
> > >> but is agnostic about implementation, that is not “linking” in a way
> > that
> > >> implicate the anti-linking provision of the GPL.
> > >>
> > >> Otherwise, no Apache code could ever call a shell script! Let alone run
> > >> on Linux, or talk to R.
> > >>
> > >>
> > >> I'm not a legal expert. So following could be wrong.
> > >>
> > >> In my interpretation, KnitRInterpreter is not an optional feature while
> > it
> > >> is always enabled when compiling Zeppelin and always enabled when
> > running
> > >> Zeppelin. And it requires dynamically linked GPL library on runtime.
> > (yes
> > >> it will fail when no KnitR is installed on the system)
> > >>
> > >> And of course, no Apache code can ever call a shell script, on the
> > purpose
> > >> of dynamic linking with GPL library.
> > >>
> > >> I was guessing SparkR can be still in Apache License even if it is
> > depends
> > >> on R. Because of GPL licensed compiler generated output is not GPL
> > license.
> > >> and R is sort of compiler.
> > >>
> > >> If you can get answer from Spark community how SparkR get managed to
> > stay
> > >> in Apache License while R is GPL, the answer might help.
> > >>
> > >>
> > >> 3. Need more time to review.
> > >> Has any reviewer has downloaded the PR or run the demo notebook? (Which
> > >> is there for the benefit of reviewers, and isn’t intended to go in final
> > >> distribution.)
> > >>
> > >> How many +1 comments from users would you like to see?
> > >>
> > >> How much time do you believe is required?
> > >>
> > >>
> > >> It all depends on when CI is going to pass, when license problem is
> > going
> > >> to be cleared, and when a committer willing to review and responsible to
> > >> commit your contribution.
> > >>
> > >>
> > >> 1. Large code base change
> > >> Large code base changes require coordination and cooperation. This PR
> > >> necessarily implicates the build scripts, testing code, the
> > >> SparkInterpreter, etc.
> > >>
> > >> I have been seeking to coordinate since August.
> > >>
> > >> I continue to stand ready to do so.
> > >>
> > >> -Amos
> > >>
> > >>
> > >> If i give you one suggestion, Zeppelin committers sometimes ask rebase
> > the
> > >> contribution branch for some reason. It is not the really the best
> > >> practice, but still okay while most contributions are not including
> > large
> > >> code base changes.
> > >>
> > >> However, your one, has more than 4000 lines of code change. If you
> > rebase
> > >> then review should be started from the beginning, again. So you might
> > want
> > >> to minimize the rebase your branch.
> > >>
> > >> Thanks,
> > >> moon
> > >>
> > >>
> > >> From: moon soo Lee <mo...@apache.org>
> > >> Reply: dev@zeppelin.incubator.apache.org <
> > >> dev@zeppelin.incubator.apache.org>
> > >> Date: December 1, 2015 at 1:34:19 AM
> > >> To: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > >> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> > pull
> > >> request: R Interpreter for Zeppelin
> > >>
> > >> Hi Cos,
> > >>
> > >> Thanks for opening a discussion.
> > >> My answer about 'Why this PR is open for three months' is
> > >>
> > >> 1. This PR does not passes CI
> > >> 2. Not 100% sure this PR has no license issue. (about KniteR)
> > >> 3. Need more time to review.
> > >>
> > >> It's my personal answer, other committers may have different opinion.
> > >>
> > >>
> > >> I think the question should be generalized. Because this PR is not the
> > only
> > >> PR that is in impasse. There're more. For example
> > >>
> > >> Here's some examples that PR is not been merged.
> > >> https://github.com/apache/incubator-zeppelin/pull/53,
> > >> https://github.com/apache/incubator-zeppelin/pull/60
> > >> and so on.
> > >>
> > >> I can categorize the cases, based on experience of involving Zeppelin
> > >> community from the beginning.
> > >>
> > >> 1. Large code base change
> > >>
> > >> When contribution has large code base changes, it tend to take more
> > time to
> > >> review and merged. Normally, most contributions merged in 1day~1 week.
> > >> But some contribution has large code base changes take 2~4 weeks. Few
> > >> contribution that has very large code base change take months.
> > >>
> > >> 2. Communication lost
> > >>
> > >> Sometimes, committer is not responding, or contributor is not
> > responding.
> > >>
> > >> 3. Opinion diverges
> > >>
> > >> For some changes, included in contribution. When people have different
> > >> opinion and it continue to diverges, those PRs are not been merged.
> > >>
> > >>
> > >> I think having a guide such as ping other committer when a committer is
> > not
> > >> responding, and divide contribution into small peaces if possible, would
> > >> help most of the cases.
> > >> Of course committer have to pay attention more to the contribution and
> > >> helping people. That's the first one.
> > >>
> > >> Thanks,
> > >> moon
> > >>
> > >> On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
> > wrote:
> > >>
> > >> > To make sure we're on the same page, here are two threads that I found
> > >> > related
> > >> > to this topic.
> > >> >
> > >> > Thread 1:
> > >> > Subject: R?
> > >> > Started on: July 1, 2015
> > >> >
> > >> > Thread 2:
> > >> > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > >> > Zeppelin
> > >> > Started on: August 13, 2015
> > >> >
> > >> > If you want to fetch these from our archive send emails to
> > >> > dev-thread.1735@zeppelin.incubator.apache.org
> > >> > dev-thread.3573@zeppelin.incubator.apache.org
> > >> >
> > >> > Cos
> > >> >
> > >> > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > >> > > Guys,
> > >> > >
> > >> > > While catching up on my emails from the last a couple of weeks, this
> > >> > thread
> > >> > > caught my attention. I am not normally paying much attention to the
> > >> code
> > >> > > reviews traffic from GH, but this one is pretty different as it
> > spans
> > >> > three
> > >> > > months and counting.
> > >> > >
> > >> > > First, here are my five cents:
> > >> > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > >> > contributed to
> > >> > > an ASF project this file should simply contain ASL2 text, like in
> > [1]
> > >> > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> > section,
> > >> > but
> > >> > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > >> > > maintain this in the source code, but we have the list of all the
> > >> > > committers on the project's site [2] Every new committer's first
> > >> > commit is
> > >> > > to update the team page ;)
> > >> > > - comments like in
> > >> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > >> > >
> > >> > > +/**
> > >> > > + * Created by aelberg on 7/28/15.
> > >> > > + */
> > >> > >
> > >> > > is better to be removed. It has been already discussed here [3]. And
> > >> > the
> > >> > > initial discussion on the topic [4] was linked as well
> > >> > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > >> > R-specific
> > >> > > stuff - I have no idea about R, honestly, but
> > >> > >
> > >> > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > >> > > ...
> > >> > > +Author: David B. Dahl
> > >> > >
> > >> > > shouldn't be here, IMO. Normally, if some additional licenses are
> > >> > used,
> > >> > > they have to be listed in the top-level NOTICE file (already there).
> > >> > >
> > >> > > - I am not going to offer any comments on the technical merits of
> > the
> > >> > patch,
> > >> > > as I haven't tried it personally. However, I don't see any serious
> > >> > > technical objections to the functionality in question.
> > >> > >
> > >> > > So, the question is - why the PR is open for three months? I hasn't
> > >> been
> > >> > able
> > >> > > to get a clear answer. What I found out though is pretty unsettling,
> > >> > really.
> > >> > > The communication on the topic is almost non-existent, except for
> > this
> > >> > sparse
> > >> > > and bitter thread in the GH.
> > >> > >
> > >> > > I would love to hear from the committers what's stopping the
> > acceptance
> > >> > of the
> > >> > > code, besides of the minor issues I've mentioned earlier? What are
> > the
> > >> > reasons for it?
> > >> > > Is there anything wrong with it?
> > >> > > One of the responsibilities of the committers is to make sure the
> > >> > > contributions are reviewed; new contributors are guided and do
> > >> > understand how
> > >> > > the project ticks. The easy feedback flow attracts new people,
> > allowing
> > >> > the
> > >> > > community to grow and thrive.
> > >> > >
> > >> > > I am asking _explicitely_ not to re-start the bickering I have
> > already
> > >> > > seen. At this point I am interested in the purely technical side of
> > >> this.
> > >> > >
> > >> > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > >> > > [2] http://bigtop.apache.org/team-list.html
> > >> > > [3]
> > >> >
> > >>
> > http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > >> > > [4] http://s.apache.org/iZl
> > >> > >
> > >> > > With regards,
> > >> > > Cos
> > >> > >
> > >> > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > >> > > > Github user elbamos commented on the pull request:
> > >> > > >
> > >> > > >
> > >> >
> > >>
> > https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > >> > > >
> > >> > > > The current push should resolve some issues with changes in the
> > >> > > > Spark-Zeppelin interface that had created issues for users, as
> > >> > well as
> > >> > > > support for 1.5.1.
> > >> > > >
> > >> > > > Knitr support is improved, and the reason for a separate knitr
> > >> > interpreter may be clearer now.
> > >> > > >
> > >> > > > The amount of code borrowed from rscala is reduced.
> > >> > > >
> > >> > > > I did not address issues with @author tags, or files under the R/
> > >> > > > folder. The reason is, to be blunt, I don't understand what the
> > >> > precise
> > >> > > > concerns actually are.
> > >> > > >
> > >> > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > >> > later.
> > >> > > > I'm sure there is a better way to do it, but I'm just not in a
> > >> > position
> > >> > > > to try to figure out the entire Zeppelin build process.
> > >> > > >
> > >> > > > Integrating this with the rest of zeppelin is going to take some
> > >> > work
> > >> > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > >> > but I'm
> > >> > > > going to need to discuss it with the people who have been "owning"
> > >> > those
> > >> > > > files. There are just too many moving pieces here.
> > >> > > >
> > >> > > > Because of the size of this (which is, unfortunately, necessary),
> > >> > > > posting here is probably not the most efficient way. That is also
> > >> > true
> > >> > > > because certain people chose to use this PR as a forum to air
> > other
> > >> > > > issues. Therefore, it would be better if reviewers e-mail me
> > >> > directly.
> > >> >
> > >> >
> > >> >
> > >>
> >
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Eran Witkon <er...@gmail.com>.
The more I read this thread and other thread about this topic the more I
feel discomfort from the way we act as a community.
I welcome Roman willingness to help here but suggest we all look and adopt
the following way of thinking...
http://ecorner.stanford.edu/authorMaterialInfo.html?mid=1642
Eran
On Wed, 2 Dec 2015 at 08:50 Amos B. Elberg <am...@gmail.com> wrote:
> Roman - thank you for taking a look at the PR! The PR should compile
> out-of-box if you have R and the evaluate package installed.
>
> I have been working on a “release” version rebased to match 5.5-release.
> It has documentation, including what features are added with optional
> (incompatible-license) R packages. And how to build a seamless Spark
> pipeline that mixes scala, python, and R without breaking lazy evaluation.
>
> I can send you a zip of that tomorrow, and will contact you directly to
> provide it.
>
> From: Roman Shaposhnik <ro...@shaposhnik.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 2, 2015 at 12:30:52 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> CC: moon soo Lee <mo...@apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Hi!
>
> reading through the thread made me realize that what Amos
> is saying makes perfect sense to me. That said, I don't like to
> take Moon's concerns lightly either.
>
> Hence, would it be possible to get the *bundle* of a binary
> package built with the patch applied and ready to go? I'd
> like to provide an extra pair of eyes to help settle this.
>
> Thanks,
> Roman.
>
> P.S. I do a lot of this type of work around IP at my $DAYJOB
>
> On Tue, Dec 1, 2015 at 5:25 PM, Amos B. Elberg <am...@gmail.com>
> wrote:
> > Moon - If there were seriously a licensing issue, then you or someone
> else would be able to say clearly and specifically what it is.
> >
> > There plainly is not. This idea you have about a “compiler exception”
> has nothing to do with any of this. The link you sent doesn’t talk about
> any “compiler exception.” (I’m not sure what a 2008 e-mail from a developer
> who wanted to release a branded version of R has to do with Apache’s policy
> concerning linking to GPL’d code anyway…)
> >
> > My e-mail was accidentally sent incomplete. This is the rest:
> >
> > You say this:
> >
> > My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter'
> you
> > wrote is not an optional feature. Which is clearly not optionally enabled
> > code and feature. And that depends on KnitR library which is GPL.
> >
> > That’s false.
> >
> > ***
> > I addressed the licensing issue only because waving the “license” flag
> could scare people off.
> >
> > If someone really believed there was a licensing issue, they would be
> able to say clearly what that issue is.
> >
> > I am not going to respond to the rest of Moon’s e-mail.
> >
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: moon soo Lee <mo...@apache.org>
> > Date: December 1, 2015 at 8:16:36 PM
> > To: Amos B. Elberg <am...@gmail.com>,
> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull request: R Interpreter for Zeppelin
> >
> > Is knitR is commonly considered as a interpreter/compiler? or is it
> considered as a library routine?
> >
> > Thanks,
> > moon
> >
> > On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com>
> wrote:
> > Moon - you give this as an explanation of the licensing issue:
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> >
> > According to that, there is an exception in the GPL for interpreter
> languages. As long as you don’t distribute the code, its fine to talk to an
> interpreted language.
> >
> > Well, if that’s the case, then the PR plainly does not have a license
> issue. It doesn’t distribute any GPL’d R code.
> >
> > I’m not sure what’s confusing about this. It seems completely
> straightforward.
> >
> > Regarding this:
> >
> >
> > --
> > Amos Elberg
> > Sent with Airmail
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> > Date: December 1, 2015 at 6:48:47 PM
> >
> > To: dev@zeppelin.incubator.apache.org <dev@zeppelin.incubator.apache.org
> >
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull request: R Interpreter for Zeppelin
> >
> > On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com>
> wrote:
> >
> >> I am going to try to minimize my reaction to Moon’s e-mail.
> >>
> >> The tl;dr is this:
> >>
> >> The reason we are having this discussion now is that active users of the
> >> PR — which now has its own user base — went public to complain about
> this.
> >
> >
> >> The PR has been tested by an active user base for more than three
> months.
> >> No-one has been able to identify any specific actual licensing problem,
> and
> >> the PR was prepared based on an extensive, careful review of the
> relevant
> >> licensing issues and after contacting the relevant people.
> >>
> >>
> >
> > I admire every software that used by user and helping people. That
> includes
> > your work. But that's not the topic we're in discussion. Active user does
> > not mean your contribution can ignore the review.
> >
> >
> >
> >> It is not an explanation for someone who has been ignoring my “how can I
> >> move this forward…” emails for three months to point the finger and say
> I
> >> didn’t contact the right person or file the right report.
> >>
> >>
> > This is also not the topic in this discussion.
> >
> >
> >> The burden for providing an explanation for the inaction is on the PMCC
> at
> >> this point.
> >
> > I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> >> core, why do you think other PRs are passing CI?
> >> They’re not! I often see comments on PRs to just ignore that CI is
> >> failing.
> >>
> >> One of the most common reasons this PR fails CI, is CI times-out
> >> downloading Spark to install. How could that possibly be caused by the
> PR?
> >>
> >> It looks to me like the only PRs with changes to the relevant parts of
> the
> >> code — the SparkInterpreter — are being made by the person who wrote the
> >> testing suite.
> >>
> >> So, that would explain why some other PRs pass CI: Neither the
> >> SparkInterpreter nor the testing suite are stable or robust, but since
> the
> >> PRs are coming from the person who wrote both…
> >>
> >> And let's say Zeppelin core has problem and that makes your PR fails on
> CI
> >> test. That's possible. But it still does not mean we can merge it with
> CI
> >> failing.
> >>
> >> It means you should be working with me to figure out why the CI is
> failing.
> >>
> >> This PR has been tested by an active user base for the past three
> months.
> >> If CI is continuing to fail, and dozens of hours of effort have not
> >> resolved the CI issues, then it is time to start considering whether the
> >> testing suite is part of the problem.
> >>
> >> The level of defensiveness about the CI and SparkInterpreter is not
> >> helping to resolve these issues.
> >>
> >> If you think it's problem on Zeppelin core, then file an issue that
> >> reproduce the problem on Zeppelin core, that might be more efficient
> than
> >> keep trying yourself.
> >> I contacted you numerous times about such issues...
> >>
> >
> >
> > I remember i commented your issue about CI. but you just keep repeated
> it's
> > not your problem but Zeppelin core problem.
> >
> > Then please file an issue about the problem you found in Zeppelin Core.
> > Then everyone will get into the problem.
> >
> >
> >
> >>
> >> In my interpretation, KnitRInterpreter is not an optional feature while
> it
> >> is always enabled when compiling Zeppelin and always enabled when
> running
> >> Zeppelin. And it requires dynamically linked GPL library on runtime.
> (yes
> >> it will fail when no KnitR is installed on the system)
> >>
> >> Its not always enabled.
> >> It is not dynamically linked at runtime.
> >> It will not fail when knitr is missing. If knitr is not present, the
> repl
> >> interpreter starts and a note is written to to the log that the knitr
> >> interpreter isn’t available because knitr is not present.
> >>
> >> no Apache code can ever call a shell script, on the purpose of dynamic
> >> linking with GPL library.
> >> You misunderstand.
> >>
> >> The *shell* is GPL'd.
> >>
> >> Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends
> on a
> >> shell script to launch?
> >>
> > Obviously not.
> >>
> >> The interaction with R in the PR is the same.
> >>
> >>
> >
> > Again, bash is one of exceptions of GPL, like other GPL licensed
> > compiler/interpreter.
> >
> > Check here why Bash and R is okay with Apache License.
> > https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
> >
> > I'm not sure we can apply the same exception for 'using' KnitR.
> >
> > My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter'
> you
> > wrote is not an optional feature. Which is clearly not optionally enabled
> > code and feature. And that depends on KnitR library which is GPL.
> >
> >
> >
> >> I was guessing SparkR can be still in Apache License even if it is
> depends
> >> on R. Because of GPL licensed compiler generated output is not GPL
> license.
> >> and R is sort of compiler. If you can get answer from Spark community
> how
> >> SparkR get managed to stay in Apache License while R is GPL, the answer
> >> might help.
> >> The description of SparkR is not accurate in any respect. (Do you think
> >> SparkR is not talking to GPL-licensed libraries?)
> >>
> >> I don’t see that any genuine issue is being raised here.
> >>
> >> If there is an issue, the burden is on you to identify it.
> >>
> >> If i give you one suggestion, Zeppelin committers sometimes ask rebase
> the
> >> contribution branch for some reason. It is not the really the best
> >> practice, but still okay while most contributions are not including
> large
> >> code base changes
> >> However, your one, has more than 4000 lines of code change. If you
> rebase
> >> then review should be started from the beginning, again. So you might
> want
> >> to minimize the rebase your branch.
> >>
> >> Are you actually complaining that the problem is that I rebased the code
> >> during the three-month period when no-one looked at it and Zeppelin went
> >> through a release?
> >>
> >> I cannot take it seriously when you say things like this.
> >>
> >> Having to “start from the beginning” cannot be a problem if you never
> >> actually started the first time...
> >>
> >>
> >
> > You wanted coordination and cooperation. So i gave you suggestion that
> > helping review process. For example, your code has been rebased since my
> > comment and jongyoul's comment. that means committers will need to look
> > from the beginning. That'll require more time. And maybe, i guess that's
> > not what you want. But If you don't care, feel free to rebase.
> >
> > Thanks,
> > moon
> >
> >
> >
> >>
> >> From: moon soo Lee <mo...@apache.org>
> >> Reply: moon soo Lee <mo...@apache.org>
> >> Date: December 1, 2015 at 4:42:06 AM
> >> To: Amos B. Elberg <am...@gmail.com>,
> >> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> >> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull
> >> request: R Interpreter for Zeppelin
> >>
> >> On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> >> wrote:
> >> Thank you, Cos.
> >>
> >> I’d like to briefly address the issues raised by Moon:
> >>
> >> 1. This PR does not passes CI
> >> The CI fails on core Zeppelin, *not* code in this PR.
> >>
> >> I’ve been seeking assistance on this since August.
> >>
> >> The most common reason is that SparkInterpreter is unable to launch
> Spark
> >> and open a Spark Backend. This is necessary to test the PR.
> >>
> >> 60+ hours, has been spent adapting and re-basing when the
> SparkInterpreter
> >> architecture changed and broke the PR’s *tests.*
> >>
> >>
> >> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> >> core, why do you think other PRs are passing CI?
> >>
> >> And let's say Zeppelin core has problem and that makes your PR fails on
> CI
> >> test. That's possible. But it still does not mean we can merge it with
> CI
> >> failing.
> >>
> >> If you think it's problem on Zeppelin core, then file an issue that
> >> reproduce the problem on Zeppelin core, that might be more efficient
> than
> >> keep trying yourself.
> >>
> >>
> >> 2. Not 100% sure this PR has no license issue. (about KniteR)
> >> What license problem *specifically* do you believe may exist?
> >>
> >> In preparing the PR, I:
> >>
> >> * Reviewed the Apache policy in detail.
> >>
> >> * Contacted the FSF to ask their interpretation of the “linking”
> >> provisions of the GPL license.
> >>
> >> * Reviewed how other Apache software deals with this issue (e.g., Spark
> >> talks to R, which is GPL'd).
> >>
> >> * No necessary *dependencies* of the PR have license conflicts. In
> >> several cases, I contacted package authors who agreed to re-issue their
> >> packages under Apache-compatible licenses. (Usually I had to do a bit of
> >> coding in exchange…)
> >>
> >> * Where the license had to stay GPL, the packages are *not necessary*
> and
> >> *not dependencies.* If the optional packages are present, they will be
> >> used to enable additional functionality. Knitr is an example. The PR
> will
> >> compile and run fine without knitr. If knitr is available (it is part of
> >> the most common R distribution), the PR will enable the knitr
> interpreter.
> >>
> >> * This is exactly how this issue is addressed through the Apache
> >> ecosystem.
> >> The tl;dr is this: When Apache code is written to talk to libraries that
> >> may or may not be present on the user’s system, or where it talks to an
> API
> >> but is agnostic about implementation, that is not “linking” in a way
> that
> >> implicate the anti-linking provision of the GPL.
> >>
> >> Otherwise, no Apache code could ever call a shell script! Let alone run
> >> on Linux, or talk to R.
> >>
> >>
> >> I'm not a legal expert. So following could be wrong.
> >>
> >> In my interpretation, KnitRInterpreter is not an optional feature while
> it
> >> is always enabled when compiling Zeppelin and always enabled when
> running
> >> Zeppelin. And it requires dynamically linked GPL library on runtime.
> (yes
> >> it will fail when no KnitR is installed on the system)
> >>
> >> And of course, no Apache code can ever call a shell script, on the
> purpose
> >> of dynamic linking with GPL library.
> >>
> >> I was guessing SparkR can be still in Apache License even if it is
> depends
> >> on R. Because of GPL licensed compiler generated output is not GPL
> license.
> >> and R is sort of compiler.
> >>
> >> If you can get answer from Spark community how SparkR get managed to
> stay
> >> in Apache License while R is GPL, the answer might help.
> >>
> >>
> >> 3. Need more time to review.
> >> Has any reviewer has downloaded the PR or run the demo notebook? (Which
> >> is there for the benefit of reviewers, and isn’t intended to go in final
> >> distribution.)
> >>
> >> How many +1 comments from users would you like to see?
> >>
> >> How much time do you believe is required?
> >>
> >>
> >> It all depends on when CI is going to pass, when license problem is
> going
> >> to be cleared, and when a committer willing to review and responsible to
> >> commit your contribution.
> >>
> >>
> >> 1. Large code base change
> >> Large code base changes require coordination and cooperation. This PR
> >> necessarily implicates the build scripts, testing code, the
> >> SparkInterpreter, etc.
> >>
> >> I have been seeking to coordinate since August.
> >>
> >> I continue to stand ready to do so.
> >>
> >> -Amos
> >>
> >>
> >> If i give you one suggestion, Zeppelin committers sometimes ask rebase
> the
> >> contribution branch for some reason. It is not the really the best
> >> practice, but still okay while most contributions are not including
> large
> >> code base changes.
> >>
> >> However, your one, has more than 4000 lines of code change. If you
> rebase
> >> then review should be started from the beginning, again. So you might
> want
> >> to minimize the rebase your branch.
> >>
> >> Thanks,
> >> moon
> >>
> >>
> >> From: moon soo Lee <mo...@apache.org>
> >> Reply: dev@zeppelin.incubator.apache.org <
> >> dev@zeppelin.incubator.apache.org>
> >> Date: December 1, 2015 at 1:34:19 AM
> >> To: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> >> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull
> >> request: R Interpreter for Zeppelin
> >>
> >> Hi Cos,
> >>
> >> Thanks for opening a discussion.
> >> My answer about 'Why this PR is open for three months' is
> >>
> >> 1. This PR does not passes CI
> >> 2. Not 100% sure this PR has no license issue. (about KniteR)
> >> 3. Need more time to review.
> >>
> >> It's my personal answer, other committers may have different opinion.
> >>
> >>
> >> I think the question should be generalized. Because this PR is not the
> only
> >> PR that is in impasse. There're more. For example
> >>
> >> Here's some examples that PR is not been merged.
> >> https://github.com/apache/incubator-zeppelin/pull/53,
> >> https://github.com/apache/incubator-zeppelin/pull/60
> >> and so on.
> >>
> >> I can categorize the cases, based on experience of involving Zeppelin
> >> community from the beginning.
> >>
> >> 1. Large code base change
> >>
> >> When contribution has large code base changes, it tend to take more
> time to
> >> review and merged. Normally, most contributions merged in 1day~1 week.
> >> But some contribution has large code base changes take 2~4 weeks. Few
> >> contribution that has very large code base change take months.
> >>
> >> 2. Communication lost
> >>
> >> Sometimes, committer is not responding, or contributor is not
> responding.
> >>
> >> 3. Opinion diverges
> >>
> >> For some changes, included in contribution. When people have different
> >> opinion and it continue to diverges, those PRs are not been merged.
> >>
> >>
> >> I think having a guide such as ping other committer when a committer is
> not
> >> responding, and divide contribution into small peaces if possible, would
> >> help most of the cases.
> >> Of course committer have to pay attention more to the contribution and
> >> helping people. That's the first one.
> >>
> >> Thanks,
> >> moon
> >>
> >> On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
> wrote:
> >>
> >> > To make sure we're on the same page, here are two threads that I found
> >> > related
> >> > to this topic.
> >> >
> >> > Thread 1:
> >> > Subject: R?
> >> > Started on: July 1, 2015
> >> >
> >> > Thread 2:
> >> > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> >> > Zeppelin
> >> > Started on: August 13, 2015
> >> >
> >> > If you want to fetch these from our archive send emails to
> >> > dev-thread.1735@zeppelin.incubator.apache.org
> >> > dev-thread.3573@zeppelin.incubator.apache.org
> >> >
> >> > Cos
> >> >
> >> > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> >> > > Guys,
> >> > >
> >> > > While catching up on my emails from the last a couple of weeks, this
> >> > thread
> >> > > caught my attention. I am not normally paying much attention to the
> >> code
> >> > > reviews traffic from GH, but this one is pretty different as it
> spans
> >> > three
> >> > > months and counting.
> >> > >
> >> > > First, here are my five cents:
> >> > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> >> > contributed to
> >> > > an ASF project this file should simply contain ASL2 text, like in
> [1]
> >> > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> section,
> >> > but
> >> > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> >> > > maintain this in the source code, but we have the list of all the
> >> > > committers on the project's site [2] Every new committer's first
> >> > commit is
> >> > > to update the team page ;)
> >> > > - comments like in
> >> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> >> > >
> >> > > +/**
> >> > > + * Created by aelberg on 7/28/15.
> >> > > + */
> >> > >
> >> > > is better to be removed. It has been already discussed here [3]. And
> >> > the
> >> > > initial discussion on the topic [4] was linked as well
> >> > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> >> > R-specific
> >> > > stuff - I have no idea about R, honestly, but
> >> > >
> >> > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> >> > > ...
> >> > > +Author: David B. Dahl
> >> > >
> >> > > shouldn't be here, IMO. Normally, if some additional licenses are
> >> > used,
> >> > > they have to be listed in the top-level NOTICE file (already there).
> >> > >
> >> > > - I am not going to offer any comments on the technical merits of
> the
> >> > patch,
> >> > > as I haven't tried it personally. However, I don't see any serious
> >> > > technical objections to the functionality in question.
> >> > >
> >> > > So, the question is - why the PR is open for three months? I hasn't
> >> been
> >> > able
> >> > > to get a clear answer. What I found out though is pretty unsettling,
> >> > really.
> >> > > The communication on the topic is almost non-existent, except for
> this
> >> > sparse
> >> > > and bitter thread in the GH.
> >> > >
> >> > > I would love to hear from the committers what's stopping the
> acceptance
> >> > of the
> >> > > code, besides of the minor issues I've mentioned earlier? What are
> the
> >> > reasons for it?
> >> > > Is there anything wrong with it?
> >> > > One of the responsibilities of the committers is to make sure the
> >> > > contributions are reviewed; new contributors are guided and do
> >> > understand how
> >> > > the project ticks. The easy feedback flow attracts new people,
> allowing
> >> > the
> >> > > community to grow and thrive.
> >> > >
> >> > > I am asking _explicitely_ not to re-start the bickering I have
> already
> >> > > seen. At this point I am interested in the purely technical side of
> >> this.
> >> > >
> >> > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> >> > > [2] http://bigtop.apache.org/team-list.html
> >> > > [3]
> >> >
> >>
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> >> > > [4] http://s.apache.org/iZl
> >> > >
> >> > > With regards,
> >> > > Cos
> >> > >
> >> > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> >> > > > Github user elbamos commented on the pull request:
> >> > > >
> >> > > >
> >> >
> >>
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> >> > > >
> >> > > > The current push should resolve some issues with changes in the
> >> > > > Spark-Zeppelin interface that had created issues for users, as
> >> > well as
> >> > > > support for 1.5.1.
> >> > > >
> >> > > > Knitr support is improved, and the reason for a separate knitr
> >> > interpreter may be clearer now.
> >> > > >
> >> > > > The amount of code borrowed from rscala is reduced.
> >> > > >
> >> > > > I did not address issues with @author tags, or files under the R/
> >> > > > folder. The reason is, to be blunt, I don't understand what the
> >> > precise
> >> > > > concerns actually are.
> >> > > >
> >> > > > Please note that I changed .travis.yml to only use spark 1.4 and
> >> > later.
> >> > > > I'm sure there is a better way to do it, but I'm just not in a
> >> > position
> >> > > > to try to figure out the entire Zeppelin build process.
> >> > > >
> >> > > > Integrating this with the rest of zeppelin is going to take some
> >> > work
> >> > > > regarding pom's, travis, and so forth. I can do a lot of that,
> >> > but I'm
> >> > > > going to need to discuss it with the people who have been "owning"
> >> > those
> >> > > > files. There are just too many moving pieces here.
> >> > > >
> >> > > > Because of the size of this (which is, unfortunately, necessary),
> >> > > > posting here is probably not the most efficient way. That is also
> >> > true
> >> > > > because certain people chose to use this PR as a forum to air
> other
> >> > > > issues. Therefore, it would be better if reviewers e-mail me
> >> > directly.
> >> >
> >> >
> >> >
> >>
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Roman - thank you for taking a look at the PR! The PR should compile out-of-box if you have R and the evaluate package installed.
I have been working on a “release” version rebased to match 5.5-release. It has documentation, including what features are added with optional (incompatible-license) R packages. And how to build a seamless Spark pipeline that mixes scala, python, and R without breaking lazy evaluation.
I can send you a zip of that tomorrow, and will contact you directly to provide it.
From: Roman Shaposhnik <ro...@shaposhnik.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 2, 2015 at 12:30:52 AM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
CC: moon soo Lee <mo...@apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Hi!
reading through the thread made me realize that what Amos
is saying makes perfect sense to me. That said, I don't like to
take Moon's concerns lightly either.
Hence, would it be possible to get the *bundle* of a binary
package built with the patch applied and ready to go? I'd
like to provide an extra pair of eyes to help settle this.
Thanks,
Roman.
P.S. I do a lot of this type of work around IP at my $DAYJOB
On Tue, Dec 1, 2015 at 5:25 PM, Amos B. Elberg <am...@gmail.com> wrote:
> Moon - If there were seriously a licensing issue, then you or someone else would be able to say clearly and specifically what it is.
>
> There plainly is not. This idea you have about a “compiler exception” has nothing to do with any of this. The link you sent doesn’t talk about any “compiler exception.” (I’m not sure what a 2008 e-mail from a developer who wanted to release a branded version of R has to do with Apache’s policy concerning linking to GPL’d code anyway…)
>
> My e-mail was accidentally sent incomplete. This is the rest:
>
> You say this:
>
> My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
> wrote is not an optional feature. Which is clearly not optionally enabled
> code and feature. And that depends on KnitR library which is GPL.
>
> That’s false.
>
> ***
> I addressed the licensing issue only because waving the “license” flag could scare people off.
>
> If someone really believed there was a licensing issue, they would be able to say clearly what that issue is.
>
> I am not going to respond to the rest of Moon’s e-mail.
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: moon soo Lee <mo...@apache.org>
> Date: December 1, 2015 at 8:16:36 PM
> To: Amos B. Elberg <am...@gmail.com>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
>
> Is knitR is commonly considered as a interpreter/compiler? or is it considered as a library routine?
>
> Thanks,
> moon
>
> On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com> wrote:
> Moon - you give this as an explanation of the licensing issue: https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>
> According to that, there is an exception in the GPL for interpreter languages. As long as you don’t distribute the code, its fine to talk to an interpreted language.
>
> Well, if that’s the case, then the PR plainly does not have a license issue. It doesn’t distribute any GPL’d R code.
>
> I’m not sure what’s confusing about this. It seems completely straightforward.
>
> Regarding this:
>
>
> --
> Amos Elberg
> Sent with Airmail
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Date: December 1, 2015 at 6:48:47 PM
>
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
>
> On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com> wrote:
>
>> I am going to try to minimize my reaction to Moon’s e-mail.
>>
>> The tl;dr is this:
>>
>> The reason we are having this discussion now is that active users of the
>> PR — which now has its own user base — went public to complain about this.
>
>
>> The PR has been tested by an active user base for more than three months.
>> No-one has been able to identify any specific actual licensing problem, and
>> the PR was prepared based on an extensive, careful review of the relevant
>> licensing issues and after contacting the relevant people.
>>
>>
>
> I admire every software that used by user and helping people. That includes
> your work. But that's not the topic we're in discussion. Active user does
> not mean your contribution can ignore the review.
>
>
>
>> It is not an explanation for someone who has been ignoring my “how can I
>> move this forward…” emails for three months to point the finger and say I
>> didn’t contact the right person or file the right report.
>>
>>
> This is also not the topic in this discussion.
>
>
>> The burden for providing an explanation for the inaction is on the PMCC at
>> this point.
>
> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
>> core, why do you think other PRs are passing CI?
>> They’re not! I often see comments on PRs to just ignore that CI is
>> failing.
>>
>> One of the most common reasons this PR fails CI, is CI times-out
>> downloading Spark to install. How could that possibly be caused by the PR?
>>
>> It looks to me like the only PRs with changes to the relevant parts of the
>> code — the SparkInterpreter — are being made by the person who wrote the
>> testing suite.
>>
>> So, that would explain why some other PRs pass CI: Neither the
>> SparkInterpreter nor the testing suite are stable or robust, but since the
>> PRs are coming from the person who wrote both…
>>
>> And let's say Zeppelin core has problem and that makes your PR fails on CI
>> test. That's possible. But it still does not mean we can merge it with CI
>> failing.
>>
>> It means you should be working with me to figure out why the CI is failing.
>>
>> This PR has been tested by an active user base for the past three months.
>> If CI is continuing to fail, and dozens of hours of effort have not
>> resolved the CI issues, then it is time to start considering whether the
>> testing suite is part of the problem.
>>
>> The level of defensiveness about the CI and SparkInterpreter is not
>> helping to resolve these issues.
>>
>> If you think it's problem on Zeppelin core, then file an issue that
>> reproduce the problem on Zeppelin core, that might be more efficient than
>> keep trying yourself.
>> I contacted you numerous times about such issues...
>>
>
>
> I remember i commented your issue about CI. but you just keep repeated it's
> not your problem but Zeppelin core problem.
>
> Then please file an issue about the problem you found in Zeppelin Core.
> Then everyone will get into the problem.
>
>
>
>>
>> In my interpretation, KnitRInterpreter is not an optional feature while it
>> is always enabled when compiling Zeppelin and always enabled when running
>> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
>> it will fail when no KnitR is installed on the system)
>>
>> Its not always enabled.
>> It is not dynamically linked at runtime.
>> It will not fail when knitr is missing. If knitr is not present, the repl
>> interpreter starts and a note is written to to the log that the knitr
>> interpreter isn’t available because knitr is not present.
>>
>> no Apache code can ever call a shell script, on the purpose of dynamic
>> linking with GPL library.
>> You misunderstand.
>>
>> The *shell* is GPL'd.
>>
>> Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends on a
>> shell script to launch?
>>
> Obviously not.
>>
>> The interaction with R in the PR is the same.
>>
>>
>
> Again, bash is one of exceptions of GPL, like other GPL licensed
> compiler/interpreter.
>
> Check here why Bash and R is okay with Apache License.
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>
> I'm not sure we can apply the same exception for 'using' KnitR.
>
> My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
> wrote is not an optional feature. Which is clearly not optionally enabled
> code and feature. And that depends on KnitR library which is GPL.
>
>
>
>> I was guessing SparkR can be still in Apache License even if it is depends
>> on R. Because of GPL licensed compiler generated output is not GPL license.
>> and R is sort of compiler. If you can get answer from Spark community how
>> SparkR get managed to stay in Apache License while R is GPL, the answer
>> might help.
>> The description of SparkR is not accurate in any respect. (Do you think
>> SparkR is not talking to GPL-licensed libraries?)
>>
>> I don’t see that any genuine issue is being raised here.
>>
>> If there is an issue, the burden is on you to identify it.
>>
>> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
>> contribution branch for some reason. It is not the really the best
>> practice, but still okay while most contributions are not including large
>> code base changes
>> However, your one, has more than 4000 lines of code change. If you rebase
>> then review should be started from the beginning, again. So you might want
>> to minimize the rebase your branch.
>>
>> Are you actually complaining that the problem is that I rebased the code
>> during the three-month period when no-one looked at it and Zeppelin went
>> through a release?
>>
>> I cannot take it seriously when you say things like this.
>>
>> Having to “start from the beginning” cannot be a problem if you never
>> actually started the first time...
>>
>>
>
> You wanted coordination and cooperation. So i gave you suggestion that
> helping review process. For example, your code has been rebased since my
> comment and jongyoul's comment. that means committers will need to look
> from the beginning. That'll require more time. And maybe, i guess that's
> not what you want. But If you don't care, feel free to rebase.
>
> Thanks,
> moon
>
>
>
>>
>> From: moon soo Lee <mo...@apache.org>
>> Reply: moon soo Lee <mo...@apache.org>
>> Date: December 1, 2015 at 4:42:06 AM
>> To: Amos B. Elberg <am...@gmail.com>,
>> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
>> request: R Interpreter for Zeppelin
>>
>> On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
>> wrote:
>> Thank you, Cos.
>>
>> I’d like to briefly address the issues raised by Moon:
>>
>> 1. This PR does not passes CI
>> The CI fails on core Zeppelin, *not* code in this PR.
>>
>> I’ve been seeking assistance on this since August.
>>
>> The most common reason is that SparkInterpreter is unable to launch Spark
>> and open a Spark Backend. This is necessary to test the PR.
>>
>> 60+ hours, has been spent adapting and re-basing when the SparkInterpreter
>> architecture changed and broke the PR’s *tests.*
>>
>>
>> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
>> core, why do you think other PRs are passing CI?
>>
>> And let's say Zeppelin core has problem and that makes your PR fails on CI
>> test. That's possible. But it still does not mean we can merge it with CI
>> failing.
>>
>> If you think it's problem on Zeppelin core, then file an issue that
>> reproduce the problem on Zeppelin core, that might be more efficient than
>> keep trying yourself.
>>
>>
>> 2. Not 100% sure this PR has no license issue. (about KniteR)
>> What license problem *specifically* do you believe may exist?
>>
>> In preparing the PR, I:
>>
>> * Reviewed the Apache policy in detail.
>>
>> * Contacted the FSF to ask their interpretation of the “linking”
>> provisions of the GPL license.
>>
>> * Reviewed how other Apache software deals with this issue (e.g., Spark
>> talks to R, which is GPL'd).
>>
>> * No necessary *dependencies* of the PR have license conflicts. In
>> several cases, I contacted package authors who agreed to re-issue their
>> packages under Apache-compatible licenses. (Usually I had to do a bit of
>> coding in exchange…)
>>
>> * Where the license had to stay GPL, the packages are *not necessary* and
>> *not dependencies.* If the optional packages are present, they will be
>> used to enable additional functionality. Knitr is an example. The PR will
>> compile and run fine without knitr. If knitr is available (it is part of
>> the most common R distribution), the PR will enable the knitr interpreter.
>>
>> * This is exactly how this issue is addressed through the Apache
>> ecosystem.
>> The tl;dr is this: When Apache code is written to talk to libraries that
>> may or may not be present on the user’s system, or where it talks to an API
>> but is agnostic about implementation, that is not “linking” in a way that
>> implicate the anti-linking provision of the GPL.
>>
>> Otherwise, no Apache code could ever call a shell script! Let alone run
>> on Linux, or talk to R.
>>
>>
>> I'm not a legal expert. So following could be wrong.
>>
>> In my interpretation, KnitRInterpreter is not an optional feature while it
>> is always enabled when compiling Zeppelin and always enabled when running
>> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
>> it will fail when no KnitR is installed on the system)
>>
>> And of course, no Apache code can ever call a shell script, on the purpose
>> of dynamic linking with GPL library.
>>
>> I was guessing SparkR can be still in Apache License even if it is depends
>> on R. Because of GPL licensed compiler generated output is not GPL license.
>> and R is sort of compiler.
>>
>> If you can get answer from Spark community how SparkR get managed to stay
>> in Apache License while R is GPL, the answer might help.
>>
>>
>> 3. Need more time to review.
>> Has any reviewer has downloaded the PR or run the demo notebook? (Which
>> is there for the benefit of reviewers, and isn’t intended to go in final
>> distribution.)
>>
>> How many +1 comments from users would you like to see?
>>
>> How much time do you believe is required?
>>
>>
>> It all depends on when CI is going to pass, when license problem is going
>> to be cleared, and when a committer willing to review and responsible to
>> commit your contribution.
>>
>>
>> 1. Large code base change
>> Large code base changes require coordination and cooperation. This PR
>> necessarily implicates the build scripts, testing code, the
>> SparkInterpreter, etc.
>>
>> I have been seeking to coordinate since August.
>>
>> I continue to stand ready to do so.
>>
>> -Amos
>>
>>
>> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
>> contribution branch for some reason. It is not the really the best
>> practice, but still okay while most contributions are not including large
>> code base changes.
>>
>> However, your one, has more than 4000 lines of code change. If you rebase
>> then review should be started from the beginning, again. So you might want
>> to minimize the rebase your branch.
>>
>> Thanks,
>> moon
>>
>>
>> From: moon soo Lee <mo...@apache.org>
>> Reply: dev@zeppelin.incubator.apache.org <
>> dev@zeppelin.incubator.apache.org>
>> Date: December 1, 2015 at 1:34:19 AM
>> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
>> request: R Interpreter for Zeppelin
>>
>> Hi Cos,
>>
>> Thanks for opening a discussion.
>> My answer about 'Why this PR is open for three months' is
>>
>> 1. This PR does not passes CI
>> 2. Not 100% sure this PR has no license issue. (about KniteR)
>> 3. Need more time to review.
>>
>> It's my personal answer, other committers may have different opinion.
>>
>>
>> I think the question should be generalized. Because this PR is not the only
>> PR that is in impasse. There're more. For example
>>
>> Here's some examples that PR is not been merged.
>> https://github.com/apache/incubator-zeppelin/pull/53,
>> https://github.com/apache/incubator-zeppelin/pull/60
>> and so on.
>>
>> I can categorize the cases, based on experience of involving Zeppelin
>> community from the beginning.
>>
>> 1. Large code base change
>>
>> When contribution has large code base changes, it tend to take more time to
>> review and merged. Normally, most contributions merged in 1day~1 week.
>> But some contribution has large code base changes take 2~4 weeks. Few
>> contribution that has very large code base change take months.
>>
>> 2. Communication lost
>>
>> Sometimes, committer is not responding, or contributor is not responding.
>>
>> 3. Opinion diverges
>>
>> For some changes, included in contribution. When people have different
>> opinion and it continue to diverges, those PRs are not been merged.
>>
>>
>> I think having a guide such as ping other committer when a committer is not
>> responding, and divide contribution into small peaces if possible, would
>> help most of the cases.
>> Of course committer have to pay attention more to the contribution and
>> helping people. That's the first one.
>>
>> Thanks,
>> moon
>>
>> On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
>>
>> > To make sure we're on the same page, here are two threads that I found
>> > related
>> > to this topic.
>> >
>> > Thread 1:
>> > Subject: R?
>> > Started on: July 1, 2015
>> >
>> > Thread 2:
>> > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
>> > Zeppelin
>> > Started on: August 13, 2015
>> >
>> > If you want to fetch these from our archive send emails to
>> > dev-thread.1735@zeppelin.incubator.apache.org
>> > dev-thread.3573@zeppelin.incubator.apache.org
>> >
>> > Cos
>> >
>> > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
>> > > Guys,
>> > >
>> > > While catching up on my emails from the last a couple of weeks, this
>> > thread
>> > > caught my attention. I am not normally paying much attention to the
>> code
>> > > reviews traffic from GH, but this one is pretty different as it spans
>> > three
>> > > months and counting.
>> > >
>> > > First, here are my five cents:
>> > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
>> > contributed to
>> > > an ASF project this file should simply contain ASL2 text, like in [1]
>> > > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
>> > but
>> > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
>> > > maintain this in the source code, but we have the list of all the
>> > > committers on the project's site [2] Every new committer's first
>> > commit is
>> > > to update the team page ;)
>> > > - comments like in
>> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
>> > >
>> > > +/**
>> > > + * Created by aelberg on 7/28/15.
>> > > + */
>> > >
>> > > is better to be removed. It has been already discussed here [3]. And
>> > the
>> > > initial discussion on the topic [4] was linked as well
>> > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
>> > R-specific
>> > > stuff - I have no idea about R, honestly, but
>> > >
>> > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
>> > > ...
>> > > +Author: David B. Dahl
>> > >
>> > > shouldn't be here, IMO. Normally, if some additional licenses are
>> > used,
>> > > they have to be listed in the top-level NOTICE file (already there).
>> > >
>> > > - I am not going to offer any comments on the technical merits of the
>> > patch,
>> > > as I haven't tried it personally. However, I don't see any serious
>> > > technical objections to the functionality in question.
>> > >
>> > > So, the question is - why the PR is open for three months? I hasn't
>> been
>> > able
>> > > to get a clear answer. What I found out though is pretty unsettling,
>> > really.
>> > > The communication on the topic is almost non-existent, except for this
>> > sparse
>> > > and bitter thread in the GH.
>> > >
>> > > I would love to hear from the committers what's stopping the acceptance
>> > of the
>> > > code, besides of the minor issues I've mentioned earlier? What are the
>> > reasons for it?
>> > > Is there anything wrong with it?
>> > > One of the responsibilities of the committers is to make sure the
>> > > contributions are reviewed; new contributors are guided and do
>> > understand how
>> > > the project ticks. The easy feedback flow attracts new people, allowing
>> > the
>> > > community to grow and thrive.
>> > >
>> > > I am asking _explicitely_ not to re-start the bickering I have already
>> > > seen. At this point I am interested in the purely technical side of
>> this.
>> > >
>> > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
>> > > [2] http://bigtop.apache.org/team-list.html
>> > > [3]
>> >
>> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
>> > > [4] http://s.apache.org/iZl
>> > >
>> > > With regards,
>> > > Cos
>> > >
>> > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
>> > > > Github user elbamos commented on the pull request:
>> > > >
>> > > >
>> >
>> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
>> > > >
>> > > > The current push should resolve some issues with changes in the
>> > > > Spark-Zeppelin interface that had created issues for users, as
>> > well as
>> > > > support for 1.5.1.
>> > > >
>> > > > Knitr support is improved, and the reason for a separate knitr
>> > interpreter may be clearer now.
>> > > >
>> > > > The amount of code borrowed from rscala is reduced.
>> > > >
>> > > > I did not address issues with @author tags, or files under the R/
>> > > > folder. The reason is, to be blunt, I don't understand what the
>> > precise
>> > > > concerns actually are.
>> > > >
>> > > > Please note that I changed .travis.yml to only use spark 1.4 and
>> > later.
>> > > > I'm sure there is a better way to do it, but I'm just not in a
>> > position
>> > > > to try to figure out the entire Zeppelin build process.
>> > > >
>> > > > Integrating this with the rest of zeppelin is going to take some
>> > work
>> > > > regarding pom's, travis, and so forth. I can do a lot of that,
>> > but I'm
>> > > > going to need to discuss it with the people who have been "owning"
>> > those
>> > > > files. There are just too many moving pieces here.
>> > > >
>> > > > Because of the size of this (which is, unfortunately, necessary),
>> > > > posting here is probably not the most efficient way. That is also
>> > true
>> > > > because certain people chose to use this PR as a forum to air other
>> > > > issues. Therefore, it would be better if reviewers e-mail me
>> > directly.
>> >
>> >
>> >
>>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Roman Shaposhnik <ro...@shaposhnik.org>.
Hi!
reading through the thread made me realize that what Amos
is saying makes perfect sense to me. That said, I don't like to
take Moon's concerns lightly either.
Hence, would it be possible to get the *bundle* of a binary
package built with the patch applied and ready to go? I'd
like to provide an extra pair of eyes to help settle this.
Thanks,
Roman.
P.S. I do a lot of this type of work around IP at my $DAYJOB
On Tue, Dec 1, 2015 at 5:25 PM, Amos B. Elberg <am...@gmail.com> wrote:
> Moon - If there were seriously a licensing issue, then you or someone else would be able to say clearly and specifically what it is.
>
> There plainly is not. This idea you have about a “compiler exception” has nothing to do with any of this. The link you sent doesn’t talk about any “compiler exception.” (I’m not sure what a 2008 e-mail from a developer who wanted to release a branded version of R has to do with Apache’s policy concerning linking to GPL’d code anyway…)
>
> My e-mail was accidentally sent incomplete. This is the rest:
>
> You say this:
>
> My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
> wrote is not an optional feature. Which is clearly not optionally enabled
> code and feature. And that depends on KnitR library which is GPL.
>
> That’s false.
>
> ***
> I addressed the licensing issue only because waving the “license” flag could scare people off.
>
> If someone really believed there was a licensing issue, they would be able to say clearly what that issue is.
>
> I am not going to respond to the rest of Moon’s e-mail.
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: moon soo Lee <mo...@apache.org>
> Date: December 1, 2015 at 8:16:36 PM
> To: Amos B. Elberg <am...@gmail.com>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
>
> Is knitR is commonly considered as a interpreter/compiler? or is it considered as a library routine?
>
> Thanks,
> moon
>
> On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com> wrote:
> Moon - you give this as an explanation of the licensing issue: https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>
> According to that, there is an exception in the GPL for interpreter languages. As long as you don’t distribute the code, its fine to talk to an interpreted language.
>
> Well, if that’s the case, then the PR plainly does not have a license issue. It doesn’t distribute any GPL’d R code.
>
> I’m not sure what’s confusing about this. It seems completely straightforward.
>
> Regarding this:
>
>
> --
> Amos Elberg
> Sent with Airmail
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Date: December 1, 2015 at 6:48:47 PM
>
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
>
> On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com> wrote:
>
>> I am going to try to minimize my reaction to Moon’s e-mail.
>>
>> The tl;dr is this:
>>
>> The reason we are having this discussion now is that active users of the
>> PR — which now has its own user base — went public to complain about this.
>
>
>> The PR has been tested by an active user base for more than three months.
>> No-one has been able to identify any specific actual licensing problem, and
>> the PR was prepared based on an extensive, careful review of the relevant
>> licensing issues and after contacting the relevant people.
>>
>>
>
> I admire every software that used by user and helping people. That includes
> your work. But that's not the topic we're in discussion. Active user does
> not mean your contribution can ignore the review.
>
>
>
>> It is not an explanation for someone who has been ignoring my “how can I
>> move this forward…” emails for three months to point the finger and say I
>> didn’t contact the right person or file the right report.
>>
>>
> This is also not the topic in this discussion.
>
>
>> The burden for providing an explanation for the inaction is on the PMCC at
>> this point.
>
> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
>> core, why do you think other PRs are passing CI?
>> They’re not! I often see comments on PRs to just ignore that CI is
>> failing.
>>
>> One of the most common reasons this PR fails CI, is CI times-out
>> downloading Spark to install. How could that possibly be caused by the PR?
>>
>> It looks to me like the only PRs with changes to the relevant parts of the
>> code — the SparkInterpreter — are being made by the person who wrote the
>> testing suite.
>>
>> So, that would explain why some other PRs pass CI: Neither the
>> SparkInterpreter nor the testing suite are stable or robust, but since the
>> PRs are coming from the person who wrote both…
>>
>> And let's say Zeppelin core has problem and that makes your PR fails on CI
>> test. That's possible. But it still does not mean we can merge it with CI
>> failing.
>>
>> It means you should be working with me to figure out why the CI is failing.
>>
>> This PR has been tested by an active user base for the past three months.
>> If CI is continuing to fail, and dozens of hours of effort have not
>> resolved the CI issues, then it is time to start considering whether the
>> testing suite is part of the problem.
>>
>> The level of defensiveness about the CI and SparkInterpreter is not
>> helping to resolve these issues.
>>
>> If you think it's problem on Zeppelin core, then file an issue that
>> reproduce the problem on Zeppelin core, that might be more efficient than
>> keep trying yourself.
>> I contacted you numerous times about such issues...
>>
>
>
> I remember i commented your issue about CI. but you just keep repeated it's
> not your problem but Zeppelin core problem.
>
> Then please file an issue about the problem you found in Zeppelin Core.
> Then everyone will get into the problem.
>
>
>
>>
>> In my interpretation, KnitRInterpreter is not an optional feature while it
>> is always enabled when compiling Zeppelin and always enabled when running
>> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
>> it will fail when no KnitR is installed on the system)
>>
>> Its not always enabled.
>> It is not dynamically linked at runtime.
>> It will not fail when knitr is missing. If knitr is not present, the repl
>> interpreter starts and a note is written to to the log that the knitr
>> interpreter isn’t available because knitr is not present.
>>
>> no Apache code can ever call a shell script, on the purpose of dynamic
>> linking with GPL library.
>> You misunderstand.
>>
>> The *shell* is GPL'd.
>>
>> Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends on a
>> shell script to launch?
>>
> Obviously not.
>>
>> The interaction with R in the PR is the same.
>>
>>
>
> Again, bash is one of exceptions of GPL, like other GPL licensed
> compiler/interpreter.
>
> Check here why Bash and R is okay with Apache License.
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>
> I'm not sure we can apply the same exception for 'using' KnitR.
>
> My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
> wrote is not an optional feature. Which is clearly not optionally enabled
> code and feature. And that depends on KnitR library which is GPL.
>
>
>
>> I was guessing SparkR can be still in Apache License even if it is depends
>> on R. Because of GPL licensed compiler generated output is not GPL license.
>> and R is sort of compiler. If you can get answer from Spark community how
>> SparkR get managed to stay in Apache License while R is GPL, the answer
>> might help.
>> The description of SparkR is not accurate in any respect. (Do you think
>> SparkR is not talking to GPL-licensed libraries?)
>>
>> I don’t see that any genuine issue is being raised here.
>>
>> If there is an issue, the burden is on you to identify it.
>>
>> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
>> contribution branch for some reason. It is not the really the best
>> practice, but still okay while most contributions are not including large
>> code base changes
>> However, your one, has more than 4000 lines of code change. If you rebase
>> then review should be started from the beginning, again. So you might want
>> to minimize the rebase your branch.
>>
>> Are you actually complaining that the problem is that I rebased the code
>> during the three-month period when no-one looked at it and Zeppelin went
>> through a release?
>>
>> I cannot take it seriously when you say things like this.
>>
>> Having to “start from the beginning” cannot be a problem if you never
>> actually started the first time...
>>
>>
>
> You wanted coordination and cooperation. So i gave you suggestion that
> helping review process. For example, your code has been rebased since my
> comment and jongyoul's comment. that means committers will need to look
> from the beginning. That'll require more time. And maybe, i guess that's
> not what you want. But If you don't care, feel free to rebase.
>
> Thanks,
> moon
>
>
>
>>
>> From: moon soo Lee <mo...@apache.org>
>> Reply: moon soo Lee <mo...@apache.org>
>> Date: December 1, 2015 at 4:42:06 AM
>> To: Amos B. Elberg <am...@gmail.com>,
>> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
>> request: R Interpreter for Zeppelin
>>
>> On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
>> wrote:
>> Thank you, Cos.
>>
>> I’d like to briefly address the issues raised by Moon:
>>
>> 1. This PR does not passes CI
>> The CI fails on core Zeppelin, *not* code in this PR.
>>
>> I’ve been seeking assistance on this since August.
>>
>> The most common reason is that SparkInterpreter is unable to launch Spark
>> and open a Spark Backend. This is necessary to test the PR.
>>
>> 60+ hours, has been spent adapting and re-basing when the SparkInterpreter
>> architecture changed and broke the PR’s *tests.*
>>
>>
>> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
>> core, why do you think other PRs are passing CI?
>>
>> And let's say Zeppelin core has problem and that makes your PR fails on CI
>> test. That's possible. But it still does not mean we can merge it with CI
>> failing.
>>
>> If you think it's problem on Zeppelin core, then file an issue that
>> reproduce the problem on Zeppelin core, that might be more efficient than
>> keep trying yourself.
>>
>>
>> 2. Not 100% sure this PR has no license issue. (about KniteR)
>> What license problem *specifically* do you believe may exist?
>>
>> In preparing the PR, I:
>>
>> * Reviewed the Apache policy in detail.
>>
>> * Contacted the FSF to ask their interpretation of the “linking”
>> provisions of the GPL license.
>>
>> * Reviewed how other Apache software deals with this issue (e.g., Spark
>> talks to R, which is GPL'd).
>>
>> * No necessary *dependencies* of the PR have license conflicts. In
>> several cases, I contacted package authors who agreed to re-issue their
>> packages under Apache-compatible licenses. (Usually I had to do a bit of
>> coding in exchange…)
>>
>> * Where the license had to stay GPL, the packages are *not necessary* and
>> *not dependencies.* If the optional packages are present, they will be
>> used to enable additional functionality. Knitr is an example. The PR will
>> compile and run fine without knitr. If knitr is available (it is part of
>> the most common R distribution), the PR will enable the knitr interpreter.
>>
>> * This is exactly how this issue is addressed through the Apache
>> ecosystem.
>> The tl;dr is this: When Apache code is written to talk to libraries that
>> may or may not be present on the user’s system, or where it talks to an API
>> but is agnostic about implementation, that is not “linking” in a way that
>> implicate the anti-linking provision of the GPL.
>>
>> Otherwise, no Apache code could ever call a shell script! Let alone run
>> on Linux, or talk to R.
>>
>>
>> I'm not a legal expert. So following could be wrong.
>>
>> In my interpretation, KnitRInterpreter is not an optional feature while it
>> is always enabled when compiling Zeppelin and always enabled when running
>> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
>> it will fail when no KnitR is installed on the system)
>>
>> And of course, no Apache code can ever call a shell script, on the purpose
>> of dynamic linking with GPL library.
>>
>> I was guessing SparkR can be still in Apache License even if it is depends
>> on R. Because of GPL licensed compiler generated output is not GPL license.
>> and R is sort of compiler.
>>
>> If you can get answer from Spark community how SparkR get managed to stay
>> in Apache License while R is GPL, the answer might help.
>>
>>
>> 3. Need more time to review.
>> Has any reviewer has downloaded the PR or run the demo notebook? (Which
>> is there for the benefit of reviewers, and isn’t intended to go in final
>> distribution.)
>>
>> How many +1 comments from users would you like to see?
>>
>> How much time do you believe is required?
>>
>>
>> It all depends on when CI is going to pass, when license problem is going
>> to be cleared, and when a committer willing to review and responsible to
>> commit your contribution.
>>
>>
>> 1. Large code base change
>> Large code base changes require coordination and cooperation. This PR
>> necessarily implicates the build scripts, testing code, the
>> SparkInterpreter, etc.
>>
>> I have been seeking to coordinate since August.
>>
>> I continue to stand ready to do so.
>>
>> -Amos
>>
>>
>> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
>> contribution branch for some reason. It is not the really the best
>> practice, but still okay while most contributions are not including large
>> code base changes.
>>
>> However, your one, has more than 4000 lines of code change. If you rebase
>> then review should be started from the beginning, again. So you might want
>> to minimize the rebase your branch.
>>
>> Thanks,
>> moon
>>
>>
>> From: moon soo Lee <mo...@apache.org>
>> Reply: dev@zeppelin.incubator.apache.org <
>> dev@zeppelin.incubator.apache.org>
>> Date: December 1, 2015 at 1:34:19 AM
>> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
>> request: R Interpreter for Zeppelin
>>
>> Hi Cos,
>>
>> Thanks for opening a discussion.
>> My answer about 'Why this PR is open for three months' is
>>
>> 1. This PR does not passes CI
>> 2. Not 100% sure this PR has no license issue. (about KniteR)
>> 3. Need more time to review.
>>
>> It's my personal answer, other committers may have different opinion.
>>
>>
>> I think the question should be generalized. Because this PR is not the only
>> PR that is in impasse. There're more. For example
>>
>> Here's some examples that PR is not been merged.
>> https://github.com/apache/incubator-zeppelin/pull/53,
>> https://github.com/apache/incubator-zeppelin/pull/60
>> and so on.
>>
>> I can categorize the cases, based on experience of involving Zeppelin
>> community from the beginning.
>>
>> 1. Large code base change
>>
>> When contribution has large code base changes, it tend to take more time to
>> review and merged. Normally, most contributions merged in 1day~1 week.
>> But some contribution has large code base changes take 2~4 weeks. Few
>> contribution that has very large code base change take months.
>>
>> 2. Communication lost
>>
>> Sometimes, committer is not responding, or contributor is not responding.
>>
>> 3. Opinion diverges
>>
>> For some changes, included in contribution. When people have different
>> opinion and it continue to diverges, those PRs are not been merged.
>>
>>
>> I think having a guide such as ping other committer when a committer is not
>> responding, and divide contribution into small peaces if possible, would
>> help most of the cases.
>> Of course committer have to pay attention more to the contribution and
>> helping people. That's the first one.
>>
>> Thanks,
>> moon
>>
>> On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
>>
>> > To make sure we're on the same page, here are two threads that I found
>> > related
>> > to this topic.
>> >
>> > Thread 1:
>> > Subject: R?
>> > Started on: July 1, 2015
>> >
>> > Thread 2:
>> > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
>> > Zeppelin
>> > Started on: August 13, 2015
>> >
>> > If you want to fetch these from our archive send emails to
>> > dev-thread.1735@zeppelin.incubator.apache.org
>> > dev-thread.3573@zeppelin.incubator.apache.org
>> >
>> > Cos
>> >
>> > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
>> > > Guys,
>> > >
>> > > While catching up on my emails from the last a couple of weeks, this
>> > thread
>> > > caught my attention. I am not normally paying much attention to the
>> code
>> > > reviews traffic from GH, but this one is pretty different as it spans
>> > three
>> > > months and counting.
>> > >
>> > > First, here are my five cents:
>> > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
>> > contributed to
>> > > an ASF project this file should simply contain ASL2 text, like in [1]
>> > > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
>> > but
>> > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
>> > > maintain this in the source code, but we have the list of all the
>> > > committers on the project's site [2] Every new committer's first
>> > commit is
>> > > to update the team page ;)
>> > > - comments like in
>> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
>> > >
>> > > +/**
>> > > + * Created by aelberg on 7/28/15.
>> > > + */
>> > >
>> > > is better to be removed. It has been already discussed here [3]. And
>> > the
>> > > initial discussion on the topic [4] was linked as well
>> > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
>> > R-specific
>> > > stuff - I have no idea about R, honestly, but
>> > >
>> > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
>> > > ...
>> > > +Author: David B. Dahl
>> > >
>> > > shouldn't be here, IMO. Normally, if some additional licenses are
>> > used,
>> > > they have to be listed in the top-level NOTICE file (already there).
>> > >
>> > > - I am not going to offer any comments on the technical merits of the
>> > patch,
>> > > as I haven't tried it personally. However, I don't see any serious
>> > > technical objections to the functionality in question.
>> > >
>> > > So, the question is - why the PR is open for three months? I hasn't
>> been
>> > able
>> > > to get a clear answer. What I found out though is pretty unsettling,
>> > really.
>> > > The communication on the topic is almost non-existent, except for this
>> > sparse
>> > > and bitter thread in the GH.
>> > >
>> > > I would love to hear from the committers what's stopping the acceptance
>> > of the
>> > > code, besides of the minor issues I've mentioned earlier? What are the
>> > reasons for it?
>> > > Is there anything wrong with it?
>> > > One of the responsibilities of the committers is to make sure the
>> > > contributions are reviewed; new contributors are guided and do
>> > understand how
>> > > the project ticks. The easy feedback flow attracts new people, allowing
>> > the
>> > > community to grow and thrive.
>> > >
>> > > I am asking _explicitely_ not to re-start the bickering I have already
>> > > seen. At this point I am interested in the purely technical side of
>> this.
>> > >
>> > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
>> > > [2] http://bigtop.apache.org/team-list.html
>> > > [3]
>> >
>> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
>> > > [4] http://s.apache.org/iZl
>> > >
>> > > With regards,
>> > > Cos
>> > >
>> > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
>> > > > Github user elbamos commented on the pull request:
>> > > >
>> > > >
>> >
>> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
>> > > >
>> > > > The current push should resolve some issues with changes in the
>> > > > Spark-Zeppelin interface that had created issues for users, as
>> > well as
>> > > > support for 1.5.1.
>> > > >
>> > > > Knitr support is improved, and the reason for a separate knitr
>> > interpreter may be clearer now.
>> > > >
>> > > > The amount of code borrowed from rscala is reduced.
>> > > >
>> > > > I did not address issues with @author tags, or files under the R/
>> > > > folder. The reason is, to be blunt, I don't understand what the
>> > precise
>> > > > concerns actually are.
>> > > >
>> > > > Please note that I changed .travis.yml to only use spark 1.4 and
>> > later.
>> > > > I'm sure there is a better way to do it, but I'm just not in a
>> > position
>> > > > to try to figure out the entire Zeppelin build process.
>> > > >
>> > > > Integrating this with the rest of zeppelin is going to take some
>> > work
>> > > > regarding pom's, travis, and so forth. I can do a lot of that,
>> > but I'm
>> > > > going to need to discuss it with the people who have been "owning"
>> > those
>> > > > files. There are just too many moving pieces here.
>> > > >
>> > > > Because of the size of this (which is, unfortunately, necessary),
>> > > > posting here is probably not the most efficient way. That is also
>> > true
>> > > > because certain people chose to use this PR as a forum to air other
>> > > > issues. Therefore, it would be better if reviewers e-mail me
>> > directly.
>> >
>> >
>> >
>>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Moon - If there were seriously a licensing issue, then you or someone else would be able to say clearly and specifically what it is.
There plainly is not. This idea you have about a “compiler exception” has nothing to do with any of this. The link you sent doesn’t talk about any “compiler exception.” (I’m not sure what a 2008 e-mail from a developer who wanted to release a branded version of R has to do with Apache’s policy concerning linking to GPL’d code anyway…)
My e-mail was accidentally sent incomplete. This is the rest:
You say this:
My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
wrote is not an optional feature. Which is clearly not optionally enabled
code and feature. And that depends on KnitR library which is GPL.
That’s false.
***
I addressed the licensing issue only because waving the “license” flag could scare people off.
If someone really believed there was a licensing issue, they would be able to say clearly what that issue is.
I am not going to respond to the rest of Moon’s e-mail.
From: moon soo Lee <mo...@apache.org>
Reply: moon soo Lee <mo...@apache.org>
Date: December 1, 2015 at 8:16:36 PM
To: Amos B. Elberg <am...@gmail.com>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Is knitR is commonly considered as a interpreter/compiler? or is it considered as a library routine?
Thanks,
moon
On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com> wrote:
Moon - you give this as an explanation of the licensing issue: https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
According to that, there is an exception in the GPL for interpreter languages. As long as you don’t distribute the code, its fine to talk to an interpreted language.
Well, if that’s the case, then the PR plainly does not have a license issue. It doesn’t distribute any GPL’d R code.
I’m not sure what’s confusing about this. It seems completely straightforward.
Regarding this:
--
Amos Elberg
Sent with Airmail
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 1, 2015 at 6:48:47 PM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com> wrote:
> I am going to try to minimize my reaction to Moon’s e-mail.
>
> The tl;dr is this:
>
> The reason we are having this discussion now is that active users of the
> PR — which now has its own user base — went public to complain about this.
> The PR has been tested by an active user base for more than three months.
> No-one has been able to identify any specific actual licensing problem, and
> the PR was prepared based on an extensive, careful review of the relevant
> licensing issues and after contacting the relevant people.
>
>
I admire every software that used by user and helping people. That includes
your work. But that's not the topic we're in discussion. Active user does
not mean your contribution can ignore the review.
> It is not an explanation for someone who has been ignoring my “how can I
> move this forward…” emails for three months to point the finger and say I
> didn’t contact the right person or file the right report.
>
>
This is also not the topic in this discussion.
> The burden for providing an explanation for the inaction is on the PMCC at
> this point.
I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> core, why do you think other PRs are passing CI?
> They’re not! I often see comments on PRs to just ignore that CI is
> failing.
>
> One of the most common reasons this PR fails CI, is CI times-out
> downloading Spark to install. How could that possibly be caused by the PR?
>
> It looks to me like the only PRs with changes to the relevant parts of the
> code — the SparkInterpreter — are being made by the person who wrote the
> testing suite.
>
> So, that would explain why some other PRs pass CI: Neither the
> SparkInterpreter nor the testing suite are stable or robust, but since the
> PRs are coming from the person who wrote both…
>
> And let's say Zeppelin core has problem and that makes your PR fails on CI
> test. That's possible. But it still does not mean we can merge it with CI
> failing.
>
> It means you should be working with me to figure out why the CI is failing.
>
> This PR has been tested by an active user base for the past three months.
> If CI is continuing to fail, and dozens of hours of effort have not
> resolved the CI issues, then it is time to start considering whether the
> testing suite is part of the problem.
>
> The level of defensiveness about the CI and SparkInterpreter is not
> helping to resolve these issues.
>
> If you think it's problem on Zeppelin core, then file an issue that
> reproduce the problem on Zeppelin core, that might be more efficient than
> keep trying yourself.
> I contacted you numerous times about such issues...
>
I remember i commented your issue about CI. but you just keep repeated it's
not your problem but Zeppelin core problem.
Then please file an issue about the problem you found in Zeppelin Core.
Then everyone will get into the problem.
>
> In my interpretation, KnitRInterpreter is not an optional feature while it
> is always enabled when compiling Zeppelin and always enabled when running
> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> it will fail when no KnitR is installed on the system)
>
> Its not always enabled.
> It is not dynamically linked at runtime.
> It will not fail when knitr is missing. If knitr is not present, the repl
> interpreter starts and a note is written to to the log that the knitr
> interpreter isn’t available because knitr is not present.
>
> no Apache code can ever call a shell script, on the purpose of dynamic
> linking with GPL library.
> You misunderstand.
>
> The *shell* is GPL'd.
>
> Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends on a
> shell script to launch?
>
Obviously not.
>
> The interaction with R in the PR is the same.
>
>
Again, bash is one of exceptions of GPL, like other GPL licensed
compiler/interpreter.
Check here why Bash and R is okay with Apache License.
https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
I'm not sure we can apply the same exception for 'using' KnitR.
My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
wrote is not an optional feature. Which is clearly not optionally enabled
code and feature. And that depends on KnitR library which is GPL.
> I was guessing SparkR can be still in Apache License even if it is depends
> on R. Because of GPL licensed compiler generated output is not GPL license.
> and R is sort of compiler. If you can get answer from Spark community how
> SparkR get managed to stay in Apache License while R is GPL, the answer
> might help.
> The description of SparkR is not accurate in any respect. (Do you think
> SparkR is not talking to GPL-licensed libraries?)
>
> I don’t see that any genuine issue is being raised here.
>
> If there is an issue, the burden is on you to identify it.
>
> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
> contribution branch for some reason. It is not the really the best
> practice, but still okay while most contributions are not including large
> code base changes
> However, your one, has more than 4000 lines of code change. If you rebase
> then review should be started from the beginning, again. So you might want
> to minimize the rebase your branch.
>
> Are you actually complaining that the problem is that I rebased the code
> during the three-month period when no-one looked at it and Zeppelin went
> through a release?
>
> I cannot take it seriously when you say things like this.
>
> Having to “start from the beginning” cannot be a problem if you never
> actually started the first time...
>
>
You wanted coordination and cooperation. So i gave you suggestion that
helping review process. For example, your code has been rebased since my
comment and jongyoul's comment. that means committers will need to look
from the beginning. That'll require more time. And maybe, i guess that's
not what you want. But If you don't care, feel free to rebase.
Thanks,
moon
>
> From: moon soo Lee <mo...@apache.org>
> Reply: moon soo Lee <mo...@apache.org>
> Date: December 1, 2015 at 4:42:06 AM
> To: Amos B. Elberg <am...@gmail.com>,
> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> wrote:
> Thank you, Cos.
>
> I’d like to briefly address the issues raised by Moon:
>
> 1. This PR does not passes CI
> The CI fails on core Zeppelin, *not* code in this PR.
>
> I’ve been seeking assistance on this since August.
>
> The most common reason is that SparkInterpreter is unable to launch Spark
> and open a Spark Backend. This is necessary to test the PR.
>
> 60+ hours, has been spent adapting and re-basing when the SparkInterpreter
> architecture changed and broke the PR’s *tests.*
>
>
> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> core, why do you think other PRs are passing CI?
>
> And let's say Zeppelin core has problem and that makes your PR fails on CI
> test. That's possible. But it still does not mean we can merge it with CI
> failing.
>
> If you think it's problem on Zeppelin core, then file an issue that
> reproduce the problem on Zeppelin core, that might be more efficient than
> keep trying yourself.
>
>
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> What license problem *specifically* do you believe may exist?
>
> In preparing the PR, I:
>
> * Reviewed the Apache policy in detail.
>
> * Contacted the FSF to ask their interpretation of the “linking”
> provisions of the GPL license.
>
> * Reviewed how other Apache software deals with this issue (e.g., Spark
> talks to R, which is GPL'd).
>
> * No necessary *dependencies* of the PR have license conflicts. In
> several cases, I contacted package authors who agreed to re-issue their
> packages under Apache-compatible licenses. (Usually I had to do a bit of
> coding in exchange…)
>
> * Where the license had to stay GPL, the packages are *not necessary* and
> *not dependencies.* If the optional packages are present, they will be
> used to enable additional functionality. Knitr is an example. The PR will
> compile and run fine without knitr. If knitr is available (it is part of
> the most common R distribution), the PR will enable the knitr interpreter.
>
> * This is exactly how this issue is addressed through the Apache
> ecosystem.
> The tl;dr is this: When Apache code is written to talk to libraries that
> may or may not be present on the user’s system, or where it talks to an API
> but is agnostic about implementation, that is not “linking” in a way that
> implicate the anti-linking provision of the GPL.
>
> Otherwise, no Apache code could ever call a shell script! Let alone run
> on Linux, or talk to R.
>
>
> I'm not a legal expert. So following could be wrong.
>
> In my interpretation, KnitRInterpreter is not an optional feature while it
> is always enabled when compiling Zeppelin and always enabled when running
> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> it will fail when no KnitR is installed on the system)
>
> And of course, no Apache code can ever call a shell script, on the purpose
> of dynamic linking with GPL library.
>
> I was guessing SparkR can be still in Apache License even if it is depends
> on R. Because of GPL licensed compiler generated output is not GPL license.
> and R is sort of compiler.
>
> If you can get answer from Spark community how SparkR get managed to stay
> in Apache License while R is GPL, the answer might help.
>
>
> 3. Need more time to review.
> Has any reviewer has downloaded the PR or run the demo notebook? (Which
> is there for the benefit of reviewers, and isn’t intended to go in final
> distribution.)
>
> How many +1 comments from users would you like to see?
>
> How much time do you believe is required?
>
>
> It all depends on when CI is going to pass, when license problem is going
> to be cleared, and when a committer willing to review and responsible to
> commit your contribution.
>
>
> 1. Large code base change
> Large code base changes require coordination and cooperation. This PR
> necessarily implicates the build scripts, testing code, the
> SparkInterpreter, etc.
>
> I have been seeking to coordinate since August.
>
> I continue to stand ready to do so.
>
> -Amos
>
>
> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
> contribution branch for some reason. It is not the really the best
> practice, but still okay while most contributions are not including large
> code base changes.
>
> However, your one, has more than 4000 lines of code change. If you rebase
> then review should be started from the beginning, again. So you might want
> to minimize the rebase your branch.
>
> Thanks,
> moon
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 1, 2015 at 1:34:19 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Hi Cos,
>
> Thanks for opening a discussion.
> My answer about 'Why this PR is open for three months' is
>
> 1. This PR does not passes CI
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> 3. Need more time to review.
>
> It's my personal answer, other committers may have different opinion.
>
>
> I think the question should be generalized. Because this PR is not the only
> PR that is in impasse. There're more. For example
>
> Here's some examples that PR is not been merged.
> https://github.com/apache/incubator-zeppelin/pull/53,
> https://github.com/apache/incubator-zeppelin/pull/60
> and so on.
>
> I can categorize the cases, based on experience of involving Zeppelin
> community from the beginning.
>
> 1. Large code base change
>
> When contribution has large code base changes, it tend to take more time to
> review and merged. Normally, most contributions merged in 1day~1 week.
> But some contribution has large code base changes take 2~4 weeks. Few
> contribution that has very large code base change take months.
>
> 2. Communication lost
>
> Sometimes, committer is not responding, or contributor is not responding.
>
> 3. Opinion diverges
>
> For some changes, included in contribution. When people have different
> opinion and it continue to diverges, those PRs are not been merged.
>
>
> I think having a guide such as ping other committer when a committer is not
> responding, and divide contribution into small peaces if possible, would
> help most of the cases.
> Of course committer have to pay attention more to the contribution and
> helping people. That's the first one.
>
> Thanks,
> moon
>
> On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
>
> > To make sure we're on the same page, here are two threads that I found
> > related
> > to this topic.
> >
> > Thread 1:
> > Subject: R?
> > Started on: July 1, 2015
> >
> > Thread 2:
> > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > Started on: August 13, 2015
> >
> > If you want to fetch these from our archive send emails to
> > dev-thread.1735@zeppelin.incubator.apache.org
> > dev-thread.3573@zeppelin.incubator.apache.org
> >
> > Cos
> >
> > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > Guys,
> > >
> > > While catching up on my emails from the last a couple of weeks, this
> > thread
> > > caught my attention. I am not normally paying much attention to the
> code
> > > reviews traffic from GH, but this one is pretty different as it spans
> > three
> > > months and counting.
> > >
> > > First, here are my five cents:
> > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > contributed to
> > > an ASF project this file should simply contain ASL2 text, like in [1]
> > > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
> > but
> > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > maintain this in the source code, but we have the list of all the
> > > committers on the project's site [2] Every new committer's first
> > commit is
> > > to update the team page ;)
> > > - comments like in
> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > >
> > > +/**
> > > + * Created by aelberg on 7/28/15.
> > > + */
> > >
> > > is better to be removed. It has been already discussed here [3]. And
> > the
> > > initial discussion on the topic [4] was linked as well
> > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > R-specific
> > > stuff - I have no idea about R, honestly, but
> > >
> > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > ...
> > > +Author: David B. Dahl
> > >
> > > shouldn't be here, IMO. Normally, if some additional licenses are
> > used,
> > > they have to be listed in the top-level NOTICE file (already there).
> > >
> > > - I am not going to offer any comments on the technical merits of the
> > patch,
> > > as I haven't tried it personally. However, I don't see any serious
> > > technical objections to the functionality in question.
> > >
> > > So, the question is - why the PR is open for three months? I hasn't
> been
> > able
> > > to get a clear answer. What I found out though is pretty unsettling,
> > really.
> > > The communication on the topic is almost non-existent, except for this
> > sparse
> > > and bitter thread in the GH.
> > >
> > > I would love to hear from the committers what's stopping the acceptance
> > of the
> > > code, besides of the minor issues I've mentioned earlier? What are the
> > reasons for it?
> > > Is there anything wrong with it?
> > > One of the responsibilities of the committers is to make sure the
> > > contributions are reviewed; new contributors are guided and do
> > understand how
> > > the project ticks. The easy feedback flow attracts new people, allowing
> > the
> > > community to grow and thrive.
> > >
> > > I am asking _explicitely_ not to re-start the bickering I have already
> > > seen. At this point I am interested in the purely technical side of
> this.
> > >
> > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > [2] http://bigtop.apache.org/team-list.html
> > > [3]
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > [4] http://s.apache.org/iZl
> > >
> > > With regards,
> > > Cos
> > >
> > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > Github user elbamos commented on the pull request:
> > > >
> > > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > >
> > > > The current push should resolve some issues with changes in the
> > > > Spark-Zeppelin interface that had created issues for users, as
> > well as
> > > > support for 1.5.1.
> > > >
> > > > Knitr support is improved, and the reason for a separate knitr
> > interpreter may be clearer now.
> > > >
> > > > The amount of code borrowed from rscala is reduced.
> > > >
> > > > I did not address issues with @author tags, or files under the R/
> > > > folder. The reason is, to be blunt, I don't understand what the
> > precise
> > > > concerns actually are.
> > > >
> > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > later.
> > > > I'm sure there is a better way to do it, but I'm just not in a
> > position
> > > > to try to figure out the entire Zeppelin build process.
> > > >
> > > > Integrating this with the rest of zeppelin is going to take some
> > work
> > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > but I'm
> > > > going to need to discuss it with the people who have been "owning"
> > those
> > > > files. There are just too many moving pieces here.
> > > >
> > > > Because of the size of this (which is, unfortunately, necessary),
> > > > posting here is probably not the most efficient way. That is also
> > true
> > > > because certain people chose to use this PR as a forum to air other
> > > > issues. Therefore, it would be better if reviewers e-mail me
> > directly.
> >
> >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Is knitR is commonly considered as a interpreter/compiler? or is it
considered as a library routine?
Thanks,
moon
On Wed, Dec 2, 2015 at 10:12 AM Amos B. Elberg <am...@gmail.com>
wrote:
> Moon - you give this as an explanation of the licensing issue:
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>
> According to that, there is an exception in the GPL for interpreter
> languages. As long as you don’t distribute the code, its fine to talk to
> an interpreted language.
>
> Well, if that’s the case, then the PR plainly does not have a license
> issue. It doesn’t distribute any GPL’d R code.
>
> I’m not sure what’s confusing about this. It seems completely
> straightforward.
>
> Regarding this:
>
>
> --
> Amos Elberg
> Sent with Airmail
>
> From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org
> <de...@zeppelin.incubator.apache.org> <de...@zeppelin.incubator.apache.org>
> Date: December 1, 2015 at 6:48:47 PM
>
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull request: R Interpreter for Zeppelin
>
> On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com>
> wrote:
>
> > I am going to try to minimize my reaction to Moon’s e-mail.
> >
> > The tl;dr is this:
> >
> > The reason we are having this discussion now is that active users of the
> > PR — which now has its own user base — went public to complain about
> this.
>
>
> > The PR has been tested by an active user base for more than three
> months.
> > No-one has been able to identify any specific actual licensing problem,
> and
> > the PR was prepared based on an extensive, careful review of the
> relevant
> > licensing issues and after contacting the relevant people.
> >
> >
>
> I admire every software that used by user and helping people. That
> includes
> your work. But that's not the topic we're in discussion. Active user does
> not mean your contribution can ignore the review.
>
>
>
> > It is not an explanation for someone who has been ignoring my “how can I
> > move this forward…” emails for three months to point the finger and say
> I
> > didn’t contact the right person or file the right report.
> >
> >
> This is also not the topic in this discussion.
>
>
> > The burden for providing an explanation for the inaction is on the PMCC
> at
> > this point.
>
> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > core, why do you think other PRs are passing CI?
> > They’re not! I often see comments on PRs to just ignore that CI is
> > failing.
> >
> > One of the most common reasons this PR fails CI, is CI times-out
> > downloading Spark to install. How could that possibly be caused by the
> PR?
> >
> > It looks to me like the only PRs with changes to the relevant parts of
> the
> > code — the SparkInterpreter — are being made by the person who wrote the
> > testing suite.
> >
> > So, that would explain why some other PRs pass CI: Neither the
> > SparkInterpreter nor the testing suite are stable or robust, but since
> the
> > PRs are coming from the person who wrote both…
> >
> > And let's say Zeppelin core has problem and that makes your PR fails on
> CI
> > test. That's possible. But it still does not mean we can merge it with
> CI
> > failing.
> >
> > It means you should be working with me to figure out why the CI is
> failing.
> >
> > This PR has been tested by an active user base for the past three
> months.
> > If CI is continuing to fail, and dozens of hours of effort have not
> > resolved the CI issues, then it is time to start considering whether the
> > testing suite is part of the problem.
> >
> > The level of defensiveness about the CI and SparkInterpreter is not
> > helping to resolve these issues.
> >
> > If you think it's problem on Zeppelin core, then file an issue that
> > reproduce the problem on Zeppelin core, that might be more efficient
> than
> > keep trying yourself.
> > I contacted you numerous times about such issues...
> >
>
>
> I remember i commented your issue about CI. but you just keep repeated
> it's
> not your problem but Zeppelin core problem.
>
> Then please file an issue about the problem you found in Zeppelin Core.
> Then everyone will get into the problem.
>
>
>
> >
> > In my interpretation, KnitRInterpreter is not an optional feature while
> it
> > is always enabled when compiling Zeppelin and always enabled when
> running
> > Zeppelin. And it requires dynamically linked GPL library on runtime.
> (yes
> > it will fail when no KnitR is installed on the system)
> >
> > Its not always enabled.
> > It is not dynamically linked at runtime.
> > It will not fail when knitr is missing. If knitr is not present, the
> repl
> > interpreter starts and a note is written to to the log that the knitr
> > interpreter isn’t available because knitr is not present.
> >
> > no Apache code can ever call a shell script, on the purpose of dynamic
> > linking with GPL library.
> > You misunderstand.
> >
> > The *shell* is GPL'd.
> >
> > Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends on
> a
> > shell script to launch?
> >
> Obviously not.
> >
> > The interaction with R in the PR is the same.
> >
> >
>
> Again, bash is one of exceptions of GPL, like other GPL licensed
> compiler/interpreter.
>
> Check here why Bash and R is okay with Apache License.
> https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
>
> I'm not sure we can apply the same exception for 'using' KnitR.
>
> My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter'
> you
> wrote is not an optional feature. Which is clearly not optionally enabled
> code and feature. And that depends on KnitR library which is GPL.
>
>
>
> > I was guessing SparkR can be still in Apache License even if it is
> depends
> > on R. Because of GPL licensed compiler generated output is not GPL
> license.
> > and R is sort of compiler. If you can get answer from Spark community
> how
> > SparkR get managed to stay in Apache License while R is GPL, the answer
> > might help.
> > The description of SparkR is not accurate in any respect. (Do you think
> > SparkR is not talking to GPL-licensed libraries?)
> >
> > I don’t see that any genuine issue is being raised here.
> >
> > If there is an issue, the burden is on you to identify it.
> >
> > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> the
> > contribution branch for some reason. It is not the really the best
> > practice, but still okay while most contributions are not including
> large
> > code base changes
> > However, your one, has more than 4000 lines of code change. If you
> rebase
> > then review should be started from the beginning, again. So you might
> want
> > to minimize the rebase your branch.
> >
> > Are you actually complaining that the problem is that I rebased the code
> > during the three-month period when no-one looked at it and Zeppelin went
> > through a release?
> >
> > I cannot take it seriously when you say things like this.
> >
> > Having to “start from the beginning” cannot be a problem if you never
> > actually started the first time...
> >
> >
>
> You wanted coordination and cooperation. So i gave you suggestion that
> helping review process. For example, your code has been rebased since my
> comment and jongyoul's comment. that means committers will need to look
> from the beginning. That'll require more time. And maybe, i guess that's
> not what you want. But If you don't care, feel free to rebase.
>
> Thanks,
> moon
>
>
>
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: moon soo Lee <mo...@apache.org>
> > Date: December 1, 2015 at 4:42:06 AM
> > To: Amos B. Elberg <am...@gmail.com>,
> > dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull
> > request: R Interpreter for Zeppelin
> >
> > On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> > wrote:
> > Thank you, Cos.
> >
> > I’d like to briefly address the issues raised by Moon:
> >
> > 1. This PR does not passes CI
> > The CI fails on core Zeppelin, *not* code in this PR.
> >
> > I’ve been seeking assistance on this since August.
> >
> > The most common reason is that SparkInterpreter is unable to launch
> Spark
> > and open a Spark Backend. This is necessary to test the PR.
> >
> > 60+ hours, has been spent adapting and re-basing when the
> SparkInterpreter
> > architecture changed and broke the PR’s *tests.*
> >
> >
> > I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> > core, why do you think other PRs are passing CI?
> >
> > And let's say Zeppelin core has problem and that makes your PR fails on
> CI
> > test. That's possible. But it still does not mean we can merge it with
> CI
> > failing.
> >
> > If you think it's problem on Zeppelin core, then file an issue that
> > reproduce the problem on Zeppelin core, that might be more efficient
> than
> > keep trying yourself.
> >
> >
> > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > What license problem *specifically* do you believe may exist?
> >
> > In preparing the PR, I:
> >
> > * Reviewed the Apache policy in detail.
> >
> > * Contacted the FSF to ask their interpretation of the “linking”
> > provisions of the GPL license.
> >
> > * Reviewed how other Apache software deals with this issue (e.g., Spark
> > talks to R, which is GPL'd).
> >
> > * No necessary *dependencies* of the PR have license conflicts. In
> > several cases, I contacted package authors who agreed to re-issue their
> > packages under Apache-compatible licenses. (Usually I had to do a bit of
> > coding in exchange…)
> >
> > * Where the license had to stay GPL, the packages are *not necessary*
> and
> > *not dependencies.* If the optional packages are present, they will be
> > used to enable additional functionality. Knitr is an example. The PR
> will
> > compile and run fine without knitr. If knitr is available (it is part of
> > the most common R distribution), the PR will enable the knitr
> interpreter.
> >
> > * This is exactly how this issue is addressed through the Apache
> > ecosystem.
> > The tl;dr is this: When Apache code is written to talk to libraries that
> > may or may not be present on the user’s system, or where it talks to an
> API
> > but is agnostic about implementation, that is not “linking” in a way
> that
> > implicate the anti-linking provision of the GPL.
> >
> > Otherwise, no Apache code could ever call a shell script! Let alone run
> > on Linux, or talk to R.
> >
> >
> > I'm not a legal expert. So following could be wrong.
> >
> > In my interpretation, KnitRInterpreter is not an optional feature while
> it
> > is always enabled when compiling Zeppelin and always enabled when
> running
> > Zeppelin. And it requires dynamically linked GPL library on runtime.
> (yes
> > it will fail when no KnitR is installed on the system)
> >
> > And of course, no Apache code can ever call a shell script, on the
> purpose
> > of dynamic linking with GPL library.
> >
> > I was guessing SparkR can be still in Apache License even if it is
> depends
> > on R. Because of GPL licensed compiler generated output is not GPL
> license.
> > and R is sort of compiler.
> >
> > If you can get answer from Spark community how SparkR get managed to
> stay
> > in Apache License while R is GPL, the answer might help.
> >
> >
> > 3. Need more time to review.
> > Has any reviewer has downloaded the PR or run the demo notebook? (Which
> > is there for the benefit of reviewers, and isn’t intended to go in final
> > distribution.)
> >
> > How many +1 comments from users would you like to see?
> >
> > How much time do you believe is required?
> >
> >
> > It all depends on when CI is going to pass, when license problem is
> going
> > to be cleared, and when a committer willing to review and responsible to
> > commit your contribution.
> >
> >
> > 1. Large code base change
> > Large code base changes require coordination and cooperation. This PR
> > necessarily implicates the build scripts, testing code, the
> > SparkInterpreter, etc.
> >
> > I have been seeking to coordinate since August.
> >
> > I continue to stand ready to do so.
> >
> > -Amos
> >
> >
> > If i give you one suggestion, Zeppelin committers sometimes ask rebase
> the
> > contribution branch for some reason. It is not the really the best
> > practice, but still okay while most contributions are not including
> large
> > code base changes.
> >
> > However, your one, has more than 4000 lines of code change. If you
> rebase
> > then review should be started from the beginning, again. So you might
> want
> > to minimize the rebase your branch.
> >
> > Thanks,
> > moon
> >
> >
> > From: moon soo Lee <mo...@apache.org>
> > Reply: dev@zeppelin.incubator.apache.org <
> > dev@zeppelin.incubator.apache.org>
> > Date: December 1, 2015 at 1:34:19 AM
> > To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
>
> > Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull
> > request: R Interpreter for Zeppelin
> >
> > Hi Cos,
> >
> > Thanks for opening a discussion.
> > My answer about 'Why this PR is open for three months' is
> >
> > 1. This PR does not passes CI
> > 2. Not 100% sure this PR has no license issue. (about KniteR)
> > 3. Need more time to review.
> >
> > It's my personal answer, other committers may have different opinion.
> >
> >
> > I think the question should be generalized. Because this PR is not the
> only
> > PR that is in impasse. There're more. For example
> >
> > Here's some examples that PR is not been merged.
> > https://github.com/apache/incubator-zeppelin/pull/53,
> > https://github.com/apache/incubator-zeppelin/pull/60
> > and so on.
> >
> > I can categorize the cases, based on experience of involving Zeppelin
> > community from the beginning.
> >
> > 1. Large code base change
> >
> > When contribution has large code base changes, it tend to take more time
> to
> > review and merged. Normally, most contributions merged in 1day~1 week.
> > But some contribution has large code base changes take 2~4 weeks. Few
> > contribution that has very large code base change take months.
> >
> > 2. Communication lost
> >
> > Sometimes, committer is not responding, or contributor is not
> responding.
> >
> > 3. Opinion diverges
> >
> > For some changes, included in contribution. When people have different
> > opinion and it continue to diverges, those PRs are not been merged.
> >
> >
> > I think having a guide such as ping other committer when a committer is
> not
> > responding, and divide contribution into small peaces if possible, would
> > help most of the cases.
> > Of course committer have to pay attention more to the contribution and
> > helping people. That's the first one.
> >
> > Thanks,
> > moon
> >
> > On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org>
> wrote:
> >
> > > To make sure we're on the same page, here are two threads that I found
> > > related
> > > to this topic.
> > >
> > > Thread 1:
> > > Subject: R?
> > > Started on: July 1, 2015
> > >
> > > Thread 2:
> > > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > > Zeppelin
> > > Started on: August 13, 2015
> > >
> > > If you want to fetch these from our archive send emails to
> > > dev-thread.1735@zeppelin.incubator.apache.org
> > > dev-thread.3573@zeppelin.incubator.apache.org
> > >
> > > Cos
> > >
> > > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > > Guys,
> > > >
> > > > While catching up on my emails from the last a couple of weeks, this
> > > thread
> > > > caught my attention. I am not normally paying much attention to the
> > code
> > > > reviews traffic from GH, but this one is pretty different as it
> spans
> > > three
> > > > months and counting.
> > > >
> > > > First, here are my five cents:
> > > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > > contributed to
> > > > an ASF project this file should simply contain ASL2 text, like in
> [1]
> > > > - r/pom.xml perhaps shouldn't contain a separate <developers>
> section,
> > > but
> > > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > > maintain this in the source code, but we have the list of all the
> > > > committers on the project's site [2] Every new committer's first
> > > commit is
> > > > to update the team page ;)
> > > > - comments like in
> > > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > > >
> > > > +/**
> > > > + * Created by aelberg on 7/28/15.
> > > > + */
> > > >
> > > > is better to be removed. It has been already discussed here [3]. And
> > > the
> > > > initial discussion on the topic [4] was linked as well
> > > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > > R-specific
> > > > stuff - I have no idea about R, honestly, but
> > > >
> > > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > > ...
> > > > +Author: David B. Dahl
> > > >
> > > > shouldn't be here, IMO. Normally, if some additional licenses are
> > > used,
> > > > they have to be listed in the top-level NOTICE file (already there).
> > > >
> > > > - I am not going to offer any comments on the technical merits of
> the
> > > patch,
> > > > as I haven't tried it personally. However, I don't see any serious
> > > > technical objections to the functionality in question.
> > > >
> > > > So, the question is - why the PR is open for three months? I hasn't
> > been
> > > able
> > > > to get a clear answer. What I found out though is pretty unsettling,
> > > really.
> > > > The communication on the topic is almost non-existent, except for
> this
> > > sparse
> > > > and bitter thread in the GH.
> > > >
> > > > I would love to hear from the committers what's stopping the
> acceptance
> > > of the
> > > > code, besides of the minor issues I've mentioned earlier? What are
> the
> > > reasons for it?
> > > > Is there anything wrong with it?
> > > > One of the responsibilities of the committers is to make sure the
> > > > contributions are reviewed; new contributors are guided and do
> > > understand how
> > > > the project ticks. The easy feedback flow attracts new people,
> allowing
> > > the
> > > > community to grow and thrive.
> > > >
> > > > I am asking _explicitely_ not to re-start the bickering I have
> already
> > > > seen. At this point I am interested in the purely technical side of
> > this.
> > > >
> > > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > > [2] http://bigtop.apache.org/team-list.html
> > > > [3]
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > > [4] http://s.apache.org/iZl
> > > >
> > > > With regards,
> > > > Cos
> > > >
> > > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > > Github user elbamos commented on the pull request:
> > > > >
> > > > >
> > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > > >
> > > > > The current push should resolve some issues with changes in the
> > > > > Spark-Zeppelin interface that had created issues for users, as
> > > well as
> > > > > support for 1.5.1.
> > > > >
> > > > > Knitr support is improved, and the reason for a separate knitr
> > > interpreter may be clearer now.
> > > > >
> > > > > The amount of code borrowed from rscala is reduced.
> > > > >
> > > > > I did not address issues with @author tags, or files under the R/
> > > > > folder. The reason is, to be blunt, I don't understand what the
> > > precise
> > > > > concerns actually are.
> > > > >
> > > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > > later.
> > > > > I'm sure there is a better way to do it, but I'm just not in a
> > > position
> > > > > to try to figure out the entire Zeppelin build process.
> > > > >
> > > > > Integrating this with the rest of zeppelin is going to take some
> > > work
> > > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > > but I'm
> > > > > going to need to discuss it with the people who have been "owning"
> > > those
> > > > > files. There are just too many moving pieces here.
> > > > >
> > > > > Because of the size of this (which is, unfortunately, necessary),
> > > > > posting here is probably not the most efficient way. That is also
> > > true
> > > > > because certain people chose to use this PR as a forum to air
> other
> > > > > issues. Therefore, it would be better if reviewers e-mail me
> > > directly.
> > >
> > >
> > >
> >
>
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Moon - you give this as an explanation of the licensing issue: https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
According to that, there is an exception in the GPL for interpreter languages. As long as you don’t distribute the code, its fine to talk to an interpreted language.
Well, if that’s the case, then the PR plainly does not have a license issue. It doesn’t distribute any GPL’d R code.
I’m not sure what’s confusing about this. It seems completely straightforward.
Regarding this:
--
Amos Elberg
Sent with Airmail
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 1, 2015 at 6:48:47 PM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com> wrote:
> I am going to try to minimize my reaction to Moon’s e-mail.
>
> The tl;dr is this:
>
> The reason we are having this discussion now is that active users of the
> PR — which now has its own user base — went public to complain about this.
> The PR has been tested by an active user base for more than three months.
> No-one has been able to identify any specific actual licensing problem, and
> the PR was prepared based on an extensive, careful review of the relevant
> licensing issues and after contacting the relevant people.
>
>
I admire every software that used by user and helping people. That includes
your work. But that's not the topic we're in discussion. Active user does
not mean your contribution can ignore the review.
> It is not an explanation for someone who has been ignoring my “how can I
> move this forward…” emails for three months to point the finger and say I
> didn’t contact the right person or file the right report.
>
>
This is also not the topic in this discussion.
> The burden for providing an explanation for the inaction is on the PMCC at
> this point.
I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> core, why do you think other PRs are passing CI?
> They’re not! I often see comments on PRs to just ignore that CI is
> failing.
>
> One of the most common reasons this PR fails CI, is CI times-out
> downloading Spark to install. How could that possibly be caused by the PR?
>
> It looks to me like the only PRs with changes to the relevant parts of the
> code — the SparkInterpreter — are being made by the person who wrote the
> testing suite.
>
> So, that would explain why some other PRs pass CI: Neither the
> SparkInterpreter nor the testing suite are stable or robust, but since the
> PRs are coming from the person who wrote both…
>
> And let's say Zeppelin core has problem and that makes your PR fails on CI
> test. That's possible. But it still does not mean we can merge it with CI
> failing.
>
> It means you should be working with me to figure out why the CI is failing.
>
> This PR has been tested by an active user base for the past three months.
> If CI is continuing to fail, and dozens of hours of effort have not
> resolved the CI issues, then it is time to start considering whether the
> testing suite is part of the problem.
>
> The level of defensiveness about the CI and SparkInterpreter is not
> helping to resolve these issues.
>
> If you think it's problem on Zeppelin core, then file an issue that
> reproduce the problem on Zeppelin core, that might be more efficient than
> keep trying yourself.
> I contacted you numerous times about such issues...
>
I remember i commented your issue about CI. but you just keep repeated it's
not your problem but Zeppelin core problem.
Then please file an issue about the problem you found in Zeppelin Core.
Then everyone will get into the problem.
>
> In my interpretation, KnitRInterpreter is not an optional feature while it
> is always enabled when compiling Zeppelin and always enabled when running
> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> it will fail when no KnitR is installed on the system)
>
> Its not always enabled.
> It is not dynamically linked at runtime.
> It will not fail when knitr is missing. If knitr is not present, the repl
> interpreter starts and a note is written to to the log that the knitr
> interpreter isn’t available because knitr is not present.
>
> no Apache code can ever call a shell script, on the purpose of dynamic
> linking with GPL library.
> You misunderstand.
>
> The *shell* is GPL'd.
>
> Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends on a
> shell script to launch?
>
Obviously not.
>
> The interaction with R in the PR is the same.
>
>
Again, bash is one of exceptions of GPL, like other GPL licensed
compiler/interpreter.
Check here why Bash and R is okay with Apache License.
https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
I'm not sure we can apply the same exception for 'using' KnitR.
My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
wrote is not an optional feature. Which is clearly not optionally enabled
code and feature. And that depends on KnitR library which is GPL.
> I was guessing SparkR can be still in Apache License even if it is depends
> on R. Because of GPL licensed compiler generated output is not GPL license.
> and R is sort of compiler. If you can get answer from Spark community how
> SparkR get managed to stay in Apache License while R is GPL, the answer
> might help.
> The description of SparkR is not accurate in any respect. (Do you think
> SparkR is not talking to GPL-licensed libraries?)
>
> I don’t see that any genuine issue is being raised here.
>
> If there is an issue, the burden is on you to identify it.
>
> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
> contribution branch for some reason. It is not the really the best
> practice, but still okay while most contributions are not including large
> code base changes
> However, your one, has more than 4000 lines of code change. If you rebase
> then review should be started from the beginning, again. So you might want
> to minimize the rebase your branch.
>
> Are you actually complaining that the problem is that I rebased the code
> during the three-month period when no-one looked at it and Zeppelin went
> through a release?
>
> I cannot take it seriously when you say things like this.
>
> Having to “start from the beginning” cannot be a problem if you never
> actually started the first time...
>
>
You wanted coordination and cooperation. So i gave you suggestion that
helping review process. For example, your code has been rebased since my
comment and jongyoul's comment. that means committers will need to look
from the beginning. That'll require more time. And maybe, i guess that's
not what you want. But If you don't care, feel free to rebase.
Thanks,
moon
>
> From: moon soo Lee <mo...@apache.org>
> Reply: moon soo Lee <mo...@apache.org>
> Date: December 1, 2015 at 4:42:06 AM
> To: Amos B. Elberg <am...@gmail.com>,
> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> wrote:
> Thank you, Cos.
>
> I’d like to briefly address the issues raised by Moon:
>
> 1. This PR does not passes CI
> The CI fails on core Zeppelin, *not* code in this PR.
>
> I’ve been seeking assistance on this since August.
>
> The most common reason is that SparkInterpreter is unable to launch Spark
> and open a Spark Backend. This is necessary to test the PR.
>
> 60+ hours, has been spent adapting and re-basing when the SparkInterpreter
> architecture changed and broke the PR’s *tests.*
>
>
> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> core, why do you think other PRs are passing CI?
>
> And let's say Zeppelin core has problem and that makes your PR fails on CI
> test. That's possible. But it still does not mean we can merge it with CI
> failing.
>
> If you think it's problem on Zeppelin core, then file an issue that
> reproduce the problem on Zeppelin core, that might be more efficient than
> keep trying yourself.
>
>
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> What license problem *specifically* do you believe may exist?
>
> In preparing the PR, I:
>
> * Reviewed the Apache policy in detail.
>
> * Contacted the FSF to ask their interpretation of the “linking”
> provisions of the GPL license.
>
> * Reviewed how other Apache software deals with this issue (e.g., Spark
> talks to R, which is GPL'd).
>
> * No necessary *dependencies* of the PR have license conflicts. In
> several cases, I contacted package authors who agreed to re-issue their
> packages under Apache-compatible licenses. (Usually I had to do a bit of
> coding in exchange…)
>
> * Where the license had to stay GPL, the packages are *not necessary* and
> *not dependencies.* If the optional packages are present, they will be
> used to enable additional functionality. Knitr is an example. The PR will
> compile and run fine without knitr. If knitr is available (it is part of
> the most common R distribution), the PR will enable the knitr interpreter.
>
> * This is exactly how this issue is addressed through the Apache
> ecosystem.
> The tl;dr is this: When Apache code is written to talk to libraries that
> may or may not be present on the user’s system, or where it talks to an API
> but is agnostic about implementation, that is not “linking” in a way that
> implicate the anti-linking provision of the GPL.
>
> Otherwise, no Apache code could ever call a shell script! Let alone run
> on Linux, or talk to R.
>
>
> I'm not a legal expert. So following could be wrong.
>
> In my interpretation, KnitRInterpreter is not an optional feature while it
> is always enabled when compiling Zeppelin and always enabled when running
> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> it will fail when no KnitR is installed on the system)
>
> And of course, no Apache code can ever call a shell script, on the purpose
> of dynamic linking with GPL library.
>
> I was guessing SparkR can be still in Apache License even if it is depends
> on R. Because of GPL licensed compiler generated output is not GPL license.
> and R is sort of compiler.
>
> If you can get answer from Spark community how SparkR get managed to stay
> in Apache License while R is GPL, the answer might help.
>
>
> 3. Need more time to review.
> Has any reviewer has downloaded the PR or run the demo notebook? (Which
> is there for the benefit of reviewers, and isn’t intended to go in final
> distribution.)
>
> How many +1 comments from users would you like to see?
>
> How much time do you believe is required?
>
>
> It all depends on when CI is going to pass, when license problem is going
> to be cleared, and when a committer willing to review and responsible to
> commit your contribution.
>
>
> 1. Large code base change
> Large code base changes require coordination and cooperation. This PR
> necessarily implicates the build scripts, testing code, the
> SparkInterpreter, etc.
>
> I have been seeking to coordinate since August.
>
> I continue to stand ready to do so.
>
> -Amos
>
>
> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
> contribution branch for some reason. It is not the really the best
> practice, but still okay while most contributions are not including large
> code base changes.
>
> However, your one, has more than 4000 lines of code change. If you rebase
> then review should be started from the beginning, again. So you might want
> to minimize the rebase your branch.
>
> Thanks,
> moon
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 1, 2015 at 1:34:19 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Hi Cos,
>
> Thanks for opening a discussion.
> My answer about 'Why this PR is open for three months' is
>
> 1. This PR does not passes CI
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> 3. Need more time to review.
>
> It's my personal answer, other committers may have different opinion.
>
>
> I think the question should be generalized. Because this PR is not the only
> PR that is in impasse. There're more. For example
>
> Here's some examples that PR is not been merged.
> https://github.com/apache/incubator-zeppelin/pull/53,
> https://github.com/apache/incubator-zeppelin/pull/60
> and so on.
>
> I can categorize the cases, based on experience of involving Zeppelin
> community from the beginning.
>
> 1. Large code base change
>
> When contribution has large code base changes, it tend to take more time to
> review and merged. Normally, most contributions merged in 1day~1 week.
> But some contribution has large code base changes take 2~4 weeks. Few
> contribution that has very large code base change take months.
>
> 2. Communication lost
>
> Sometimes, committer is not responding, or contributor is not responding.
>
> 3. Opinion diverges
>
> For some changes, included in contribution. When people have different
> opinion and it continue to diverges, those PRs are not been merged.
>
>
> I think having a guide such as ping other committer when a committer is not
> responding, and divide contribution into small peaces if possible, would
> help most of the cases.
> Of course committer have to pay attention more to the contribution and
> helping people. That's the first one.
>
> Thanks,
> moon
>
> On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
>
> > To make sure we're on the same page, here are two threads that I found
> > related
> > to this topic.
> >
> > Thread 1:
> > Subject: R?
> > Started on: July 1, 2015
> >
> > Thread 2:
> > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > Started on: August 13, 2015
> >
> > If you want to fetch these from our archive send emails to
> > dev-thread.1735@zeppelin.incubator.apache.org
> > dev-thread.3573@zeppelin.incubator.apache.org
> >
> > Cos
> >
> > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > Guys,
> > >
> > > While catching up on my emails from the last a couple of weeks, this
> > thread
> > > caught my attention. I am not normally paying much attention to the
> code
> > > reviews traffic from GH, but this one is pretty different as it spans
> > three
> > > months and counting.
> > >
> > > First, here are my five cents:
> > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > contributed to
> > > an ASF project this file should simply contain ASL2 text, like in [1]
> > > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
> > but
> > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > maintain this in the source code, but we have the list of all the
> > > committers on the project's site [2] Every new committer's first
> > commit is
> > > to update the team page ;)
> > > - comments like in
> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > >
> > > +/**
> > > + * Created by aelberg on 7/28/15.
> > > + */
> > >
> > > is better to be removed. It has been already discussed here [3]. And
> > the
> > > initial discussion on the topic [4] was linked as well
> > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > R-specific
> > > stuff - I have no idea about R, honestly, but
> > >
> > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > ...
> > > +Author: David B. Dahl
> > >
> > > shouldn't be here, IMO. Normally, if some additional licenses are
> > used,
> > > they have to be listed in the top-level NOTICE file (already there).
> > >
> > > - I am not going to offer any comments on the technical merits of the
> > patch,
> > > as I haven't tried it personally. However, I don't see any serious
> > > technical objections to the functionality in question.
> > >
> > > So, the question is - why the PR is open for three months? I hasn't
> been
> > able
> > > to get a clear answer. What I found out though is pretty unsettling,
> > really.
> > > The communication on the topic is almost non-existent, except for this
> > sparse
> > > and bitter thread in the GH.
> > >
> > > I would love to hear from the committers what's stopping the acceptance
> > of the
> > > code, besides of the minor issues I've mentioned earlier? What are the
> > reasons for it?
> > > Is there anything wrong with it?
> > > One of the responsibilities of the committers is to make sure the
> > > contributions are reviewed; new contributors are guided and do
> > understand how
> > > the project ticks. The easy feedback flow attracts new people, allowing
> > the
> > > community to grow and thrive.
> > >
> > > I am asking _explicitely_ not to re-start the bickering I have already
> > > seen. At this point I am interested in the purely technical side of
> this.
> > >
> > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > [2] http://bigtop.apache.org/team-list.html
> > > [3]
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > [4] http://s.apache.org/iZl
> > >
> > > With regards,
> > > Cos
> > >
> > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > Github user elbamos commented on the pull request:
> > > >
> > > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > >
> > > > The current push should resolve some issues with changes in the
> > > > Spark-Zeppelin interface that had created issues for users, as
> > well as
> > > > support for 1.5.1.
> > > >
> > > > Knitr support is improved, and the reason for a separate knitr
> > interpreter may be clearer now.
> > > >
> > > > The amount of code borrowed from rscala is reduced.
> > > >
> > > > I did not address issues with @author tags, or files under the R/
> > > > folder. The reason is, to be blunt, I don't understand what the
> > precise
> > > > concerns actually are.
> > > >
> > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > later.
> > > > I'm sure there is a better way to do it, but I'm just not in a
> > position
> > > > to try to figure out the entire Zeppelin build process.
> > > >
> > > > Integrating this with the rest of zeppelin is going to take some
> > work
> > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > but I'm
> > > > going to need to discuss it with the people who have been "owning"
> > those
> > > > files. There are just too many moving pieces here.
> > > >
> > > > Because of the size of this (which is, unfortunately, necessary),
> > > > posting here is probably not the most efficient way. That is also
> > true
> > > > because certain people chose to use this PR as a forum to air other
> > > > issues. Therefore, it would be better if reviewers e-mail me
> > directly.
> >
> >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
On Wed, Dec 2, 2015 at 1:09 AM Amos B. Elberg <am...@gmail.com> wrote:
> I am going to try to minimize my reaction to Moon’s e-mail.
>
> The tl;dr is this:
>
> The reason we are having this discussion now is that active users of the
> PR — which now has its own user base — went public to complain about this.
> The PR has been tested by an active user base for more than three months.
> No-one has been able to identify any specific actual licensing problem, and
> the PR was prepared based on an extensive, careful review of the relevant
> licensing issues and after contacting the relevant people.
>
>
I admire every software that used by user and helping people. That includes
your work. But that's not the topic we're in discussion. Active user does
not mean your contribution can ignore the review.
> It is not an explanation for someone who has been ignoring my “how can I
> move this forward…” emails for three months to point the finger and say I
> didn’t contact the right person or file the right report.
>
>
This is also not the topic in this discussion.
> The burden for providing an explanation for the inaction is on the PMCC at
> this point.
I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> core, why do you think other PRs are passing CI?
> They’re not! I often see comments on PRs to just ignore that CI is
> failing.
>
> One of the most common reasons this PR fails CI, is CI times-out
> downloading Spark to install. How could that possibly be caused by the PR?
>
> It looks to me like the only PRs with changes to the relevant parts of the
> code — the SparkInterpreter — are being made by the person who wrote the
> testing suite.
>
> So, that would explain why some other PRs pass CI: Neither the
> SparkInterpreter nor the testing suite are stable or robust, but since the
> PRs are coming from the person who wrote both…
>
> And let's say Zeppelin core has problem and that makes your PR fails on CI
> test. That's possible. But it still does not mean we can merge it with CI
> failing.
>
> It means you should be working with me to figure out why the CI is failing.
>
> This PR has been tested by an active user base for the past three months.
> If CI is continuing to fail, and dozens of hours of effort have not
> resolved the CI issues, then it is time to start considering whether the
> testing suite is part of the problem.
>
> The level of defensiveness about the CI and SparkInterpreter is not
> helping to resolve these issues.
>
> If you think it's problem on Zeppelin core, then file an issue that
> reproduce the problem on Zeppelin core, that might be more efficient than
> keep trying yourself.
> I contacted you numerous times about such issues...
>
I remember i commented your issue about CI. but you just keep repeated it's
not your problem but Zeppelin core problem.
Then please file an issue about the problem you found in Zeppelin Core.
Then everyone will get into the problem.
>
> In my interpretation, KnitRInterpreter is not an optional feature while it
> is always enabled when compiling Zeppelin and always enabled when running
> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> it will fail when no KnitR is installed on the system)
>
> Its not always enabled.
> It is not dynamically linked at runtime.
> It will not fail when knitr is missing. If knitr is not present, the repl
> interpreter starts and a note is written to to the log that the knitr
> interpreter isn’t available because knitr is not present.
>
> no Apache code can ever call a shell script, on the purpose of dynamic
> linking with GPL library.
> You misunderstand.
>
> The *shell* is GPL'd.
>
> Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends on a
> shell script to launch?
>
Obviously not.
>
> The interaction with R in the PR is the same.
>
>
Again, bash is one of exceptions of GPL, like other GPL licensed
compiler/interpreter.
Check here why Bash and R is okay with Apache License.
https://stat.ethz.ch/pipermail/r-help/2008-July/169332.html
I'm not sure we can apply the same exception for 'using' KnitR.
My point is not 'KnitR' is optional or not. Point is 'KnitRInterpreter' you
wrote is not an optional feature. Which is clearly not optionally enabled
code and feature. And that depends on KnitR library which is GPL.
> I was guessing SparkR can be still in Apache License even if it is depends
> on R. Because of GPL licensed compiler generated output is not GPL license.
> and R is sort of compiler. If you can get answer from Spark community how
> SparkR get managed to stay in Apache License while R is GPL, the answer
> might help.
> The description of SparkR is not accurate in any respect. (Do you think
> SparkR is not talking to GPL-licensed libraries?)
>
> I don’t see that any genuine issue is being raised here.
>
> If there is an issue, the burden is on you to identify it.
>
> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
> contribution branch for some reason. It is not the really the best
> practice, but still okay while most contributions are not including large
> code base changes
> However, your one, has more than 4000 lines of code change. If you rebase
> then review should be started from the beginning, again. So you might want
> to minimize the rebase your branch.
>
> Are you actually complaining that the problem is that I rebased the code
> during the three-month period when no-one looked at it and Zeppelin went
> through a release?
>
> I cannot take it seriously when you say things like this.
>
> Having to “start from the beginning” cannot be a problem if you never
> actually started the first time...
>
>
You wanted coordination and cooperation. So i gave you suggestion that
helping review process. For example, your code has been rebased since my
comment and jongyoul's comment. that means committers will need to look
from the beginning. That'll require more time. And maybe, i guess that's
not what you want. But If you don't care, feel free to rebase.
Thanks,
moon
>
> From: moon soo Lee <mo...@apache.org>
> Reply: moon soo Lee <mo...@apache.org>
> Date: December 1, 2015 at 4:42:06 AM
> To: Amos B. Elberg <am...@gmail.com>,
> dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com>
> wrote:
> Thank you, Cos.
>
> I’d like to briefly address the issues raised by Moon:
>
> 1. This PR does not passes CI
> The CI fails on core Zeppelin, *not* code in this PR.
>
> I’ve been seeking assistance on this since August.
>
> The most common reason is that SparkInterpreter is unable to launch Spark
> and open a Spark Backend. This is necessary to test the PR.
>
> 60+ hours, has been spent adapting and re-basing when the SparkInterpreter
> architecture changed and broke the PR’s *tests.*
>
>
> I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
> core, why do you think other PRs are passing CI?
>
> And let's say Zeppelin core has problem and that makes your PR fails on CI
> test. That's possible. But it still does not mean we can merge it with CI
> failing.
>
> If you think it's problem on Zeppelin core, then file an issue that
> reproduce the problem on Zeppelin core, that might be more efficient than
> keep trying yourself.
>
>
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> What license problem *specifically* do you believe may exist?
>
> In preparing the PR, I:
>
> * Reviewed the Apache policy in detail.
>
> * Contacted the FSF to ask their interpretation of the “linking”
> provisions of the GPL license.
>
> * Reviewed how other Apache software deals with this issue (e.g., Spark
> talks to R, which is GPL'd).
>
> * No necessary *dependencies* of the PR have license conflicts. In
> several cases, I contacted package authors who agreed to re-issue their
> packages under Apache-compatible licenses. (Usually I had to do a bit of
> coding in exchange…)
>
> * Where the license had to stay GPL, the packages are *not necessary* and
> *not dependencies.* If the optional packages are present, they will be
> used to enable additional functionality. Knitr is an example. The PR will
> compile and run fine without knitr. If knitr is available (it is part of
> the most common R distribution), the PR will enable the knitr interpreter.
>
> * This is exactly how this issue is addressed through the Apache
> ecosystem.
> The tl;dr is this: When Apache code is written to talk to libraries that
> may or may not be present on the user’s system, or where it talks to an API
> but is agnostic about implementation, that is not “linking” in a way that
> implicate the anti-linking provision of the GPL.
>
> Otherwise, no Apache code could ever call a shell script! Let alone run
> on Linux, or talk to R.
>
>
> I'm not a legal expert. So following could be wrong.
>
> In my interpretation, KnitRInterpreter is not an optional feature while it
> is always enabled when compiling Zeppelin and always enabled when running
> Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
> it will fail when no KnitR is installed on the system)
>
> And of course, no Apache code can ever call a shell script, on the purpose
> of dynamic linking with GPL library.
>
> I was guessing SparkR can be still in Apache License even if it is depends
> on R. Because of GPL licensed compiler generated output is not GPL license.
> and R is sort of compiler.
>
> If you can get answer from Spark community how SparkR get managed to stay
> in Apache License while R is GPL, the answer might help.
>
>
> 3. Need more time to review.
> Has any reviewer has downloaded the PR or run the demo notebook? (Which
> is there for the benefit of reviewers, and isn’t intended to go in final
> distribution.)
>
> How many +1 comments from users would you like to see?
>
> How much time do you believe is required?
>
>
> It all depends on when CI is going to pass, when license problem is going
> to be cleared, and when a committer willing to review and responsible to
> commit your contribution.
>
>
> 1. Large code base change
> Large code base changes require coordination and cooperation. This PR
> necessarily implicates the build scripts, testing code, the
> SparkInterpreter, etc.
>
> I have been seeking to coordinate since August.
>
> I continue to stand ready to do so.
>
> -Amos
>
>
> If i give you one suggestion, Zeppelin committers sometimes ask rebase the
> contribution branch for some reason. It is not the really the best
> practice, but still okay while most contributions are not including large
> code base changes.
>
> However, your one, has more than 4000 lines of code change. If you rebase
> then review should be started from the beginning, again. So you might want
> to minimize the rebase your branch.
>
> Thanks,
> moon
>
>
> From: moon soo Lee <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org <
> dev@zeppelin.incubator.apache.org>
> Date: December 1, 2015 at 1:34:19 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
> request: R Interpreter for Zeppelin
>
> Hi Cos,
>
> Thanks for opening a discussion.
> My answer about 'Why this PR is open for three months' is
>
> 1. This PR does not passes CI
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> 3. Need more time to review.
>
> It's my personal answer, other committers may have different opinion.
>
>
> I think the question should be generalized. Because this PR is not the only
> PR that is in impasse. There're more. For example
>
> Here's some examples that PR is not been merged.
> https://github.com/apache/incubator-zeppelin/pull/53,
> https://github.com/apache/incubator-zeppelin/pull/60
> and so on.
>
> I can categorize the cases, based on experience of involving Zeppelin
> community from the beginning.
>
> 1. Large code base change
>
> When contribution has large code base changes, it tend to take more time to
> review and merged. Normally, most contributions merged in 1day~1 week.
> But some contribution has large code base changes take 2~4 weeks. Few
> contribution that has very large code base change take months.
>
> 2. Communication lost
>
> Sometimes, committer is not responding, or contributor is not responding.
>
> 3. Opinion diverges
>
> For some changes, included in contribution. When people have different
> opinion and it continue to diverges, those PRs are not been merged.
>
>
> I think having a guide such as ping other committer when a committer is not
> responding, and divide contribution into small peaces if possible, would
> help most of the cases.
> Of course committer have to pay attention more to the contribution and
> helping people. That's the first one.
>
> Thanks,
> moon
>
> On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
>
> > To make sure we're on the same page, here are two threads that I found
> > related
> > to this topic.
> >
> > Thread 1:
> > Subject: R?
> > Started on: July 1, 2015
> >
> > Thread 2:
> > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > Started on: August 13, 2015
> >
> > If you want to fetch these from our archive send emails to
> > dev-thread.1735@zeppelin.incubator.apache.org
> > dev-thread.3573@zeppelin.incubator.apache.org
> >
> > Cos
> >
> > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > Guys,
> > >
> > > While catching up on my emails from the last a couple of weeks, this
> > thread
> > > caught my attention. I am not normally paying much attention to the
> code
> > > reviews traffic from GH, but this one is pretty different as it spans
> > three
> > > months and counting.
> > >
> > > First, here are my five cents:
> > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > contributed to
> > > an ASF project this file should simply contain ASL2 text, like in [1]
> > > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
> > but
> > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > maintain this in the source code, but we have the list of all the
> > > committers on the project's site [2] Every new committer's first
> > commit is
> > > to update the team page ;)
> > > - comments like in
> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > >
> > > +/**
> > > + * Created by aelberg on 7/28/15.
> > > + */
> > >
> > > is better to be removed. It has been already discussed here [3]. And
> > the
> > > initial discussion on the topic [4] was linked as well
> > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > R-specific
> > > stuff - I have no idea about R, honestly, but
> > >
> > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > ...
> > > +Author: David B. Dahl
> > >
> > > shouldn't be here, IMO. Normally, if some additional licenses are
> > used,
> > > they have to be listed in the top-level NOTICE file (already there).
> > >
> > > - I am not going to offer any comments on the technical merits of the
> > patch,
> > > as I haven't tried it personally. However, I don't see any serious
> > > technical objections to the functionality in question.
> > >
> > > So, the question is - why the PR is open for three months? I hasn't
> been
> > able
> > > to get a clear answer. What I found out though is pretty unsettling,
> > really.
> > > The communication on the topic is almost non-existent, except for this
> > sparse
> > > and bitter thread in the GH.
> > >
> > > I would love to hear from the committers what's stopping the acceptance
> > of the
> > > code, besides of the minor issues I've mentioned earlier? What are the
> > reasons for it?
> > > Is there anything wrong with it?
> > > One of the responsibilities of the committers is to make sure the
> > > contributions are reviewed; new contributors are guided and do
> > understand how
> > > the project ticks. The easy feedback flow attracts new people, allowing
> > the
> > > community to grow and thrive.
> > >
> > > I am asking _explicitely_ not to re-start the bickering I have already
> > > seen. At this point I am interested in the purely technical side of
> this.
> > >
> > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > [2] http://bigtop.apache.org/team-list.html
> > > [3]
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > [4] http://s.apache.org/iZl
> > >
> > > With regards,
> > > Cos
> > >
> > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > Github user elbamos commented on the pull request:
> > > >
> > > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > >
> > > > The current push should resolve some issues with changes in the
> > > > Spark-Zeppelin interface that had created issues for users, as
> > well as
> > > > support for 1.5.1.
> > > >
> > > > Knitr support is improved, and the reason for a separate knitr
> > interpreter may be clearer now.
> > > >
> > > > The amount of code borrowed from rscala is reduced.
> > > >
> > > > I did not address issues with @author tags, or files under the R/
> > > > folder. The reason is, to be blunt, I don't understand what the
> > precise
> > > > concerns actually are.
> > > >
> > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > later.
> > > > I'm sure there is a better way to do it, but I'm just not in a
> > position
> > > > to try to figure out the entire Zeppelin build process.
> > > >
> > > > Integrating this with the rest of zeppelin is going to take some
> > work
> > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > but I'm
> > > > going to need to discuss it with the people who have been "owning"
> > those
> > > > files. There are just too many moving pieces here.
> > > >
> > > > Because of the size of this (which is, unfortunately, necessary),
> > > > posting here is probably not the most efficient way. That is also
> > true
> > > > because certain people chose to use this PR as a forum to air other
> > > > issues. Therefore, it would be better if reviewers e-mail me
> > directly.
> >
> >
> >
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
I am going to try to minimize my reaction to Moon’s e-mail.
The tl;dr is this:
The reason we are having this discussion now is that active users of the PR — which now has its own user base — went public to complain about this.
The PR has been tested by an active user base for more than three months. No-one has been able to identify any specific actual licensing problem, and the PR was prepared based on an extensive, careful review of the relevant licensing issues and after contacting the relevant people.
It is not an explanation for someone who has been ignoring my “how can I move this forward…” emails for three months to point the finger and say I didn’t contact the right person or file the right report.
The burden for providing an explanation for the inaction is on the PMCC at this point.
I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin core, why do you think other PRs are passing CI?
They’re not! I often see comments on PRs to just ignore that CI is failing.
One of the most common reasons this PR fails CI, is CI times-out downloading Spark to install. How could that possibly be caused by the PR?
It looks to me like the only PRs with changes to the relevant parts of the code — the SparkInterpreter — are being made by the person who wrote the testing suite.
So, that would explain why some other PRs pass CI: Neither the SparkInterpreter nor the testing suite are stable or robust, but since the PRs are coming from the person who wrote both…
And let's say Zeppelin core has problem and that makes your PR fails on CI test. That's possible. But it still does not mean we can merge it with CI failing.
It means you should be working with me to figure out why the CI is failing.
This PR has been tested by an active user base for the past three months. If CI is continuing to fail, and dozens of hours of effort have not resolved the CI issues, then it is time to start considering whether the testing suite is part of the problem.
The level of defensiveness about the CI and SparkInterpreter is not helping to resolve these issues.
If you think it's problem on Zeppelin core, then file an issue that reproduce the problem on Zeppelin core, that might be more efficient than keep trying yourself.
I contacted you numerous times about such issues...
In my interpretation, KnitRInterpreter is not an optional feature while it is always enabled when compiling Zeppelin and always enabled when running Zeppelin. And it requires dynamically linked GPL library on runtime. (yes it will fail when no KnitR is installed on the system)
Its not always enabled.
It is not dynamically linked at runtime.
It will not fail when knitr is missing. If knitr is not present, the repl interpreter starts and a note is written to to the log that the knitr interpreter isn’t available because knitr is not present.
no Apache code can ever call a shell script, on the purpose of dynamic linking with GPL library.
You misunderstand.
The *shell* is GPL'd.
Is Zeppelin “linked" against the GPL’d shell because Zeppelin depends on a shell script to launch?
Obviously not.
The interaction with R in the PR is the same.
I was guessing SparkR can be still in Apache License even if it is depends on R. Because of GPL licensed compiler generated output is not GPL license. and R is sort of compiler. If you can get answer from Spark community how SparkR get managed to stay in Apache License while R is GPL, the answer might help.
The description of SparkR is not accurate in any respect. (Do you think SparkR is not talking to GPL-licensed libraries?)
I don’t see that any genuine issue is being raised here.
If there is an issue, the burden is on you to identify it.
If i give you one suggestion, Zeppelin committers sometimes ask rebase the contribution branch for some reason. It is not the really the best practice, but still okay while most contributions are not including large code base changes
However, your one, has more than 4000 lines of code change. If you rebase then review should be started from the beginning, again. So you might want to minimize the rebase your branch.
Are you actually complaining that the problem is that I rebased the code during the three-month period when no-one looked at it and Zeppelin went through a release?
I cannot take it seriously when you say things like this.
Having to “start from the beginning” cannot be a problem if you never actually started the first time...
From: moon soo Lee <mo...@apache.org>
Reply: moon soo Lee <mo...@apache.org>
Date: December 1, 2015 at 4:42:06 AM
To: Amos B. Elberg <am...@gmail.com>, dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com> wrote:
Thank you, Cos.
I’d like to briefly address the issues raised by Moon:
1. This PR does not passes CI
The CI fails on core Zeppelin, *not* code in this PR.
I’ve been seeking assistance on this since August.
The most common reason is that SparkInterpreter is unable to launch Spark and open a Spark Backend. This is necessary to test the PR.
60+ hours, has been spent adapting and re-basing when the SparkInterpreter architecture changed and broke the PR’s *tests.*
I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin core, why do you think other PRs are passing CI?
And let's say Zeppelin core has problem and that makes your PR fails on CI test. That's possible. But it still does not mean we can merge it with CI failing.
If you think it's problem on Zeppelin core, then file an issue that reproduce the problem on Zeppelin core, that might be more efficient than keep trying yourself.
2. Not 100% sure this PR has no license issue. (about KniteR)
What license problem *specifically* do you believe may exist?
In preparing the PR, I:
* Reviewed the Apache policy in detail.
* Contacted the FSF to ask their interpretation of the “linking” provisions of the GPL license.
* Reviewed how other Apache software deals with this issue (e.g., Spark talks to R, which is GPL'd).
* No necessary *dependencies* of the PR have license conflicts. In several cases, I contacted package authors who agreed to re-issue their packages under Apache-compatible licenses. (Usually I had to do a bit of coding in exchange…)
* Where the license had to stay GPL, the packages are *not necessary* and *not dependencies.* If the optional packages are present, they will be used to enable additional functionality. Knitr is an example. The PR will compile and run fine without knitr. If knitr is available (it is part of the most common R distribution), the PR will enable the knitr interpreter.
* This is exactly how this issue is addressed through the Apache ecosystem.
The tl;dr is this: When Apache code is written to talk to libraries that may or may not be present on the user’s system, or where it talks to an API but is agnostic about implementation, that is not “linking” in a way that implicate the anti-linking provision of the GPL.
Otherwise, no Apache code could ever call a shell script! Let alone run on Linux, or talk to R.
I'm not a legal expert. So following could be wrong.
In my interpretation, KnitRInterpreter is not an optional feature while it is always enabled when compiling Zeppelin and always enabled when running Zeppelin. And it requires dynamically linked GPL library on runtime. (yes it will fail when no KnitR is installed on the system)
And of course, no Apache code can ever call a shell script, on the purpose of dynamic linking with GPL library.
I was guessing SparkR can be still in Apache License even if it is depends on R. Because of GPL licensed compiler generated output is not GPL license. and R is sort of compiler.
If you can get answer from Spark community how SparkR get managed to stay in Apache License while R is GPL, the answer might help.
3. Need more time to review.
Has any reviewer has downloaded the PR or run the demo notebook? (Which is there for the benefit of reviewers, and isn’t intended to go in final distribution.)
How many +1 comments from users would you like to see?
How much time do you believe is required?
It all depends on when CI is going to pass, when license problem is going to be cleared, and when a committer willing to review and responsible to commit your contribution.
1. Large code base change
Large code base changes require coordination and cooperation. This PR necessarily implicates the build scripts, testing code, the SparkInterpreter, etc.
I have been seeking to coordinate since August.
I continue to stand ready to do so.
-Amos
If i give you one suggestion, Zeppelin committers sometimes ask rebase the contribution branch for some reason. It is not the really the best practice, but still okay while most contributions are not including large code base changes.
However, your one, has more than 4000 lines of code change. If you rebase then review should be started from the beginning, again. So you might want to minimize the rebase your branch.
Thanks,
moon
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 1, 2015 at 1:34:19 AM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Hi Cos,
Thanks for opening a discussion.
My answer about 'Why this PR is open for three months' is
1. This PR does not passes CI
2. Not 100% sure this PR has no license issue. (about KniteR)
3. Need more time to review.
It's my personal answer, other committers may have different opinion.
I think the question should be generalized. Because this PR is not the only
PR that is in impasse. There're more. For example
Here's some examples that PR is not been merged.
https://github.com/apache/incubator-zeppelin/pull/53,
https://github.com/apache/incubator-zeppelin/pull/60
and so on.
I can categorize the cases, based on experience of involving Zeppelin
community from the beginning.
1. Large code base change
When contribution has large code base changes, it tend to take more time to
review and merged. Normally, most contributions merged in 1day~1 week.
But some contribution has large code base changes take 2~4 weeks. Few
contribution that has very large code base change take months.
2. Communication lost
Sometimes, committer is not responding, or contributor is not responding.
3. Opinion diverges
For some changes, included in contribution. When people have different
opinion and it continue to diverges, those PRs are not been merged.
I think having a guide such as ping other committer when a committer is not
responding, and divide contribution into small peaces if possible, would
help most of the cases.
Of course committer have to pay attention more to the contribution and
helping people. That's the first one.
Thanks,
moon
On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
> To make sure we're on the same page, here are two threads that I found
> related
> to this topic.
>
> Thread 1:
> Subject: R?
> Started on: July 1, 2015
>
> Thread 2:
> Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> Zeppelin
> Started on: August 13, 2015
>
> If you want to fetch these from our archive send emails to
> dev-thread.1735@zeppelin.incubator.apache.org
> dev-thread.3573@zeppelin.incubator.apache.org
>
> Cos
>
> On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > Guys,
> >
> > While catching up on my emails from the last a couple of weeks, this
> thread
> > caught my attention. I am not normally paying much attention to the code
> > reviews traffic from GH, but this one is pretty different as it spans
> three
> > months and counting.
> >
> > First, here are my five cents:
> > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> contributed to
> > an ASF project this file should simply contain ASL2 text, like in [1]
> > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
> but
> > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > maintain this in the source code, but we have the list of all the
> > committers on the project's site [2] Every new committer's first
> commit is
> > to update the team page ;)
> > - comments like in
> r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> >
> > +/**
> > + * Created by aelberg on 7/28/15.
> > + */
> >
> > is better to be removed. It has been already discussed here [3]. And
> the
> > initial discussion on the topic [4] was linked as well
> > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> R-specific
> > stuff - I have no idea about R, honestly, but
> >
> > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > ...
> > +Author: David B. Dahl
> >
> > shouldn't be here, IMO. Normally, if some additional licenses are
> used,
> > they have to be listed in the top-level NOTICE file (already there).
> >
> > - I am not going to offer any comments on the technical merits of the
> patch,
> > as I haven't tried it personally. However, I don't see any serious
> > technical objections to the functionality in question.
> >
> > So, the question is - why the PR is open for three months? I hasn't been
> able
> > to get a clear answer. What I found out though is pretty unsettling,
> really.
> > The communication on the topic is almost non-existent, except for this
> sparse
> > and bitter thread in the GH.
> >
> > I would love to hear from the committers what's stopping the acceptance
> of the
> > code, besides of the minor issues I've mentioned earlier? What are the
> reasons for it?
> > Is there anything wrong with it?
> > One of the responsibilities of the committers is to make sure the
> > contributions are reviewed; new contributors are guided and do
> understand how
> > the project ticks. The easy feedback flow attracts new people, allowing
> the
> > community to grow and thrive.
> >
> > I am asking _explicitely_ not to re-start the bickering I have already
> > seen. At this point I am interested in the purely technical side of this.
> >
> > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > [2] http://bigtop.apache.org/team-list.html
> > [3]
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > [4] http://s.apache.org/iZl
> >
> > With regards,
> > Cos
> >
> > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > Github user elbamos commented on the pull request:
> > >
> > >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > >
> > > The current push should resolve some issues with changes in the
> > > Spark-Zeppelin interface that had created issues for users, as
> well as
> > > support for 1.5.1.
> > >
> > > Knitr support is improved, and the reason for a separate knitr
> interpreter may be clearer now.
> > >
> > > The amount of code borrowed from rscala is reduced.
> > >
> > > I did not address issues with @author tags, or files under the R/
> > > folder. The reason is, to be blunt, I don't understand what the
> precise
> > > concerns actually are.
> > >
> > > Please note that I changed .travis.yml to only use spark 1.4 and
> later.
> > > I'm sure there is a better way to do it, but I'm just not in a
> position
> > > to try to figure out the entire Zeppelin build process.
> > >
> > > Integrating this with the rest of zeppelin is going to take some
> work
> > > regarding pom's, travis, and so forth. I can do a lot of that,
> but I'm
> > > going to need to discuss it with the people who have been "owning"
> those
> > > files. There are just too many moving pieces here.
> > >
> > > Because of the size of this (which is, unfortunately, necessary),
> > > posting here is probably not the most efficient way. That is also
> true
> > > because certain people chose to use this PR as a forum to air other
> > > issues. Therefore, it would be better if reviewers e-mail me
> directly.
>
>
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
On Tue, Dec 1, 2015 at 4:40 PM Amos B. Elberg <am...@gmail.com> wrote:
> Thank you, Cos.
>
> I’d like to briefly address the issues raised by Moon:
>
> 1. This PR does not passes CI
>
> The CI fails on core Zeppelin, *not* code in this PR.
>
> I’ve been seeking assistance on this since August.
>
> The most common reason is that SparkInterpreter is unable to launch Spark
> and open a Spark Backend. This is necessary to test the PR.
>
> 60+ hours, has been spent adapting and re-basing when the SparkInterpreter
> architecture changed and broke the PR’s *tests.*
>
I'm sorry, but the other PRs are passing CI. If it's problem on Zeppelin
core, why do you think other PRs are passing CI?
And let's say Zeppelin core has problem and that makes your PR fails on CI
test. That's possible. But it still does not mean we can merge it with CI
failing.
If you think it's problem on Zeppelin core, then file an issue that
reproduce the problem on Zeppelin core, that might be more efficient than
keep trying yourself.
2. Not 100% sure this PR has no license issue. (about KniteR)
>
> What license problem *specifically* do you believe may exist?
>
> In preparing the PR, I:
>
> * Reviewed the Apache policy in detail.
>
> * Contacted the FSF to ask their interpretation of the “linking”
> provisions of the GPL license.
>
> * Reviewed how other Apache software deals with this issue (e.g., Spark
> talks to R, which is GPL'd).
>
> * No necessary *dependencies* of the PR have license conflicts. In
> several cases, I contacted package authors who agreed to re-issue their
> packages under Apache-compatible licenses. (Usually I had to do a bit of
> coding in exchange…)
>
> * Where the license had to stay GPL, the packages are *not necessary* and
> *not dependencies.* If the optional packages are present, they will be
> used to enable additional functionality. Knitr is an example. The PR will
> compile and run fine without knitr. If knitr is available (it is part of
> the most common R distribution), the PR will enable the knitr interpreter.
> * This is exactly how this issue is addressed through the Apache
> ecosystem.
>
> The tl;dr is this: When Apache code is written to talk to libraries that
> may or may not be present on the user’s system, or where it talks to an API
> but is agnostic about implementation, that is not “linking” in a way that
> implicate the anti-linking provision of the GPL.
>
> Otherwise, no Apache code could ever call a shell script! Let alone run
> on Linux, or talk to R.
>
I'm not a legal expert. So following could be wrong.
In my interpretation, KnitRInterpreter is not an optional feature while it
is always enabled when compiling Zeppelin and always enabled when running
Zeppelin. And it requires dynamically linked GPL library on runtime. (yes
it will fail when no KnitR is installed on the system)
And of course, no Apache code can ever call a shell script, on the purpose
of dynamic linking with GPL library.
I was guessing SparkR can be still in Apache License even if it is depends
on R. Because of GPL licensed compiler generated output is not GPL license.
and R is sort of compiler.
If you can get answer from Spark community how SparkR get managed to stay
in Apache License while R is GPL, the answer might help.
3. Need more time to review.
>
> Has any reviewer has downloaded the PR or run the demo notebook? (Which
> is there for the benefit of reviewers, and isn’t intended to go in final
> distribution.)
>
> How many +1 comments from users would you like to see?
>
> How much time do you believe is required?
>
It all depends on when CI is going to pass, when license problem is going
to be cleared, and when a committer willing to review and responsible to
commit your contribution.
1. Large code base change
>
> Large code base changes require coordination and cooperation. This PR
> necessarily implicates the build scripts, testing code, the
> SparkInterpreter, etc.
>
> I have been seeking to coordinate since August.
>
> I continue to stand ready to do so.
>
> -Amos
>
If i give you one suggestion, Zeppelin committers sometimes ask rebase the
contribution branch for some reason. It is not the really the best
practice, but still okay while most contributions are not including large
code base changes.
However, your one, has more than 4000 lines of code change. If you rebase
then review should be started from the beginning, again. So you might want
to minimize the rebase your branch.
Thanks,
moon
> From: moon soo Lee <mo...@apache.org> <mo...@apache.org>
> Reply: dev@zeppelin.incubator.apache.org
> <de...@zeppelin.incubator.apache.org> <de...@zeppelin.incubator.apache.org>
> Date: December 1, 2015 at 1:34:19 AM
> To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
> <de...@zeppelin.incubator.apache.org>
> Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin
> pull request: R Interpreter for Zeppelin
>
> Hi Cos,
>
> Thanks for opening a discussion.
> My answer about 'Why this PR is open for three months' is
>
> 1. This PR does not passes CI
> 2. Not 100% sure this PR has no license issue. (about KniteR)
> 3. Need more time to review.
>
> It's my personal answer, other committers may have different opinion.
>
>
> I think the question should be generalized. Because this PR is not the
> only
> PR that is in impasse. There're more. For example
>
> Here's some examples that PR is not been merged.
> https://github.com/apache/incubator-zeppelin/pull/53,
> https://github.com/apache/incubator-zeppelin/pull/60
> and so on.
>
> I can categorize the cases, based on experience of involving Zeppelin
> community from the beginning.
>
> 1. Large code base change
>
> When contribution has large code base changes, it tend to take more time
> to
> review and merged. Normally, most contributions merged in 1day~1 week.
> But some contribution has large code base changes take 2~4 weeks. Few
> contribution that has very large code base change take months.
>
> 2. Communication lost
>
> Sometimes, committer is not responding, or contributor is not responding.
>
> 3. Opinion diverges
>
> For some changes, included in contribution. When people have different
> opinion and it continue to diverges, those PRs are not been merged.
>
>
> I think having a guide such as ping other committer when a committer is
> not
> responding, and divide contribution into small peaces if possible, would
> help most of the cases.
> Of course committer have to pay attention more to the contribution and
> helping people. That's the first one.
>
> Thanks,
> moon
>
> On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
>
> > To make sure we're on the same page, here are two threads that I found
> > related
> > to this topic.
> >
> > Thread 1:
> > Subject: R?
> > Started on: July 1, 2015
> >
> > Thread 2:
> > Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> > Zeppelin
> > Started on: August 13, 2015
> >
> > If you want to fetch these from our archive send emails to
> > dev-thread.1735@zeppelin.incubator.apache.org
> > dev-thread.3573@zeppelin.incubator.apache.org
> >
> > Cos
> >
> > On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > > Guys,
> > >
> > > While catching up on my emails from the last a couple of weeks, this
> > thread
> > > caught my attention. I am not normally paying much attention to the
> code
> > > reviews traffic from GH, but this one is pretty different as it spans
> > three
> > > months and counting.
> > >
> > > First, here are my five cents:
> > > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> > contributed to
> > > an ASF project this file should simply contain ASL2 text, like in [1]
> > > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
> > but
> > > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > > maintain this in the source code, but we have the list of all the
> > > committers on the project's site [2] Every new committer's first
> > commit is
> > > to update the team page ;)
> > > - comments like in
> > r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> > >
> > > +/**
> > > + * Created by aelberg on 7/28/15.
> > > + */
> > >
> > > is better to be removed. It has been already discussed here [3]. And
> > the
> > > initial discussion on the topic [4] was linked as well
> > > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> > R-specific
> > > stuff - I have no idea about R, honestly, but
> > >
> > > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > > ...
> > > +Author: David B. Dahl
> > >
> > > shouldn't be here, IMO. Normally, if some additional licenses are
> > used,
> > > they have to be listed in the top-level NOTICE file (already there).
> > >
> > > - I am not going to offer any comments on the technical merits of the
> > patch,
> > > as I haven't tried it personally. However, I don't see any serious
> > > technical objections to the functionality in question.
> > >
> > > So, the question is - why the PR is open for three months? I hasn't
> been
> > able
> > > to get a clear answer. What I found out though is pretty unsettling,
> > really.
> > > The communication on the topic is almost non-existent, except for this
> > sparse
> > > and bitter thread in the GH.
> > >
> > > I would love to hear from the committers what's stopping the
> acceptance
> > of the
> > > code, besides of the minor issues I've mentioned earlier? What are the
> > reasons for it?
> > > Is there anything wrong with it?
> > > One of the responsibilities of the committers is to make sure the
> > > contributions are reviewed; new contributors are guided and do
> > understand how
> > > the project ticks. The easy feedback flow attracts new people,
> allowing
> > the
> > > community to grow and thrive.
> > >
> > > I am asking _explicitely_ not to re-start the bickering I have already
> > > seen. At this point I am interested in the purely technical side of
> this.
> > >
> > > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > > [2] http://bigtop.apache.org/team-list.html
> > > [3]
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > > [4] http://s.apache.org/iZl
> > >
> > > With regards,
> > > Cos
> > >
> > > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > > Github user elbamos commented on the pull request:
> > > >
> > > >
> >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > > >
> > > > The current push should resolve some issues with changes in the
> > > > Spark-Zeppelin interface that had created issues for users, as
> > well as
> > > > support for 1.5.1.
> > > >
> > > > Knitr support is improved, and the reason for a separate knitr
> > interpreter may be clearer now.
> > > >
> > > > The amount of code borrowed from rscala is reduced.
> > > >
> > > > I did not address issues with @author tags, or files under the R/
> > > > folder. The reason is, to be blunt, I don't understand what the
> > precise
> > > > concerns actually are.
> > > >
> > > > Please note that I changed .travis.yml to only use spark 1.4 and
> > later.
> > > > I'm sure there is a better way to do it, but I'm just not in a
> > position
> > > > to try to figure out the entire Zeppelin build process.
> > > >
> > > > Integrating this with the rest of zeppelin is going to take some
> > work
> > > > regarding pom's, travis, and so forth. I can do a lot of that,
> > but I'm
> > > > going to need to discuss it with the people who have been "owning"
> > those
> > > > files. There are just too many moving pieces here.
> > > >
> > > > Because of the size of this (which is, unfortunately, necessary),
> > > > posting here is probably not the most efficient way. That is also
> > true
> > > > because certain people chose to use this PR as a forum to air other
> > > > issues. Therefore, it would be better if reviewers e-mail me
> > directly.
> >
> >
> >
>
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin
pull request: R Interpreter for Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
Thank you, Cos.
I’d like to briefly address the issues raised by Moon:
1. This PR does not passes CI
The CI fails on core Zeppelin, *not* code in this PR.
I’ve been seeking assistance on this since August.
The most common reason is that SparkInterpreter is unable to launch Spark and open a Spark Backend. This is necessary to test the PR.
60+ hours, has been spent adapting and re-basing when the SparkInterpreter architecture changed and broke the PR’s *tests.*
2. Not 100% sure this PR has no license issue. (about KniteR)
What license problem *specifically* do you believe may exist?
In preparing the PR, I:
* Reviewed the Apache policy in detail.
* Contacted the FSF to ask their interpretation of the “linking” provisions of the GPL license.
* Reviewed how other Apache software deals with this issue (e.g., Spark talks to R, which is GPL'd).
* No necessary *dependencies* of the PR have license conflicts. In several cases, I contacted package authors who agreed to re-issue their packages under Apache-compatible licenses. (Usually I had to do a bit of coding in exchange…)
* Where the license had to stay GPL, the packages are *not necessary* and *not dependencies.* If the optional packages are present, they will be used to enable additional functionality. Knitr is an example. The PR will compile and run fine without knitr. If knitr is available (it is part of the most common R distribution), the PR will enable the knitr interpreter.
* This is exactly how this issue is addressed through the Apache ecosystem.
The tl;dr is this: When Apache code is written to talk to libraries that may or may not be present on the user’s system, or where it talks to an API but is agnostic about implementation, that is not “linking” in a way that implicate the anti-linking provision of the GPL.
Otherwise, no Apache code could ever call a shell script! Let alone run on Linux, or talk to R.
3. Need more time to review.
Has any reviewer has downloaded the PR or run the demo notebook? (Which is there for the benefit of reviewers, and isn’t intended to go in final distribution.)
How many +1 comments from users would you like to see?
How much time do you believe is required?
1. Large code base change
Large code base changes require coordination and cooperation. This PR necessarily implicates the build scripts, testing code, the SparkInterpreter, etc.
I have been seeking to coordinate since August.
I continue to stand ready to do so.
-Amos
From: moon soo Lee <mo...@apache.org>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 1, 2015 at 1:34:19 AM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Hi Cos,
Thanks for opening a discussion.
My answer about 'Why this PR is open for three months' is
1. This PR does not passes CI
2. Not 100% sure this PR has no license issue. (about KniteR)
3. Need more time to review.
It's my personal answer, other committers may have different opinion.
I think the question should be generalized. Because this PR is not the only
PR that is in impasse. There're more. For example
Here's some examples that PR is not been merged.
https://github.com/apache/incubator-zeppelin/pull/53,
https://github.com/apache/incubator-zeppelin/pull/60
and so on.
I can categorize the cases, based on experience of involving Zeppelin
community from the beginning.
1. Large code base change
When contribution has large code base changes, it tend to take more time to
review and merged. Normally, most contributions merged in 1day~1 week.
But some contribution has large code base changes take 2~4 weeks. Few
contribution that has very large code base change take months.
2. Communication lost
Sometimes, committer is not responding, or contributor is not responding.
3. Opinion diverges
For some changes, included in contribution. When people have different
opinion and it continue to diverges, those PRs are not been merged.
I think having a guide such as ping other committer when a committer is not
responding, and divide contribution into small peaces if possible, would
help most of the cases.
Of course committer have to pay attention more to the contribution and
helping people. That's the first one.
Thanks,
moon
On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
> To make sure we're on the same page, here are two threads that I found
> related
> to this topic.
>
> Thread 1:
> Subject: R?
> Started on: July 1, 2015
>
> Thread 2:
> Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> Zeppelin
> Started on: August 13, 2015
>
> If you want to fetch these from our archive send emails to
> dev-thread.1735@zeppelin.incubator.apache.org
> dev-thread.3573@zeppelin.incubator.apache.org
>
> Cos
>
> On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > Guys,
> >
> > While catching up on my emails from the last a couple of weeks, this
> thread
> > caught my attention. I am not normally paying much attention to the code
> > reviews traffic from GH, but this one is pretty different as it spans
> three
> > months and counting.
> >
> > First, here are my five cents:
> > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> contributed to
> > an ASF project this file should simply contain ASL2 text, like in [1]
> > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
> but
> > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > maintain this in the source code, but we have the list of all the
> > committers on the project's site [2] Every new committer's first
> commit is
> > to update the team page ;)
> > - comments like in
> r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> >
> > +/**
> > + * Created by aelberg on 7/28/15.
> > + */
> >
> > is better to be removed. It has been already discussed here [3]. And
> the
> > initial discussion on the topic [4] was linked as well
> > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> R-specific
> > stuff - I have no idea about R, honestly, but
> >
> > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > ...
> > +Author: David B. Dahl
> >
> > shouldn't be here, IMO. Normally, if some additional licenses are
> used,
> > they have to be listed in the top-level NOTICE file (already there).
> >
> > - I am not going to offer any comments on the technical merits of the
> patch,
> > as I haven't tried it personally. However, I don't see any serious
> > technical objections to the functionality in question.
> >
> > So, the question is - why the PR is open for three months? I hasn't been
> able
> > to get a clear answer. What I found out though is pretty unsettling,
> really.
> > The communication on the topic is almost non-existent, except for this
> sparse
> > and bitter thread in the GH.
> >
> > I would love to hear from the committers what's stopping the acceptance
> of the
> > code, besides of the minor issues I've mentioned earlier? What are the
> reasons for it?
> > Is there anything wrong with it?
> > One of the responsibilities of the committers is to make sure the
> > contributions are reviewed; new contributors are guided and do
> understand how
> > the project ticks. The easy feedback flow attracts new people, allowing
> the
> > community to grow and thrive.
> >
> > I am asking _explicitely_ not to re-start the bickering I have already
> > seen. At this point I am interested in the purely technical side of this.
> >
> > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > [2] http://bigtop.apache.org/team-list.html
> > [3]
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > [4] http://s.apache.org/iZl
> >
> > With regards,
> > Cos
> >
> > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > Github user elbamos commented on the pull request:
> > >
> > >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > >
> > > The current push should resolve some issues with changes in the
> > > Spark-Zeppelin interface that had created issues for users, as
> well as
> > > support for 1.5.1.
> > >
> > > Knitr support is improved, and the reason for a separate knitr
> interpreter may be clearer now.
> > >
> > > The amount of code borrowed from rscala is reduced.
> > >
> > > I did not address issues with @author tags, or files under the R/
> > > folder. The reason is, to be blunt, I don't understand what the
> precise
> > > concerns actually are.
> > >
> > > Please note that I changed .travis.yml to only use spark 1.4 and
> later.
> > > I'm sure there is a better way to do it, but I'm just not in a
> position
> > > to try to figure out the entire Zeppelin build process.
> > >
> > > Integrating this with the rest of zeppelin is going to take some
> work
> > > regarding pom's, travis, and so forth. I can do a lot of that,
> but I'm
> > > going to need to discuss it with the people who have been "owning"
> those
> > > files. There are just too many moving pieces here.
> > >
> > > Because of the size of this (which is, unfortunately, necessary),
> > > posting here is probably not the most efficient way. That is also
> true
> > > because certain people chose to use this PR as a forum to air other
> > > issues. Therefore, it would be better if reviewers e-mail me
> directly.
>
>
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by moon soo Lee <mo...@apache.org>.
Hi Cos,
Thanks for opening a discussion.
My answer about 'Why this PR is open for three months' is
1. This PR does not passes CI
2. Not 100% sure this PR has no license issue. (about KniteR)
3. Need more time to review.
It's my personal answer, other committers may have different opinion.
I think the question should be generalized. Because this PR is not the only
PR that is in impasse. There're more. For example
Here's some examples that PR is not been merged.
https://github.com/apache/incubator-zeppelin/pull/53,
https://github.com/apache/incubator-zeppelin/pull/60
and so on.
I can categorize the cases, based on experience of involving Zeppelin
community from the beginning.
1. Large code base change
When contribution has large code base changes, it tend to take more time to
review and merged. Normally, most contributions merged in 1day~1 week.
But some contribution has large code base changes take 2~4 weeks. Few
contribution that has very large code base change take months.
2. Communication lost
Sometimes, committer is not responding, or contributor is not responding.
3. Opinion diverges
For some changes, included in contribution. When people have different
opinion and it continue to diverges, those PRs are not been merged.
I think having a guide such as ping other committer when a committer is not
responding, and divide contribution into small peaces if possible, would
help most of the cases.
Of course committer have to pay attention more to the contribution and
helping people. That's the first one.
Thanks,
moon
On Tue, Dec 1, 2015 at 1:54 PM Konstantin Boudnik <co...@apache.org> wrote:
> To make sure we're on the same page, here are two threads that I found
> related
> to this topic.
>
> Thread 1:
> Subject: R?
> Started on: July 1, 2015
>
> Thread 2:
> Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for
> Zeppelin
> Started on: August 13, 2015
>
> If you want to fetch these from our archive send emails to
> dev-thread.1735@zeppelin.incubator.apache.org
> dev-thread.3573@zeppelin.incubator.apache.org
>
> Cos
>
> On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> > Guys,
> >
> > While catching up on my emails from the last a couple of weeks, this
> thread
> > caught my attention. I am not normally paying much attention to the code
> > reviews traffic from GH, but this one is pretty different as it spans
> three
> > months and counting.
> >
> > First, here are my five cents:
> > - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be
> contributed to
> > an ASF project this file should simply contain ASL2 text, like in [1]
> > - r/pom.xml perhaps shouldn't contain a separate <developers> section,
> but
> > Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> > maintain this in the source code, but we have the list of all the
> > committers on the project's site [2] Every new committer's first
> commit is
> > to update the team page ;)
> > - comments like in
> r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
> >
> > +/**
> > + * Created by aelberg on 7/28/15.
> > + */
> >
> > is better to be removed. It has been already discussed here [3]. And
> the
> > initial discussion on the topic [4] was linked as well
> > - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is
> R-specific
> > stuff - I have no idea about R, honestly, but
> >
> > +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> > ...
> > +Author: David B. Dahl
> >
> > shouldn't be here, IMO. Normally, if some additional licenses are
> used,
> > they have to be listed in the top-level NOTICE file (already there).
> >
> > - I am not going to offer any comments on the technical merits of the
> patch,
> > as I haven't tried it personally. However, I don't see any serious
> > technical objections to the functionality in question.
> >
> > So, the question is - why the PR is open for three months? I hasn't been
> able
> > to get a clear answer. What I found out though is pretty unsettling,
> really.
> > The communication on the topic is almost non-existent, except for this
> sparse
> > and bitter thread in the GH.
> >
> > I would love to hear from the committers what's stopping the acceptance
> of the
> > code, besides of the minor issues I've mentioned earlier? What are the
> reasons for it?
> > Is there anything wrong with it?
> > One of the responsibilities of the committers is to make sure the
> > contributions are reviewed; new contributors are guided and do
> understand how
> > the project ticks. The easy feedback flow attracts new people, allowing
> the
> > community to grow and thrive.
> >
> > I am asking _explicitely_ not to re-start the bickering I have already
> > seen. At this point I am interested in the purely technical side of this.
> >
> > [1] https://github.com/apache/bigtop/blob/master/LICENSE
> > [2] http://bigtop.apache.org/team-list.html
> > [3]
> http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> > [4] http://s.apache.org/iZl
> >
> > With regards,
> > Cos
> >
> > On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > > Github user elbamos commented on the pull request:
> > >
> > >
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> > >
> > > The current push should resolve some issues with changes in the
> > > Spark-Zeppelin interface that had created issues for users, as
> well as
> > > support for 1.5.1.
> > >
> > > Knitr support is improved, and the reason for a separate knitr
> interpreter may be clearer now.
> > >
> > > The amount of code borrowed from rscala is reduced.
> > >
> > > I did not address issues with @author tags, or files under the R/
> > > folder. The reason is, to be blunt, I don't understand what the
> precise
> > > concerns actually are.
> > >
> > > Please note that I changed .travis.yml to only use spark 1.4 and
> later.
> > > I'm sure there is a better way to do it, but I'm just not in a
> position
> > > to try to figure out the entire Zeppelin build process.
> > >
> > > Integrating this with the rest of zeppelin is going to take some
> work
> > > regarding pom's, travis, and so forth. I can do a lot of that,
> but I'm
> > > going to need to discuss it with the people who have been "owning"
> those
> > > files. There are just too many moving pieces here.
> > >
> > > Because of the size of this (which is, unfortunately, necessary),
> > > posting here is probably not the most efficient way. That is also
> true
> > > because certain people chose to use this PR as a forum to air other
> > > issues. Therefore, it would be better if reviewers e-mail me
> directly.
>
>
>
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Konstantin Boudnik <co...@apache.org>.
To make sure we're on the same page, here are two threads that I found related
to this topic.
Thread 1:
Subject: R?
Started on: July 1, 2015
Thread 2:
Subject: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Started on: August 13, 2015
If you want to fetch these from our archive send emails to
dev-thread.1735@zeppelin.incubator.apache.org
dev-thread.3573@zeppelin.incubator.apache.org
Cos
On Mon, Nov 30, 2015 at 06:27PM, Konstantin Boudnik wrote:
> Guys,
>
> While catching up on my emails from the last a couple of weeks, this thread
> caught my attention. I am not normally paying much attention to the code
> reviews traffic from GH, but this one is pretty different as it spans three
> months and counting.
>
> First, here are my five cents:
> - r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be contributed to
> an ASF project this file should simply contain ASL2 text, like in [1]
> - r/pom.xml perhaps shouldn't contain a separate <developers> section, but
> Zeppelin might have different guidelines on it. Say, Bigtop doesn't
> maintain this in the source code, but we have the list of all the
> committers on the project's site [2] Every new committer's first commit is
> to update the team page ;)
> - comments like in r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
>
> +/**
> + * Created by aelberg on 7/28/15.
> + */
>
> is better to be removed. It has been already discussed here [3]. And the
> initial discussion on the topic [4] was linked as well
> - same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is R-specific
> stuff - I have no idea about R, honestly, but
>
> +License: GPL (>= 2) | BSD_3_clause + file LICENSE
> ...
> +Author: David B. Dahl
>
> shouldn't be here, IMO. Normally, if some additional licenses are used,
> they have to be listed in the top-level NOTICE file (already there).
>
> - I am not going to offer any comments on the technical merits of the patch,
> as I haven't tried it personally. However, I don't see any serious
> technical objections to the functionality in question.
>
> So, the question is - why the PR is open for three months? I hasn't been able
> to get a clear answer. What I found out though is pretty unsettling, really.
> The communication on the topic is almost non-existent, except for this sparse
> and bitter thread in the GH.
>
> I would love to hear from the committers what's stopping the acceptance of the
> code, besides of the minor issues I've mentioned earlier? What are the reasons for it?
> Is there anything wrong with it?
> One of the responsibilities of the committers is to make sure the
> contributions are reviewed; new contributors are guided and do understand how
> the project ticks. The easy feedback flow attracts new people, allowing the
> community to grow and thrive.
>
> I am asking _explicitely_ not to re-start the bickering I have already
> seen. At this point I am interested in the purely technical side of this.
>
> [1] https://github.com/apache/bigtop/blob/master/LICENSE
> [2] http://bigtop.apache.org/team-list.html
> [3] http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
> [4] http://s.apache.org/iZl
>
> With regards,
> Cos
>
> On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> > Github user elbamos commented on the pull request:
> >
> > https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
> >
> > The current push should resolve some issues with changes in the
> > Spark-Zeppelin interface that had created issues for users, as well as
> > support for 1.5.1.
> >
> > Knitr support is improved, and the reason for a separate knitr interpreter may be clearer now.
> >
> > The amount of code borrowed from rscala is reduced.
> >
> > I did not address issues with @author tags, or files under the R/
> > folder. The reason is, to be blunt, I don't understand what the precise
> > concerns actually are.
> >
> > Please note that I changed .travis.yml to only use spark 1.4 and later.
> > I'm sure there is a better way to do it, but I'm just not in a position
> > to try to figure out the entire Zeppelin build process.
> >
> > Integrating this with the rest of zeppelin is going to take some work
> > regarding pom's, travis, and so forth. I can do a lot of that, but I'm
> > going to need to discuss it with the people who have been "owning" those
> > files. There are just too many moving pieces here.
> >
> > Because of the size of this (which is, unfortunately, necessary),
> > posting here is probably not the most efficient way. That is also true
> > because certain people chose to use this PR as a forum to air other
> > issues. Therefore, it would be better if reviewers e-mail me directly.
Re: contributions impasse. Was: [GitHub] incubator-zeppelin pull
request: R Interpreter for Zeppelin
Posted by Konstantin Boudnik <co...@apache.org>.
Guys,
While catching up on my emails from the last a couple of weeks, this thread
caught my attention. I am not normally paying much attention to the code
reviews traffic from GH, but this one is pretty different as it spans three
months and counting.
First, here are my five cents:
- r/R/rzeppelin/LICENSE is wrong: if the code is aimed to be contributed to
an ASF project this file should simply contain ASL2 text, like in [1]
- r/pom.xml perhaps shouldn't contain a separate <developers> section, but
Zeppelin might have different guidelines on it. Say, Bigtop doesn't
maintain this in the source code, but we have the list of all the
committers on the project's site [2] Every new committer's first commit is
to update the team page ;)
- comments like in r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
+/**
+ * Created by aelberg on 7/28/15.
+ */
is better to be removed. It has been already discussed here [3]. And the
initial discussion on the topic [4] was linked as well
- same goes to r/R/rzeppelin/DESCRIPTION. I am not sure if this is R-specific
stuff - I have no idea about R, honestly, but
+License: GPL (>= 2) | BSD_3_clause + file LICENSE
...
+Author: David B. Dahl
shouldn't be here, IMO. Normally, if some additional licenses are used,
they have to be listed in the top-level NOTICE file (already there).
- I am not going to offer any comments on the technical merits of the patch,
as I haven't tried it personally. However, I don't see any serious
technical objections to the functionality in question.
So, the question is - why the PR is open for three months? I hasn't been able
to get a clear answer. What I found out though is pretty unsettling, really.
The communication on the topic is almost non-existent, except for this sparse
and bitter thread in the GH.
I would love to hear from the committers what's stopping the acceptance of the
code, besides of the minor issues I've mentioned earlier? What are the reasons for it?
Is there anything wrong with it?
One of the responsibilities of the committers is to make sure the
contributions are reviewed; new contributors are guided and do understand how
the project ticks. The easy feedback flow attracts new people, allowing the
community to grow and thrive.
I am asking _explicitely_ not to re-start the bickering I have already
seen. At this point I am interested in the purely technical side of this.
[1] https://github.com/apache/bigtop/blob/master/LICENSE
[2] http://bigtop.apache.org/team-list.html
[3] http://apache-nifi-developer-list.39713.n7.nabble.com/author-tags-td1335.html
[4] http://s.apache.org/iZl
With regards,
Cos
On Mon, Nov 16, 2015 at 11:06PM, elbamos wrote:
> Github user elbamos commented on the pull request:
>
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
>
> The current push should resolve some issues with changes in the
> Spark-Zeppelin interface that had created issues for users, as well as
> support for 1.5.1.
>
> Knitr support is improved, and the reason for a separate knitr interpreter may be clearer now.
>
> The amount of code borrowed from rscala is reduced.
>
> I did not address issues with @author tags, or files under the R/
> folder. The reason is, to be blunt, I don't understand what the precise
> concerns actually are.
>
> Please note that I changed .travis.yml to only use spark 1.4 and later.
> I'm sure there is a better way to do it, but I'm just not in a position
> to try to figure out the entire Zeppelin build process.
>
> Integrating this with the rest of zeppelin is going to take some work
> regarding pom's, travis, and so forth. I can do a lot of that, but I'm
> going to need to discuss it with the people who have been "owning" those
> files. There are just too many moving pieces here.
>
> Because of the size of this (which is, unfortunately, necessary),
> posting here is probably not the most efficient way. That is also true
> because certain people chose to use this PR as a forum to air other
> issues. Therefore, it would be better if reviewers e-mail me directly.
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157203411
The current push should resolve some issues with changes in the Spark-Zeppelin interface that had created issues for users, as well as support for 1.5.1.
Knitr support is improved, and the reason for a separate knitr interpreter may be clearer now.
The amount of code borrowed from rscala is reduced.
I did not address issues with @author tags, or files under the R/ folder. The reason is, to be blunt, I don't understand what the precise concerns actually are.
Please note that I changed .travis.yml to only use spark 1.4 and later. I'm sure there is a better way to do it, but I'm just not in a position to try to figure out the entire Zeppelin build process.
Integrating this with the rest of zeppelin is going to take some work regarding pom's, travis, and so forth. I can do a lot of that, but I'm going to need to discuss it with the people who have been "owning" those files. There are just too many moving pieces here.
Because of the size of this (which is, unfortunately, necessary), posting here is probably not the most efficient way. That is also true because certain people chose to use this PR as a forum to air other issues. Therefore, it would be better if reviewers e-mail me directly.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203153427
@elbamos : One thought: The `-Ppyspark` build profile will download the spark distribution in order to pass tests and include pyspark in build the distribution with all required spark dependencies.
Is there an equivalent for this PR to work with CI?
It might also lead to some benefits for the future `-Pbuild-distr` work.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jongyoul <gi...@git.apache.org>.
Github user jongyoul commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156900815
@elbamos Hi, You're misunderstanding the authorship of codes from Apache project including Zeppelin. What @Leemoonsoo said to you is we have tracked your contribution "with git commit logs" not being in codes. You should remove your developer tag in the `r/pom.xml` and delete the files among `r/R/rzeppelin/LICENSE`. If you want to describe some instructions like `r/R/rzeppelin/DESCRIPTION` and `r/R/rzeppelin/README`, please use our documentation rules. You should also delete `r/R/rzeppelin/NEWS` for the same reason. And it's a virtue of not re-indenting any codes you are not editing even though it's wrong. And you divide the supporting of spark 1.4.2 and the being changeable the version of scala to separate issues. This also be a virtue that one issue resolves only one problem. Even if your codes work perfectly but your contribution ignores general ways. I'm a expert of R, thus I don't know how your codes are good but you should consider several things before you contribute to Z
eppelin and another Apache project.
@Leemoonsoo I think that we need to enrich our documentations. The title of this PR doesn't have any connected number of issue from JIRA.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-182175438
@bzz sounds like a good plan.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203234120
@elbamos It is possible to do exactly so, but then we will need to create a new PR from that feature branch to master, in order to get it merged, right?
And this way, that PR will not be under your name (so tooling probably will not pick it up on final merge), also ASF<->GH integration does not grant full rights to committers either, i.e not sure that we will be able to create such PR ->master, as we never tried. What I'm saying is - it might take some time to figure that out, as this is a bit different from the regular process the project followed before.
What do you think would be better?
- treat this branch as "Feature branch" and freeze it, making all CI work on top of it (as PRs to your fork)
- or create a "feature branch" under apache repo, new PR -> master, and PRs with CI work on top of that one
- or create a new "feature branch" under your repo and PRs for CI from there
Let me know what you think!
I'm willing to help nailing down the pyspark tests failures - spark been not reliably launched on CI can be the case indeed, but it is way too "reproducible" - somehow if fails every single time, so it may be just some very simple but un-obvious bug somewhere.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188151976
Great progress, @elbamos thank for quick updates! @hsaputra and @jeffsteinmetz thank you very much for your help!
I was able to reproduce same build failure as on CI, looking into it now.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-163856738
The current version of this is here: https://github.com/elbamos/Zeppelin-With-R
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195057406
The row id's aren't part of the table in R. Also, R actually is formatting the table in a specific way. Try returning a data_frame vs a data.frame in R and see what happens.
If the user wants the "raw text" version, they simply call print() on the table to turn it into a string.
This is a Zeppelin feature!
> On Mar 10, 2016, at 4:13 PM, Jeff Steinmetz <no...@github.com> wrote:
>
> RE: the mtcars example above, R and rstudio returns the dataframe as simple text, not a formatted table and with all of the correct row ids.
>
> > mtcars
> mpg cyl disp hp drat wt qsec vs am gear carb
> Mazda RX4 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4
> Mazda RX4 Wag 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4
> Datsun 710 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1
> Hornet 4 Drive 21.4 6 258.0 110 3.08 3.215 19.44 1 0 3 1
> Hornet Sportabout 18.7 8 360.0 175 3.15 3.440 17.02 0 0 3 2
> Valiant 18.1 6 225.0 105 2.76 3.460 20.22 1 0 3 1
> Duster 360 14.3 8 360.0 245 3.21 3.570 15.84 0 0 3 4
> Merc 240D 24.4 4 146.7 62 3.69 3.190 20.00 1 0 4 2
> Merc 230 22.8 4 140.8 95 3.92 3.150 22.90 1 0 4 2
> Merc 280 19.2 6 167.6 123 3.92 3.440 18.30 1 0 4 4
> —
> Reply to this email directly or view it on GitHub.
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-202711574
Should the interpreter list %r in the header?
Right now it shows %knitr, but not %r
**spark** %spark (default) , %sql , %knitr , %pyspark , %spark , %dep
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-184805345
@bzz All of the issues you identified are git-rebase artifacts. None of them are intended as part of the PR. Please keep in mind the PR was originally in August, so there are a lot of opportunities for artifacts like this to arise.
One of the remaining tasks I have, is to eliminate changes that aren't necessary to the PR. Part of that is comparing against current master to make sure inadvertent reversions like these aren't taking place. That's one of the items on your task list, and it isn't complete yet.
The intended changes to the PR are:
* under r/
* A few changes under spark/
* Under docs/
* A small number of changes to the spark-related dependencies in pom files
There are also some changes -- not many -- that are not related to the PR, but were necessary to get Zeppelin to compile at all. For example, when I pulled recent changes last night, there were syntax errors in one of the javascript files. I imagine that these are issues that relate to other PRs conflicting, or to errors in the rebase process. But they will show-up in this interface as changes in the PR.
@jongyoul Yes, you're correct. That isn't intended as part of the PR.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203250652
Open Jira issues for each failed test? It looks that you are just wasting time. These are all issues that *you* committed, to me and to the community, that *you* would do work on, months ago.
So far, what you've done is to, again and again, make lists of the things that *you* haven't done, while lobbing insults at me.
*Licenses*: We have waited months for you to simply decide a rule for where the licenses will go for forked files. Only a PMC member can make that decision. Once it is made, I will put the licenses in the right place. If you want a list, you can use the list that we made previously, which is on this very page.
*CI*: The question is what is the quickest path for you to actually examine whether these errors are anything other than bugs in the testing infrastructure. If you want to divvy things up, i don't care. What I do care about, is that you actually begin to *do* the things that *you* *committed* to do.
Alternatively, we can go back to the consensus of the community, which is simply to merge it.
I'm confident that any of these other issues will be resolved within minutes of accepting that.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-182916680
Guys, thank you for the feedback!
To pursue our plan I have summarize it after the discussion and took the liberty of mentioning those who volunteered to help.
1. [ ] *(amos)* remove changes that are *not required* from this PR, in particular in other modules
* `spark-dependencies/pom.xml`
* `spark/pom.xml`
Create new PRs with those issues.
1. [ ] *(amos)* rebase all work on top of latest master
1. [ ] *(amos, sourav)* add\point to Docs
Move awesome docs from README of https://github.com/elbamos/Zeppelin-With-R to the `/docs/`. Here are [instructions](http://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html) on how to do that.
1. [ ] *(alex)* fix CI failure.
1. [ ] clarify minor copyright issue in `r/R/rzeppelin`
All contributed files (generated as well) should have Apache header, `LICENSE` file removed, third-party under BSD license should not be changed, but mentioned in `zeppelin-distribution/src/bin_license/LICENSE`
1. [ ] fix `/r/pom.xml` formatting: i.e indention [here](https://github.com/apache/incubator-zeppelin/pull/208/files#diff-16eca63f53c817ad231bb79821f6a33dR49) and [here](https://github.com/apache/incubator-zeppelin/pull/208/files#diff-16eca63f53c817ad231bb79821f6a33dR106)
1. [ ] **(amos)** make sure all other source code formatting is consistent
Like [this]( https://github.com/apache/incubator-zeppelin/pull/208/files#diff-b1e5f7257eb27da9958f26d8c763d242R143), [this](https://github.com/apache/incubator-zeppelin/pull/208/files#diff-b1e5f7257eb27da9958f26d8c763d242R153) and [that](https://github.com/apache/incubator-zeppelin/pull/208/files#diff-728dfe61ffb885af17a8b5c7efb44e75R37), etc
-----
Further improvements (in next PR after this got merged):
- update build scripts: either add R a module, or builds only if R is present.
- include R interpreter in the binary build
better be taken care of in further PRs (will be glad to help).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
Re: [GitHub] incubator-zeppelin pull request: R Interpreter for
Zeppelin
Posted by "Amos B. Elberg" <am...@gmail.com>.
If you want stable R support now, then you definitely want to be using the new branch: https://github.com/elbamos/Zeppelin-With-R
It’s built on top of 0.5.5 release so its stable. So far I’ve had one report of trouble installing on Windows with docker, but other than that it seems to be stable and reliable for everyone who’s tried it.
From: Henry Saputra <he...@gmail.com>
Reply: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Date: December 18, 2015 at 11:00:55 AM
To: dev@zeppelin.incubator.apache.org <de...@zeppelin.incubator.apache.org>
Subject: Re: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Sorry for the late reply.
No, I have not tried the new branch. We kinda need support for R so trying
to figure out which branch to focus on.
- Henry
On Monday, December 14, 2015, elbamos <gi...@git.apache.org> wrote:
> Github user elbamos commented on the pull request:
>
>
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-164651464
>
> @hsaputra There shouldn't be any changes in the new branch that are
> relevant to Travis CI testing. If there's anything I can do to move the
> Travis issue forward -- I'm totally open to advice.
>
> Have you tried the new branch, by the way?
>
>
> ---
> 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 infrastructure@apache.org <javascript:;> or
> file a JIRA ticket
> with INFRA.
> ---
>
Re: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Henry Saputra <he...@gmail.com>.
Sorry for the late reply.
No, I have not tried the new branch. We kinda need support for R so trying
to figure out which branch to focus on.
- Henry
On Monday, December 14, 2015, elbamos <gi...@git.apache.org> wrote:
> Github user elbamos commented on the pull request:
>
>
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-164651464
>
> @hsaputra There shouldn't be any changes in the new branch that are
> relevant to Travis CI testing. If there's anything I can do to move the
> Travis issue forward -- I'm totally open to advice.
>
> Have you tried the new branch, by the way?
>
>
> ---
> 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 infrastructure@apache.org <javascript:;> or
> file a JIRA ticket
> with INFRA.
> ---
>
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-164651464
@hsaputra There shouldn't be any changes in the new branch that are relevant to Travis CI testing. If there's anything I can do to move the Travis issue forward -- I'm totally open to advice.
Have you tried the new branch, by the way?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203722796
@bzz Thank you for catching RException - I have taken out the reference to DDahl.
I don't think this is that complicated:
* RClient.scala --- Modified from the original, this is unhandled
* Console.scala --- Originally from scala distribution, unhandled
r/R/rzeppelin/R/*.R (except for rZeppelin.R) --- These are essentially unchanged from rscala.
That's 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188128084
I just pushed fixes for the issue spotted by @jeffsteinmetz, the extraneous R Studio file, and (I think) the misalligned function. @hsaputra can you explain why you believe that code was copied verbatim from someplace it shouldn't have been? "aelberg" is me.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156911495
@felixcheung You're lying.
In fact I found out about what you'd done from a user who contacted you after seeing your slides, and tried to use your git but of course there isn't anything there because you didn't do any work.
This will not go away -- it is going to follow you for a long time.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188353320
I can also update the script I contributed for the virtual machine found in `/scripts/vagrant/zeppelin-dev` to include the required R components and commonly used R packages. Since SparkR is a core component of Apache Spark, as is Python support native to Spark, I think having R as part of the virtual machine base build makes sense.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by ankurmitujjain <gi...@git.apache.org>.
Github user ankurmitujjain commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204264921
Is it 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204268855
I need to take care of Alex' license requests, which I will later this morning.
> On Apr 1, 2016, at 2:10 AM, Ankur Jain <no...@github.com> wrote:
>
> Is it good to merge?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly or view it on GitHub
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204811160
@bzz We are green! Good to go?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188610090
@elbamos - feel free to comment on this ticket:
https://issues.apache.org/jira/browse/ZEPPELIN-700
Can you provide any insight (via comments in ticket 700 as well if you wish) as to "why" each package is required.
i.e. why is the "evaluate" package required, and would the R interpreter work with out 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203721628
@elbamos I have create file list and updated comment above to track our progress https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203673589
Is that the full list? Could you please help answering the questions there, so we could clearly identify licence for each of 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195055673
Many R users prefer to use knitr over a repl. Knitr also enables a lot of things that would otherwise be very complex, like packages for producing properly formatted statistical tables. (Try the papeR package and you'll see what I mean.)
Also, many other packages have hooks for knitr. If we tried to take advantage of those hooks, and the user then used knitr for anything, the functions would overwrite each other.
Otherwise we'd have to count on all the package authors to write their own display code specific to Zeppelin.
> On Mar 10, 2016, at 4:09 PM, Jeff Steinmetz <no...@github.com> wrote:
>
> Does anybody have feedback regarding the use of %knitr for plotting?
> Seems having to use the %knitr interpreter for certain workflows is unnecessary.
>
> any others have feedback as to we we would want to add all of this to get graphing to work: %knitr echo=F,results='asis',message=F,warning=F
>
> instead of just using %r
>
> %r
>
> library(googleVis)
> Motion=gvisMotionChart(Fruits, idvar="Fruit", timevar = "Year")
> print(Motion, tag='chart')
> or if a generic show method was created as a helper (i realize you have .z.show.googleVis(Motion), but it feels like this could be generalized for users and we only need to deal with the %r interpreter.
>
> %r
>
> library(googleVis)
> Motion=gvisMotionChart(Fruits, idvar="Fruit", timevar = "Year")
> z.show(Motion, tag='chart')
> —
> Reply to this email directly or view it on GitHub.
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203751439
@bzz I'm not questioning the wisdom of why you're asking me what to do what you're asking -- I just literally do not understand what you're asking. When you've made a "please clarify" request, I've either been responding to the e-mail, or posting it as a line note. What is it, exactly, that you're asking?
I will write you privately regarding the rest of your response.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203731211
@bzz I'm not sure I understand what you're requesting -- but in any event, I think the issue for right now is resolved, correct?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203834473
@elbamos thank you, it looks great now.
Could you please take care of the last step - updating `LICENSE` files, while I'll focus on [ZEPPELIN-776](https://issues.apache.org/jira/browse/ZEPPELIN-776) ?
Here is updated list, just a few things left
- [x] ~~master and this branch have diverged: we need to either merge master in here, or rebase it on top of the master~~
- [x] ~~revert deletion of `ZeppelinSparkClusterTest.java`~~
- [ ] make CI green
It's almost done, except for [ZEPPELIN-776](https://issues.apache.org/jira/browse/ZEPPELIN-776). I will be looking into today\tomorrow and will post here. If we could not identify the reason today - please feel free to user JUnit Ignore to take it out of the test suite in this PR
- [x] determine the license for files, forked from other open-sourced projects
* [x] `r/src/main/scala/scala/Console.scala` - scala [BSD](http://scala-lang.org/license.html)
* [x] `r/src/main/scala/org/apache/zeppelin/rinterpreter/rscala/Package.scala` rscala [BSD](https://cran.r-project.org/web/packages/rscala/index.html)
* [x] `r/src/main/scala/org/apache/zeppelin/rinterpreter/rscala/RClient.scala` rscala [BSD](https://cran.r-project.org/web/packages/rscala/index.html)
* [x] `r/R/rzeppelin/R/common.R` rscala [BSD](https://github.com/apache/incubator-zeppelin/pull/208/files#r57993531)
* [x] `r/R/rzeppelin/R/globals.R` [rscala](https://github.com/cran/rscala/blob/master/R/globals.R) [BSD](https://cran.r-project.org/web/packages/rscala/index.html)
* [x] `r/R/rzeppelin/R/protocol.R` [rscala](https://github.com/cran/rscala/blob/master/R/protocol.R) [BSD](https://cran.r-project.org/web/packages/rscala/index.html)
* [x] `r/R/rzeppelin/R/rServer.R` rscala [BSD](https://github.com/apache/incubator-zeppelin/pull/208/files#r57994431)
* [x] `r/R/rzeppelin/R/scalaInterpreter.R` rscala [BSD](https://github.com/apache/incubator-zeppelin/pull/208/files#r57994608)
* [x] `r/R/rzeppelin/R/zzz.R` rscala [BSD](https://github.com/apache/incubator-zeppelin/pull/208/files#r57994684)
- [ ] update `LICENSE` files
- [ ] add 2 new files under `licenses/LICENSE-[project]-[version].txt` with full text of the above licenses (for rscala - bolerplate text from https://cran.r-project.org/web/licenses/BSD_3_clause with 3 lines replaced from https://cran.r-project.org/web/packages/rscala/LICENSE, http://www.scala-lang.org/download/#License for Scala)
- [ ] list each license + list of file paths in `./LICENSE`
```
========================================================================
BSD-style licenses
========================================================================
The following components are provided under the BSD-style License. See project link for details.
The text of each license is also included at licenses/LICENSE-[project]-[version].txt.
(BSD 3 Clause) next portions of rscala 1.0.6 (https://dahl.byu.edu/software/rscala/) - https://cran.r-project.org/web/packages/rscala/index.html
r/R/rzeppelin/R/{common.R, globals.R <all the rest of files from the list> }
r/src/main/scala/org/apache/zeppelin/rinterpreter/rscala/{Package.scala, RClient.scala}
(BSD 3 Clause) next portions of Scala http://www.scala-lang.org/download/#License ...<more details here>
r/src/main/scala/scala/Console.scala
```
- [ ] for now, remove rscala from `./zeppelin-distribution/src/bin_license/LICENSE`
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195054465
The R coding style standard is that variables defined by a package are prefixed with a '.' It seemed to me that "z" stands a good chance of being overwritten as soon as, for example, the user deals with 3D data ("z <-...").
R variable scoping is weird.
> On Mar 10, 2016, at 4:01 PM, Jeff Steinmetz <no...@github.com> wrote:
>
> curious why you chose to start the .z.show method calls with a period?
> why not
> z.show
>
> —
> Reply to this email directly or view it on GitHub.
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by smartinsightsfromdata <gi...@git.apache.org>.
Github user smartinsightsfromdata commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204586709
@elbamos A minor comment:
`sudo` type of solution won't work on windows, of course.
From a R perspective, the alternatives I can see are:
- write packages into the user package library. This is what RStudio does with packages like `rstudioapi` or `manipulate`, installed (and updated) into the user package library in a totally transparent way by RStudio
- create a "dedicated", Zeppelin own, library. The solution should make sure that any package loaded or installed by the user is kept "separate" form this dedicated library (for consistency and error avoidance).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by sourav-mazumder <gi...@git.apache.org>.
Github user sourav-mazumder commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188283043
As such that approach makes sense to me.
But wondering how will this work for the Zeppelin binary ? Will Zeppelin
binary not have the R support by default because of this ? So whoever wants
to create his own build ?
So instead of that approach I would suggest if this check/constraint can be
moved at run time level instead of compile time. So whoever tries to run
the interpreter gets the error and he/she then goes and install R. I
believe both SparkR and RStudio work in similar fashion.
Regards,
Sourav
On Wed, Feb 24, 2016 at 5:21 AM, Alexander <no...@github.com> wrote:
> Guys, please correct me if I'm wrong but current R interpreter
> implementation, in order to be compiled, requires R installed on user's
> machine AND it is included in the default build (at least right now) - that
> would result in build failing for every user of Zeppelin out there after
> pulling the change.
>
> I think what we may do, without breaking Zeppelin build for all the users,
> is simply exclude R interpreter build from default build cycle of mvn
> package and put it under profile, i.e -P r as we do with scalding,
> pyspark and other interpreters \w external dependencies . This way those
> who do not need R support will not be affected, at the same time those who
> do - will be able to get it.
>
> What do you guy think? Then I could update CI to use this profile as well.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188252250>
> .
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-197538863
@bzz Can you update us on the status of this? What is the ETA on making progress with CI?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-205051026
@bzz Are we good?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-205298832
Looks good to me. thank you for the efforts.
I think it is ready to be merged, and if there is no more discussion - I will merge it tomorrow.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by echarles <gi...@git.apache.org>.
Github user echarles commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-170337289
I have sent a mail to the dev list http://mail-archives.apache.org/mod_mbox/incubator-zeppelin-dev/201512.mbox/%3C5683E471.9010001%40apache.org%3E
Happy to further discuss.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204846957
Looks awesome! I think there are just 2 minor licence issue that are left in the ..
Copied them here for convenience
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204582739
@bzz Here's where we are:
* I believe all the licensing, rat, and rebasing to-do's are resolved.
* On CI, trying to follow your proposal, if we turn-off sudo in CI, then the pyspark tests pass.
- **BUT** To test the R interpreter, we need to be able to install the R dependencies.
- The base installation directory for R libraries is owned by root and not writable, so we need sudo to change permissions.
- The method used in 702 is to use a user-specific R preference file to store R packages in a non-standard location. We can't use that here, because the R interpreter ignores user-specific preferences and directories --- this is an intentional design decision.
I am experimenting with a few options -- do you have suggestions?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156911343
@elbamos just because *you* said it wouldn't, didn't mean my implementation wouldn't work. I have another user verified that it worked, and then I *encouraged* him to test your PR here.
This is the last I'm going to add on this topic. I have moved on and you should too.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-193061151
@bzz Are there any tasks outstanding that you're waiting on me for? What's left to be done for merge?
The only things I remember are outstanding, is that you were looking into both CI, and where we should put the license for files forked from other sources.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156768636
@Leemoonsoo
Please let me know who from the PPMC I can work with to resolve the continuing problems with the travis build and zeppelin-spark architecture.
Regarding your comments, as I've explained in our e-mail exchange:
##### 1. Scala-R invocation
I am not using rscala.
It is not possible to use the SparkR connection in the way you describe. I did look into this early on. There are numerous packages for interfacing the jvm and R. None of them use two-way connections.
The python-spark and zeppelin integrations you describe leverage an external dependency. There is no comparable package available for R that has a compatible license.
##### 2. Knitr*
As I understand, you don't use R, so it may seem strange to have a separate interpreter rather than a function. That's understandable.
The distinction between the r-repl and knitr interpreters makes perfect sense for people who are coming from R. The repl and knitr handle code, and errors, and output, in fundamentally different ways.
They have different capabilities. It is not possible, consistent with the zeppelin architecture, to put both capabilities into a single interpreter without making the use of that interpreter very unintuitive for someone coming from an R background.
The knit2html() command is something no R user would ever use when making use of R. It is perhaps best thought of as part of the "R operating system."
##### 3, The author tag
That's really fine, but in my view this is the lowest-priority possible item.
The highest priority is the travis build problems. Travis consistently fails building parts *other* than rzeppelin.
The other high priority is consistency with the Zeppelin-Spark interface, which has grown quite complex and difficult to use.
My users have had a long stream of issues getting Spark to work through zeppelin. They get reported to me as rzeppelin issues, but have all turned out to be issues in the way zeppelin and spark interface, e.g., with conflicts between SPARK_HOME and spark.home. rzeppelin needs to be consistent with the rest of the Zeppelin architecture in that regard. This is not something I can fix because I don't own that 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156769919
> I am not using rscala.
>
> It is not possible to use the SparkR connection in the way you describe. I did look into this early on. There are numerous packages for interfacing the jvm and R. None of them use two-way connections.
>
> The python-spark and zeppelin integrations you describe leverage an external dependency. There is no comparable package available for R that has a compatible license.
Correction rscala -> forked-rscala.
You don't need to find any other external package for two-way connection. You can make two-way `R<->JVM` invocation without any external dependency with the same technique used in PySparkInterpreter.
PySpark implements one way connection `Python->JVM` similar to SparkR.
PysparkInterpreter leverage this one way connection and successfully made `JVM->Python` invocation without any external dependency.
I guess RInterpreter can do the same, with SparkR. I'll able to make `JVM->R` invocation without any external dependency and socket connection.
That'll simplify the code base. More precisely, more than 1000 lines of code.
> As I understand, you don't use R, so it may seem strange to have a separate interpreter rather than a function. That's understandable.
>
> The distinction between the r-repl and knitr interpreters makes perfect sense for people who are coming from R. The repl and knitr handle code, and errors, and output, in fundamentally different ways.
>
> They have different capabilities. It is not possible, consistent with the zeppelin architecture, to put both capabilities into a single interpreter without making the use of that interpreter very unintuitive for someone coming from an R background.
>
> The knit2html() command is something no R user would ever use when making use of R. It is perhaps best thought of as part of the "R operating system."
Yes i'm not familiar with R. So please convince me. What KnitR Interpreter doing is basically
```
rContext.set(".zeppknitrinput", st.split("\n"))
rContext.eval(".knitout <- knit2html(text=.zeppknitrinput, envir = rzeppelin:::.zeppenv)")
rContext.getS0(".knitout")
```
and basic usage i found from KnitR website is
```
library(knitr)
?knit
knit(input)
```
So, to me, it's hard to imagine why functions like `z.knite(input)` does not make sense.
If you have use cases, please share.
By the way, KnitR is GPL license. I don't think Zeppelin can have a feature that depends on GPL licensed code.
> That's really fine, but in my view this is the lowest-priority possible item.
License and Copyright problems are one of the hight priority item in Zeppelin project
> The highest priority is the travis build problems. Travis consistently fails building parts other than rzeppelin.
Latest exception from your CI Build is
```
Caused by: java.lang.OutOfMemoryError: PermGen space
at org.apache.zeppelin.rinterpreter.RSparkTest$$anonfun$3.apply$mcV$sp(RSparkTest.scala:51)
An exception or error caused a run to abort. This may have been caused by a problematic custom reporter.
Exception in thread "ScalaTest-main"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ScalaTest-main"
```
Please try to increase PermGem memory option in the test.
> My users have had a long stream of issues getting Spark to work through zeppelin. They get reported to me as rzeppelin issues, but have all turned out to be issues in the way zeppelin and spark interface, e.g., with conflicts between SPARK_HOME and spark.home. rzeppelin needs to be consistent with the rest of the Zeppelin architecture in that regard. This is not something I can fix because I don't own that code.
And https://issues.apache.org/jira/browse/ZEPPELIN-421 will address removal of spark.home property, in Zeppelin setting window. But until that, you can simply not trying to set spark.home.
And technically you don't own Zeppelin code but ASF does. but nothing stops you fix the problem.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204879627
@bzz The push I just made should reflect all of the latest requests. Thank you for pointing out the effect of a case-insensitive FS. There are no substantive changes in this push, so if its going red, its just the random-CI stuff.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204665058
@elbamos I have switched to the containerized sudo-less method of R installation + dependencies in elbamos/Zeppelin-With-R#12 it works, let me rebase and we should be able to merge it in.
The only problem is now un-relaible `devtools::install_github('IRkernel/repr')`...
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-202727314
@jeffsteinmetz I had a typo in the default template, it should be fixed now and %r show up. Thanks for catching!
You are correct that build-distr won't include this --- when we made the work plan for getting the PR merged, we had a consensus to take that item and deal with it separately, so we could get the PR merged and move on as soon as possible.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203673589
Great!
Here is the list of things that need to be done in order to merge this PR:
- [x] ~~master and this branch have diverged: we need to either merge master in here, or rebase it on top of the master~~
- [ ] revert deletion of `ZeppelinSparkClusterTest.java`
- [ ] make CI green
I will be looking into [ZEPPELIN-776](https://issues.apache.org/jira/browse/ZEPPELIN-776) today, will post here. If I could not identify the reason today - please feel free to user JUnit Ignore to take it out of the test suite in this PR, instead of deleting other people's contributions
- [ ] put the license for files, forked from other open-sourced projects in the right place
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195053667
In R, when a string gets returned to the repl by an expression, it gets formatted by calling print(). This is why the magic isn't working as you expect-R is adding formatting. If you write the string with cat() instead of print, it should work, and I'll fix if it doesn't.
However, in R, html is generally created using the 'html' class. If an object of class 'html' is returned by this interpreter, it is passed to Zeppelin with the %html magic for native display.
This is necessary to handle some kinds of interactive visualization. It also means the interpreter will properly display html created by R packages in the manner the user expects.
While I'm somewhat open on this issue as well, I'm pretty sure that the current design is the one that R users will find the most natural.
> On Mar 10, 2016, at 3:59 PM, Jeff Steinmetz <no...@github.com> wrote:
>
> This doesn't work as I would expect:
>
> %r
> print("%html <h1>HTML Works</h1>")
> and %table, %md, etc
> Shouldn't this work similar to other interpreters, and support the zeppelin display system?
>
> this returns rendered html in pyspark
>
> %pyspark
>
> print("%html <h1>HTML Works</h1>")
> as does
>
> %spark
>
> print("%html <h1>HTML Works</h1>")
> —
> Reply to this email directly or view it on GitHub.
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-202682652
The push earlier tonight *should* (if it doesn't, let me know) resolve all comments I've received about this PR.
It currently passes CI for Spark 1.6. The other Spark variants fail on the PySpark tests identified by Alex. Given that Zeppelin's PySpark integration changed in 1.6, and that that change has been a source of several hot-fixes already, the PySpark changes would seem to be the culprit.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-138114960
All: This should now be functional. Tests pass (there may still be some spurious errors on Travis, but I'm not seeing them). And it should run out-of-box. People should definitely start looking at 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by justsomeone1001 <gi...@git.apache.org>.
Github user justsomeone1001 commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-181672499
@bzz Thank you for your attention and efforts to move this forward. I am happy to do the work with respect to the issues you've identified (other than CI, where I'm simply stuck).
Regarding 2, 3, & 6 the version here https://github.com/elbamos/Zeppelin-With-R has documentation and is up-to-date against 0.5.6.
Regarding 1, there are some changes necessary to the substantive code under the spark/ package. They are not major, but are necessary. There are also some revisions to the build system in spark-dependencies and spark. I don't *think* those are necessary, but they do resolve some spark-building issues that people email the list about.
Regarding 5 (licenses): the code under r/R is ASF. Except that a good chunk of it is based on code that is BSD licensed (rscala). (I.e., its a derivative work licensed under ASF but with portions licensed under BSD.) I'm not sure how the license should appear in those cases? Also, some of those files don't have licenses because they're automatically generated during the R-package build process; they're really the output of a build rather than the input.
I will need a day or two to turn to these -- I am also going to try not to respond further until the moratorium is up.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by justsomeone1001 <gi...@git.apache.org>.
Github user justsomeone1001 commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203268802
Its green now, Alex.
ZeppelinSparkClusterTest.java is broken. I will try to fix it, but it
isn't required that I debug broken tests of completely different parts of
Zeppelin in order to merge this PR.
On Wed, Mar 30, 2016 at 1:12 AM, Alexander <no...@github.com> wrote:
> I do not see how this words help. Please ping me when any of the issues
> above are solved and you want me to spend time reviewing this PR again.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203251582>
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-173423103
I've made some progress on testing CI,
at branch
https://github.com/Leemoonsoo/incubator-zeppelin/tree/rinterpreter_jan
at that passes one testing profile (spark-1.6) on CI, but fails on the other profiles (spark-1.5, spark-1.4 ...)
https://travis-ci.org/Leemoonsoo/incubator-zeppelin/builds/103512174
Any people familiar with following exception?
```
16/01/20 02:52:10 INFO SparkContext: Running Spark version 1.5.2
16/01/20 02:52:10 INFO SecurityManager: Changing view acls to: travis
16/01/20 02:52:10 INFO SecurityManager: Changing modify acls to: travis
16/01/20 02:52:10 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(travis); users with modify permissions: Set(travis)
16/01/20 02:52:11 INFO Slf4jLogger: Slf4jLogger started
16/01/20 02:52:11 INFO Remoting: Starting remoting
16/01/20 02:52:11 INFO Remoting: Remoting started; listening on addresses :[akka.tcp://sparkDriver@10.240.0.163:47557]
16/01/20 02:52:11 INFO Utils: Successfully started service 'sparkDriver' on port 47557.
16/01/20 02:52:11 INFO SparkEnv: Registering MapOutputTracker
16/01/20 02:52:11 INFO SparkEnv: Registering BlockManagerMaster
16/01/20 02:52:11 INFO DiskBlockManager: Created local directory at /tmp/blockmgr-d5f6db46-c354-457f-ac04-514cb750f5f7
16/01/20 02:52:11 INFO MemoryStore: MemoryStore started with capacity 530.3 MB
16/01/20 02:52:11 INFO HttpFileServer: HTTP File server directory is /tmp/spark-70746e88-64b6-4e5f-a89a-0acc469f220c/httpd-ee337ade-6d23-4fcb-ac42-1e649e11c626
16/01/20 02:52:11 INFO HttpServer: Starting HTTP Server
16/01/20 02:52:11 INFO Utils: Successfully started service 'HTTP file server' on port 42899.
16/01/20 02:52:11 INFO SparkEnv: Registering OutputCommitCoordinator
16/01/20 02:52:11 INFO Utils: Successfully started service 'SparkUI' on port 4040.
16/01/20 02:52:11 INFO SparkUI: Started SparkUI at http://10.240.0.163:4040
16/01/20 02:52:11 INFO SparkContext: Added JAR file:/home/travis/build/Leemoonsoo/incubator-zeppelin/interpreter/spark/zeppelin-spark-0.6.0-incubating-SNAPSHOT.jar at http://10.240.0.163:42899/jars/zeppelin-spark-0.6.0-incubating-SNAPSHOT.jar with timestamp 1453258331807
16/01/20 02:52:11 INFO FairSchedulableBuilder: Created default pool default, schedulingMode: FIFO, minShare: 0, weight: 1
16/01/20 02:52:11 WARN MetricsSystem: Using default name DAGScheduler for source because spark.app.id is not set.
16/01/20 02:52:11 INFO AppClient$ClientEndpoint: Connecting to master spark://testing-gce-b9b06e11-646b-46d3-9860-831cc900b4f7.c.eco-emissary-99515.internal:7071...
16/01/20 02:52:31 ERROR SparkUncaughtExceptionHandler: Uncaught exception in thread Thread[appclient-registration-retry-thread,5,main]
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@12241de8 rejected from java.util.concurrent.ThreadPoolExecutor@12773a6[Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anonfun$tryRegisterAllMasters$1.apply(AppClient.scala:96)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anonfun$tryRegisterAllMasters$1.apply(AppClient.scala:95)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:108)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint.tryRegisterAllMasters(AppClient.scala:95)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint.org$apache$spark$deploy$client$AppClient$ClientEndpoint$$registerWithMaster(AppClient.scala:121)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anon$2$$anonfun$run$1.apply$mcV$sp(AppClient.scala:132)
at org.apache.spark.util.Utils$.tryOrExit(Utils.scala:1119)
at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anon$2.run(AppClient.scala:124)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
```
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by hsaputra <gi...@git.apache.org>.
Github user hsaputra commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-164649022
Could you try to create Travis job for your fork repository to test the changes?
Shall this PR be closed in favor on new PR from the new branch?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by ankurmitujjain <gi...@git.apache.org>.
Github user ankurmitujjain commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188333139
Agree with @jeffsteinmetz and @bzz
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156868784
@Leemoonsoo @sourav-mazumder @emaasit @felixcheung
Actually, I just watched the youtube video in which, in September, Lee and Felix demo'd this code at the Seattle R users group.
Lee, I will be e-mailing you my phone number. Call me.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-181624753
Guys, R interpreter is a big important and complicated contribution, hope we could make our last push to get that merged.
On my spare time I briefly went thought the this PR again and listed (in order of importance) a few things that I think we need to complete to speed things up and merge this one.
@elbamos @justsomeone1001 @sourav-mazumder @Leemoonsoo @felixcheung please let me know what do you think about this plan.
1. [ ] fraction out changes to other modules out of this PR (will make things simpler to test and review)
* `spark-dependencies/pom.xml`
* `spark/pom.xml`
It should be possible to re-create them as a separate PRs if needed.
1. [ ] rebase on top of latest master
1. [ ] add\point to Docs
AFAIK for a user to enjoy R interpreter, there are some pre-requests like packages to be installed, etc. Is there any documentation on 'how to setup' the environment?
If we could have one under `/docs/` - that would be awesome. It's very easy to add, but this would be very helpful to make more people use it and help us testing it. Here are [docs](http://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html) on how to do that.
1. [ ] *(alex)* CI failing.
1. [ ] clarify minor copyright issue in `r/R/rzeppelin`
[r/R/rzeppelin/LICENSE](https://github.com/apache/incubator-zeppelin/pull/208/files#diff-70a1eaac699ff7afe9f107a9aafe976dR2) rises the question:
is `r/R/rzeppelin/*` a [work under ASF](http://www.apache.org/legal/src-headers.html#headers) or is that a [third-party code](http://www.apache.org/legal/src-headers.html#3party)?
in either case, from my understanding, it needs to be updated according to the links above (either by adding ASF headers to all the files and removing LICENSE, or by listing it in root project's NOTICE file)
1. [ ] fix `/r/pom.xml` formatting
1. [ ] make sure all other source code formatting is consistent
Like [this]( https://github.com/apache/incubator-zeppelin/pull/208/files#diff-b1e5f7257eb27da9958f26d8c763d242R143), [this](https://github.com/apache/incubator-zeppelin/pull/208/files#diff-b1e5f7257eb27da9958f26d8c763d242R153) and [that](https://github.com/apache/incubator-zeppelin/pull/208/files#diff-728dfe61ffb885af17a8b5c7efb44e75R37), etc
If somebody could start with 1-3, I will be happy to help with 4 ASAP, hopefully will have more spare cycles by the end of the week.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195077353
`print(mtcars) `
returns text in a similar way as R as you suggested.
Perhaps some hints in the interpreter docs.
Not seeing the row names as the default zeppelin output was perhaps unexpected behavior for me – I would say I am a moderately frequent user of R.
I don’t live in it every day though.
It does make sense that row names are really not part of the data frame columns.
If somebody wants the row names as a column, they can
myDF <- cbind(Row.Names = rownames(myDF), myDF)
From: elbamos
Reply-To: apache/incubator-zeppelin
Date: Thursday, March 10, 2016 at 1:28 PM
To: apache/incubator-zeppelin
Cc: Jeff Steinmetz
Subject: Re: [incubator-zeppelin] R Interpreter for Zeppelin (#208)
The row id's aren't part of the table in R. Also, R actually is formatting the table in a specific way. Try returning a data_frame vs a data.frame in R and see what happens.
If the user wants the "raw text" version, they simply call print() on the table to turn it into a string.
This is a Zeppelin feature!
> On Mar 10, 2016, at 4:13 PM, Jeff Steinmetz <no...@github.com> wrote:
>
> RE: the mtcars example above, R and rstudio returns the dataframe as simple text, not a formatted table and with all of the correct row ids.
>
> > mtcars
> mpg cyl disp hp drat wt qsec vs am gear carb
> Mazda RX4 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4
> Mazda RX4 Wag 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4
> Datsun 710 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1
> Hornet 4 Drive 21.4 6 258.0 110 3.08 3.215 19.44 1 0 3 1
> Hornet Sportabout 18.7 8 360.0 175 3.15 3.440 17.02 0 0 3 2
> Valiant 18.1 6 225.0 105 2.76 3.460 20.22 1 0 3 1
> Duster 360 14.3 8 360.0 245 3.21 3.570 15.84 0 0 3 4
> Merc 240D 24.4 4 146.7 62 3.69 3.190 20.00 1 0 4 2
> Merc 230 22.8 4 140.8 95 3.92 3.150 22.90 1 0 4 2
> Merc 280 19.2 6 167.6 123 3.92 3.440 18.30 1 0 4 4
> —
> Reply to this email directly or view it on GitHub.
>
—
Reply to this email directly or view it on GitHub.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203155499
@elbamos : It may be unrelated. I didn't take a close look at the specific CI failure - if its unrelated, please disregard.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156865367
@leemoonsoo
I will be rebasing over the next few days.
I the meantime I'm going to go through the issues you raised in sequence...
#### 1. The R-Scala Interface
I've explained several times that the proposal to use SparkR bi-directionally doesn't work. I don't feel that I have more to add about that.
I will try to reduce the size of the code that originated in rscala.
If this is not going to be acceptable to the PCCM, please tell me now.
#### 2. KnitR
What you're proposing is that users enter the same boilerplate, which they would have to figure out for themselves, every time they want to use knitr.
Knitr and the repl are fundamentally two different ways for users to interact with R. They have very different behaviors in terms of error reporting and handling visualizations.
If you don't want to trust me about this, then I suggest we ask some other R users what makes the most sense.
If this is not going to be acceptable to the PCCM, please tell me now.
#### 3. KnitR GPL License
*By the way, KnitR is GPL license. I don't think Zeppelin can have a feature that depends on GPL licensed code.*
KnitR is an **optional** external dependency. This is not a licensing problem.
It is also not a licensing problem to interact with GPL code that isn't supplied with Zeppelin.
For example, **R itself** is GPL code. So it Zeppelin cannot interact with external GPL code, then there cannot be an R interpreter in Zeppelin at all.
Considering that Spark interacts with R, I think this issue is closed.
#### 4. License any copyright
*License and Copyright problems are one of the highest priority item in Zeppelin project*
Huh? What we were talking about is who gets identified in code as the author. That is obviously not a license/copyright issue, its an issue of credit.
You said that it is discouraged to identify anybody as the author in Apache projects.
However, the current code does identify authors, with you identified as the principal author.
So, at this point I'm not sure what you're referring to?
#### 5. Location of the Package
Its fine with me if it goes under /spark. The reason its in /r is that it simplifies testing and development. Someone will have to merge the two build scripts; I'm using scalatest for testing.
#### 6. Travis Builds
Actually the error in the travis logs begins with this:
> 15/09/23 03:12:22 INFO HiveMetaStore: No user is added in admin role, since config is empty
> 15/09/23 03:12:24 WARN SparkInterpreter: Can't create HiveContext. Fallback to SQLContext
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45> )
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
That's not coming from rzeppelin. That's coming from the SparkInterpreter when rzeppelin asks it to initiate a spark backend.
This is what I mean about issues in the spark-zeppelin interface.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203251582
I do not see how this words help. Please ping me when any of the issues above are solved and you want me to spend time reviewing this PR 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203158716
@jeffsteinmetz They're *all* unrelated. That's kind of the point.
A few minutes ago it was passing Spark 1.6 and selenium, but failing everything else. Now, it passes everything else, but fails Spark 1.6 and selenium. The only difference is that I removed one of the REST testing classes.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by ankurmitujjain <gi...@git.apache.org>.
Github user ankurmitujjain commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-187820595
may be this URL can help...
http://jtleek.com/protocols/travis_bioc_devel/
:+1:
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-187961103
@jeffsteinmetz Thanks for your comment. By default, `r` and `knitr` are in the `spark` interpreter group, so Zeppelin lets them be called by `%r`/`%spark.r` or `%knitr`/`%spark.knitr` as equivalents, respectively. I've put in a note in the documentation to clarify.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204351155
@ankurmitujjain please refer https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203834473 for things that need to be taken care of before merging
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203753693
@elbamos I'm sorry for a confusion! I was basically asking you to post same replies that you did before, but in the places where I have posted the questions - comments to particular files, so they can be found later. They are all linked from https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203673589 and marked "please clarify", you can just follow each link and respond by commenting there. It's basically comments on the files, starting from `r/R/rzeppelin/R/common.R` and a bit down.
I also would very much prefer keep the project communication on the list (this thread is mirrored on the list) - so please post here or on the dev@ mailing list directly, if my feedback is required.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-142475266
@jabowles Pls give what I just pushed a try and see if it resolves your issue. I really need a log to be sure I've gotten to the bottom of it, but this may 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-134747106
The check is failing because R is missing in Travis-this is ready for people to start playing with.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157017167
Sometimes people can argue then I see the passion.
But when people don't respect each other, it easily become blaming and fighting.
Let's try to not have blaming and fighting, but productive argue.
@elbamos
#### 1. The R-Scala Interface
> I've explained several times that the proposal to use SparkR bi-directionally doesn't work. I don't feel that I have more to add about that.
>
> I will try to reduce the size of the code that originated in rscala.
>
> If this is not going to be acceptable to the PCCM, please tell me now.
I described multiple times about PySparkInterpreter made successful bi-directional invocation with one way connection provided by py4j, and the some idea can applied to SparkR.
It's up to you taking the idea or not. But i just want to mention that:
* Consider consistent way of communicating from Zeppelin to PySparkInterpreter. That'll later help new contributor understand both PySParkInterpreter, RInterpreter in the same way, together. So can expect more contributors.
* Less chances of problem, it only requires single socket connection between R and JVM.
* Code base will be reduced. Easier maintenance as well as faster code review.
#### 2. KnitR
> What you're proposing is that users enter the same boilerplate, which they would have to figure out for themselves, every time they want to use knitr.
>
> Knitr and the repl are fundamentally two different ways for users to interact with R. They have very different behaviors in terms of error reporting and handling visualizations.
>
> If you don't want to trust me about this, then I suggest we ask some other R users what makes the most sense.
>
> If this is not going to be acceptable to the PCCM, please tell me now.
I explained why i'm thinking it can be implemented as a function `z.knitr(input)`.
You said you're R user. So i'm asking you, can you please provide some use cases or examples why KnitR need to implemented as a separate Interpreter, not a function? You can show how different KnitR and Repl in terms of
* ways for users to interact
* error reporting
* handling visualizations
#### 3. KnitR GPL License
> KnitR is an optional external dependency. This is not a licensing problem.
>
> It is also not a licensing problem to interact with GPL code that isn't supplied with Zeppelin.
>
> For example, R itself is GPL code. So it Zeppelin cannot interact with external GPL code, then there cannot be an R interpreter in Zeppelin at all.
>
> Considering that Spark interacts with R, I think this issue is closed.
I'm not sure how Spark handles license issue with R. My guess is, generally GPL licensed compiler generated output is not applied GPL license. So it could be okay to SparkR give input to R and get output from it and use.
KnitR is i think little bit different. It's running as a library. It is **dynamically linked** with Zeppelin through R.
```
Zeppelin - R - KnitR
```
If you think it's okay, that means not only KnitR but any other GPL licensed library can used inside of Zeppelin in the same way.
#### 4. License any copyright
> License and Copyright problems are one of the highest priority item in Zeppelin project
>
> Huh? What we were talking about is who gets identified in code as the author. That is obviously not a license/copyright issue, its an issue of credit.
>
> You said that it is discouraged to identify anybody as the author in Apache projects.
>
> However, the current code does identify authors, with you identified as the principal author.
>
> So, at this point I'm not sure what you're referring to?
The current code with Author tag (at least my name in Author tag) is written before the copyright is transferred to ASF from NFLabs, by signing https://www.apache.org/licenses/software-grant.txt.
And thanks for pointing me that there're author tags remains, i'm going to remove that.
So please consider your one, too.
#### 6. Travis Builds
> Actually the error in the travis logs begins with this:
>
> 15/09/23 03:12:22 INFO HiveMetaStore: No user is added in admin role, since config is empty
> 15/09/23 03:12:24 WARN SparkInterpreter: Can't create HiveContext. Fallback to SQLContext
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45> > )
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> That's not coming from rzeppelin. That's coming from the SparkInterpreter when rzeppelin asks it to initiate a spark backend.
>
> This is what I mean about issues in the spark-zeppelin interface.
You know what `java.lang.OutOfMemoryError: PermGen space` means.
Then you'll able to fix it no matter where it is coming from. The first thing you can try is increasing PermGem space for the testing.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-205699504
+1
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203730593
@elbamos got it, but could you please post your answers in the comments that I have made, and linked from the list, so we have full conversation history online?
Please keep in mind that I'm asking not because I want so, but because when somebody later on will be curious about the decision we made here, he could just follow the links and read your answers, without the need to follow all hundreds of comments in this thread.
So it will just save the time for future reviewers, that's it. Hope this make sense.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203226945
@bzz It does make sense. Tom's proposal, which everyone liked, was to merge this into a feature version branch, and we can all use that to track down the CI issue.
One of you needs to that -- I can't.
Also -- will you be looking at the causes of these failures? It appears to me that this is exactly the same issue as its been all along, which is that Spark does not reliably launch in CI.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by zhiboz <gi...@git.apache.org>.
Github user zhiboz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-186354062
I second @btiernay 's comment. I do greatly appreciate you guy's efforts here. Look forward to the final 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-186019660
@bzz I'm trying to implement these changes now. A few comments:
* The DESCRIPTION file -- this is a file with a particular format. The license goes in the `License` line of the file, which is the case here.
* The LICENSE file -- for R packages, this is where custom licenses go. I've put the Apache license text into the file.
* Files under r/R/*.R -- The files you identified here are BSD licensed. They're from rscala, and no changes have been made.
* RClient.scala -- The original file did not include the Apache license, but the file has been modified. I've added a line to zeppelin-distribution/src/bin_license --- are we sure, though that that's correct? We're not including binaries, we're making a derivative work from source.
* Console.scala - The license is BSD and BSD-style. The bulk of the file is part of the source to scala itself, which is licensed under a "BSD-style" license. http://www.scala-lang.org/old/node/249.html There are changes that were part of rscala, which is BSD.
Pushing momentarily...
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203240469
So you suggest to keep CI work in this branch is try to fix current issues first and then get back to `ZeppelinSparkClusterTest.java` - it's fine with me.
I would suggest we divide CI work "by profile", and deal with it one by one.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156910880
@felixcheung You're clearly lying since your code never worked and still doesn't. The code is right there on your git -- or rather, it *isn't* there since you never did the work. I kept all of our e-mail exchanges in case I needed the evidence. This discussion belongs in your repo since you are the wrongdoer. That is where it will stay.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189117683
ah, I see. Well, if the pom's aren't setup to include it in the distribution binary that certainly the issue.
I didn't set SPARK_HOME intentionally (did not set up a `zeppelin-env.sh`).
Mainly looking to see if it worked in the distribution with the version of spark embedded in zeppelin.
Is there a sample pom file that I can test that would prepare the zeppelin-distribution binaries as expected?
from the interpreter log:
```
ERROR [2016-02-26 05:03:05,925] ({pool-1-thread-3} TThreadPoolServer.java[run]:296) - Error occurred during processing of message.
org.apache.zeppelin.interpreter.InterpreterException: java.lang.RuntimeException: Could not find rzeppelin - it must be in either R/lib or ../R/lib
```
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-202220759
@bzz Alex - The two "issues" that you identified on my repo are as follows:
1. Two files are flagged as requiring an Apache license header --- these are files where you had undertaken to determine where we should put the license, because we agreed that a header is not appropriate. That is your action item, and its been outstanding for six weeks.
1. PySpark fails its integration tests with Spark. The version of this PR on my repo contains a very small change to PySpark, to get the spark home correctly. The version here never touches PySpark.
I have not been able to replicate the problem you cut-and-pasted, in any environment, from either PR version.
If you click the Travis link just above, you will see that its green except for 1.6 and 1.2.2. It does *not* appear to produce the error you cut and pasted.
***
I am certainly sympathetic to the fact that we all have day jobs and families.
In this case, working on Zeppelin *is* your day job -- you're an NFlabs employee. Since you were an early author, one would presume that you also have a personal financial interest in it. NFLabs submitted this project to Apache for commercial reasons.
This has been outstanding since August. When you undertook to work on this, we got off to quite a good start, and I was very optimistic.
At this point, so far, it appears that what you have done is ask me *four times* to repeatedly list the PR's R package dependencies -- which you never even used.
I'm sure you could see why, at this point, I would have serious doubts about whether your engagement has been bona fide at all.
P.S.: If you think I don't understand java build, I'm sure you will be happy to identify each and every error I've made.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-193685964
@bzz - The reason a rebase is required *again* is that so much time has passed. Moon committed to work on the CI issues in December. You committed to do it a month ago.
It appears to me that essentially nothing has been done in that regard other than to add a few lines to the travis.yaml to include R.
I will rebase again tomorrow. I propose that 208 then be merged as-is. Whatever CI issue can be fixed later, since its not a bug in this PR anyway.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203726149
@elbamos sure, now I have updated list in https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203673589 could you please clarify few question left there in the comments linked from the list?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203756326
@bzz I think I've just done what you requested.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-184592116
Rebase done, but not fully tested... Work ongoing...
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157040049
And if you are not comfortable working with Zeppelin community, not because of you're wrong or Zeppelin community is wrong, but maybe just because of the way we want to go and how we want to get there is little bit different. Keeping RInterpreter as a 3rd party interpreter is another option.
I think in the future, Zeppelin will have more intuitive way to load and run 3rd party Interpreters (although it's already possible without rebuild Zeppelin in a simple way. ie. by deploying binaries under /interpreter and adding configuration into zeppelin-site.xml). Then using 3rd party interpreter will be much more easier. Maybe Just few clicks to download and use it.
So keeping as a 3rd party interpreter and take more control of it is another way you can choose.
I personally think having SparkR as built-in interpreter is really nice to have for users.
But having rich 3rd party interpreter community is also important for Zeppelin. (And that's why Zeppelin community need more intuitive way to use 3rd party interpreter).
So both way, I'm feeling totally fine. Choice is yours.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189133244
Nothing I need pre-merge.
I was mainly curious how close this was to working end to end.
I wasn't familiar with the pre-merge / post-merge expectations and assumed that a PR was meant to be a complete working merge.
I now see @bzz recommended keeping the distribution updates as a separate PR.
I did notice that the maven build creates a new `R` directory in the root of the source tree. Is that as expected?
Curious how `SPARK_HOME` is used - is this ENV path used to find this `R` directory? From what I understand, `SPARK_HOME` is meant to point to the full binary release of a standalone or cluster installation of spark (outside of the zeppelin installation location).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jongyoul <gi...@git.apache.org>.
Github user jongyoul commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-184798609
Concerning `vendor-repo`, it's already merged by #701, thus there's no need to be added separately.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188377139
I agree with the proposal above. @jeffsteinmetz I had trouble finding the script you're referring to - can you provide a link?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203248777
I'm not sure I understand you, but please feel free to use whatever place you consider right for the any discussion you feel necessary (I would suggest starting a new thread with the descriptive subject though).
Here is the list of things that need to be done in order to merge this PR:
- [x] ~~master and this branch have diverged: we need to either merge master in here, or rebase it on top of the master~~
- [ ] revert deletion of `ZeppelinSparkClusterTest.java`
- [ ] make CI green. I suggest attack each profile "one by one", creating a new JIRA issue for each and every new failure, see [ZEPPELIN-774](https://issues.apache.org/jira/browse/ZEPPELIN-774) as an example.
- [ ] putting the license for files, forked from other open-sourced projects in the right place. Having a list those files would help, see [this](https://github.com/apache/incubator-zeppelin/pull/208/files#r55158180) @jeffsteinmetz comment.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-173444542
Sounds right, except the existing PR should fail on spark 1.6 anyway. The version currently on my repo as 0.5.6 is up to date with 0.5.6 release.
> On Jan 20, 2016, at 9:13 PM, sourav-mazumder <no...@github.com> wrote:
>
> Hi Moon,
>
> From the exception looks like it is trying to test Spark in a standalone
> mode and it is not able to register the master process.
>
> Ideally the standalone cluster (with its master and slave) should be
> created before hand. I tested that way and it always worked that way.
>
> I'm assuming this is output from a testing done by CI/automated testing.
> Most probably there may be a script missing which is supposed to start the
> Spark standalone cluster before hand.
>
> Hope this helps.
>
> Regards,
> Sourav
>
> On Wed, Jan 20, 2016 at 5:33 PM, Lee moon soo <no...@github.com>
> wrote:
>
> > I've made some progress on testing CI,
> > at branch
> > https://github.com/Leemoonsoo/incubator-zeppelin/tree/rinterpreter_jan
> > at that passes one testing profile (spark-1.6) on CI, but fails on the
> > other profiles (spark-1.5, spark-1.4 ...)
> > https://travis-ci.org/Leemoonsoo/incubator-zeppelin/builds/103512174
> >
> > Any people familiar with following exception?
> >
> > 16/01/20 02:52:10 INFO SparkContext: Running Spark version 1.5.2
> > 16/01/20 02:52:10 INFO SecurityManager: Changing view acls to: travis
> > 16/01/20 02:52:10 INFO SecurityManager: Changing modify acls to: travis
> > 16/01/20 02:52:10 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(travis); users with modify permissions: Set(travis)
> > 16/01/20 02:52:11 INFO Slf4jLogger: Slf4jLogger started
> > 16/01/20 02:52:11 INFO Remoting: Starting remoting
> > 16/01/20 02:52:11 INFO Remoting: Remoting started; listening on addresses :[akka.tcp://sparkDriver@10.240.0.163:47557]
> > 16/01/20 02:52:11 INFO Utils: Successfully started service 'sparkDriver' on port 47557.
> > 16/01/20 02:52:11 INFO SparkEnv: Registering MapOutputTracker
> > 16/01/20 02:52:11 INFO SparkEnv: Registering BlockManagerMaster
> > 16/01/20 02:52:11 INFO DiskBlockManager: Created local directory at /tmp/blockmgr-d5f6db46-c354-457f-ac04-514cb750f5f7
> > 16/01/20 02:52:11 INFO MemoryStore: MemoryStore started with capacity 530.3 MB
> > 16/01/20 02:52:11 INFO HttpFileServer: HTTP File server directory is /tmp/spark-70746e88-64b6-4e5f-a89a-0acc469f220c/httpd-ee337ade-6d23-4fcb-ac42-1e649e11c626
> > 16/01/20 02:52:11 INFO HttpServer: Starting HTTP Server
> > 16/01/20 02:52:11 INFO Utils: Successfully started service 'HTTP file server' on port 42899.
> > 16/01/20 02:52:11 INFO SparkEnv: Registering OutputCommitCoordinator
> > 16/01/20 02:52:11 INFO Utils: Successfully started service 'SparkUI' on port 4040.
> > 16/01/20 02:52:11 INFO SparkUI: Started SparkUI at http://10.240.0.163:4040
> > 16/01/20 02:52:11 INFO SparkContext: Added JAR file:/home/travis/build/Leemoonsoo/incubator-zeppelin/interpreter/spark/zeppelin-spark-0.6.0-incubating-SNAPSHOT.jar at http://10.240.0.163:42899/jars/zeppelin-spark-0.6.0-incubating-SNAPSHOT.jar with timestamp 1453258331807
> > 16/01/20 02:52:11 INFO FairSchedulableBuilder: Created default pool default, schedulingMode: FIFO, minShare: 0, weight: 1
> > 16/01/20 02:52:11 WARN MetricsSystem: Using default name DAGScheduler for source because spark.app.id is not set.
> > 16/01/20 02:52:11 INFO AppClient$ClientEndpoint: Connecting to master spark://testing-gce-b9b06e11-646b-46d3-9860-831cc900b4f7.c.eco-emissary-99515.internal:7071...
> > 16/01/20 02:52:31 ERROR SparkUncaughtExceptionHandler: Uncaught exception in thread Thread[appclient-registration-retry-thread,5,main]
> > java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@12241de8 rejected from java.util.concurrent.ThreadPoolExecutor@12773a6[Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1]
> > at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
> > at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)
> > at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
> > at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)
> > at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anonfun$tryRegisterAllMasters$1.apply(AppClient.scala:96)
> > at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anonfun$tryRegisterAllMasters$1.apply(AppClient.scala:95)
> > at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
> > at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
> > at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
> > at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
> > at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
> > at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:108)
> > at org.apache.spark.deploy.client.AppClient$ClientEndpoint.tryRegisterAllMasters(AppClient.scala:95)
> > at org.apache.spark.deploy.client.AppClient$ClientEndpoint.org$apache$spark$deploy$client$AppClient$ClientEndpoint$$registerWithMaster(AppClient.scala:121)
> > at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anon$2$$anonfun$run$1.apply$mcV$sp(AppClient.scala:132)
> > at org.apache.spark.util.Utils$.tryOrExit(Utils.scala:1119)
> > at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anon$2.run(AppClient.scala:124)
> > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
> > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
> > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:745)
> >
> > —
> > Reply to this email directly or view it on GitHub
> > <https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-173423103>
> > .
> >
> —
> Reply to this email directly or view it on GitHub.
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
Re: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Eran Witkon <er...@gmail.com>.
Are you all sure this is how we want to run an open source project?
I can say I wrote this code but it doesn't make it right.
When we contribute code to the open source community we prefer the better
good then our own private ego.
I have been working with the zeppelin project since its beginning and I
trust the way it is managed.
R interpreter is a great contribution but does not worth trashing the
project or our community.
I hope we find a way to take words back and act as we are expected of.
On Mon, 16 Nov 2015 at 22:22 elbamos <gi...@git.apache.org> wrote:
> Github user elbamos commented on the pull request:
>
>
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157158373
>
> To anyone who may be coming here from today's blog post and confused
> by these comments about the current status:
>
> The RInterpreter for zeppelin works fine with Spark 1.4.x, and should
> compile straight out of the box.
> The travis build is failing because of bugs in other parts of the way
> Zeppelin interfaces with Spark.
> I expect to be pushing a new revision of the Interpreter, with Spark
> 1.5.x support, in the next day or so.
>
> Why the comments about the PR? Yesterday I discovered that someone
> (Felix Cheung) had been demo'ing this code to R user groups on the West
> Coast, claiming to have done the work. One of the lead Zeppelin developers
> was present for at least one of these demos.
>
> Short version of the backstory: When I'd announced the project to the
> Zeppelin developer's list, Felix had pleaded to participate. I said "ok,"
> but Felix failed to do any work. Not a single line of code. When I told
> him I was making the PR without him, he threatened that if he was not given
> credit he would sabotage the project by claiming that the code had been
> stolen from him. He carried-through with his threat, and I had to produce
> chat logs and e-mail chains to demonstrate that he was lying.
> Unfortunately, he's apparently also friends with at least one of the lead
> Zeppelin developers.
>
> In any event, I will be deciding after the next push how I will move
> forward.
>
>
> ---
> 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 infrastructure@apache.org or file a JIRA ticket
> with INFRA.
> ---
>
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157158373
To anyone who may be coming here from today's blog post and confused by these comments about the current status:
The RInterpreter for zeppelin works fine with Spark 1.4.x, and should compile straight out of the box.
The travis build is failing because of bugs in other parts of the way Zeppelin interfaces with Spark.
I expect to be pushing a new revision of the Interpreter, with Spark 1.5.x support, in the next day or so.
Why the comments about the PR? Yesterday I discovered that someone (Felix Cheung) had been demo'ing this code to R user groups on the West Coast, claiming to have done the work. One of the lead Zeppelin developers was present for at least one of these demos.
Short version of the backstory: When I'd announced the project to the Zeppelin developer's list, Felix had pleaded to participate. I said "ok," but Felix failed to do any work. Not a single line of code. When I told him I was making the PR without him, he threatened that if he was not given credit he would sabotage the project by claiming that the code had been stolen from him. He carried-through with his threat, and I had to produce chat logs and e-mail chains to demonstrate that he was lying. Unfortunately, he's apparently also friends with at least one of the lead Zeppelin developers.
In any event, I will be deciding after the next push how I will move forward.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195046726
curious why you chose to start the `.z.show` method calls with a period?
why not
`z.show`
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188252250
Guys, please correct me if I'm wrong but current R interpreter implementation, in order to be compiled, requires R installed on user's machine AND it is included in the default build (at least right now) - that would result in build failing for every user of Zeppelin out there after pulling the change.
I think what we may do, without breaking Zeppelin build for all the users, is simply exclude R interpreter build from default build cycle of `mvn package` and put it under profile, i.e `-P r` as we do with scalding, pyspark and other interpreters \w external dependencies . This way those who do not need R support will not be affected, at the same time those who do - will be able to get it.
What do you guy think? Then I could update CI to use this profile 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203749879
@elbamos :+1: for keeping the docs update! Yes, I believe licenses for each contributed file are clear now, but what I was asking you for is just to follow each [please clarify]() link from the https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203673589 where I have posted a question for you about modification\licences and post your ansewers there.
It may look like a formality but from my experience such things will allow us to keep history of this important conversation and it will simplify the review for those, who are interested to follow it. Would that be something you are willing to do? Thank you in advance.
Also please mind, as this is a first changeset that includes so many files from different places contributed to project codebase, I have also asked IPMC to verify the correctness of our interpretation of the legal aspect, so please be patient, we are almost there, I would expect it will take no more than a day or two to advise on this matter.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-202695901
Things that left to be done in order to merge this PR:
- [x] ~~master and this branch have diverged: we need to either merge master in here, or rebase it on top of the master~~
- [ ] CI failure. I volunteered to help and working on it elbamos/Zeppelin-With-R#12 Help is welcome, I hope to have more spare cycles this week to look into this one.
- [ ] putting the license for files, forked from other open-sourced projects in the right place. Having a list those files would help, see [this](https://github.com/apache/incubator-zeppelin/pull/208/files#r55158180) @jeffsteinmetz comment.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203726914
Ah - you mean because I took out the show() functions yesterday in respect of your comment about that.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156904437
@jongyoul
I have no idea what you were trying to say.
It appears to me that your primary concern is the names identified in the pom files as the authors? Is that correct?
(Many of the files you are referencing, under rzeppelin/, are part of the source that has to be there for an R package.)
It appears to me that I have contributed in the correct manner, but there may be some people affiliated with this project who have other issues.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203733605
@jeffsteinmetz I just pushed the fixed screenshots. Thanks, by the way, for asking that the show functions be taken out --- I can see that the `googleVis` package has been updated so that they're no longer necessary; when I wrote this, it was actually somewhat tricky to get the visualizations to show up inline, but that's no longer the case.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203718108
On RException - then please feel free to remove `//Originally by David Dahl and released under the BSD license` if that is your contribution.
> Meanwhile can you please help providing the list of such files to save the time identifying them?
As there is no list yet, it will take some time to me to make it for you - I will post back as soon as it's ready so you can review and let me know if it's correct.
After that, it will take some time to review the whole PR again, as there were many commits recently.
Then we will go through the list of files one by one, to [identify whether a substantial portions of the file was changed or not](http://www.apache.org/legal/src-headers.html#3party)
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-185080486
@bzz @jongyoul This push *should* have removed the extraneous git artifacts. It is still a lot of files. If we want to split it up into smaller bits, I suggest that we make the documentation and the tests separate PRs. That's a natural way to break it up.
Note: This is intended to address @bzz's issues 1-3. It does not yet address issues 5-7 That's tomorrow.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by justsomeone1001 <gi...@git.apache.org>.
Github user justsomeone1001 commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-181674445
@bzz Thank you for your attention and efforts to move this forward!
I'm happy to do all the required work (but I'm really just stuck on CI).
I think you have hit the issues. Let me give the status of a few:
1. (Other modules.) There are small changes to spark/ that are necessary. There are also changes to the pom.xml's in spark, spark-dependencies, and the main one. I don't *think* they're necessary, but they do resolve some persistent issues people have had building with different variants of spark.
2. (Rebase.) This: https://github.com/elbamos/Zeppelin-With-R Is up-to-date with 0.5.6. I will bring this branch up to date with current master.
3. (Docs.) Docs are included with the URL above and will be in the rebased PR.
4. (CI) Thank you!
5. (Licenses.) The code under r/ is ASF, but some files are derived from BSD-licensed rscala code. Also, some files under r/ are not code. They're generated during the R-package build process, so they don't have licenses at the top. I think this is some of what Jongyoul was on about. I'm happy to take care of this however, but just need to know how it should look.
6. (pom.xml formatting.) Can you clarify what's required?
7. (Source formatting.) Will-do.
Also - we should probably change the build so that R is either a module, or builds only if R is present. Something also needs to be done so it gets included in the binary build.
I will work on this over the next few days, but I'm trying to respect the moratorium.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204612256
We may be good now - the only failures on the last push were of the CI-random type.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by hsaputra <gi...@git.apache.org>.
Github user hsaputra commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188128964
Oh my goodness @elbamos , you have so many aliases =P
I apologize about the confusion.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-205406969
@bzz the push I just made fixed an issue that if -Pr wasn't specified, rat would complain about the licenses of files under the r/ subdirectory. There are no other changes.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-193688762
@elbamos it's totally up to you, as an author weather to do it or not. As a PPMC member I have just listed for you the requirements that project has for any contribution in order to get accepted.
If you find that my help not required here any more - please let me know.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-185150683
Great progress @elbamos thank you! @jongyoul thank you for keeping an eye
Please excuse me, most of comments above are on issues 5-7 and may be preliminary, but hope we could nail them down as well.
We need 5 (clarify license\headers) before fixing the CI, as Apache license header check is one of the steps of the build and will fail the CI if not present.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203726453
@bzz I just looked at the list, and its all the same thing. I took out of rscala the code for making an R->scala connection. There isn't anything new added, or anything reorganized, etc., so there's nothing to assert a new copyright interest in. It's all BSD -- its just that not everything that was in the original file is included.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195041973
It can be changed. I like verbose logging to help diagnose user issues. Logging especially the spark contection is very beneficial. But the level of logging can absolutely be reduced, or made a configuration option, whatever is the community preference.
> On Mar 10, 2016, at 3:46 PM, Jeff Steinmetz <no...@github.com> wrote:
>
> I noticed some initial verbose logging -
>
> Package Startup Message: <packageStartupMessage in packageStartupMessage(gettextf("Loading
> required package: %s", package), domain = NA): Loading required package: knitr
> Does this need to be logged to the notebook output?
>
> —
> Reply to this email directly or view it on GitHub.
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195041323
I don't think this should output the result as a zeppelin table:
```
%r
mtcars
```
Since it's not in line with how R or R Studio responds.
It also drops the row ids, so its missing an important part of the data frame.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156909774
@jongyoul What's excluded from rat are files that get generated automatically during the build process -- they are the R equivalent of a .class or .jar file.
There are two rzeppelin folders. One contains R source code. The other contains the actual compiled R package.
Console.scala is used to create a virtual interface to R. I believe its called by an implicit, but that is actually part from rscala that I haven't tinkered with.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203224008
@elbamos I see. The problem is that such intentions (removing not permanently) are not obvious for a reviewers, as they just do not know and assume that current state is the one you want to get merged.
Experiments are very good, but if you conduct them in a separate from this PR branch (but on top this work, same way as elbamos/Zeppelin-With-R#12) - it would simplify the final review of this PR a lot, making things faster.
I.e tests generating spurious failures must be proven to do so on other PRs\branches and indeed must be improved or taken out, but all this should happen outside of the scope of this particular PR, keeping things small and simple. (I.e if one test is found to be guilty, the PR fixing\removing it must be merged first and then this one rebased on top)
That is what I meant. Does it make sense?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195050282
Does anybody have feedback regarding the use of `%knitr` for plotting?
Seems having to use the `%knitr` interpreter for certain workflows is unnecessary.
any others have feedback as to we we would want to add all of this to get graphing to work: `%knitr echo=F,results='asis',message=F,warning=F`
instead of just using %r
```
%r
library(googleVis)
Motion=gvisMotionChart(Fruits, idvar="Fruit", timevar = "Year")
print(Motion, tag='chart')
```
or if a generic show method was created as a helper (i realize you have `.z.show.googleVis(Motion)`, but it feels like this could be generalized for users and we only need to deal with the `%r` interpreter.
```
%r
library(googleVis)
Motion=gvisMotionChart(Fruits, idvar="Fruit", timevar = "Year")
z.show(Motion, tag='chart')
```
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-186613590
@elbamos got it, about BSD licence files. Let me double-check everything and get back to you with it by Monday
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
Re: [GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Alex <ke...@gmail.com>.
Sounds great, I'm looking forward. Right now I do not see anything specific
that need to be taken into account.
On Mon, Feb 15, 2016, 07:38 elbamos <gi...@git.apache.org> wrote:
> Github user elbamos commented on the pull request:
>
>
> https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-183994878
>
> @bzz I'm working on this now and will push something later tonight.
> Is there anything on CI that I should take into account? 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 infrastructure@apache.org or file a JIRA ticket
> with INFRA.
> ---
>
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-183994878
@bzz I'm working on this now and will push something later tonight. Is there anything on CI that I should take into account? 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-184128878
Sounds great, I'm looking forward.
Right now I do not see anything specific that need to be taken into account.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203698160
@bzz - that's basically the list for scala files, except that I'm pretty sure RException was mine. The other thing is the R source. The rzeppelin.R is mine. Other than that, the R files are either directly from rscala, or substantially not changed.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-202217468
From what I can see - same three issue I have listed above still hold for this PR from being merged.
Updates on my help with CI are tracked under elbamos/Zeppelin-With-R#12
@elbamos your comments there implied that you are not familiar with project's build\QA process. It's not very documented I admit, but is pretty standard for java project under asf, so I would advise you to either familiarize yourself with it, or wait until somebody volunteers to help you with this one, on their own spare time.
Both CI issues from elbamos/Zeppelin-With-R#12 do not exist on master, and both are reproducible from this branch on my local env. That clearly implied not a project-wise problem, but something related only to this branch.
I will be looking further on how to help you here, and assume that it is something appreciated rather taken as "granted". Remember, we all have daytime jobs, families, etc.
But please feel free to politely stop me, as soon as you feel that my help here is no longer required.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189144007
I think it is "complete" and "working" -- the convenience binary is not part of the release, and a new one isn't going to be made until there is a new release anyway. I think the preference is to simply get the working code into HEAD and then if there are remaining issues fix them on the path to the 0.6 release. But I certainly wouldn't object either way.
Regarding the R directory - yes. There's a light R package created here to handle the R side of scala-R communication. I felt that it was better to put that in a local `R/` directory than to try to install it in the user's or system's R library. That's the design choice made in Spark itself, so I tried to match that.
Regarding SPARK_HOME, yes and yes. To talk to spark, R has to have a version of the SparkR R package that matches the running version of Spark. That lives under the `R/` subdirectory of the spark binary home, in the spark distribution. So at startup, we need to know where the current spark binary is, so we can load the correct SparkR package. (We could *try* to run without confirming the version, but in practice this generated support issues without a corresponding benefit.)
Why always SPARK_HOME and not to try to look for an R under a spark subdirectory of Zeppelin? Because it turned out that doing that generated a torrent of support issues that arose when the user had an inconsistent Spark configuration or was running with a version of Spark other than the one they compiled against. Part of the reason for this is that which spark installation gets used, actually is not completely defined by Zeppelin, and its changed more times than I think folks realize, including unintentionally. (For example, compare the way the pyspark interpreter and SparkInterpreter try to locate Spark.) Requiring that SPARK_HOME be set produces the only un-ambiguous configuration. My understanding, from correspondence with Moon in August/September, is that spark-under-zeppelin is effectively deprecated, partly for this reason, and will soon be removed, so that Zeppelin always and only launches spark from SPARK_HOME. So to simplify admin and the user experience, the inte
rpreter requires SPARK_HOME, checks for it, and noisily declines to connect to spark if it isn't set.
So, to sum up -- there are a couple relevant `R/` directories. One is part of the spark distribution and contains the SparkR package for connecting R to the correct version of Spark. There is an analogous one created for the R interpreter, under ZEPPELIN_HOME, for the rzeppelin package, which handles the R side of the Zeppelin-R interface. During startup, we force loading these packages from those directories so we load the correct versions.
@bzz Thank you for the reminder! I'll take care of it in the next day or so.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203154616
@jeffsteinmetz I'm not sure I understand what you're proposing?
At this moment this PR isn't failing CI. It builds and tests fine.
When CI later tries to use a recently-added test class that has nothing to do with this PR, the class tries to talk to Spark, but Spark isn't running.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-135404456
Ok I'm temporarily giving up on Travis - these test failures seem to all be spurious.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-157180281
@elbamos Please do not blame people in your PR. That's out of your PR's scope.
And I thought you and Felix both agreed to move forward, If you think that's really a problem in your code contribution, then please come back later after the problem is solved clearly. Just blaming people here really does not help you, in anyway.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by sourav-mazumder <gi...@git.apache.org>.
Github user sourav-mazumder commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-181642378
I would be happy to help on point 3.
Regards,
Sourav
On Mon, Feb 8, 2016 at 3:36 PM, Alexander <no...@github.com> wrote:
> Guys, R interpreter is a big important and complicated contribution, hope
> we could make our last push to get that merged.
>
> On my spare time I briefly went thought the this PR again and listed (in
> order of importance) a few things that I think we need to complete to speed
> things up and merge this one.
>
> @elbamos <https://github.com/elbamos> @justsomeone1001
> <https://github.com/justsomeone1001> @sourav-mazumder
> <https://github.com/sourav-mazumder> @Leemoonsoo
> <https://github.com/Leemoonsoo> @felixcheung
> <https://github.com/felixcheung> please let me know what do you think
> about this plan.
>
> 1.
>
> fraction out changes to other modules out of this PR (will make things
> simpler to test and review)
> - spark-dependencies/pom.xml
> - spark/pom.xml It should be possible to re-create them as a
> separate PRs if needed.
> 2.
>
> rebase on top of latest master
> 3.
>
> add\point to Docs
>
> AFAIK for a user to enjoy R interpreter, there are some pre-requests
> like packages to be installed, etc. Is there any documentation on 'how to
> setup' the environment?
> If we could have one under /docs/ - that would be awesome. It's very
> easy to add, but this would be very helpful to make more people use it and
> help us testing it. Here are docs
> <http://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html>
> on how to do that.
> 4.
>
> *(alex)* CI failing.
> 5.
>
> clarify minor copyright issue in r/R/rzeppelin
>
> r/R/rzeppelin/LICENSE
> <https://github.com/apache/incubator-zeppelin/pull/208/files#diff-70a1eaac699ff7afe9f107a9aafe976dR2>
> rises the question:
> is r/R/rzeppelin/* a work under ASF
> <http://www.apache.org/legal/src-headers.html#headers> or is that a third-party
> code <http://www.apache.org/legal/src-headers.html#3party>?
>
> in either case, from my understanding, it needs to be updated
> according to the links above (either by adding ASF headers to all the files
> and removing LICENSE, or by listing it in root project's NOTICE file)
> 6.
>
> fix /r/pom.xml formatting
> 7. make sure all other source code formatting is consistent Like this
> <https://github.com/apache/incubator-zeppelin/pull/208/files#diff-b1e5f7257eb27da9958f26d8c763d242R143>,
> this
> <https://github.com/apache/incubator-zeppelin/pull/208/files#diff-b1e5f7257eb27da9958f26d8c763d242R153>
> and that
> <https://github.com/apache/incubator-zeppelin/pull/208/files#diff-728dfe61ffb885af17a8b5c7efb44e75R37>,
> etc
>
> If somebody could start with 1-3, I will be happy to help with 4 ASAP,
> hopefully will have more spare cycles by the end of the week.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-181624753>
> .
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-187787778
@bzz Hey just checking-in to see how we're doing and if there's anything I can do at this point to help move us along toward 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-205102505
@bzz thanks!
Yeah, I was going to suggest, that getting CI to work reliably is probably something important to the project beyond the scope of this PR.
One thing that might offer a quick improvement, is @jeffsteinmetz's suggestion that we stop supporting older versions of Spark (e.g., 1.1, 1.2). That should reduce the random test failures by at least 20%.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195039526
I noticed some initial verbose logging -
```
Package Startup Message: <packageStartupMessage in packageStartupMessage(gettextf("Loading
required package: %s", package), domain = NA): Loading required package: knitr
```
Does this need to be logged to the notebook output?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188405371
@elbamos : https://github.com/apache/incubator-zeppelin/tree/master/scripts/vagrant/zeppelin-dev
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204675506
I believe that rebase to latest master must eliminate most of CI issues.
Did one more round of reviews and updated https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203834473 - a minor cleanup of licenses is needed.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195051151
RE: the `mtcars` example above, R and rstudio returns the dataframe as simple text, not a formatted table and with all of the correct row ids.
```
> mtcars
mpg cyl disp hp drat wt qsec vs am gear carb
Mazda RX4 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4
Mazda RX4 Wag 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4
Datsun 710 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1
Hornet 4 Drive 21.4 6 258.0 110 3.08 3.215 19.44 1 0 3 1
Hornet Sportabout 18.7 8 360.0 175 3.15 3.440 17.02 0 0 3 2
Valiant 18.1 6 225.0 105 2.76 3.460 20.22 1 0 3 1
Duster 360 14.3 8 360.0 245 3.21 3.570 15.84 0 0 3 4
Merc 240D 24.4 4 146.7 62 3.69 3.190 20.00 1 0 4 2
Merc 230 22.8 4 140.8 95 3.92 3.150 22.90 1 0 4 2
Merc 280 19.2 6 167.6 123 3.92 3.440 18.30 1 0 4 4
```
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by sourav-mazumder <gi...@git.apache.org>.
Github user sourav-mazumder commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189323957
I do like this approach too.
Regards,
Sourav
On Fri, Feb 26, 2016 at 7:09 AM, Jeff Steinmetz <no...@github.com>
wrote:
> Makes sense
> SPARK_HOME for SparkR
> ZEPPELIN_HOME for the relevant R/ directories related to the R zeppelin
> interpreter.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189316874>
> .
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195045409
This doesn't work as I would expect:
```
%r
print("%html <h1>HTML Works</h1>")
```
and %table, %md, etc
Shouldn't this work similar to other interpreters, and support the zeppelin display system?
this returns rendered html in pyspark
```
%pyspark
print("%html <h1>HTML Works</h1>")
```
as does
```
%spark
print("%html <h1>HTML Works</h1>")
```
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195084517
To confirm, are you saying this should return Zeppelin displayed html? (I may have misunderstood)
```
%r
cat("%html <h1>hello!</h1>”)
```
If so, it outputs text as is (which still makes sense based on your explanation, since its not an HTML class?)
%html <h1>hello!</h1>
Do you have an example of how to create an HTML class in the interpreter?
As an aside, while testing this I ran across a locked environment error
```
setClass("Person", representation(name = "character", age = "numeric"),
prototype(name = NA_character_, age = NA_real_))
```
Returns an error:
<simpleError in assign(mname, def, where): cannot add bindings to a locked environment>
From: elbamos
Reply-To: apache/incubator-zeppelin
Date: Thursday, March 10, 2016 at 1:18 PM
To: apache/incubator-zeppelin
Cc: Jeff Steinmetz
Subject: Re: [incubator-zeppelin] R Interpreter for Zeppelin (#208)
In R, when a string gets returned to the repl by an expression, it gets formatted by calling print(). This is why the magic isn't working as you expect-R is adding formatting. If you write the string with cat() instead of print, it should work, and I'll fix if it doesn't.
However, in R, html is generally created using the 'html' class. If an object of class 'html' is returned by this interpreter, it is passed to Zeppelin with the %html magic for native display.
This is necessary to handle some kinds of interactive visualization. It also means the interpreter will properly display html created by R packages in the manner the user expects.
While I'm somewhat open on this issue as well, I'm pretty sure that the current design is the one that R users will find the most natural.
> On Mar 10, 2016, at 3:59 PM, Jeff Steinmetz <no...@github.com> wrote:
>
> This doesn't work as I would expect:
>
> %r
> print("%html <h1>HTML Works</h1>")
> and %table, %md, etc
> Shouldn't this work similar to other interpreters, and support the zeppelin display system?
>
> this returns rendered html in pyspark
>
> %pyspark
>
> print("%html <h1>HTML Works</h1>")
> as does
>
> %spark
>
> print("%html <h1>HTML Works</h1>")
> —
> Reply to this email directly or view it on GitHub.
>
—
Reply to this email directly or view it on GitHub.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-205103615
@elbamos everything looks good, except one last thing - BSD license text need to be removed from `r/src/main/scala/scala/Console.scala` header as well, as it was not there originally and we have it in a separate file, clearly pointed from root LICENSE.
Sorry for not pointing it out earlier, but reviewing whole 4000+LOC diff everytime at once is a bit uneasy.
I think we should be good with merging it right after that. And yes, improving project CI is a priority and will be continued.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jongyoul <gi...@git.apache.org>.
Github user jongyoul commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156909703
@elbamos Do you mean that it's of to located the files under the rzeppelin/, and do you mean rzeppelin is not a part of the contribution?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-204616417
@bzz are we good?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195050132
The standard in R is that the return value of an expression is determined by the interpreter. When a data.frame is returned, the interpreter in the R distro prints a few lines; knitr formats the display differently; and Rstudio acts as a passthrough to the interpreter.
So while I'm open to doing it differently, I'm pretty sure the way it works now is actually both R-correct and Zeppelin-correct.
> On Mar 10, 2016, at 3:50 PM, Jeff Steinmetz <no...@github.com> wrote:
>
> I don't think this should output the result as a zeppelin table:
>
> %r
>
> mtcars
> Since it's not in line with how R or R Studio responds.
> It also drops the row ids, so its missing an important part of the data frame.
>
> —
> Reply to this email directly or view it on GitHub.
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203206273
@elbamos removing test that do not pass under b848d98 is not an acceptable way to make CI green.
It is not going to be possible to merge it without `ZeppelinSparkClusterTest.java` I'm affraid.
Please put it back and let's fix the reason it is failing on this branch.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203213146
@bzz Do you intend to take any *constructive* action to move this *forward*? This PR has been waiting for *your* action items for three weeks, where you have done nothing but make derogatory comments toward me.
I did not intend to take the class out permanently. I took it out to see what would happen. Look at what *did* happen: The tests that fail with ZeppelinSparkClusterTest there, pass. But the tests that *passed* with ZeppelinSparkClusterTest, fail after its removed.
If the test is generating spurious failures, then the test needs to come out of Zeppelin regardless of this PR. This part of the testing infrastructure is your code, right?
Either way, I'm sure you can be helpful if you choose to be.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-186613513
@btiernay @zhiboz thank you for feedback, if you could please express it on the [dev@ mailing list](http://zeppelin.incubator.apache.org/community.html) that would be much apprecaited and would be the way reach broader community.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189116032
@jeffsteinmetz A couple of things are happening here --
First, I would expect it to fail if you run it from zeppelin-distribution because the pom's aren't setup to include it in the distribution binary. That is on the list of "to-do's," and is planned for after the initial merge.
Second, every time I've seen that error, it was because Zeppelin was configured to try to launch spark from Zeppelin home rather than from a SPARK_HOME. It looks to me that that's what was happening here when you try to run it from the distribution directory. (Is SPARK_HOME set?) *But* the R interpreter should be detecting whether there's a misconfiguration and, if so, failing gracefully. The reason it isn't may be because of the pom/distribution issue. Can you email me the spark interpretergroup log of that run?
Before anyone asks -- requiring SPARK_HOME is a feature, not a bug.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156910412
@jongyoul
I apologize for this, but I find it almost impossible to follow what you are trying to say.
The R source code is -- obviously -- included.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189129155
Jeff - well that log explains it, the R package isn't being included in the distribution binary.
I'm not sure I understand either the goal or the "ask" at this point; fixing the pom's to handle building the distribution binary is planned as a post-merge to-do. Are you saying you need this to happen pre-merge for some reason?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203246814
@bzz The right place for the discussion of whether to work in this PR or a branch or whatever, if Tom's proposal is off the table, is the developers' mailing list.
Regarding how to divvy up the work -- it seems like there's "1.6" and "everything else." Which one do you want to pick, and when?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203726976
The `.z.show.googleVis` etc.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-203726802
@jeffsteinmetz Can you be more specific? Do you mean because they refer to %spark.r and %spark.knitr?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-202223003
@bzz Let me just add, to avoid any doubt --- I hope I'm wrong. If I am, then I'll be most appreciate, and most apologetic for misjudging you.
In that case, I'm sure you'll be able to understand why, at this point, from my perspective, my trust level is pretty low.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-188328986
When zeppelin is built with the -Ppyspark profile it downloads the entire spark binary (as @bzz mentioned). So a -P r makes sense. During a zeppelin release, it could build zeppelin with an R profile in the full packaged build. I believe -Ppyspark is in the profile for the full build upon version releases. R could be 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189316874
Makes sense
SPARK_HOME for SparkR
ZEPPELIN_HOME for the relevant `R/` directories related to the R zeppelin interpreter.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156910604
@elbamos that was *not* your code in Sept. That was 100% my own. If you watch closely, check the branch or check the notebook that I have on github, you would notice how the graphing is done is via a helper function, which would be completely different from your approach on this PR.
I'm going to what you post on *my* repo. If you want to continue you want to complain please feel free to on a different channel.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156766945
@elbamos
Thanks for the contribution and
I briefly reviewed your codes and here's few comment.
##### 1. Scala->R invocation
You seem to use rscala and separate connection to make `scala -> r` invocation.
I think SparkR already have RBackend that support `r -> scala` invocation and the same way we do in PySparkInterpreter, this one way connection can be also used to `scala -> r` without introducing much complexes and additional socket connection.
Using similar technique that PySparkInterpreter does for py4j in R Interpreter will help
* Much smaller code base while there are no need for additional socket connection beside the SparkR provided one.
* More consistent way with already existing PySparkInterpreter
##### 2. KnitR Inteprreter
Seems like calling knit2html() is the role.
In this case, i think it more make sense to make a function and inject into RInterpreter (like z.show() in SparkInterpreter), rather than making separate interpreter.
##### 3. Author, Copyrights and Maintainer tag
Zeppelin discourages Author tag. as well as Copyright / Maintainer if it is not really necessary.
Your contribution history will kept in commit history and archived in mailing list.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by bzz <gi...@git.apache.org>.
Github user bzz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-189140201
@elbamos please ping me if you need any help adding a profile for R in order to avoid failing default Zeppelin build for users who do not need R.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by sourav-mazumder <gi...@git.apache.org>.
Github user sourav-mazumder commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-173428757
Hi Moon,
From the exception looks like it is trying to test Spark in a standalone
mode and it is not able to register the master process.
Ideally the standalone cluster (with its master and slave) should be
created before hand. I tested that way and it always worked that way.
I'm assuming this is output from a testing done by CI/automated testing.
Most probably there may be a script missing which is supposed to start the
Spark standalone cluster before hand.
Hope this helps.
Regards,
Sourav
On Wed, Jan 20, 2016 at 5:33 PM, Lee moon soo <no...@github.com>
wrote:
> I've made some progress on testing CI,
> at branch
> https://github.com/Leemoonsoo/incubator-zeppelin/tree/rinterpreter_jan
> at that passes one testing profile (spark-1.6) on CI, but fails on the
> other profiles (spark-1.5, spark-1.4 ...)
> https://travis-ci.org/Leemoonsoo/incubator-zeppelin/builds/103512174
>
> Any people familiar with following exception?
>
> 16/01/20 02:52:10 INFO SparkContext: Running Spark version 1.5.2
> 16/01/20 02:52:10 INFO SecurityManager: Changing view acls to: travis
> 16/01/20 02:52:10 INFO SecurityManager: Changing modify acls to: travis
> 16/01/20 02:52:10 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(travis); users with modify permissions: Set(travis)
> 16/01/20 02:52:11 INFO Slf4jLogger: Slf4jLogger started
> 16/01/20 02:52:11 INFO Remoting: Starting remoting
> 16/01/20 02:52:11 INFO Remoting: Remoting started; listening on addresses :[akka.tcp://sparkDriver@10.240.0.163:47557]
> 16/01/20 02:52:11 INFO Utils: Successfully started service 'sparkDriver' on port 47557.
> 16/01/20 02:52:11 INFO SparkEnv: Registering MapOutputTracker
> 16/01/20 02:52:11 INFO SparkEnv: Registering BlockManagerMaster
> 16/01/20 02:52:11 INFO DiskBlockManager: Created local directory at /tmp/blockmgr-d5f6db46-c354-457f-ac04-514cb750f5f7
> 16/01/20 02:52:11 INFO MemoryStore: MemoryStore started with capacity 530.3 MB
> 16/01/20 02:52:11 INFO HttpFileServer: HTTP File server directory is /tmp/spark-70746e88-64b6-4e5f-a89a-0acc469f220c/httpd-ee337ade-6d23-4fcb-ac42-1e649e11c626
> 16/01/20 02:52:11 INFO HttpServer: Starting HTTP Server
> 16/01/20 02:52:11 INFO Utils: Successfully started service 'HTTP file server' on port 42899.
> 16/01/20 02:52:11 INFO SparkEnv: Registering OutputCommitCoordinator
> 16/01/20 02:52:11 INFO Utils: Successfully started service 'SparkUI' on port 4040.
> 16/01/20 02:52:11 INFO SparkUI: Started SparkUI at http://10.240.0.163:4040
> 16/01/20 02:52:11 INFO SparkContext: Added JAR file:/home/travis/build/Leemoonsoo/incubator-zeppelin/interpreter/spark/zeppelin-spark-0.6.0-incubating-SNAPSHOT.jar at http://10.240.0.163:42899/jars/zeppelin-spark-0.6.0-incubating-SNAPSHOT.jar with timestamp 1453258331807
> 16/01/20 02:52:11 INFO FairSchedulableBuilder: Created default pool default, schedulingMode: FIFO, minShare: 0, weight: 1
> 16/01/20 02:52:11 WARN MetricsSystem: Using default name DAGScheduler for source because spark.app.id is not set.
> 16/01/20 02:52:11 INFO AppClient$ClientEndpoint: Connecting to master spark://testing-gce-b9b06e11-646b-46d3-9860-831cc900b4f7.c.eco-emissary-99515.internal:7071...
> 16/01/20 02:52:31 ERROR SparkUncaughtExceptionHandler: Uncaught exception in thread Thread[appclient-registration-retry-thread,5,main]
> java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@12241de8 rejected from java.util.concurrent.ThreadPoolExecutor@12773a6[Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1]
> at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
> at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)
> at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
> at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)
> at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anonfun$tryRegisterAllMasters$1.apply(AppClient.scala:96)
> at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anonfun$tryRegisterAllMasters$1.apply(AppClient.scala:95)
> at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
> at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
> at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
> at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
> at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
> at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:108)
> at org.apache.spark.deploy.client.AppClient$ClientEndpoint.tryRegisterAllMasters(AppClient.scala:95)
> at org.apache.spark.deploy.client.AppClient$ClientEndpoint.org$apache$spark$deploy$client$AppClient$ClientEndpoint$$registerWithMaster(AppClient.scala:121)
> at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anon$2$$anonfun$run$1.apply$mcV$sp(AppClient.scala:132)
> at org.apache.spark.util.Utils$.tryOrExit(Utils.scala:1119)
> at org.apache.spark.deploy.client.AppClient$ClientEndpoint$$anon$2.run(AppClient.scala:124)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-173423103>
> .
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by justsomeone1001 <gi...@git.apache.org>.
Github user justsomeone1001 commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-195074172
I just want to reiterate, I am open on these issues. But who I think we should look to hear from regarding user expectations, are people who are regular users of R.
The R ethos is to follow the intuitions of a statistician, even for choices, like indexing arrays from 1 or not having scalars, seem nonsensical to computer scientists. There are books on this subject.
> On Mar 10, 2016, at 4:28 PM, elbamos <no...@github.com> wrote:
>
> The row id's aren't part of the table in R. Also, R actually is formatting the table in a specific way. Try returning a data_frame vs a data.frame in R and see what happens.
>
> If the user wants the "raw text" version, they simply call print() on the table to turn it into a string.
>
> This is a Zeppelin feature!
>
> > On Mar 10, 2016, at 4:13 PM, Jeff Steinmetz <no...@github.com> wrote:
> >
> > RE: the mtcars example above, R and rstudio returns the dataframe as simple text, not a formatted table and with all of the correct row ids.
> >
> > > mtcars
> > mpg cyl disp hp drat wt qsec vs am gear carb
> > Mazda RX4 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4
> > Mazda RX4 Wag 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4
> > Datsun 710 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1
> > Hornet 4 Drive 21.4 6 258.0 110 3.08 3.215 19.44 1 0 3 1
> > Hornet Sportabout 18.7 8 360.0 175 3.15 3.440 17.02 0 0 3 2
> > Valiant 18.1 6 225.0 105 2.76 3.460 20.22 1 0 3 1
> > Duster 360 14.3 8 360.0 245 3.21 3.570 15.84 0 0 3 4
> > Merc 240D 24.4 4 146.7 62 3.69 3.190 20.00 1 0 4 2
> > Merc 230 22.8 4 140.8 95 3.92 3.150 22.90 1 0 4 2
> > Merc 280 19.2 6 167.6 123 3.92 3.440 18.30 1 0 4 4
> > —
> > Reply to this email directly or view it on GitHub.
> >
> —
> Reply to this email directly or view it on GitHub.
>
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jongyoul <gi...@git.apache.org>.
Github user jongyoul commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156910132
@elbamos Do you include the kind of R source codes? If you do, Do you have a plan to to follow up the R sources if R is updated?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by sourav-mazumder <gi...@git.apache.org>.
Github user sourav-mazumder commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-145261907
@elbamos found it working great in all scenarios involving SparkR, KnitR and various plots/charts. Great work !!!
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by elbamos <gi...@git.apache.org>.
Github user elbamos commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-205132994
@bzz So we should be good to merge now 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-156771547
Another one, is location of this package.
If it is implementing general R Interpreter, i think having separate submodule, like as-is make sense.
But if it is being in the same 'spark' interpreter group and implementing SparkR interpreter, that shares resources (eg. SparkContext) with SparkInterpreter, i think it more make sense to move into 'spark' submodule instead of having separate 'R' submodule.
Also, this approach is more consistent with package location of PySparkInterpreter, which is also part of Spark Interpreter group.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: R Interpreter for Zeppelin
Posted by jeffsteinmetz <gi...@git.apache.org>.
Github user jeffsteinmetz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/208#issuecomment-202711880
As a reminder, building the distribution with `-Pbuild-distr` doesn't package the interpreter as expected.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---