[GitHub] zeppelin pull request #1329: ZEPPELIN-1318 - Add support for matplotlib disp...

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

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1296: [ZEPPELIN-1302] fix rinterpreter default prop values i...

2016-08-13 Thread WeichenXu123
Github user WeichenXu123 commented on the issue:

https://github.com/apache/zeppelin/pull/1296
  
@Leemoonsoo CI is green 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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1295: [ZEPPELIN-1301] fix potential encoding problem ...

2016-08-13 Thread WeichenXu123
GitHub user WeichenXu123 reopened a pull request:

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

[ZEPPELIN-1301] fix potential encoding problem in RInterpreter processHTML 
DataURI conversion

### What is this PR for?
fix potential encoding problem in RInterpreter processHTML DataURI 
conversion.
Read binary content from local file and turn into Base64 format directly.

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

### Todos
N/A

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

### How should this be tested?
Existing tests.

### Screenshots (if appropriate)
N/A

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



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

$ git pull https://github.com/WeichenXu123/zeppelin 
fix_rinterpreter_script_to_base

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

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


commit 782cf4e70fb6f3aa30af86b5071ec8b970d3a3ac
Author: WeichenXu 
Date:   2016-08-06T02:09:08Z

fix rinterpreter script_to_base

commit 1da938251169612b8e1822bddc81e742e18b9b26
Author: WeichenXu 
Date:   2016-08-06T04:32:37Z

improve code style




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1324: Update AWS S3 library to avoid old Jackson

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

https://github.com/apache/zeppelin/pull/1324
  
seems like this has introduced some incompatibilities:
could you take a long at the test failures?

```
02:10:52,553 ERROR 
org.apache.zeppelin.notebook.repo.zeppelinhub.websocket.ZeppelinClient:151 - 
Cannot deserialize zeppelin message
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: 
Expected BEGIN_OBJECT but was STRING at line 1 column 7
at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176)
at com.google.gson.Gson.fromJson(Gson.java:791)
at com.google.gson.Gson.fromJson(Gson.java:757)
at com.google.gson.Gson.fromJson(Gson.java:706)
at com.google.gson.Gson.fromJson(Gson.java:678)
at 
org.apache.zeppelin.notebook.repo.zeppelinhub.websocket.ZeppelinClient.deserialize(ZeppelinClient.java:149)
at 
org.apache.zeppelin.notebook.repo.zeppelinhub.websocket.ZeppelinClientTest.zeppelinMessageSerializationTest(ZeppelinClientTest.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was 
STRING at line 1 column 7
at com.google.gson.stream.JsonReader.expect(JsonReader.java:339)
at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:322)
at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:165)
... 31 more
```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1326: [ZEPPELIN-1323] Add contribution guide for Zeppelin do...

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

https://github.com/apache/zeppelin/pull/1326
  
LGTM


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1314: [MINOR] Update outdated contents in zeppelin-di...

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

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Problem while creating mysql interpreter

2016-08-13 Thread Ram Shankar Yadav
Thanks Moon, appreciate your support!
I'll try and get back to you if required.

On Aug 13, 2016 5:23 PM, "moon soo Lee"  wrote:

> Hi,
>
> Regarding java.lang.ClassNotFoundException: org.apache.hadoop.security.Use
> rGroupInformation$AuthenticationMethod error, I assume you're using
> master branch. (0.6.x branch shouldn't have this error)
> You can add "org.apache.hadoop:hadoop-common:2.7.2" in the Dependencies
> section of your interpreter setting on GUI, to remove this error.
>
> If you want to put your custom driver, you can set path of your jar in the
> local filesystem, in the Dependencies section of your interpreter setting,
> instead of "mysql:mysql-connector-java:5.1.38".
>
> Thanks,
> moon
>
> On Wed, Aug 10, 2016 at 4:25 AM Ram Shankar Yadav <
> ramshankarya...@gmail.com> wrote:
>
>> Hi,
>> I was trying to create mysql interpreter using the reference document :
>> https://zeppelin.apache.org/docs/0.6.0/interpreter/jdbc.html
>>
>> I added required details for creating the interpreter:
>>
>> ​
>> I've also added the Credentials inside Credentials tab
>>
>> ​
>> But I'm getting this output:
>>
>> ​
>> text:
>>
>>> java.lang.ClassNotFoundException: org.apache.hadoop.security.
>>> UserGroupInformation$AuthenticationMethod
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> at org.apache.zeppelin.jdbc.security.JDBCSecurityImpl.
>>> getAuthtype(JDBCSecurityImpl.java:71)
>>> at org.apache.zeppelin.jdbc.JDBCInterpreter.getConnection(
>>> JDBCInterpreter.java:217)
>>> at org.apache.zeppelin.jdbc.JDBCInterpreter.getStatement(
>>> JDBCInterpreter.java:275)
>>> at org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(
>>> JDBCInterpreter.java:346)
>>> at org.apache.zeppelin.jdbc.JDBCInterpreter.interpret(
>>> JDBCInterpreter.java:452)
>>> at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(
>>> LazyOpenInterpreter.java:94)
>>> at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$
>>> InterpretJob.jobRun(RemoteInterpreterServer.java:383)
>>> at org.apache.zeppelin.scheduler.Job.run(Job.java:176)
>>> at org.apache.zeppelin.scheduler.FIFOScheduler$1.run(
>>> FIFOScheduler.java:139)
>>> at java.util.concurrent.Executors$RunnableAdapter.
>>> call(Executors.java:511)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>> at java.util.concurrent.ScheduledThreadPoolExecutor$
>>> ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>>> at java.util.concurrent.ScheduledThreadPoolExecutor$
>>> ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(
>>> ThreadPoolExecutor.java:1142)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>> ThreadPoolExecutor.java:617)
>>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>> Also,
>> I realized that Zeppelin automatically creates localrepo folder and mysql
>> driver inside : local-repo/mysql/mysql-connector-java
>>
>> How can I use a custom JDBC driver? Where should I put my jdbc connector
>> jar files?
>>
>> Cheers,
>> Ram
>>
>


Re: [VOTE] Apache Zeppelin release 0.6.1 (rc2)

2016-08-13 Thread Victor Manuel Garcia
+1

2016-08-13 18:45 GMT+02:00 Prabhjyot Singh :

> +1
>
> On 13 Aug 2016 9:25 p.m., "Sourav Mazumder" 
> wrote:
>
> > + 1
> >
> > Regards,
> > Sourav
> >
> > > On ১৩ আগস্ট, ২০১৬, at ২:১৭ পূর্বাহ্ণ, Hyung Sung Shim <
> hss...@nflabs.com>
> > wrote:
> > >
> > > +1
> > >
> > > 2016년 8월 13일 토요일, Khalid Huseynov님이 작성한 메시지:
> > >
> > >> +1
> > >>
> > >> On Aug 13, 2016 11:10 AM, "Ahyoung Ryu"  > >> > wrote:
> > >>
> > >>> +1
> > >>>
> > >>> 2016년 8월 13일 (토) 오후 2:41, Anthony Corbacho <
> anthonycorba...@apache.org
> > >> >님이
> > >>> 작성:
> > >>>
> >  +1
> > 
> >  On Saturday, 13 August 2016, moon soo Lee  > >> > wrote:
> > 
> > > +1
> > >
> > > Verified
> > > - No unexpected binaries in source package
> > > - LICENSE, NOTICE exists
> > > - Build from source
> > > - Signature
> > > - Run binary packages (netinst, all)
> > > - Run SparkInterpreter with spark-2.0 and scala-2.11
> > >
> > > Best,
> > > moon
> > >
> > > On Fri, Aug 12, 2016 at 6:37 AM Jianfeng (Jeff) Zhang <
> > > jzh...@hortonworks.com  > wrote:
> > >
> > >>
> > >> +1
> > >>
> > >> Build it with profile spark-2.0, and ran tutorial note
> > >> successfully.
> > >> AM & Executor logs are available in yarn-client mode.
> > >>
> > >>
> > >>
> > >> Best Regard,
> > >> Jeff Zhang
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> On 8/12/16, 7:36 PM, "mina lee"  
> > >> >
> > > wrote:
> > >>
> > >>> Hi folks,
> > >>>
> > >>> I propose the following RC to be released for the Apache Zeppelin
> >  0.6.1
> > >>> release.
> > >>>
> > >>> The commit id is c928f9a46ecacebc868d6dc10a95c02f9018a18e which
> > >> is
> > >>> corresponds
> > >>> to the tag v0.6.1-rc2:
> > >>> *
> > >> https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> > > commit;h=c928f9a
> > >>> 46ecacebc868d6dc10a95c02f9018a18e
> > >>> <
> > >> https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> > > commit;h=c928f9a
> > >>> 46ecacebc868d6dc10a95c02f9018a18e>*
> > >>>
> > >>> The release archives (tgz), signature, and checksums are here
> > >>> https://dist.apache.org/repos/dist/dev/zeppelin/
> > >> zeppelin-0.6.1-rc2/
> > >>>
> > >>> The release candidate consists of the following source
> > >> distribution
> > >>> archive
> > >>> zeppelin-0.6.1.tgz
> > >>>
> > >>> In addition, the following supplementary binary distributions are
> > > provided
> > >>> for user convenience at the same location
> > >>> zeppelin-0.6.1-bin-all.tgz
> > >>> zeppelin-0.6.1-netinst-all.tgz
> > >>>
> > >>> The maven artifacts are here
> > >> https://repository.apache.org/content/repositories/
> > > orgapachezeppelin-1016/
> > >>> org/apache/zeppelin/
> > >>>
> > >>> You can find the KEYS file here:
> > >>> https://people.apache.org/keys/committer/minalee.asc
> > >>>
> > >>> Release notes available at
> > >>> *
> > >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > > version=12336543
> > >>> tyleName=Html=12316221
> > >>> <
> > >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > > version=12336543
> > >>> tyleName=Html=12316221>*
> > >>>
> > >>> Vote will be open for next 72 hours (close at 5am 15/Aug PDT).
> > >>>
> > >>> [ ] +1 approve
> > >>> [ ] 0 no opinion
> > >>> [ ] -1 disapprove (and reason why)
> > >>
> >
>



-- 
*Victor Manuel Garcia Martinez*
*Technical Architect*



*+34 672104297  | victor.gar...@beeva.com *
 *  | victormanuel.garcia.marti...@bbva.com
*






Re: [VOTE] Apache Zeppelin release 0.6.1 (rc2)

2016-08-13 Thread Prabhjyot Singh
+1

On 13 Aug 2016 9:25 p.m., "Sourav Mazumder" 
wrote:

> + 1
>
> Regards,
> Sourav
>
> > On ১৩ আগস্ট, ২০১৬, at ২:১৭ পূর্বাহ্ণ, Hyung Sung Shim 
> wrote:
> >
> > +1
> >
> > 2016년 8월 13일 토요일, Khalid Huseynov님이 작성한 메시지:
> >
> >> +1
> >>
> >> On Aug 13, 2016 11:10 AM, "Ahyoung Ryu"  >> > wrote:
> >>
> >>> +1
> >>>
> >>> 2016년 8월 13일 (토) 오후 2:41, Anthony Corbacho  >> >님이
> >>> 작성:
> >>>
>  +1
> 
>  On Saturday, 13 August 2016, moon soo Lee  >> > wrote:
> 
> > +1
> >
> > Verified
> > - No unexpected binaries in source package
> > - LICENSE, NOTICE exists
> > - Build from source
> > - Signature
> > - Run binary packages (netinst, all)
> > - Run SparkInterpreter with spark-2.0 and scala-2.11
> >
> > Best,
> > moon
> >
> > On Fri, Aug 12, 2016 at 6:37 AM Jianfeng (Jeff) Zhang <
> > jzh...@hortonworks.com  > wrote:
> >
> >>
> >> +1
> >>
> >> Build it with profile spark-2.0, and ran tutorial note
> >> successfully.
> >> AM & Executor logs are available in yarn-client mode.
> >>
> >>
> >>
> >> Best Regard,
> >> Jeff Zhang
> >>
> >>
> >>
> >>
> >>
> >> On 8/12/16, 7:36 PM, "mina lee" 
> >> >
> > wrote:
> >>
> >>> Hi folks,
> >>>
> >>> I propose the following RC to be released for the Apache Zeppelin
>  0.6.1
> >>> release.
> >>>
> >>> The commit id is c928f9a46ecacebc868d6dc10a95c02f9018a18e which
> >> is
> >>> corresponds
> >>> to the tag v0.6.1-rc2:
> >>> *
> >> https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> > commit;h=c928f9a
> >>> 46ecacebc868d6dc10a95c02f9018a18e
> >>> <
> >> https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> > commit;h=c928f9a
> >>> 46ecacebc868d6dc10a95c02f9018a18e>*
> >>>
> >>> The release archives (tgz), signature, and checksums are here
> >>> https://dist.apache.org/repos/dist/dev/zeppelin/
> >> zeppelin-0.6.1-rc2/
> >>>
> >>> The release candidate consists of the following source
> >> distribution
> >>> archive
> >>> zeppelin-0.6.1.tgz
> >>>
> >>> In addition, the following supplementary binary distributions are
> > provided
> >>> for user convenience at the same location
> >>> zeppelin-0.6.1-bin-all.tgz
> >>> zeppelin-0.6.1-netinst-all.tgz
> >>>
> >>> The maven artifacts are here
> >> https://repository.apache.org/content/repositories/
> > orgapachezeppelin-1016/
> >>> org/apache/zeppelin/
> >>>
> >>> You can find the KEYS file here:
> >>> https://people.apache.org/keys/committer/minalee.asc
> >>>
> >>> Release notes available at
> >>> *
> >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > version=12336543
> >>> tyleName=Html=12316221
> >>> <
> >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > version=12336543
> >>> tyleName=Html=12316221>*
> >>>
> >>> Vote will be open for next 72 hours (close at 5am 15/Aug PDT).
> >>>
> >>> [ ] +1 approve
> >>> [ ] 0 no opinion
> >>> [ ] -1 disapprove (and reason why)
> >>
>


Re: [VOTE] Apache Zeppelin release 0.6.1 (rc2)

2016-08-13 Thread Sourav Mazumder
+ 1

Regards,
Sourav

> On ১৩ আগস্ট, ২০১৬, at ২:১৭ পূর্বাহ্ণ, Hyung Sung Shim  
> wrote:
> 
> +1
> 
> 2016년 8월 13일 토요일, Khalid Huseynov님이 작성한 메시지:
> 
>> +1
>> 
>> On Aug 13, 2016 11:10 AM, "Ahyoung Ryu" > > wrote:
>> 
>>> +1
>>> 
>>> 2016년 8월 13일 (토) 오후 2:41, Anthony Corbacho > >님이
>>> 작성:
>>> 
 +1
 
 On Saturday, 13 August 2016, moon soo Lee > > wrote:
 
> +1
> 
> Verified
> - No unexpected binaries in source package
> - LICENSE, NOTICE exists
> - Build from source
> - Signature
> - Run binary packages (netinst, all)
> - Run SparkInterpreter with spark-2.0 and scala-2.11
> 
> Best,
> moon
> 
> On Fri, Aug 12, 2016 at 6:37 AM Jianfeng (Jeff) Zhang <
> jzh...@hortonworks.com  > wrote:
> 
>> 
>> +1
>> 
>> Build it with profile spark-2.0, and ran tutorial note
>> successfully.
>> AM & Executor logs are available in yarn-client mode.
>> 
>> 
>> 
>> Best Regard,
>> Jeff Zhang
>> 
>> 
>> 
>> 
>> 
>> On 8/12/16, 7:36 PM, "mina lee" 
>> >
> wrote:
>> 
>>> Hi folks,
>>> 
>>> I propose the following RC to be released for the Apache Zeppelin
 0.6.1
>>> release.
>>> 
>>> The commit id is c928f9a46ecacebc868d6dc10a95c02f9018a18e which
>> is
>>> corresponds
>>> to the tag v0.6.1-rc2:
>>> *
>> https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> commit;h=c928f9a
>>> 46ecacebc868d6dc10a95c02f9018a18e
>>> <
>> https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> commit;h=c928f9a
>>> 46ecacebc868d6dc10a95c02f9018a18e>*
>>> 
>>> The release archives (tgz), signature, and checksums are here
>>> https://dist.apache.org/repos/dist/dev/zeppelin/
>> zeppelin-0.6.1-rc2/
>>> 
>>> The release candidate consists of the following source
>> distribution
>>> archive
>>> zeppelin-0.6.1.tgz
>>> 
>>> In addition, the following supplementary binary distributions are
> provided
>>> for user convenience at the same location
>>> zeppelin-0.6.1-bin-all.tgz
>>> zeppelin-0.6.1-netinst-all.tgz
>>> 
>>> The maven artifacts are here
>> https://repository.apache.org/content/repositories/
> orgapachezeppelin-1016/
>>> org/apache/zeppelin/
>>> 
>>> You can find the KEYS file here:
>>> https://people.apache.org/keys/committer/minalee.asc
>>> 
>>> Release notes available at
>>> *
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> version=12336543
>>> tyleName=Html=12316221
>>> <
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> version=12336543
>>> tyleName=Html=12316221>*
>>> 
>>> Vote will be open for next 72 hours (close at 5am 15/Aug PDT).
>>> 
>>> [ ] +1 approve
>>> [ ] 0 no opinion
>>> [ ] -1 disapprove (and reason why)
>> 


[GitHub] zeppelin pull request #1296: [ZEPPELIN-1302] fix rinterpreter default prop v...

2016-08-13 Thread WeichenXu123
GitHub user WeichenXu123 reopened a pull request:

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

[ZEPPELIN-1302] fix rinterpreter default prop values init error

### What is this PR for?
1.
Correct the calling to `SparkInterpreter.getSystemDefault`
from
`SparkInterpreter.getSystemDefault(propName, envName, defaultValue) `
to
`SparkInterpreter.getSystemDefault(envName, propName, defaultValue) `
2.
correct the `propName` parameter for `rhadoop.sparkstreamingjar` here.

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

### Todos
N/A

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

### How should this be tested?
Existing tests.

### Screenshots (if appropriate)
N/A

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



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

$ git pull https://github.com/WeichenXu123/zeppelin fix_rinterpreter_props

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

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


commit cb7ce6487954ded13c63c8de89c19596c806723d
Author: WeichenXu 
Date:   2016-08-06T04:08:39Z

fix rinterpreter default prop values init error




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1296: [ZEPPELIN-1302] fix rinterpreter default prop v...

2016-08-13 Thread WeichenXu123
Github user WeichenXu123 closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1255: [ZEPPELIN-1258] Add Spark packages support to Livy int...

2016-08-13 Thread mfelgamal
Github user mfelgamal commented on the issue:

https://github.com/apache/zeppelin/pull/1255
  
@felixcheung  do you have any further comments ?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (ZEPPELIN-1326) java.lang.ClassNotFoundException: org.apache.hadoop.security.UserGroupInformation$AuthenticationMethod exception on JDBC interpreter

2016-08-13 Thread Lee moon soo (JIRA)
Lee moon soo created ZEPPELIN-1326:
--

 Summary: java.lang.ClassNotFoundException: 
org.apache.hadoop.security.UserGroupInformation$AuthenticationMethod exception 
on JDBC interpreter 
 Key: ZEPPELIN-1326
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1326
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.7.0
Reporter: Lee moon soo


java.lang.ClassNotFoundException: 
org.apache.hadoop.security.UserGroupInformation$AuthenticationMethod error on 
using jdbc interpreter after ZEPPELIN-1212

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


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



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


[GitHub] zeppelin issue #1296: [ZEPPELIN-1302] fix rinterpreter default prop values i...

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

https://github.com/apache/zeppelin/pull/1296
  
@WeichenXu123 adding a commit, or close / reopen this pullrequest will 
trigger the 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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Problem while creating mysql interpreter

2016-08-13 Thread moon soo Lee
Hi,

Regarding java.lang.ClassNotFoundException: org.apache.hadoop.security.
UserGroupInformation$AuthenticationMethod error, I assume you're using
master branch. (0.6.x branch shouldn't have this error)
You can add "org.apache.hadoop:hadoop-common:2.7.2" in the Dependencies
section of your interpreter setting on GUI, to remove this error.

If you want to put your custom driver, you can set path of your jar in the
local filesystem, in the Dependencies section of your interpreter setting,
instead of "mysql:mysql-connector-java:5.1.38".

Thanks,
moon

On Wed, Aug 10, 2016 at 4:25 AM Ram Shankar Yadav 
wrote:

> Hi,
> I was trying to create mysql interpreter using the reference document :
> https://zeppelin.apache.org/docs/0.6.0/interpreter/jdbc.html
>
> I added required details for creating the interpreter:
>
> ​
> I've also added the Credentials inside Credentials tab
>
> ​
> But I'm getting this output:
>
> ​
> text:
>
>> java.lang.ClassNotFoundException:
>> org.apache.hadoop.security.UserGroupInformation$AuthenticationMethod
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> at
>> org.apache.zeppelin.jdbc.security.JDBCSecurityImpl.getAuthtype(JDBCSecurityImpl.java:71)
>> at
>> org.apache.zeppelin.jdbc.JDBCInterpreter.getConnection(JDBCInterpreter.java:217)
>> at
>> org.apache.zeppelin.jdbc.JDBCInterpreter.getStatement(JDBCInterpreter.java:275)
>> at
>> org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(JDBCInterpreter.java:346)
>> at
>> org.apache.zeppelin.jdbc.JDBCInterpreter.interpret(JDBCInterpreter.java:452)
>> at
>> org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
>> at
>> org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:383)
>> at org.apache.zeppelin.scheduler.Job.run(Job.java:176)
>> at
>> org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
>> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> at
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>> at
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> at java.lang.Thread.run(Thread.java:745)
>
>
> Also,
> I realized that Zeppelin automatically creates localrepo folder and mysql
> driver inside : local-repo/mysql/mysql-connector-java
>
> How can I use a custom JDBC driver? Where should I put my jdbc connector
> jar files?
>
> Cheers,
> Ram
>


Re: [VOTE] Apache Zeppelin release 0.6.1 (rc2)

2016-08-13 Thread Hyung Sung Shim
+1

2016년 8월 13일 토요일, Khalid Huseynov님이 작성한 메시지:

> +1
>
> On Aug 13, 2016 11:10 AM, "Ahyoung Ryu"  > wrote:
>
> > +1
> >
> > 2016년 8월 13일 (토) 오후 2:41, Anthony Corbacho  >님이
> > 작성:
> >
> > > +1
> > >
> > > On Saturday, 13 August 2016, moon soo Lee  > wrote:
> > >
> > > > +1
> > > >
> > > > Verified
> > > >  - No unexpected binaries in source package
> > > >  - LICENSE, NOTICE exists
> > > >  - Build from source
> > > >  - Signature
> > > >  - Run binary packages (netinst, all)
> > > >  - Run SparkInterpreter with spark-2.0 and scala-2.11
> > > >
> > > > Best,
> > > > moon
> > > >
> > > > On Fri, Aug 12, 2016 at 6:37 AM Jianfeng (Jeff) Zhang <
> > > > jzh...@hortonworks.com  > wrote:
> > > >
> > > > >
> > > > > +1
> > > > >
> > > > > Build it with profile spark-2.0, and ran tutorial note
> successfully.
> > > > > AM & Executor logs are available in yarn-client mode.
> > > > >
> > > > >
> > > > >
> > > > > Best Regard,
> > > > > Jeff Zhang
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 8/12/16, 7:36 PM, "mina lee" 
> >
> > > > wrote:
> > > > >
> > > > > >Hi folks,
> > > > > >
> > > > > >I propose the following RC to be released for the Apache Zeppelin
> > > 0.6.1
> > > > > >release.
> > > > > >
> > > > > >The commit id is c928f9a46ecacebc868d6dc10a95c02f9018a18e which
> is
> > > > > >corresponds
> > > > > >to the tag v0.6.1-rc2:
> > > > > >*
> > > > > https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> > > > commit;h=c928f9a
> > > > > >46ecacebc868d6dc10a95c02f9018a18e
> > > > > ><
> > > > > https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> > > > commit;h=c928f9a
> > > > > >46ecacebc868d6dc10a95c02f9018a18e>*
> > > > > >
> > > > > >The release archives (tgz), signature, and checksums are here
> > > > > >https://dist.apache.org/repos/dist/dev/zeppelin/
> zeppelin-0.6.1-rc2/
> > > > > >
> > > > > >The release candidate consists of the following source
> distribution
> > > > > >archive
> > > > > >zeppelin-0.6.1.tgz
> > > > > >
> > > > > >In addition, the following supplementary binary distributions are
> > > > provided
> > > > > >for user convenience at the same location
> > > > > >zeppelin-0.6.1-bin-all.tgz
> > > > > >zeppelin-0.6.1-netinst-all.tgz
> > > > > >
> > > > > >The maven artifacts are here
> > > > > >
> > > > > https://repository.apache.org/content/repositories/
> > > > orgapachezeppelin-1016/
> > > > > >org/apache/zeppelin/
> > > > > >
> > > > > >You can find the KEYS file here:
> > > > > >https://people.apache.org/keys/committer/minalee.asc
> > > > > >
> > > > > >Release notes available at
> > > > > >*
> > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > > > version=12336543
> > > > > >tyleName=Html=12316221
> > > > > ><
> > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > > > version=12336543
> > > > > >tyleName=Html=12316221>*
> > > > > >
> > > > > >Vote will be open for next 72 hours (close at 5am 15/Aug PDT).
> > > > > >
> > > > > >[ ] +1 approve
> > > > > >[ ] 0 no opinion
> > > > > >[ ] -1 disapprove (and reason why)
> > > > >
> > > > >
> > > >
> > >
> >
>


Re: [VOTE] Apache Zeppelin release 0.6.1 (rc2)

2016-08-13 Thread Khalid Huseynov
+1

On Aug 13, 2016 11:10 AM, "Ahyoung Ryu"  wrote:

> +1
>
> 2016년 8월 13일 (토) 오후 2:41, Anthony Corbacho 님이
> 작성:
>
> > +1
> >
> > On Saturday, 13 August 2016, moon soo Lee  wrote:
> >
> > > +1
> > >
> > > Verified
> > >  - No unexpected binaries in source package
> > >  - LICENSE, NOTICE exists
> > >  - Build from source
> > >  - Signature
> > >  - Run binary packages (netinst, all)
> > >  - Run SparkInterpreter with spark-2.0 and scala-2.11
> > >
> > > Best,
> > > moon
> > >
> > > On Fri, Aug 12, 2016 at 6:37 AM Jianfeng (Jeff) Zhang <
> > > jzh...@hortonworks.com > wrote:
> > >
> > > >
> > > > +1
> > > >
> > > > Build it with profile spark-2.0, and ran tutorial note successfully.
> > > > AM & Executor logs are available in yarn-client mode.
> > > >
> > > >
> > > >
> > > > Best Regard,
> > > > Jeff Zhang
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 8/12/16, 7:36 PM, "mina lee" >
> > > wrote:
> > > >
> > > > >Hi folks,
> > > > >
> > > > >I propose the following RC to be released for the Apache Zeppelin
> > 0.6.1
> > > > >release.
> > > > >
> > > > >The commit id is c928f9a46ecacebc868d6dc10a95c02f9018a18e which is
> > > > >corresponds
> > > > >to the tag v0.6.1-rc2:
> > > > >*
> > > > https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> > > commit;h=c928f9a
> > > > >46ecacebc868d6dc10a95c02f9018a18e
> > > > ><
> > > > https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> > > commit;h=c928f9a
> > > > >46ecacebc868d6dc10a95c02f9018a18e>*
> > > > >
> > > > >The release archives (tgz), signature, and checksums are here
> > > > >https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.6.1-rc2/
> > > > >
> > > > >The release candidate consists of the following source distribution
> > > > >archive
> > > > >zeppelin-0.6.1.tgz
> > > > >
> > > > >In addition, the following supplementary binary distributions are
> > > provided
> > > > >for user convenience at the same location
> > > > >zeppelin-0.6.1-bin-all.tgz
> > > > >zeppelin-0.6.1-netinst-all.tgz
> > > > >
> > > > >The maven artifacts are here
> > > > >
> > > > https://repository.apache.org/content/repositories/
> > > orgapachezeppelin-1016/
> > > > >org/apache/zeppelin/
> > > > >
> > > > >You can find the KEYS file here:
> > > > >https://people.apache.org/keys/committer/minalee.asc
> > > > >
> > > > >Release notes available at
> > > > >*
> > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > > version=12336543
> > > > >tyleName=Html=12316221
> > > > ><
> > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > > version=12336543
> > > > >tyleName=Html=12316221>*
> > > > >
> > > > >Vote will be open for next 72 hours (close at 5am 15/Aug PDT).
> > > > >
> > > > >[ ] +1 approve
> > > > >[ ] 0 no opinion
> > > > >[ ] -1 disapprove (and reason why)
> > > >
> > > >
> > >
> >
>


Re: [VOTE] Apache Zeppelin release 0.6.1 (rc2)

2016-08-13 Thread Ahyoung Ryu
+1

2016년 8월 13일 (토) 오후 2:41, Anthony Corbacho 님이
작성:

> +1
>
> On Saturday, 13 August 2016, moon soo Lee  wrote:
>
> > +1
> >
> > Verified
> >  - No unexpected binaries in source package
> >  - LICENSE, NOTICE exists
> >  - Build from source
> >  - Signature
> >  - Run binary packages (netinst, all)
> >  - Run SparkInterpreter with spark-2.0 and scala-2.11
> >
> > Best,
> > moon
> >
> > On Fri, Aug 12, 2016 at 6:37 AM Jianfeng (Jeff) Zhang <
> > jzh...@hortonworks.com > wrote:
> >
> > >
> > > +1
> > >
> > > Build it with profile spark-2.0, and ran tutorial note successfully.
> > > AM & Executor logs are available in yarn-client mode.
> > >
> > >
> > >
> > > Best Regard,
> > > Jeff Zhang
> > >
> > >
> > >
> > >
> > >
> > > On 8/12/16, 7:36 PM, "mina lee" >
> > wrote:
> > >
> > > >Hi folks,
> > > >
> > > >I propose the following RC to be released for the Apache Zeppelin
> 0.6.1
> > > >release.
> > > >
> > > >The commit id is c928f9a46ecacebc868d6dc10a95c02f9018a18e which is
> > > >corresponds
> > > >to the tag v0.6.1-rc2:
> > > >*
> > > https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> > commit;h=c928f9a
> > > >46ecacebc868d6dc10a95c02f9018a18e
> > > ><
> > > https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=
> > commit;h=c928f9a
> > > >46ecacebc868d6dc10a95c02f9018a18e>*
> > > >
> > > >The release archives (tgz), signature, and checksums are here
> > > >https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.6.1-rc2/
> > > >
> > > >The release candidate consists of the following source distribution
> > > >archive
> > > >zeppelin-0.6.1.tgz
> > > >
> > > >In addition, the following supplementary binary distributions are
> > provided
> > > >for user convenience at the same location
> > > >zeppelin-0.6.1-bin-all.tgz
> > > >zeppelin-0.6.1-netinst-all.tgz
> > > >
> > > >The maven artifacts are here
> > > >
> > > https://repository.apache.org/content/repositories/
> > orgapachezeppelin-1016/
> > > >org/apache/zeppelin/
> > > >
> > > >You can find the KEYS file here:
> > > >https://people.apache.org/keys/committer/minalee.asc
> > > >
> > > >Release notes available at
> > > >*
> > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > version=12336543
> > > >tyleName=Html=12316221
> > > ><
> > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> > version=12336543
> > > >tyleName=Html=12316221>*
> > > >
> > > >Vote will be open for next 72 hours (close at 5am 15/Aug PDT).
> > > >
> > > >[ ] +1 approve
> > > >[ ] 0 no opinion
> > > >[ ] -1 disapprove (and reason why)
> > >
> > >
> >
>