[GitHub] zeppelin pull request #1148: [ZEPPELIN-1026] set syntax highlight based on d...
GitHub user minahlee reopened a pull request: https://github.com/apache/zeppelin/pull/1148 [ZEPPELIN-1026] set syntax highlight based on default bound interpreter ### What is this PR for? - Set syntax highlight based on default interpreter if %magic is not set - Get syntax highlight mode from backend ### What type of PR is it? Improvement ### Todos * [x] Add test * [x] Update [writingzeppelininterpreter.md](https://github.com/apache/zeppelin/blob/master/docs/development/writingzeppelininterpreter.md) * [ ] Fix test * [ ] Test after #1145 merged, modify if necessary ### What is the Jira issue? [ZEPPELIN-1026](https://issues.apache.org/jira/browse/ZEPPELIN-1026) ### Screenshots (if appropriate) This is screenshot when the default interpreter set to python interpreter. **Before** Has `scala` as syntax highlight language when %python is not set. https://cloud.githubusercontent.com/assets/8503346/16655312/af67a302-4494-11e6-949e-793ad0515d7a.png";> **After** Has `python` as syntax highlight language even when %python is not set. https://cloud.githubusercontent.com/assets/8503346/16655248/769d8ba4-4494-11e6-9b3c-dc5e026e9c53.png";> ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? yes You can merge this pull request into a Git repository by running: $ git pull https://github.com/minahlee/zeppelin ZEPPELIN-1026 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1148.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 #1148 commit ecb0af22df5e31641d87fdbf729c14186c0a56af Author: Mina Lee Date: 2016-07-07T10:12:28Z Add editor field commit 32ed3637eedb4ab5ca93f4049bd3c711f0d5634b Author: Mina Lee Date: 2016-07-07T11:42:53Z Align comments for readability commit 466e6a860af78e385304d17671edc5ab75d98aeb Author: Mina Lee Date: 2016-07-07T12:17:12Z Get paragraph editor mode from backend commit 04fe1fafe3985405233d892f446b9ea303ca9f78 Author: Mina Lee Date: 2016-07-07T14:15:53Z [DOC] Setting syntax highlight when writing new interpreter commit 1fb2e175907fa4b8568692604eac2c45aa405d3d Author: Mina Lee Date: 2016-07-07T17:04:34Z Add unit test for editor setting commit 6535dd49811cf50eb2d099f06663ad10760fa91c Author: Mina Lee Date: 2016-07-07T23:11:12Z Fix test --- 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 #1148: [ZEPPELIN-1026] set syntax highlight based on d...
Github user minahlee closed the pull request at: https://github.com/apache/zeppelin/pull/1148 --- 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: Node dependency issues trying to build zeppelin-web
I believe the problem is fixed by https://github.com/apache/zeppelin/pull/1149. It's merged in master now. So you can try rebase/merge master to your PR and see if problem disappears. Thanks, moon On Thu, Jul 7, 2016 at 2:57 PM Luciano Resende wrote: > I am getting some issues on Travis CI while trying to build some PRs [1], > and these errors seem to be unrelated to my changes as they are complaining > about node dependency versions : > > [ERROR] npm WARN deprecated minimatch@0.2.14: Please update to minimatch > 3.0.2 or higher to avoid a RegExp DoS issue > > [ERROR] npm WARN deprecated minimatch@2.0.10: Please update to minimatch > 3.0.2 or higher to avoid a RegExp DoS issue > > [ERROR] npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and > before will fail on node releases >= v7.0. Please update to graceful-fs@ > ^4.0.0 > as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. > > [ERROR] npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and > before will fail on node releases >= v7.0. Please update to graceful-fs@ > ^4.0.0 > as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. > > [ERROR] npm WARN deprecated minimatch@0.3.0: Please update to minimatch > 3.0.2 or higher to avoid a RegExp DoS issue > > [ERROR] npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and > before will fail on node releases >= v7.0. Please update to graceful-fs@ > ^4.0.0 > as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. > > [ERROR] npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer > maintained. Upgrade to lodash@^4.0.0. > > [ERROR] npm WARN deprecated CSSselect@0.7.0: the module is now available > as > 'css-select' > > [ERROR] npm WARN optional dep failed, continuing fsevents@1.0.12 > > [ERROR] npm WARN deprecated CSSwhat@0.4.7: the module is now available as > 'css-what' > > [ERROR] npm WARN deprecated minimatch@1.0.0: Please update to minimatch > 3.0.2 or higher to avoid a RegExp DoS issue > > > Are others seeing these issues ? > > I am trying to see if I can perform some of these updates, but please let > me know if this is a know issue or if someone else already have a fix for > this. > > [1] https://travis-ci.org/apache/zeppelin/jobs/143121653 > > Thanks > > > -- > Luciano Resende > http://twitter.com/lresende1975 > http://lresende.blogspot.com/ >
[GitHub] zeppelin issue #1113: [ZEPPELIN-1069]Ignore implicit interpreter when user e...
Github user AhyoungRyu commented on the issue: https://github.com/apache/zeppelin/pull/1113 @mwkang You don't need to close this PR if you want to reopen after just refactoring your code :) How about updating TODO list in your PR description with ### TODO - [ ] : refactor code and also the title to "[WIP][ZEPPELIN-1069]Ignore implicit interpreter when user enter wrong interpreter name"? --- 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 #1113: [ZEPPELIN-1069]Ignore implicit interpreter when...
Github user mwkang closed the pull request at: https://github.com/apache/zeppelin/pull/1113 --- 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 #1113: [ZEPPELIN-1069]Ignore implicit interpreter when user e...
Github user mwkang commented on the issue: https://github.com/apache/zeppelin/pull/1113 This PR is temporarily closed, While I refactor my codes. --- 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 #1100: [ZEPPELIN-1054] Improve "Credentials" UI
Github user corneadoug commented on the issue: https://github.com/apache/zeppelin/pull/1100 CI is green, merging if there is no more discussion --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] zeppelin issue #1140: [ZEPPELIN-1125] Application does not logout user when ...
Github user corneadoug commented on the issue: https://github.com/apache/zeppelin/pull/1140 @prabhjyotsingh I got it fixed by only replacing the logout function in the front-end with: ``` $http.post(logoutURL) .error(function(response) { console.log('logout error %o', response); }) .success(function(response) { $rootScope.userName = response.body.principal; $rootScope.ticket.principal = response.body.principal; $rootScope.ticket.ticket = response.body.ticket; $rootScope.ticket.roles = response.body.role; BootstrapDialog.show({ message: 'Logout Success' }); setTimeout(function() { window.location.replace('/'); }, 1000); }); ``` This could probably use some ngToast when 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 #1150: [HOTFIX] Fix NullPointerException at org.apache...
Github user asfgit closed the pull request at: https://github.com/apache/zeppelin/pull/1150 --- 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 #1150: [HOTFIX] Fix NullPointerException at org.apache.zeppel...
Github user bzz commented on the issue: https://github.com/apache/zeppelin/pull/1150 Looks good to me - with this guy I can bind the interpreter to the notebook without NPN. Do not we have some Selenium tests doing so? I'd like to merge ASAP as a hotfix. --- 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 #1100: [ZEPPELIN-1054] Improve "Credentials" UI
Github user AhyoungRyu commented on the issue: https://github.com/apache/zeppelin/pull/1100 @corneadoug yeah I did :) --- 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 #1139: [ZEPPELIN-235] jscs in zeppelin-web
Github user corneadoug commented on the issue: https://github.com/apache/zeppelin/pull/1139 @prabhjyotsingh Tested, LGTM CI failure is unrelated --- 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: [ANNOUNCE] Apache Zeppelin 0.6.0 released
Randy, Helium is not included in 0.6.0 release. Could you check which version are you using? I created a fix for 500 errors from Helium URL in master branch. https://github.com/apache/zeppelin/pull/1150 Ben, I can not reproduce the error, could you share how to reproduce error, or share your environment? Thanks, moon On Thu, Jul 7, 2016 at 4:02 PM Randy Gelhausen wrote: > I don't- I hoped providing that information may help finding & fixing the > problem. > > On Thu, Jul 7, 2016 at 5:53 PM, Benjamin Kim wrote: > >> Hi Randy, >> >> Do you know of any way to fix it or know of a workaround? >> >> Thanks, >> Ben >> >> On Jul 7, 2016, at 2:08 PM, Randy Gelhausen wrote: >> >> HTTP 500 errors from a Helium URL >> >> >> >
Re: [ANNOUNCE] Apache Zeppelin 0.6.0 released
FYI, the Helium logs in the console should be on master, but not on 0.6.0 branch. Those 500 errors should not have any effect when running. On Fri, Jul 8, 2016 at 8:01 AM, Randy Gelhausen wrote: > I don't- I hoped providing that information may help finding & fixing the > problem. > > On Thu, Jul 7, 2016 at 5:53 PM, Benjamin Kim wrote: > >> Hi Randy, >> >> Do you know of any way to fix it or know of a workaround? >> >> Thanks, >> Ben >> >> On Jul 7, 2016, at 2:08 PM, Randy Gelhausen wrote: >> >> HTTP 500 errors from a Helium URL >> >> >> >
[GitHub] zeppelin issue #1100: [ZEPPELIN-1054] Improve "Credentials" UI
Github user corneadoug commented on the issue: https://github.com/apache/zeppelin/pull/1100 @AhyoungRyu Can you rebase your branch please? --- 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 #1143: [ZEPPELIN-1085] Make dropdown menu scrollbar always vi...
Github user AhyoungRyu commented on the issue: https://github.com/apache/zeppelin/pull/1143 @jeffsteinmetz Right. So Firefox users can know they can scroll down and there is more menus even though this PR couldn't be applied to Firefox. Thanks for testing this @Leemoonsoo @jeffsteinmetz :) --- 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 #1151: Fonted download error code fix
GitHub user cquptEthan opened a pull request: https://github.com/apache/zeppelin/pull/1151 Fonted download error code fix ### What is this PR for? Fix chinese garbled open with Excel #714 ### What type of PR is it? Bug Fix ### Todos * [ ] - Add Bom Header ### What is the Jira issue? [ZEPPELIN-672](https://issues.apache.org/jira/browse/ZEPPELIN-672) ### How should this be tested? create a paragraph with chinses chars data in %table view. download with CSV format and open with Excel. ### 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/cquptEthan/incubator-zeppelin fonted-download-error-code-fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1151.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 #1151 commit 46628c265d8d6f2ed8493d5dfaf95638fd7a6e74 Author: ZhangEthan <228477...@qq.com> Date: 2016-07-08T00:33:03Z Merge branch 'apache/master' into fonted-download-error-code-fix commit a4a99b4c210c2662f16d8a1aa072943e7da463c1 Author: ZhangEthan <228477...@qq.com> Date: 2016-07-08T00:47:25Z Fix chinese garbled in Excel add bom header in front-end download file --- 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-1135) Provide a manifest for data & interface to use it
Jesang Yoon created ZEPPELIN-1135: - Summary: Provide a manifest for data & interface to use it Key: ZEPPELIN-1135 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1135 Project: Zeppelin Issue Type: New Feature Components: documentation, GUI, zeppelin-interpreter Affects Versions: 0.7.0 Reporter: Jesang Yoon Priority: Minor While using various data at various sources (difference URLs) to run a mixed data analysis via zeppelin, my team encounter problem with manging many different data source URLs and share between teammates. So I propose a idea to solve this problem by providing "manifest of data and interface to use it" and want to build consensus between contributors and PPMC before build and commit a code. h4. Pain points * Files or resources tend to be displaced to various location. (HDFS, Web, etc...) * It's bit complicated to remember & identify location of data and use a long URL for it. * URL for data is not enough to describe what is inside of it. h4. How to resolve it # Define a format of web based document(XML/JSON/YAML) contains manifest(or meta) of data that can be used by team. #* Title of data #* Location of data (URL) #* Description of data #* Tags of data (for search) # Build a zeppelin interface function to search & view description of data described at 1. # Build a zeppelin interface function to return a real location of data captured at 2. to using with load() functions of various interpreters. h4. Effects * Able to share single clean and neat information about data between teammates. * Do not have to follow & change all URLs in notebooks when location of data has been modified. * Easy to search and use data in analysis codes. Please review this idea and give comments :) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] zeppelin pull request #1150: [HOTFIX] Fix NullPointerException at org.apache...
GitHub user Leemoonsoo opened a pull request: https://github.com/apache/zeppelin/pull/1150 [HOTFIX] Fix NullPointerException at org.apache.zeppelin.notebook.Paragraph.getRepl(Paragraph.java:204) ### What is this PR for? When notebook is being loaded, following error is raised after #836 ``` Caused by: java.lang.NullPointerException at org.apache.zeppelin.notebook.Paragraph.getRepl(Paragraph.java:204) at org.apache.zeppelin.notebook.Paragraph.getCurrentRepl(Paragraph.java:208) at org.apache.zeppelin.helium.Helium.suggestApp(Helium.java:138) at org.apache.zeppelin.rest.HeliumRestApi.suggest(HeliumRestApi.java:83) 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.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) ... 50 more ``` ### What type of PR is it? Hotfix ### Todos * [x] - Fix ### What is the Jira issue? ZEPPELIN-732, ZEPPELIN-1075 ### How should this be tested? Run Zeppelin and load any notebook. And see if there're unexpected exception raised. ### 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/Leemoonsoo/zeppelin fix_npe Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1150.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 #1150 commit 3e8697b675bc1682ab6348b810a2f19fb827cee5 Author: Lee moon soo Date: 2016-07-07T23:51:39Z Set interpreter factory into paragraph right after loaded --- 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: [ANNOUNCE] Apache Zeppelin 0.6.0 released
I don't- I hoped providing that information may help finding & fixing the problem. On Thu, Jul 7, 2016 at 5:53 PM, Benjamin Kim wrote: > Hi Randy, > > Do you know of any way to fix it or know of a workaround? > > Thanks, > Ben > > On Jul 7, 2016, at 2:08 PM, Randy Gelhausen wrote: > > HTTP 500 errors from a Helium URL > > >
[GitHub] zeppelin issue #928: [ZEPPELIN-116] Add Mahout Support for Spark Interpreter
Github user rawkintrevo commented on the issue: https://github.com/apache/zeppelin/pull/928 last commit was to get around that web application fail. Added my own logging to shed some light on the situation: `21:59:21,200 INFO org.apache.zeppelin.rest.AbstractTestRestApi:134 - pySparkTest: %text pyspark is not responding` --- 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 #1119: [DOC] Zeppelin 0.6.0 release note
Github user minahlee commented on the issue: https://github.com/apache/zeppelin/pull/1119 Merge if there is no more discussion --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Node dependency issues trying to build zeppelin-web
I am getting some issues on Travis CI while trying to build some PRs [1], and these errors seem to be unrelated to my changes as they are complaining about node dependency versions : [ERROR] npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. [ERROR] npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. [ERROR] npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. [ERROR] npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. [ERROR] npm WARN deprecated CSSselect@0.7.0: the module is now available as 'css-select' [ERROR] npm WARN optional dep failed, continuing fsevents@1.0.12 [ERROR] npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what' [ERROR] npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue Are others seeing these issues ? I am trying to see if I can perform some of these updates, but please let me know if this is a know issue or if someone else already have a fix for this. [1] https://travis-ci.org/apache/zeppelin/jobs/143121653 Thanks -- Luciano Resende http://twitter.com/lresende1975 http://lresende.blogspot.com/
[GitHub] zeppelin issue #1138: [DOC][MINOR] Add shell interpreter docs to _navigation...
Github user felixcheung commented on the issue: https://github.com/apache/zeppelin/pull/1138 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 issue #1141: [Bugfix] Wrong return value of HDFSFileInterpreter com...
Github user felixcheung commented on the issue: https://github.com/apache/zeppelin/pull/1141 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 issue #1030: [ZEPPELIN-1023] Add more credential apis.
Github user felixcheung commented on the issue: https://github.com/apache/zeppelin/pull/1030 PR template does have the JIRA link ask? I thought not every contributor in JIRA can change "assign" or "fix version" and it's up to the admin resolving the JIRA to set 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] zeppelin pull request #1149: [HOTFIX] Master branch build fail after merge c...
Github user asfgit closed the pull request at: https://github.com/apache/zeppelin/pull/1149 --- 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 #1149: [HOTFIX] Master branch build fail after merge ca4e587f...
Github user Leemoonsoo commented on the issue: https://github.com/apache/zeppelin/pull/1149 I'm merging it into master as a hotfix. --- 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 #1145: [ZEPPELIN-1012] Support Interpreter Aliases
Github user Leemoonsoo commented on the issue: https://github.com/apache/zeppelin/pull/1145 I have tested this branch and i've got some feedbacks **Interpreter-setting name and alias** I see interpreter-setting has alias field. And how about just use interpreter-setting name as an alias, for simplicity? instead of having both name and alias field. **Interpreter selection mechanism.** This PR changes current interpreter selection mechanism a lot. For example, if i bind interpreter `%md, %spark (spark, sql), %shell ...` and try to use `%sql select * from table`, then i get `prefix not found`. I strongly recommend keep compatibility of previous interpreter selection mechanism, because it changes major user experience of Zeppelin. My suggestion is, 1. select interpreter in previous way first. i.e. matching [group].[name] with interpreter selection text. 2. if there is no matching interpreter, start matching [alias].[name] with interpreter selection text. while [matching rule](https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterFactory.java#L1004) is 1. if interpreter selection text specify full [group].[name] or [alias].[name], then simply find corresponding interpreter-setting and interpreter. 2. if interpreter selection text specify just name, first assume [group] or [alias] is omitted. 3. then assume [name] is omitted. **Import and change interpreter binding** It can be a future work, but i'd like to at least have an direction how we want to handle user experience change expected this PR brings. Before ``` - While Zeppelin instance have the same set of interpreters, imported notebook may run without modification - It was possible to quickly change interpreter binding without changing every paragraph. i.e. Bind 'spark-small-cluster' interpreter setting first and then bind 'spark-large-cluster' later without changing interpreter selection text of individual paragraphs ``` After ``` - If paragraph uses alias for interpreter selection, imported notebook will not able to run unless manually change interpreter selection text for the Zeppelin instance. - Once user want to run the same notebook with different interpreter-setting, user need to change interpreter selection text of all paragraphs ``` --- 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: [ANNOUNCE] Apache Zeppelin 0.6.0 released
Ben, I have the same problem. If you open your javascript console and watch while running any cell, you will see several HTTP 500 errors from a Helium URL. On Thu, Jul 7, 2016 at 4:27 PM, Benjamin Kim wrote: > To whom it may concern: > > After upgrading to Zeppelin 0.6.0, I am having a couple interpreter > anomalies. Please look below, and I hope that there will be an easy fix for > them. > > 1. Spark SQL gives me in this error in the Zeppelin Tutorial notebook, but > the Scala code to populate and register the temp table runs fine. > > java.lang.NullPointerException > at > org.apache.spark.sql.hive.client.ClientWrapper.conf(ClientWrapper.scala:205) > at > org.apache.spark.sql.hive.client.ClientWrapper.client(ClientWrapper.scala:261) > at > org.apache.spark.sql.hive.client.ClientWrapper$$anonfun$withHiveState$1.apply(ClientWrapper.scala:273) > at > org.apache.spark.sql.hive.client.ClientWrapper.liftedTree1$1(ClientWrapper.scala:228) > at > org.apache.spark.sql.hive.client.ClientWrapper.retryLocked(ClientWrapper.scala:227) > at > org.apache.spark.sql.hive.client.ClientWrapper.withHiveState(ClientWrapper.scala:270) > at org.apache.spark.sql.hive.HiveQLDialect.parse(HiveContext.scala:65) > at org.apache.spark.sql.SQLContext$$anonfun$2.apply(SQLContext.scala:211) > at org.apache.spark.sql.SQLContext$$anonfun$2.apply(SQLContext.scala:211) > at > org.apache.spark.sql.execution.SparkSQLParser$$anonfun$org$apache$spark$sql$execution$SparkSQLParser$$others$1.apply(SparkSQLParser.scala:114) > at > org.apache.spark.sql.execution.SparkSQLParser$$anonfun$org$apache$spark$sql$execution$SparkSQLParser$$others$1.apply(SparkSQLParser.scala:113) > at scala.util.parsing.combinator.Parsers$Success.map(Parsers.scala:136) > at scala.util.parsing.combinator.Parsers$Success.map(Parsers.scala:135) > at > scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:242) > at > scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:242) > at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:222) > at > scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1$$anonfun$apply$2.apply(Parsers.scala:254) > at > scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1$$anonfun$apply$2.apply(Parsers.scala:254) > at scala.util.parsing.combinator.Parsers$Failure.append(Parsers.scala:202) > at > scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:254) > at > scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:254) > at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:222) > at > scala.util.parsing.combinator.Parsers$$anon$2$$anonfun$apply$14.apply(Parsers.scala:891) > at > scala.util.parsing.combinator.Parsers$$anon$2$$anonfun$apply$14.apply(Parsers.scala:891) > at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) > at scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:890) > at > scala.util.parsing.combinator.PackratParsers$$anon$1.apply(PackratParsers.scala:110) > at > org.apache.spark.sql.catalyst.AbstractSparkSQLParser.parse(AbstractSparkSQLParser.scala:34) > at org.apache.spark.sql.SQLContext$$anonfun$1.apply(SQLContext.scala:208) > at org.apache.spark.sql.SQLContext$$anonfun$1.apply(SQLContext.scala:208) > at > org.apache.spark.sql.execution.datasources.DDLParser.parse(DDLParser.scala:43) > at org.apache.spark.sql.SQLContext.parseSql(SQLContext.scala:231) > at org.apache.spark.sql.hive.HiveContext.parseSql(HiveContext.scala:333) > at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:817) > 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:497) > at > org.apache.zeppelin.spark.SparkSqlInterpreter.interpret(SparkSqlInterpreter.java:117) > at > org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94) > at > org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:341) > at org.apache.zeppelin.scheduler.Job.run(Job.java:176) > at > org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162) > 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) > > 2. Livy Spark SQL does n
[jira] [Created] (ZEPPELIN-1134) Possible Wildcard Parsing Bug
Michael created ZEPPELIN-1134: - Summary: Possible Wildcard Parsing Bug Key: ZEPPELIN-1134 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1134 Project: Zeppelin Issue Type: Bug Components: GUI Affects Versions: 0.6.0 Environment: Spark 1.6.2, ubuntu server, zeppelin 0.6.0 binary all interpreters Reporter: Michael Priority: Minor I have an issue where I try to load more than one file into a dataframe using a wildcard e.g. %pyspark df = sqlContext.read.json("/jsonfiles/*.json") throws an exception (stack trace at end). Whereas the following succeeds: df = sqlContext.read.json("/jsonfiles/namedfile.json") stack trace: Py4JJavaError: An error occurred while calling o147.json. : org.apache.spark.SparkException: Job aborted due to stage failure: Task 9 in stage 21.0 failed 4 times, most recent failure: Lost task 9.3 in stage 21.0 (TID 296, cti-u-125.tipic.on.bell.ca): java.lang.ClassNotFoundException: org.apache.spark.rdd.PairRDDFunctions$$anonfun$reduceByKey$1$$anonfun$apply$14 at org.apache.spark.repl.ExecutorClassLoader.findClass(ExecutorClassLoader.scala:84) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:278) at org.apache.spark.serializer.JavaDeserializationStream$$anon$1.resolveClass(JavaSerializer.scala:68) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:76) at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:115) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:64) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41) at org.apache.spark.scheduler.Task.run(Task.scala:89) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:227) 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) Driver stacktrace: at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1431) at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1419) at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1418) at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47) at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1418) at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:799) at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:799) at scala.Option.foreach(Option.scala:236) at org.apach
[GitHub] zeppelin pull request #1149: [HOTFIX] Master branch build fail after merge c...
GitHub user Leemoonsoo opened a pull request: https://github.com/apache/zeppelin/pull/1149 [HOTFIX] Master branch build fail after merge ca4e587f11a90169b7ae95fe53ce909b5226cf1a ### What is this PR for? Fixes master branch build fail with error ``` [INFO] --- frontend-maven-plugin:0.0.25:grunt (grunt build) @ zeppelin-web --- [INFO] Running 'grunt build --no-color' in /Users/moon/Projects/zeppelin/zeppelin-web [INFO] Running "jshint:all" (jshint) task [INFO] [INFO] â No problems [INFO] [INFO] [INFO] Running "htmlhint:src" (htmlhint) task [INFO]src/index.html [INFO] L57 | [INFO]^ The empty tag : [ link ] must be self closed. (tag-self-close) [INFO] L58 | [INFO]^ The empty tag : [ link ] must be self closed. (tag-self-close) [INFO] [INFO] >> 2 errors in 1 files [INFO] Warning: Task "htmlhint:src" failed. Use --force to continue. [INFO] [INFO] Aborted due to warnings. ``` ### What type of PR is it? Hot Fix ### Todos * [x] - close tag ### What is the Jira issue? ZEPPELIN-964, ZEPPELIN-1088 ### 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/Leemoonsoo/zeppelin hotfix_964 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1149.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 #1149 commit 96f8231a277288c5f6ea3279021b043444250174 Author: Lee moon soo Date: 2016-07-07T20:08:19Z close tag --- 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 #1132: [ZEPPELIN-1088] Add Htmlhint
Github user Leemoonsoo commented on the issue: https://github.com/apache/zeppelin/pull/1132 nevermind, errors gone after i remove `zeppelin-web/src/main/webapp` dir --- 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 #1132: [ZEPPELIN-1088] Add Htmlhint
Github user Leemoonsoo commented on the issue: https://github.com/apache/zeppelin/pull/1132 If i checkout `ee51a84e856aed3ca60dd13099db0bce66e9b93e` (commit that merges this PR) and build zeppelin-web, then i get following errors ``` [INFO] [INFO] Building Zeppelin: web Application 0.7.0-SNAPSHOT [INFO] [INFO] [INFO] --- maven-checkstyle-plugin:2.13:check (checkstyle-fail-build) @ zeppelin-web --- [INFO] [INFO] [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ zeppelin-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 17 resources [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce) @ zeppelin-web --- [INFO] [INFO] --- frontend-maven-plugin:0.0.25:install-node-and-npm (install node and npm) @ zeppelin-web --- [INFO] Node v0.12.13 is already installed. [INFO] Found NPM version 2.15.0 [INFO] [INFO] --- frontend-maven-plugin:0.0.25:npm (npm install) @ zeppelin-web --- [INFO] Running 'npm install --color=false' in /Users/moon/Projects/zeppelin/zeppelin-web [INFO] [INFO] --- frontend-maven-plugin:0.0.25:bower (bower install) @ zeppelin-web --- [INFO] Running 'bower --allow-root install' in /Users/moon/Projects/zeppelin/zeppelin-web [INFO] [INFO] --- frontend-maven-plugin:0.0.25:grunt (grunt build) @ zeppelin-web --- [INFO] Running 'grunt build --no-color' in /Users/moon/Projects/zeppelin/zeppelin-web [INFO] Running "jshint:all" (jshint) task [INFO] [INFO] â No problems [INFO] [INFO] [INFO] Running "htmlhint:src" (htmlhint) task [INFO]src/main/webapp/404.html [INFO] L13 |... Page Not Found :( [INFO]^ Tag must be paired, missing: [ ], open tag match failed [ ] on line 145. (tag-pair) [INFO] [INFO]src/main/webapp/index.html [INFO] L13 |...roller="MainCtrl" class="no-js"> [INFO] ^ Tag must be paired, missing: [ ], open tag match failed [ ] on line 13. (tag-pair) [INFO] [INFO]src/main/webapp/views/interpreter.html [INFO] L13 |...ettingAdd" ng-show="showAddNewSetting"> Create new interpreter Name {{groupName}} Properties ] on line 13. (tag-pair) [INFO] L13 |...reterProperty(key)"> NotebookZeppelin documentation Community Please feel free to help us to improv... [INFO] ^ The empty tag : [ br ] must be self closed. (tag-self-close) [INFO] L13 |...el free to help us to improve Zeppelin, Any contribution are welcome! http://zeppel... [INFO] ^ The empty tag : [ br ] must be self closed. (tag-self-close) [INFO] L13 |..., Any contribution are welcome! http://zeppelin.i... [INFO] ^ The empty tag : [ br ] must be self closed. (tag-self-close) [INFO] L13 |...lass="fa fa-users"> Mailing list https://issues.ap... [INFO] ^ The empty tag : [ br ] must be self closed. (tag-self-close) [INFO] L13 |...ass="fa fa-bug"> Issues tracking https://github.co... [INFO] ^ The empty tag : [ br ] must be self closed. (tag-self-close) [INFO] L13 |...b"> Github [INFO] ^ The empty tag : [ br ] must be self closed. (tag-self-close) [INFO] L13 |.../i> Github [INFO] ^ The empty tag : [ br ] must be self closed. (tag-self-close) [INFO] L13 |...Github [INFO] ^ The empty tag : [ br ] must be self closed. (tag-self-close) [INFO] [INFO]src/main/webapp/views/notebooks.html [INFO] L13 |... && !paragraphUrl"> http://www.quartz-sched... [INFO] ^ The empty tag : [ br ] must be self closed. (tag-self-close) [INFO] L13 |...r" target="_blank">cron expression. - Preset cron expression. - Preset {{cr.name}} - Cron expression {{cr.name}} - Cron expression - Cron expression Settings Interpreter binding Bind interpreter ... [INFO] ^ The empty tag : [ hr ] must be self closed. (tag-self-close) [INFO] L13 |... Drag and drop to reorder interpreters. The first interpreter on the list becomes default. To cr...
[GitHub] zeppelin issue #1143: [ZEPPELIN-1085] Make dropdown menu scrollbar always vi...
Github user Leemoonsoo commented on the issue: https://github.com/apache/zeppelin/pull/1143 Merge it into master if there is no more discussion --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] zeppelin issue #1142: [ZEPPELIN-1127] Show error message in case of exceptio...
Github user prabhjyotsingh commented on the issue: https://github.com/apache/zeppelin/pull/1142 Sure @Leemoonsoo I'll do 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] zeppelin issue #1142: [ZEPPELIN-1127] Show error message in case of exceptio...
Github user Leemoonsoo commented on the issue: https://github.com/apache/zeppelin/pull/1142 LGTM. @prabhjyotsingh Can this be merged into branch-0.6, 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Created] (ZEPPELIN-1133) python interpreter can not handle functions in certain format
Yesha Vora created ZEPPELIN-1133: Summary: python interpreter can not handle functions in certain format Key: ZEPPELIN-1133 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1133 Project: Zeppelin Issue Type: Bug Reporter: Yesha Vora Python interpreter can not handle a syntax where function is called right after function definition is finished. (formatA). However, if a new line is added after function definition, that syntax works fine with python interpreter. We should not need to add a line after function is defined. In python, we do not require to add a line after function is defined. Thus, zeppelin interpreter is not handling this situation correctly. Zeppelin user should be able to run above commandlines without additional space. {code:title=formatA} %python def greet(name): print 'Hello', name greet('Jack') greet('Jill') greet('Bob'){code} {code:title=output} File "", line 3 greet('Jack') ^ SyntaxError: invalid syntax Traceback (most recent call last): File "", line 1, in NameError: name 'greet' is not defined Traceback (most recent call last): File "", line 1, in NameError: name 'greet' is not defined{code} {code:title=formatB} %python def greet(name): print 'Hello', name greet('Jack') greet('Jill') greet('Bob'){code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] zeppelin issue #1142: [ZEPPELIN-1127] Show error message in case of exceptio...
Github user prabhjyotsingh commented on the issue: https://github.com/apache/zeppelin/pull/1142 Merging this if no more discussion. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Created] (ZEPPELIN-1132) python interpreter should handle raw_input correctly
Yesha Vora created ZEPPELIN-1132: Summary: python interpreter should handle raw_input correctly Key: ZEPPELIN-1132 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1132 Project: Zeppelin Issue Type: Bug Components: zeppelin-interpreter Affects Versions: 0.6.0 Reporter: Yesha Vora python interpreter should handle raw_input correctly {code} %python name = raw_input('What is your name?\n') print 'Hi, %s.' % name {code} raw_input is used to get input from user at execution time. If same commands are executed in python shell directly, it gets input from user. But Zeppelin interpreter can not get input from user. It stops execution at row_input. {code} root@:~# python Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> name = raw_input('What is your name?\n') What is your name? yesha >>> print 'Hi, %s.' % name Hi, yesha. >>> {code} Zeppelin should either show a valid error message (such as raw_input not supported) or should be able to accept user input at runtime. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (ZEPPELIN-1131) Does not initialize the values after fails login.
Shim HyungSung created ZEPPELIN-1131: Summary: Does not initialize the values after fails login. Key: ZEPPELIN-1131 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1131 Project: Zeppelin Issue Type: Bug Reporter: Shim HyungSung Does not initialize the values after fails login. so The wrong previous values are remained on the login page even if I close the login modal page. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] zeppelin pull request #1025: ZEPPELIN-964 ] Jobmanagement - (2) basic front-...
Github user asfgit closed the pull request at: https://github.com/apache/zeppelin/pull/1025 --- 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 #1143: [ZEPPELIN-1085] Make dropdown menu scrollbar always vi...
Github user jeffsteinmetz commented on the issue: https://github.com/apache/zeppelin/pull/1143 LGTM At least in Firefox, the scroll bar now displays for a few seconds (doesn't stay, but its an improvement). Chrome and Safari work as expected. Tested with: - Chrome on OSX: Version 51.0.2704.103 (64-bit) - Safari: Version 9.1.1 (10601.6.17) - Firefox on OSX: 47.0.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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] zeppelin issue #1146: ZEPPELIN-1129 Zeppelin fails to load notebooks with ol...
Github user Leemoonsoo commented on the issue: https://github.com/apache/zeppelin/pull/1146 Thanks for the fix. I have marked fix version 0.6.1 for issue ZEPPELIN-1129. So we can support old date format in the next minor release. Looks good to me and merge it into master and branch-0.6 if there're no more discussions. --- 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 #1133: [DOC][ZEPPELIN-732] Helium Application
Github user asfgit closed the pull request at: https://github.com/apache/zeppelin/pull/1133 --- 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 #928: [ZEPPELIN-116] Add Mahout Support for Spark Interpreter
Github user rawkintrevo commented on the issue: https://github.com/apache/zeppelin/pull/928 @Bzz, Re: the three Pyspark related tests in Zeppelin Spark Cluster- Similar scenarios would always work on my machine, and I am unable to reproduce the test failure locally. (Have been the whole time). With the exception of bumping to 0.7.0, I successfully run `mvn clean verify` locally on each run of code. Since updating to `0.7.0` running `mvn clean package -Ppyspark` I get the following errors: ``` Tests in error: HeliumApplicationFactoryTest.testUnloadOnInterpreterUnbind:227 » ClassCast jav... HeliumApplicationFactoryTest.testLoadRunUnloadApplication:145 » ClassCast java... HeliumApplicationFactoryTest.testUnloadOnInterpreterRestart:272 » ClassCast ja... HeliumApplicationFactoryTest.testUnloadOnParagraphRemove:189 » ClassCast java ``` **tog** was having similiar issues, (he attached his error log in the original email) [thread](https://lists.apache.org/thread.html/e71088130d5e71058890f09fa91df5c1c5111ecb401c63f27a9762a7@%3Cdev.zeppelin.apache.org%3E). I tried building with - `mvn clean package` - `mvn clean install` - `mvn clean package -Pbuild-dist` All will yield said error in testing. Though, I can successfully build and check the cases where the pyspark tests noted above are failing. (However, even before I was unable to recreate said tests locally). So the several pushes I made yesterday were related to the fact that I am basically flying *quasi* blind locally. ( I can still `mvn clean package` in the `zeppelin/mahout` directory ) For brevity I will not re copy and paste, but here is my thought: - I never messed with anything in pyspark, or the Zeppelin Server. - Functionality still works full when actually running Zeppelin - Thus this is an issue of test configuration. Upon reviewing the failed tests I noticed, the note_id they are using (which was originally designated for Spark Tests) is the sameone being used by the Mahout tests, even though they are in different interpreter groups. So I was attempting to change the note IDs, which is when I got the `null pointer` errors of the last test. That issue I was able to recreate locally, it had to do with not setting `Resource Pool` when creating the context in the MahoutTest. I've fixed that locally and have just pushed. The fact that this seemingly small oversight was calling failures leads me to believe that the *note* which Spark Test and Mahout Test are using, are also somehow being used by Zeppelin server, and this mash up being the root of 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] zeppelin issue #1143: [ZEPPELIN-1085] Make dropdown menu scrollbar always vi...
Github user prabhjyotsingh commented on the issue: https://github.com/apache/zeppelin/pull/1143 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 issue #1143: [ZEPPELIN-1085] Make dropdown menu scrollbar always vi...
Github user Leemoonsoo commented on the issue: https://github.com/apache/zeppelin/pull/1143 Thanks @AhyoungRyu for improvement. Tested with Chrome and Safari. 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 #1148: [ZEPPELIN-1026] set syntax highlight based on d...
GitHub user minahlee opened a pull request: https://github.com/apache/zeppelin/pull/1148 [ZEPPELIN-1026] set syntax highlight based on default bound interpreter ### What is this PR for? - Set syntax highlight based on default interpreter if %magic is not set - Get syntax highlight mode from backend ### What type of PR is it? Improvement ### Todos * [ ] Add test * [ ] Update [writingzeppelininterpreter.md](https://github.com/apache/zeppelin/blob/master/docs/development/writingzeppelininterpreter.md) * [ ] Rebase after #1145 merged ### What is the Jira issue? [ZEPPELIN-1026](https://issues.apache.org/jira/browse/ZEPPELIN-1026) ### Screenshots (if appropriate) **Before** https://cloud.githubusercontent.com/assets/8503346/16655312/af67a302-4494-11e6-949e-793ad0515d7a.png";> **After** https://cloud.githubusercontent.com/assets/8503346/16655248/769d8ba4-4494-11e6-9b3c-dc5e026e9c53.png";> ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? yes You can merge this pull request into a Git repository by running: $ git pull https://github.com/minahlee/zeppelin ZEPPELIN-1026 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1148.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 #1148 commit ecb0af22df5e31641d87fdbf729c14186c0a56af Author: Mina Lee Date: 2016-07-07T10:12:28Z Add editor field commit 32ed3637eedb4ab5ca93f4049bd3c711f0d5634b Author: Mina Lee Date: 2016-07-07T11:42:53Z Align comments for readability commit 466e6a860af78e385304d17671edc5ab75d98aeb Author: Mina Lee Date: 2016-07-07T12:17:12Z Get paragraph editor mode from backend --- 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 #1147: ZEPPELIN-1130 Make Livy create session retires configu...
Github user prabhjyotsingh commented on the issue: https://github.com/apache/zeppelin/pull/1147 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 #1147: ZEPPELIN-1130 Make Livy create session retires ...
GitHub user r-kamath opened a pull request: https://github.com/apache/zeppelin/pull/1147 ZEPPELIN-1130 Make Livy create session retires configurable ### What is this PR for? Make Livy create session retires configurable ### What type of PR is it? Improvement ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1130 ### How should this be tested? - Add/Edit `zeppelin.livy.create.session.retries` property in Livy interpreter settings - Run a paragraph with `%livy sc.version` - Verify the retries count in logs ### Questions: * Does the licenses files need update? n/a * Is there breaking changes for older versions? n/a * Does this needs documentation? n/a You can merge this pull request into a Git repository by running: $ git pull https://github.com/r-kamath/incubator-zeppelin ZEPPELIN-1130 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1147.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 #1147 commit 2f3db20e0a7b993b298cfd9569adebdf7e6f6cad Author: Renjith Kamath Date: 2016-07-07T12:51:08Z ZEPPELIN-1130 Make Livy create session retires configurable --- 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-1130) Make Livy create session retires configurable
Renjith Kamath created ZEPPELIN-1130: Summary: Make Livy create session retires configurable Key: ZEPPELIN-1130 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1130 Project: Zeppelin Issue Type: Bug Reporter: Renjith Kamath Assignee: Renjith Kamath Make Livy create session retires configurable. Currently it is a hardcoded value. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] zeppelin issue #1142: [ZEPPELIN-1127] Show error message in case of exceptio...
Github user jongyoul commented on the issue: https://github.com/apache/zeppelin/pull/1142 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 issue #1146: ZEPPELIN-1129 Zeppelin fails to load notebooks with ol...
Github user jongyoul commented on the issue: https://github.com/apache/zeppelin/pull/1146 Test case would help to understand this change. --- 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 #1140: Application does not logout user when authcBasic and `...
Github user r-kamath commented on the issue: https://github.com/apache/zeppelin/pull/1140 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 issue #1142: [ZEPPELIN-1127] Show error message in case of exceptio...
Github user r-kamath commented on the issue: https://github.com/apache/zeppelin/pull/1142 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 issue #1146: ZEPPELIN-1129 Zeppelin fails to load notebooks with ol...
Github user prabhjyotsingh commented on the issue: https://github.com/apache/zeppelin/pull/1146 Nice, good catch. 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 issue #1135: Add force layout visualization in paragraphs for SQL q...
Github user davidtzoor commented on the issue: https://github.com/apache/zeppelin/pull/1135 @AhyoungRyu I did exactly as you told me, and all of the other commits were added to my PR. I undid the push and went back to the original commit of the pull request. Can you please advise? thanks --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] zeppelin pull request #1146: ZEPPELIN-1129 Zeppelin fails to load notebooks ...
GitHub user r-kamath opened a pull request: https://github.com/apache/zeppelin/pull/1146 ZEPPELIN-1129 Zeppelin fails to load notebooks with old format ### What is this PR for? Old notebook fails to load due to date parse exception ### What type of PR is it? Bug Fix ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1129 ### How should this be tested? Keep a notebook with old date format in the notebook dir and reload notebooks on zeppelin home page ### Questions: * Does the licenses files need update? n/a * Is there breaking changes for older versions? n/a * Does this needs documentation? n/a You can merge this pull request into a Git repository by running: $ git pull https://github.com/r-kamath/incubator-zeppelin ZEPPELIN-1129 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1146.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 #1146 commit 5391d1215333a2cd38bf16010366688f16ed10e9 Author: Renjith Kamath Date: 2016-07-07T11:23:24Z ZEPPELIN-1129 Zeppelin fails to load notebooks with old format --- 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-1129) Zeppelin fails to load notebooks with old format
Renjith Kamath created ZEPPELIN-1129: Summary: Zeppelin fails to load notebooks with old format Key: ZEPPELIN-1129 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1129 Project: Zeppelin Issue Type: Bug Reporter: Renjith Kamath Assignee: Renjith Kamath {quote} Caused by: java.text.ParseException: Unparseable date: "2016-03-29T16:21:09-0700" {quote} {code} ERROR [2016-07-07 16:29:23,804] ({qtp393040818-40} VFSNotebookRepo.java[list]:142) - Can't read note file:///Users/test/zeppelin/notebook/2BNVQJUBK com.google.gson.JsonSyntaxException: 2016-03-29T16:21:09-0700 at com.google.gson.internal.bind.DateTypeAdapter.deserializeToDate(DateTypeAdapter.java:81) at com.google.gson.internal.bind.DateTypeAdapter.read(DateTypeAdapter.java:66) at com.google.gson.internal.bind.DateTypeAdapter.read(DateTypeAdapter.java:41) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81) at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) 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.VFSNotebookRepo.getNote(VFSNotebookRepo.java:168) at org.apache.zeppelin.notebook.repo.VFSNotebookRepo.getNoteInfo(VFSNotebookRepo.java:191) at org.apache.zeppelin.notebook.repo.VFSNotebookRepo.list(VFSNotebookRepo.java:137) at org.apache.zeppelin.notebook.repo.NotebookRepoSync.list(NotebookRepoSync.java:119) at org.apache.zeppelin.notebook.Notebook.reloadAllNotes(Notebook.java:474) at org.apache.zeppelin.socket.NotebookServer.generateNotebooksInfo(NotebookServer.java:418) at org.apache.zeppelin.socket.NotebookServer.broadcastReloadedNoteList(NotebookServer.java:456) at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:159) at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:56) at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:128) at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69) at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:65) at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:122) at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:161) at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:309) at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:214) at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220) at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258) at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:632) at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:480) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) Caused by: java.text.ParseException: Unparseable date: "2016-03-29T16:21:09-0700" at java.text.DateFormat.parse(DateFormat.java:366) at com.google.gson.internal.bind.DateTypeAdapter.deserializeToDate(DateTypeAdapter.java:79) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] zeppelin pull request #1145: [ZEPPELIN-1012] Support Interpreter Aliases
GitHub user jongyoul opened a pull request: https://github.com/apache/zeppelin/pull/1145 [ZEPPELIN-1012] Support Interpreter Aliases ### What is this PR for? Supporting aliases for same interpreter group and enabling running two interpreters with same groups. ### What type of PR is it? [Feature] ### Todos * [x] - Add InterpreterSettingRef * [x] - Add aliases feature ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-1012 ### How should this be tested? 1. Create spark2 interpreter in a interpreter tab 1. Add that interpreter in a notebook 1. run `%spark` and `%spark2` ### Screenshots (if appropriate) ### 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/jongyoul/zeppelin ZEPPELIN-1012 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1145.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 #1145 commit 979198966f4393ad7d6889aacc6da35f4740837d Author: Jongyoul Lee Date: 2016-07-04T11:14:33Z Removed InterpreterInfoSerializer and related codes Added annotation for InterpreterInfo commit ac08ce52d0b6ff48ad38c1fd090433ed61622a30 Author: Jongyoul Lee Date: 2016-07-04T11:31:17Z Cleaned codes commit a7aeb5331b9861310f40788e75067240964052a3 Author: Jongyoul Lee Date: 2016-07-05T02:38:35Z Cleaned codes commit f96db25fbda0a754bf241ca20aa58d3237a1adc6 Author: Jongyoul Lee Date: 2016-07-05T08:26:31Z Refactored getInterpreter method not to use RegisteredInterpreter commit 00fb816ef0ac012405e8067df2a4b3a4fe16e2ef Author: Jongyoul Lee Date: 2016-07-07T10:40:35Z Added feature for Interpreter aliases Extracted InterpreterInfo from InterpreterSetting --- 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 #1144: add try-catch in close() method.
GitHub user voyageth opened a pull request: https://github.com/apache/zeppelin/pull/1144 add try-catch in close() method. ### What is this PR for? Fix bug on JdbcInterpreter when hive server restarted. each connection.close() should be wraped by try-catch. ### What type of PR is it? Bug Fix ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1128 ### How should this be tested? Restart hive while zeppelin still alive. After that, Zeppelin notebook's hive query execution will be fail ![error](https://cloud.githubusercontent.com/assets/366810/16649904/3071ec56-4476-11e6-9d13-75d4fa0f8f4f.PNG) Stacktrace is like this. It was HiveInterpreter because i use zeppelin by yum install on centos(some old version). But JdbcInterpreter & HiveInterpreter's close() method is same. > ERROR [2016-07-07 18:23:46,676] ({pool-1-thread-2} HiveInterpreter.java[close]:166) - Error while closing... java.sql.SQLException: Error while cleaning up the server resources at org.apache.hive.jdbc.HiveConnection.close(HiveConnection.java:721) at org.apache.zeppelin.hive.HiveInterpreter.close(HiveInterpreter.java:151) at org.apache.zeppelin.interpreter.ClassloaderInterpreter.close(ClassloaderInterpreter.java:88) at org.apache.zeppelin.interpreter.LazyOpenInterpreter.close(LazyOpenInterpreter.java:78) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.close(RemoteInterpreterServer.java:232) at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$close.getResult(RemoteInterpreterService.java:1432) at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$close.getResult(RemoteInterpreterService.java:1417) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285) 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) Caused by: org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe at org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:161) at org.apache.thrift.transport.TSaslTransport.flush(TSaslTransport.java:501) at org.apache.thrift.transport.TSaslClientTransport.flush(TSaslClientTransport.java:37) at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:65) at org.apache.hive.service.cli.thrift.TCLIService$Client.send_CloseSession(TCLIService.java:177) at org.apache.hive.service.cli.thrift.TCLIService$Client.CloseSession(TCLIService.java:169) 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:497) at org.apache.hive.jdbc.HiveConnection$SynchronizedHandler.invoke(HiveConnection.java:1380) at com.sun.proxy.$Proxy0.CloseSession(Unknown Source) at org.apache.hive.jdbc.HiveConnection.close(HiveConnection.java:719) ... 12 more Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:159) ... 24 more ### Screenshots (if appropriate) ![error](https://cloud.githubusercontent.com/assets/366810/16649904/3071ec56-4476-11e6-9d13-75d4fa0f8f4f.PNG) You can merge this pull request into a Git repository by running: $ git pull https://github.com/voyageth/zeppelin patch-2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1144.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 #1144 commit b3d0ef61cb0588c17b629facc927bb31d624513f Author: SungjuKwon Date: 2016-07-07T10:04:06Z add try-catch in close() method. each connection
[jira] [Created] (ZEPPELIN-1128) Fix bug on JdbcInterpreter when hive server restarted.
Sungju Kwon created ZEPPELIN-1128: - Summary: Fix bug on JdbcInterpreter when hive server restarted. Key: ZEPPELIN-1128 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1128 Project: Zeppelin Issue Type: Bug Reporter: Sungju Kwon Priority: Trivial each connection.close() should be wraped by try-catch. ### How should this be tested? Restart hive while zeppelin still alive. After that, Zeppelin notebook's hive query execution will be fail ![error](https://cloud.githubusercontent.com/assets/366810/16649904/3071ec56-4476-11e6-9d13-75d4fa0f8f4f.PNG) Stacktrace is like this. It was HiveInterpreter because i use zeppelin by yum install on centos(some old version). But JdbcInterpreter & HiveInterpreter's close() method is same. > ERROR [2016-07-07 18:23:46,676] ({pool-1-thread-2} > HiveInterpreter.java[close]:166) - Error while closing... java.sql.SQLException: Error while cleaning up the server resources at org.apache.hive.jdbc.HiveConnection.close(HiveConnection.java:721) at org.apache.zeppelin.hive.HiveInterpreter.close(HiveInterpreter.java:151) at org.apache.zeppelin.interpreter.ClassloaderInterpreter.close(ClassloaderInterpreter.java:88) at org.apache.zeppelin.interpreter.LazyOpenInterpreter.close(LazyOpenInterpreter.java:78) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.close(RemoteInterpreterServer.java:232) at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$close.getResult(RemoteInterpreterService.java:1432) at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$close.getResult(RemoteInterpreterService.java:1417) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285) 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) Caused by: org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe at org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:161) at org.apache.thrift.transport.TSaslTransport.flush(TSaslTransport.java:501) at org.apache.thrift.transport.TSaslClientTransport.flush(TSaslClientTransport.java:37) at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:65) at org.apache.hive.service.cli.thrift.TCLIService$Client.send_CloseSession(TCLIService.java:177) at org.apache.hive.service.cli.thrift.TCLIService$Client.CloseSession(TCLIService.java:169) 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:497) at org.apache.hive.jdbc.HiveConnection$SynchronizedHandler.invoke(HiveConnection.java:1380) at com.sun.proxy.$Proxy0.CloseSession(Unknown Source) at org.apache.hive.jdbc.HiveConnection.close(HiveConnection.java:719) ... 12 more Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:159) ... 24 more ### Screenshots ![error](https://cloud.githubusercontent.com/assets/366810/16649904/3071ec56-4476-11e6-9d13-75d4fa0f8f4f.PNG) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] zeppelin issue #1143: [ZEPPELIN-1085] Make dropdown menu scrollbar always vi...
Github user AhyoungRyu commented on the issue: https://github.com/apache/zeppelin/pull/1143 @jeffsteinmetz It will be appreciate if you can review this PR as a reporter of this issue :) --- 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 #1143: [ZEPPELIN-1085] Make dropdown menu scrollbar al...
GitHub user AhyoungRyu opened a pull request: https://github.com/apache/zeppelin/pull/1143 [ZEPPELIN-1085] Make dropdown menu scrollbar always visible ### What is this PR for? In Zeppelin docs website, there are 4 dropdown menus(Quick Start, Interpreters, Display System and More) in navbar. Especially **Interpreters** and **More** menu have lots of lists so I made this dropdown menu scrollable in #1004. Originally the scroll bar is shown up when user is trying to scroll down. That's why it's hard to notice there are more menus in the dropdown menu. See [this issue](https://issues.apache.org/jira/browse/ZEPPELIN-1085). So I made this scroll bar always visible. But only for chrome & safari. Unfortunately, Firefox doesn't support custom scroll bar. See [here](http://stackoverflow.com/questions/18317634/force-visible-scrollbar-in-firefox-on-mac-os-x). In short, it says >There is no way to actually "force" Firefox render the old-style scrollbar since the default scrollbar used in the system is predefined by the OS itself (note that you can modify which scrollbar you want in System Preferences). ### What type of PR is it? Improvement ### TODO - [x] : test this in major browsers ### What is the Jira issue? [ZEPPELIN-1085](https://issues.apache.org/jira/browse/ZEPPELIN-1085) ### How should this be tested? Outline the steps to test the PR here. ### Screenshots (if appropriate) - Before : scrollbar is only shown up when you are trying to scroll up & down ![before](https://cloud.githubusercontent.com/assets/10060731/16647507/8c6fbc60-446a-11e6-9a57-b00a76e6b59c.gif) - After : always visible ![after](https://cloud.githubusercontent.com/assets/10060731/16647513/901e4e3a-446a-11e6-840b-599b6121fe46.gif) - In case of IE, you can always see the scrollbar. So it's not a problem originally. ![screen shot 2016-07-07 at 5 41 27 pm](https://cloud.githubusercontent.com/assets/10060731/16647584/e3708ff8-446a-11e6-8aee-c03eaba70cc9.png) ### 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/AhyoungRyu/zeppelin ZEPPELIN-1085 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1143.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 #1143 commit 4d10883bccb821b927c739b76ea0e455c00b8e51 Author: AhyoungRyu Date: 2016-07-07T06:32:28Z Make dropdown menu scrollbar always visible --- 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 #1130: [ZEPPELIN-1113] Don't save Paragraph ColWidth i...
Github user asfgit closed the pull request at: https://github.com/apache/zeppelin/pull/1130 --- 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 #1132: [ZEPPELIN-1088] Add Htmlhint
Github user asfgit closed the pull request at: https://github.com/apache/zeppelin/pull/1132 --- 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 #1142: [ZEPPELIN-1127] Show error message in case of e...
GitHub user prabhjyotsingh opened a pull request: https://github.com/apache/zeppelin/pull/1142 [ZEPPELIN-1127] Show error message in case of exception with JDBC ### What is this PR for? When there is exception while executeSql in JDBC interpreter, only stack trace is sent back to UI, it should include e.getMessage() as well. ### What type of PR is it? [Improvement] ### What is the Jira issue? * [ZEPPELIN-1127](https://issues.apache.org/jira/browse/ZEPPELIN-1127) ### How should this be tested? Create a paragraph, and write following and try to run ``` %phoenix select * from a_table_not_there ``` You should see below, followed by stack trace ``` ERROR 1012 (42M03): Table undefined. tableName=A_TABLE_NOT_THERE ``` ### 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/prabhjyotsingh/zeppelin ZEPPELIN-1127 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1142.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 #1142 commit 9fcc53c1b4812f8785596735a5bc345bb8db6f29 Author: Prabhjyot Singh Date: 2016-07-07T07:24:11Z Show error message in case of exception with JDBC --- 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 #1139: [ZEPPELIN-235] jscs in zeppelin-web
Github user prabhjyotsingh commented on the issue: https://github.com/apache/zeppelin/pull/1139 @corneadoug, have addressed your feedback. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Created] (ZEPPELIN-1127) Show error message in case of exception with JDBC
Prabhjyot Singh created ZEPPELIN-1127: - Summary: Show error message in case of exception with JDBC Key: ZEPPELIN-1127 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1127 Project: Zeppelin Issue Type: Bug Reporter: Prabhjyot Singh When there is exception while executeSql in JDBC interpreter, only stack trace is sent back to UI, it should include e.getMessage() as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)