Re: How to setup Zeppelin in AWS EC2

2017-09-23 Thread Park Hoon
Hi, Thanks for your opinion.

- Not every user uses spark and
- Some users might want to connect standalone Zeppelin with their existing
JDBC, elasticsearch, and so on.

That article might be too basic for you or advanced users. But I believe
our community has beginners and they can grow community more.

You might directly comment on the article about your points.


Regard,

On Sat, Sep 23, 2017 at 3:50 AM, Ken Barclay <kbarc...@ancestry.com> wrote:

> Thanks for that link Park – I think I’m missing something though: It’s
> useful to know more about how to configure Zeppelin, but what’s the point
> of installing Zeppelin on an EC2 instance? Don’t you need to point it to a
> Spark cluster? And if you’re going to run your queries against a cluster,
> and you’re using AWS, wouldn’t it make more sense to select Zeppelin and
> Spark as applications to deploy on EMR, which gets you both Zeppelin and
> cluster to run it against?
>
>
>
> *From: *Park Hoon <1am...@gmail.com>
> *Reply-To: *"users@zeppelin.apache.org" <users@zeppelin.apache.org>
> *Date: *Friday, September 22, 2017 at 10:18 AM
> *To: *"users@zeppelin.apache.org" <users@zeppelin.apache.org>
> *Subject: *How to setup Zeppelin in AWS EC2
>
>
>
> Hi @users,
>
> Andrew C. Oliver <https://www.infoworld.com/author/Andrew-C.-Oliver/> wrote
> an article *"How to set up Zeppelin for analytics and visualization in
> Amazon’s EC2"* in InfoWorld
>
>
>
> - https://www.infoworld.com/article/3226734/analytics/how-
> to-set-up-zeppelin-for-analytics-and-visualization.html
>
>
>
> This article covers the full steps (creating EC2, configure shiro, ...) so
> that could be helpful for users who want to setup Zeppelin for their team
> on AWS.
>
>
>
> Regard,
>


How to setup Zeppelin in AWS EC2

2017-09-22 Thread Park Hoon
Hi @users,

Andrew C. Oliver  wrote
an article *"**How to set up Zeppelin for analytics and visualization in
Amazon’s EC2**"* in InfoWorld

-
https://www.infoworld.com/article/3226734/analytics/how-to-set-up-zeppelin-for-analytics-and-visualization.html

This article covers the full steps (creating EC2, configure shiro, ...) so
that could be helpful for users who want to setup Zeppelin for their team
on AWS.

Regard,


Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-11 Thread Park Hoon
Hi, could you share the paragraph to show how did you run a paragraph in a
different paragraph?

> if we want to run a paragraph from another paragraph in the same notebook
(to refresh it),

Regard,

On Mon, Sep 11, 2017 at 11:24 PM, Luis Angel Vicente Sanchez <
zeppelin-us...@bigcente.ch> wrote:

> Some extra info:
>
> println(s"AUTHENTICATION INFO ::
> ${z.getInterpreterContext.getAuthenticationInfo.getUser}
> ${z.getInterpreterContext.getAuthenticationInfo.getTicket}")
>
> That line inside a Spark notebook prints both the user name and the
> ticket that the user gets after a successful login... so the interpreter
> knows who the user is. Can that info be used to run a paragraph?
>
>
> --
>   Luis Angel Vicente Sanchez
>   zeppelin-us...@bigcente.ch
>
> On Mon, 11 Sep 2017, at 12:16, Luis Angel Vicente Sanchez wrote:
> > And we are running the notebook using spark local, and using a whirl
> > JdbcRealm to authenticate users is there anything we can do to make the
> > spark interpreter impersonate the front-end user?
> >
> > --
> >   Luis Angel Vicente Sanchez
> >   zeppelin-us...@bigcente.ch
> >
> > On Mon, 11 Sep 2017, at 11:14, Luis Angel Vicente Sanchez wrote:
> > > We are using Zeppelin 0.7.1/
> > >
> > >
> > > --
> > >   Luis Angel Vicente Sanchez
> > >   zeppelin-us...@bigcente.ch
> > >
> > > On Mon, 11 Sep 2017, at 11:12, Luis Angel Vicente Sanchez wrote:
> > > > Hi,
> > > >
> > > > We have enabled notebook permissions in our Zeppelin installation and
> > > > now we are facing the problem that if we want to run a paragraph from
> > > > another paragraph in the same notebook (to refresh it), the user
> that is
> > > > running that paragraph is the anonymous user and not the front-end
> user
> > > > and, therefore, we get a "ForbiddenException" because of that.
> > > >
> > > > Is there a way to run a paragraph as the front-end user?
> > > >
> > > >
> > > > Kind regards,
> > > >
> > > > Luis Angel Vicente Sanchez
> > > > zeppelin-us...@bigcente.ch
>


Re: Connection pool starvation due to GetUserList.getUserList

2017-09-07 Thread Park Hoon
Hi, the fix was merged and shipped in 0.7.3 (in few days) and 0.8.0


- https://github.com/apache/zeppelin/pull/2567


Regard,

On Tue, Sep 5, 2017 at 1:42 AM, Luis Angel Vicente Sanchez <
zeppelin-us...@bigcente.ch> wrote:

> Hi,
>
> I think there is a bug on the getUserList method when the Shiro realm is
> a JdbcRealm. A connection is borrowed from the connection pool but it's
> never close:
>
> https://github.com/apache/zeppelin/blob/master/zeppelin-
> server/src/main/java/org/apache/zeppelin/rest/GetUserList.java#L241
>
>
> Kind regards,
>
> Luis Angel Vicente Sanchez
> zeppelin-us...@bigcente.ch
>


Re: config two different python interpreter

2017-09-03 Thread Park Hoon
Hi,

Could you try conda or pyenv to manage multiple pyhon installations?

I haven't used the redhat distribution. But In my machine, conda and
pyenv work.


Regard,

On Fri, Sep 1, 2017 at 12:36 PM, Reminia Scarlet <reminia.scar...@gmail.com>
wrote:

> No.
> Installed from redhat software collections,
> which can be enabled by scl.
>
> And what scl enable does is adding python binary and other related python
> libs to environment variables.
>
> So I think only specify a python bin path is not enough to locate a python
> interpreter.
>
>
>
> 在 2017年9月1日,上午11:26,Park Hoon <1am...@gmail.com> 写道:
>
> Hi, I would like to ask how you installed two python instances.
>
> - Was it installed via conda or pyenv?
> - Or..
>
>
> Thanks.
>
> On Tue, Aug 29, 2017 at 7:40 PM, Reminia Scarlet <
> reminia.scar...@gmail.com> wrote:
>
>> I installed two python , python27 and python34;
>>
>> My system python is python27.
>>
>> And I create a python interpreter of python34 specified the python
>> location.
>>
>> But when running paragraph, it said
>>
>> error while loading shared libraries: libpython3.4m.so.rh-python34-1.0:
>> cannot open shared object file: No such file or directory
>>
>>
>> I think only specify the python binary is not enough when adding a new
>> python interpreter.
>>
>> We should specify python home.
>>
>
>
>


Re: AWS ElasticSearch Service with Zeppelin

2017-09-03 Thread Park Hoon
Hi, I think u need to use 9200 or 9300 depending on the client.



-
https://stackoverflow.com/questions/42721259/elasticsearch-interpreter-can-not-connect-to-database/42731420#42731420



Regard,

On Fri, Sep 1, 2017 at 10:46 PM, Saksham Srivastava  wrote:

> Hi,
>
>
> Has anyone tried to connect AWS managed ElasticSearch cluster to Zeppelin?
> Our managed elastic-search domain end-point look something like this:
>
> https://search-abc-xyz-prod-fdizuwhbc4663qlh2tqghghydajycy
> u.us-east-1.es.amazonaws.com
>
> I have successfully added the elasticsearch interpreter in Zeppelin
> (0.7.2)
>
>
> What should be the values of the following configs:
>
> elasticsearch.client.type
> elasticsearch.cluster.name
> elasticsearch.host
> elasticsearch.port
>
>
> I have tried few configs like port being 443 etc. but none of them worked.
> The error I get is :Problem with the Elasticsearch client, please check
> your configuration (host, port,...)
>
> Any help would be greatly appreciated.
>
>
> Thanks,
>
> Saksham
>
>
>


Re: python is not responding on ver.0.7.2

2017-08-31 Thread Park Hoon
Hi, I haven't used net installation version. But it seems that u need to
install `py4j` python library as the error says

> No module named py4j.java_gateway

You can do easily `pip install py4j` with your python bin which related to
the python interpreter in Zeppelin.

On Tue, Aug 22, 2017 at 2:18 PM, 小野圭二  wrote:

> Hi,
>
> This might be an old and popular issue, but i could not find the solution
> on Jira, mail archive and so on.
> The python demo does not work.
>
> [Env]:  CentOS 6.2  Python 2.6.6
>  Zeppelin   0.7.2 netinst
>  beneath 'interpreter': jdbc,lib,md,python,shell,spark
> [notebook]: from demo
> %python
> import matplotlib.pyplot as plt
> plt.plot([1,2,3])
>
> Traceback (most recent call last):
> File "/tmp/zeppelin_python-2865335277309763273.py", line 20, in 
> from py4j.java_gateway import java_import, JavaGateway, GatewayClient
> ImportError: No module named py4j.java_gateway
> Traceback (most recent call last):
> File "/tmp/zeppelin_python-2865335277309763273.py", line 20, in 
> from py4j.java_gateway import java_import, JavaGateway, GatewayClient
> ImportError: No module named py4j.java_gateway
>
> python is not responding
>
>
> Any advice would be appreciated.
>
> -Keiji
>


Re: config two different python interpreter

2017-08-31 Thread Park Hoon
Hi, I would like to ask how you installed two python instances.

- Was it installed via conda or pyenv?
- Or..


Thanks.

On Tue, Aug 29, 2017 at 7:40 PM, Reminia Scarlet 
wrote:

> I installed two python , python27 and python34;
>
> My system python is python27.
>
> And I create a python interpreter of python34 specified the python
> location.
>
> But when running paragraph, it said
>
> error while loading shared libraries: libpython3.4m.so.rh-python34-1.0:
> cannot open shared object file: No such file or directory
>
>
> I think only specify the python binary is not enough when adding a new
> python interpreter.
>
> We should specify python home.
>


Re: download Failed - Network error

2017-08-31 Thread Park Hoon
Hi, Could you post the error logs + screenshots for the page?



On Wed, Aug 30, 2017 at 9:09 AM, shyla deshpande 
wrote:

> When I try to download data as csv file, I get download Failed - Network
> error.
>
> I am using Zeppelin 0.7.1
>
> I appreciate your input
>


Re: Unable to use angular backend or front end API to print variables

2017-08-04 Thread Park Hoon
Hi, regarding the difference

- (backend)
https://zeppelin.apache.org/docs/latest/displaysystem/back-end-angular.html
- (front)
https://zeppelin.apache.org/docs/latest/displaysystem/front-end-angular.html

In short,

- backend angular API works with other interpreters like spark, and so on.
So you can use angular API `z.angular*` with the existing interpreters (if
it's supported)
- on the other hand, frontend angular API provides `%angular`

Regard,



On Sat, Jul 22, 2017 at 6:50 AM, Arun Natva  wrote:

>
> > Hi,
> > I am trying to use zeppelin angular Interpreter to build an interactive
> report.
> >
> > Installed zeppelin 0.6.0 on HDP 2.5.2. When I bind a value using
> z.angularBind(), the variable is not printing in the print statement.
> >
> > Can anyone please shed light on what I am missing ?
> >
> > Paragraph1:
> >
> > %spark
> >
> > z.angularBind("name", "Arun Natva")
> >
> >
> > Paragraph2:
> >
> > %spark
> >
> > Println("%angular  Hello {{name}}")
> >
> > Above code prints "Hello" instead of "Hello Arun Natva"
> >
> > I tried to start with %angular but it was throwing some other connection
> error.
> >
> > I tried adding maven dependencies of angular plugin in the zeppelin
> configuration but no luck.
> >
> > org.apache.zeppelin:zeppelin-angular:0.6.0
> >
> >
> > Also, what the the difference between Frontend vs Backend API for
> angular on Zeppelin ?
> >
> >
> > Appreciate your help !!
> >
> > Thanks!
> >
> > Sent from my iPhone
>


Re: Geo Map Charting

2017-08-04 Thread Park Hoon
Hi, if you are using 0.8.0+ snapshot you can use custom visualization from
the online registry.

- (map) https://github.com/volumeint/helium-volume-leaflet
- (heatmap) https://github.com/ZEPL/zeppelin-ultimate-heatmap-chart

Regard,

On Thu, Aug 3, 2017 at 10:12 AM, Jeff Zhang  wrote:

>
> Zeppelin support bokeh which support Geo charting.  Here's some links
> which might be useful for you
> https://community.hortonworks.com/articles/109837/use-bokeh-
> in-apache-zeppelin.html
> http://bokeh.pydata.org/en/latest/docs/user_guide/geo.html
>
>
>
> Benjamin Kim 于2017年8月3日周四 上午6:23写道:
>
>> Anyone every try to chart density clusters or heat maps onto a geo map of
>> the earth in Zeppelin? Can it be done?
>>
>> Cheers,
>> Ben
>>
>


Re: How to find out zeppelin's version number from within a notebook?

2017-07-25 Thread Park Hoon
Great! I think we can send a get request in a paragraph.


Regard,



On Tue, Jul 25, 2017 at 8:22 PM, Partridge, Lucas (GE Aviation) <
lucas.partri...@ge.com> wrote:

> That worked thanks!  Although I had to use a different host and port
> because it’s hosted remotely. But I got this back in the browser:
>
>
>
> {"status":"OK","message":"Zeppelin version","body":"0.7.0.2.6.0.11-1"}
>
>
>
> Ideally it would be nice to have a variable like zeppelin.version
> accessible from Python or Scala though too.
>
>
>
> *From:* Park Hoon [mailto:1am...@gmail.com]
> *Sent:* 25 July 2017 12:11
> *To:* users@zeppelin.apache.org
> *Subject:* EXT: Re: How to find out zeppelin's version number from within
> a notebook?
>
>
>
> Hi,
>
> Could you test `http://localhost:8080/api/version`?
>
> You will get this kind of response. `version` is what you are looking for
>
> [image: cid:ii_j5jhbxyd0_15d79706fc8ac4ea]
> If you are working with JS code, you can get version in this way
>
>   $scope.getInterpreterBindingModeDocsLink = function() {
>
> const currentVersion = $rootScope.zeppelinVersion
>
>
> https://github.com/apache/zeppelin/blob/master/zeppelin-
> web/src/app/interpreter/interpreter.controller.js#L777-L778
>
>
> Regard,
>
>
> ​
>
>
>
> On Tue, Jul 25, 2017 at 5:50 PM, Partridge, Lucas (GE Aviation) <
> lucas.partri...@ge.com> wrote:
>
> Unfortunately the version number is missing from the ‘About Zeppelin’
> dialog box and I have no access to the file system. So is there something
> like ‘zeppelin.version’ we can type within a notebook’s paragraph to find
> out what version we’re running please?
>
>
>


Re: Caused by: java.lang.NoSuchMethodError: org.apache.zeppelin.interpreter.InterpreterGroup.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;

2017-07-21 Thread Park Hoon
Hi,

Zeppelin 0.7.1 was built using JDK 8, so it requires JDK8+

Could you test it with Zeppelin 0.7.2 and JDK7? It will work.



Thanks.

On Mon, Jun 26, 2017 at 10:10 PM, Serega Sheypak 
wrote:

> Hi, what is the right way to fix it? Found: https://issues.apache.
> org/jira/browse/ZEPPELIN-2405
> But I do compile with java-7 and run on java-7...
>


Re: Invoke notebook from REST api?

2017-07-21 Thread Park Hoon
Hi,

You can run a specific paragraph async / sync

-
http://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/usage/rest_api/notebook.html#run-a-paragraph-asynchronously

or are able to run the note (containing paragraphs)

-
http://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/usage/rest_api/notebook.html#run-all-paragraphs

Regard,


On Thu, Jul 20, 2017 at 11:15 PM,  wrote:

> Is this possible?
>
> Thank you.
>
> Get Outlook for Android 
>
>


Re: Locking a paragraph for editing

2017-07-21 Thread Park Hoon
Hi,

AFAIK, Zeppelin doesn't distinguish the roles for running and modification.
`Writer` and `Owner` can execute and edit the paragraph.

-
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java#L1718-L1727


Regard,

On Fri, Jul 21, 2017 at 8:19 AM, Ben Vogan  wrote:

> Hi all,
>
> Is it possible to allow someone to view and run paragraphs in a note, but
> not allow them to edit them?  If so, how do I do that?
>
> Thanks,
>
> --
> *BENJAMIN VOGAN* | Data Platform Team Lead
>
> 
>  
>  
> 
>


[DISCUSS] Release 0.8.0

2017-07-16 Thread Park Hoon
Hi, @user and @dev.

Recently, The last major release was about 5 months ago and many new
features bug fixes have been implemented / applied for few months.

Even though all features discussed in the thread before (“Roadmap for
0.8.0”[1]), some are available now.

So I think we can release 0.8.0 as the latest one while keeping 0.7.2 as
the most stable one as @moon suggested in the “Roadmap for 0.8.0” mailing
thread.

Shall we proceed to 0.8.0?

Here is the umbrella issue for the release 0.8.0. If you have issues to be
shared, Please add them to the ticket.

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

[1]
https://lists.apache.org/thread.html/f4be5635e6e72d2a9dc23771ceeaef8a8e5933bfb14db7cab303bc22@%3Cdev.zeppelin.apache.org%3E

Regard,


Re: Spell Helium plugin

2017-06-19 Thread Park Hoon
Hi. Thanks for sharing your problem while using Spell.


Could you share the exact use case?

On Mon, Jun 19, 2017 at 5:51 PM, Ganko, Marek (Nokia - PH/Quezon City) <
marek.ga...@nokia.com> wrote:

> Hi,
>
>
> I'm testing my Helium Spell plugin written in angular - I'm using Zeppelin
> from current master unreleased version.
>
> How can I trigger my angular component from the Helium plugin?
>
> I tried to attach my module like this:
>
>
> angular.module('zeppelinWebApp').requires.push('myPlugin');
>
>
> and launch it in many different ways, but I didn't managed to actually run
> it.
>
> I achieved to compile my component using angular and pass the result as a
> promise to SpellResult class, but it resolves as a string instead of html.
>
>
> Thanks,
>
> Marek
>


Re: Official Docker Image for Apache Zeppelin 0.7.2

2017-06-19 Thread Park Hoon
Thanks for all feedbacks. @Mark Miller, @moon soo Lee


I created an umbrella ticker that collects docker image related issues.

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

We might track all problems regarding official images using the ticket.


Thanks.


On Mon, Jun 19, 2017 at 5:27 AM, Mark Miller <mamille...@gmail.com> wrote:

> Thanks, this is working pretty well for me on Ubuntu 16.  I can execute
> all of the spark, python and R code in the tutorial.
>
> I can't run the pig tutorial, but I assume that's because the docker
> container doesn't include a hadoop environment.
>
> I can't run the mahout code either, which surprised me.  I thought the
> "convenience paragraphs" were included to pull any required dependencies.
>
> python: can't open file '../scripts/mahout/add_mahout.py': [Errno 2] No
> such file or directory
>
> python: can't open file 'scripts/mahout/add_mahout_interpreters.py':
> [Errno 2] No such file or directory
>
>
> On Fri, Jun 16, 2017 at 1:22 AM, Park Hoon <1am...@gmail.com> wrote:
>
>> Hi, users.
>>
>> A few months ago the community started to create official docker image
>> for Zeppelin. As of 0.7.2, release process includes building docker image.
>> Thus, every release can ship its own docker image.
>>
>> You can test the docker image for 0.7.2 with this command.
>>
>> *docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.7.2*
>>
>> or you can set docker volume options to persist notebooks and logs like
>>
>> *docker run -p 8080:8080 --rm -v $PWD/logs:/logs -v
>> $PWD/notebook:/notebook -e ZEPPELIN_LOG_DIR='/logs' -e
>> ZEPPELIN_NOTEBOOK_DIR='/notebook' --name zeppelin apache/zeppelin:0.7.2*
>>
>> And here are few links which might be helpful
>>
>> - https://hub.docker.com/r/apache/zeppelin/
>> - https://github.com/apache/zeppelin/blob/master/docs/install/docker.md
>>
>> Since this is an initial version, it might include some bugs or be not
>> easy to configure some options.
>>
>> Hope that we can improve the docker file and deliver flexible images to
>> the community for various environments and use cases.
>>
>> Thanks.
>>
>>
>> FYI, if you are having trouble with access localhost:8080, try to clear
>> browser caches like
>>
>> [image: Inline image 1]
>>
>
>


Official Docker Image for Apache Zeppelin 0.7.2

2017-06-15 Thread Park Hoon
Hi, users.

A few months ago the community started to create official docker image for
Zeppelin. As of 0.7.2, release process includes building docker image.
Thus, every release can ship its own docker image.

You can test the docker image for 0.7.2 with this command.

*docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.7.2*

or you can set docker volume options to persist notebooks and logs like

*docker run -p 8080:8080 --rm -v $PWD/logs:/logs -v $PWD/notebook:/notebook
-e ZEPPELIN_LOG_DIR='/logs' -e ZEPPELIN_NOTEBOOK_DIR='/notebook' --name
zeppelin apache/zeppelin:0.7.2*

And here are few links which might be helpful

- https://hub.docker.com/r/apache/zeppelin/
- https://github.com/apache/zeppelin/blob/master/docs/install/docker.md

Since this is an initial version, it might include some bugs or be not easy
to configure some options.

Hope that we can improve the docker file and deliver flexible images to the
community for various environments and use cases.

Thanks.


FYI, if you are having trouble with access localhost:8080, try to clear
browser caches like

[image: Inline image 1]


[DISCUSSION] Extending TableData API

2017-06-11 Thread Park Hoon
Hi All,

Recently, ZEPPELIN-753 
(Tabledata abstraction) and ZEPPELIN-2020
 (Remote method
invocation for resources) were resolved.
Based on this work, we can improve Zeppelin with the following enhancements:

* register the table result as a shared resource
* list all available (registered) tables
* preview tables including its meta information (e.g columns, types, ..)
* download registered tables as CSV, and other formats.
* pivoting/filtering in backend to transforming larger data
* cross join tables in different interpreters (e.g Spark interpreter uses a
table result generated from JDBC interpreter)

You can find the full proposal in Extending Table Data API

which
is contributed by @1ambda, @khalidhuseynov, @Leemoonsoo.

Any question, feedback or discussion will be welcomed.


Thanks.


Re: Question on a smoother transition of output graphs

2017-06-08 Thread Park Hoon
Hi, we can think few options. (of course and more)

1. Keep the previous result and set lower transparent for it while running
the paragraph.
2. Clean the previous output and keep the height at least.

and +1 for improving that part.


Thanks.

On Fri, Jun 9, 2017 at 3:49 AM, Heejong Lee  wrote:

> Hi,
>
> I would like to use Zeppelin as a live dashboard alternative. I was happy
> with the nicely preconfigured UI of Zeppelin for the first few hours but
> suddenly realized that the output part of the paragraph is automatically
> folded before refreshing while the input part is running. It makes somehow
> my Zeppelin dashboard notebook blink every few minutes when I enable the
> built-in scheduler. I wonder if the smoother transition of the regenerated
> output graph is possible.  It would be nice to have the current graph
> untouched until the next one is available at least. Any advice for me?
>
> Thanks,
> Heejong
>
> This email and any attachments thereto may contain private, confidential,
> and/or privileged material for the sole use of the intended recipient. Any
> review, copying, or distribution of this email (or any attachments thereto)
> by others is strictly prohibited. If you are not the intended recipient,
> please contact the sender immediately and permanently delete the original
> and any copies of this email and any attachments thereto.
>


Re: Updating the official homepage

2017-05-29 Thread Park Hoon
Hi, all!

Regarding improving documentation page, a PR was submitted.

- https://github.com/apache/zeppelin/pull/2371


Any feedback or advice will be appreciated.

Thanks.


On Thu, May 25, 2017 at 6:44 PM, Park Hoon <1am...@gmail.com> wrote:

> Hi, All! Thanks for your opinion.
>
> I think we can search in stackoverflow as well using tags.
>
> - `apache-zeppelin`: 555 questions
> - `apache-zeppelin` + `spark`: 264
> - `apache-zeppelin` + `python`: 28
> - `apache-zeppelin` + `hive`: 20
> - `apache-zeppelin` + `cassandra`: 11
> - `apache-zeppelin` + `jdbc`: 6
> - `apache-zeppelin` + `sql`: 3
> - `apache-zeppelin` + `elasticsearch`: 3
>
> There are not tagged questions and SO might not reflect all usage.
>
>
> Thanks. :)
>
> On Thu, May 25, 2017 at 6:29 PM, moon soo Lee <m...@apache.org> wrote:
>
>> Hi,
>>
>> I just counted number of issues in Zeppelin JIRA, with text
>>
>> Spark / Livy - 841 / 117
>> JDBC / SQL - 195 / 252
>> Python - 234
>> Shell - 169
>> Markdown - 90
>> Cassandra - 83
>>
>> Theses numbers reflect community activity on each interpreter. Although
>> they are not exactly usage, i think it is still meaningful data in this
>> discussions.
>>
>> Thanks,
>> moon
>>
>> On Thu, May 25, 2017 at 6:00 PM Paul-Armand Verhaegen <
>> paularmand.verhae...@gmail.com> wrote:
>>
>>>
>>> +1 for not starting that war without data on usage.
>>>
>>> P
>>>
>>> On 25 May 2017, at 10:56, Partridge, Lucas (GE Aviation) <
>>> lucas.partri...@ge.com> wrote:
>>>
>>> Some great ideas here.
>>>
>>> I’m just a bit concerned about the most popular interpreters being
>>> listed as Spark, JDBC and Python. Is that based on real usage data for the
>>> different interpreters; if such data is available?  I’ve never knowingly
>>> used the JDBC interpreter, and the team of data scientists I work with
>>> mostly use the Python, SQL, Spark and Shell interpreters. But this will
>>> probably vary between teams and I don’t want to start a ‘my favourite 3
>>> interpreters’ war!  If you’re trying to appeal to the Data Scientist
>>> community, assuming that’s the main type of user, we should think of the
>>> interpreters that appeal most to them.
>>>
>>> Thanks, Lucas.
>>>
>>> *From:* Sora Lee [mailto:sora0...@zepl.com <sora0...@zepl.com>]
>>> *Sent:* 25 May 2017 03:53
>>> *To:* users@zeppelin.apache.org
>>> *Subject:* EXT: Re: Updating the official homepage
>>>
>>>
>>> +1 Nice design!
>>>
>>> And I also would like to suggest two ideas.
>>>
>>> 1. Adding 'Quick Interpreters Links' to documentations (
>>> http://zeppelin.apache.org/).
>>> for example, I attached the following screenshots about Cloudera web
>>> site.
>>>
>>>
>>>
>>>
>>>
>>>
>>> 2. Adding left menu documentation structure such as TensorFlow and
>>> Docker web site.
>>>
>>> I think this structure is more comfortable user point of view searching
>>> documentation.
>>>
>>> 
>>>
>>> - Docker
>>>
>>> ​
>>>
>>>
>>> What do you think of that?
>>> If that is okay, I'll make a rough design like Hoon!
>>> And also any suggestion or advice will be appreciated.
>>>
>>> Thanks,
>>> Sora
>>>
>>>
>>> 2017-05-25 11:21 GMT+09:00 Park Hoon <1am...@gmail.com>:
>>>
>>> Hi, All! Thanks for replying!
>>>
>>>
>>> I created a JIRA ticket for updating official homepage
>>> (https://issues.apache.org/jira/browse/ZEPPELIN-2583?jql=pro
>>> ject%20%3D%20ZEPPELIN)
>>>
>>> Also, I attached a rough design in this email and There are few details
>>> and backgrounds for the change.
>>>
>>>
>>>
>>> *1. Main Page (zeppelin.apache.com <http://zeppelin.apache.com/>):
>>> Header*
>>>
>>> ## Before
>>>
>>>
>>> 
>>>
>>> ## After
>>>
>>> 
>>>
>>>
>>> ## Details
>>>
>>> - Add `Quick Start` menu: which can be helpful for beginner
>>> - Remove `Github` menu: everyone can search GitHub.com/zeppelin
>>> <http://github.com/zeppelin> in google.
>>> - `Community` menu was moved to before `Apache` menu. That’s
>>> because It’

Re: Updating the official homepage

2017-05-25 Thread Park Hoon
Hi, All! Thanks for your opinion.

I think we can search in stackoverflow as well using tags.

- `apache-zeppelin`: 555 questions
- `apache-zeppelin` + `spark`: 264
- `apache-zeppelin` + `python`: 28
- `apache-zeppelin` + `hive`: 20
- `apache-zeppelin` + `cassandra`: 11
- `apache-zeppelin` + `jdbc`: 6
- `apache-zeppelin` + `sql`: 3
- `apache-zeppelin` + `elasticsearch`: 3

There are not tagged questions and SO might not reflect all usage.


Thanks. :)

On Thu, May 25, 2017 at 6:29 PM, moon soo Lee <m...@apache.org> wrote:

> Hi,
>
> I just counted number of issues in Zeppelin JIRA, with text
>
> Spark / Livy - 841 / 117
> JDBC / SQL - 195 / 252
> Python - 234
> Shell - 169
> Markdown - 90
> Cassandra - 83
>
> Theses numbers reflect community activity on each interpreter. Although
> they are not exactly usage, i think it is still meaningful data in this
> discussions.
>
> Thanks,
> moon
>
> On Thu, May 25, 2017 at 6:00 PM Paul-Armand Verhaegen <
> paularmand.verhae...@gmail.com> wrote:
>
>>
>> +1 for not starting that war without data on usage.
>>
>> P
>>
>> On 25 May 2017, at 10:56, Partridge, Lucas (GE Aviation) <
>> lucas.partri...@ge.com> wrote:
>>
>> Some great ideas here.
>>
>> I’m just a bit concerned about the most popular interpreters being listed
>> as Spark, JDBC and Python. Is that based on real usage data for the
>> different interpreters; if such data is available?  I’ve never knowingly
>> used the JDBC interpreter, and the team of data scientists I work with
>> mostly use the Python, SQL, Spark and Shell interpreters. But this will
>> probably vary between teams and I don’t want to start a ‘my favourite 3
>> interpreters’ war!  If you’re trying to appeal to the Data Scientist
>> community, assuming that’s the main type of user, we should think of the
>> interpreters that appeal most to them.
>>
>> Thanks, Lucas.
>>
>> *From:* Sora Lee [mailto:sora0...@zepl.com <sora0...@zepl.com>]
>> *Sent:* 25 May 2017 03:53
>> *To:* users@zeppelin.apache.org
>> *Subject:* EXT: Re: Updating the official homepage
>>
>>
>> +1 Nice design!
>>
>> And I also would like to suggest two ideas.
>>
>> 1. Adding 'Quick Interpreters Links' to documentations (
>> http://zeppelin.apache.org/).
>> for example, I attached the following screenshots about Cloudera web
>> site.
>>
>>
>>
>>
>>
>>
>> 2. Adding left menu documentation structure such as TensorFlow and Docker
>> web site.
>>
>> I think this structure is more comfortable user point of view searching
>> documentation.
>>
>> 
>>
>> - Docker
>>
>> ​
>>
>>
>> What do you think of that?
>> If that is okay, I'll make a rough design like Hoon!
>> And also any suggestion or advice will be appreciated.
>>
>> Thanks,
>> Sora
>>
>>
>> 2017-05-25 11:21 GMT+09:00 Park Hoon <1am...@gmail.com>:
>>
>> Hi, All! Thanks for replying!
>>
>>
>> I created a JIRA ticket for updating official homepage
>> (https://issues.apache.org/jira/browse/ZEPPELIN-2583?jql=
>> project%20%3D%20ZEPPELIN)
>>
>> Also, I attached a rough design in this email and There are few details
>> and backgrounds for the change.
>>
>>
>>
>> *1. Main Page (zeppelin.apache.com <http://zeppelin.apache.com/>): Header*
>>
>> ## Before
>>
>>
>> 
>>
>> ## After
>>
>> 
>>
>>
>> ## Details
>>
>> - Add `Quick Start` menu: which can be helpful for beginner
>> - Remove `Github` menu: everyone can search GitHub.com/zeppelin
>> <http://github.com/zeppelin> in google.
>> - `Community` menu was moved to before `Apache` menu. That’s because It’s
>> not the most important menu.
>>
>>
>>
>> *2. Main Page (zeppelin.apache.com <http://zeppelin.apache.com/>):
>> Section 1*
>>
>> ## Before
>>
>>
>> 
>>
>> ## After
>>
>> 
>>
>> ## Details
>>
>> *The used texts are just coped from somewhere, and design can be
>> improved. So please focus on the structure of the page, not the text.*
>>
>> - Remove the large `Apache Zeppelin` text. There is no reason to keep it.
>> Everyone knows this is Zeppelin web site.
>> - Replace the outdated `TUTORIAL VIDEO` button to `GET STARTED` button to
>> help new comers.
>>
>>
>>
>> *3. Main Page (zeppelin.apache.com <http://zeppelin.apache.com/>):
>>

Re: Windows Build Support

2017-04-21 Thread Park Hoon
Thanks for reply @moon.


Additionally, i create umbrella issue for windows support

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


Regard,
Hoon Park

On Thu, Apr 20, 2017 at 12:28 PM, moon soo Lee <m...@apache.org> wrote:

> Hi,
>
> Thanks for staring the thread.
>
> I've seen almost every month people report build broken on windows.
> Windows CI env will definitely help solving the problem.
>
> I'm +1 on setting up appveyor for the project.
>
> Due to very high usage on ASF's travis account, Zeppelin project guide
> each contributor setup travis account and check success/fail using Jenkins.
>
> I don't know how busy ASF's appveyor account. But I think we can first try
> just turn on appveyor with ASF's account and see how busy it is.
>
> Thanks,
> moon
>
>
> On Wed, Apr 19, 2017 at 5:15 AM Park Hoon <1am...@gmail.com> wrote:
>
>> Hi all,
>>
>> Some people are struggling with build Zeppelin in windows.
>>
>> - http://stackoverflow.com/questions/40498638/install-
>> zeppelin-on-windows/42560442#42560442
>>
>> IMO, it's enough to verify that zeppelin works well on windows.
>>
>> But it's not that hard to setup CI for windows and it's possible to
>> execute integration tests on windows, it's useful. As you know, we have
>> some issues related with windows env
>>
>> - https://issues.apache.org/jira/issues/?jql=project%20%
>> 3D%20ZEPPELIN%20and%20text%20~%20windows
>>
>> I found that some apache projects already use appveyor to run CI on
>> windows. (sadly, travis doesn't support)
>>
>> - (thrift) https://github.com/apache/thrift/blob/master/appveyor.yml
>> - (arrow) https://issues.apache.org/jira/browse/INFRA-12967
>>
>>
>>
>> Thanks.
>>
>>
>>


Re: Could not resolve dependencies for project org.apache.zeppelin:zeppelin-spark_2.10:jar:0.8.0-SNAPSHOT

2017-04-20 Thread Park Hoon
Hi, minwoo.

Could you describe your env including build command?

- OS version
- JDK, scala version
- build command

thanks!





On Thu, 20 Apr 2017 at 21:39 Kang Minwoo  wrote:

> Hello,
>
> I got fail to build zeppelin in my local computer.
> Revision is 652911abe457d48a540be4a3de2dad824691dfb1
>
> There is maven log.
>
> [ERROR] Failed to execute goal on project zeppelin-spark_2.10: Could not
> resolve dependencies for project
> org.apache.zeppelin:zeppelin-spark_2.10:jar:0.8.0-SNAPSHOT: Failure to find
> org.apache.zeppelin:zeppelin-display_2.11:jar:0.8.0-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal on project zeppelin-spark_2.10: Could not resolve dependencies for
> project org.apache.zeppelin:zeppelin-spark_2.10:jar:0.8.0-SNAPSHOT: Failure
> to find org.apache.zeppelin:zeppelin-display_2.11:jar:0.8.0-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced
> at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)
> at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:245)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.project.DependencyResolutionException: Could
> not resolve dependencies for project
> org.apache.zeppelin:zeppelin-spark_2.10:jar:0.8.0-SNAPSHOT: Failure to find
> org.apache.zeppelin:zeppelin-display_2.11:jar:0.8.0-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced
> at
> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)
> at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
> ... 23 more
> Caused by: org.eclipse.aether.resolution.DependencyResolutionException:
> Failure to find
> org.apache.zeppelin:zeppelin-display_2.11:jar:0.8.0-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced
> at
> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
> at
> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)
> ... 24 more
> Caused by: 

Re: No 'Access-Control-Allow-Origin' header

2016-11-01 Thread Park Hoon
Hi afancy,


Webservers (e.g nginx, apache, spring and so on) basically do not allow
AJAX requests from other origin (host + ip).

(See https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)

If you want your webserver to respond requests from other origin, you
should set proper options in the webserver.

You can refer this site: http://enable-cors.org/index.html


Thanks :)

On Fri, Oct 28, 2016 at 4:14 PM, afancy  wrote:

> Hi all,
>
> I get json in the angular environment, but got the 
> 'Access-Control-Allow-Origin'
> exception. See the following.
> How to solve this issue? Thanks for your advice!
>
> /afancy
>
> %angular
> 
>  readJson = function (url) {
> $.getJSON(url, function(data){
>  console.log(data.body);
> });
>  }
>
> readJson('http://129.241.107.186:4242/api/query/last?
> timeseries=ctt.traffic.JF&resolve=true');
> 
>
>
> XMLHttpRequest cannot load http://129.241.107.186:4242/
> api/query/last?timeseries=ctt.traffic.JF=true. No
> 'Access-Control-Allow-Origin' header is present on the requested resource.
> Origin 'http://localhost:8080' is therefore not allowed access.
>