GitHub user vinayakshedgeri opened a pull request: https://github.com/apache/zeppelin/pull/3247
[ZEPPELIN-3878] Unable to load zeppelin 0.8.0 note at IE 11 ### What is this PR for? Previous version of the zeppelin supports IE 11 when we updated to zeppelin 0.8.0, Zeppelin web was not loading properly saying the error promise undefined . ### What type of PR is it? [Bug Fix ] ### Todos * [ ] - ### What is the Jira issue? * https://issues.apache.org/jira/projects/ZEPPELIN/issues/ZEPPELIN-3878 ### How should this be tested? click on any of the existing note in IE 11 browser. Observation : Note not loading or not reponsive you can check the error in the console * First time? Setup Travis CI as described on https://zeppelin.apache.org/contribution/contributions.html#continuous-integration * Strongly recommended: add automated unit tests for any new or changed behavior * Outline any manual steps to test the PR here. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? Yes * Does this needs documentation? No You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/zeppelin master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/3247.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 #3247 ---- commit d182a0ed4f44486a92d9c72c3b096470a9c6cbf6 Author: Savalek <def113@...> Date: 2018-04-19T12:42:39Z [ZEPPELIN-3417] fix dependency in zeppelin-web/package.json ### What is this PR for? The address of the dependency in zeppelin-web/package.json changed from "shahata/angular-viewport-watch" to "wix/angular-viewport-watch" [LINK](https://github.com/wix/angular-viewport-watch) to current repository of angular-viewport-watch ### What type of PR is it? [Improvement] ### What is the Jira issue? [ZEPPELIN-3417](https://issues.apache.org/jira/browse/ZEPPELIN-3417) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Savalek <def...@mail.ru> Closes #2934 from Savalek/ZEPPELIN-3417 and squashes the following commits: 1cd64aeb1 [Savalek] fix dependency in zeppelin-web/package.json commit 75dd1958ec195e88c5c0a71dfc56c75fcf6ffaad Author: Jongyoul Lee <jongyoul@...> Date: 2018-04-23T06:43:45Z ZEPPELIN-3411 Long running logic inside synchronized block in InterpreterSettingManager ### What is this PR for? Removing redundant synchronized code to avoid blocking other logics. ### What type of PR is it? [Bug Fix] ### Todos * [x] - Change synchronized block to read/write lock ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3411 ### How should this be tested? * Current tests should be passed ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jongyoul Lee <jongy...@gmail.com> Closes #2935 from jongyoul/ZEPPELIN-3411 and squashes the following commits: 3b90155b9 [Jongyoul Lee] Removed unused `import` statements Simplified `for` loop 4691301af [Jongyoul Lee] Removed lock/synchronized codes because interpreterSettings already is implemented by currentHashMap 24be69298 [Jongyoul Lee] Removed all synchronized blocks and replace them to read/write lock commit 5fdbd5338293dc32f238c834036a7af409d25986 Author: Jongyoul Lee <jongyoul@...> Date: 2018-04-23T07:15:21Z ZEPPELIN-3382 Installing interpreter from UI ### What is this PR for? Installing a new interpreter from helium's UI. You just can click enable button to download a new interpreter you want to install ### What type of PR is it? [Improvement] ### Todos * [x] - Changed frontend side to enable users to click an install button * [x] - Added status message for installation * [x] - Added Backend logic to handle an interpreter installation ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3382 ### How should this be tested? 1. Make sure you don't have `solr` interpreter in an interpreter create menu 1. Move to Helium/Interpreter menu and click the `solr` enable button 1. See the messages for downloading it and having downloaded it 1. Check interpreter creation menu to make sure `solr` exists ### Screenshots (if appropriate) ![image](https://user-images.githubusercontent.com/3612566/38859396-e3548986-4268-11e8-9516-aeb1e87c85b3.png) ![image](https://user-images.githubusercontent.com/3612566/38859408-e9e66274-4268-11e8-8445-54d13b5c2a08.png) ![image](https://user-images.githubusercontent.com/3612566/38859588-50238418-4269-11e8-93d8-df8a125b0fcb.png) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? Might be Author: Jongyoul Lee <jongy...@gmail.com> Closes #2905 from jongyoul/ZEPPELIN-3382 and squashes the following commits: e66dd2a50 [Jongyoul Lee] Changed a parameter name Fixed test to check callback's messages ce7f471bd [Jongyoul Lee] Changed the name of a callback class from `MessageCallback` to `ServiceCallback` 82f24e320 [Jongyoul Lee] Added the logic to handle "zeppelin-*" case e6ce00f4e [Jongyoul Lee] Refactored callback to hide callback-specific information 483b74c82 [Jongyoul Lee] Removed the default constructor of InterpreterRestApi Changed MessageCallback to have onStart, onSuccess, onFailure Added downloaded folder info 10d5a9faa [Jongyoul Lee] Removed spec-out configuration, test settings, and file of ZEPPELIN_INTERPRETER_DIR_REFRESH_INTERVAL Removed unused import statements 4112dd2da [Jongyoul Lee] Removed spec-out test 3b801a77f [Jongyoul Lee] Fixed typo 48217749a [Jongyoul Lee] Fixed tests 8f0c94aa5 [Jongyoul Lee] Introduced MessageCallback to handle message from InterpreterService to frontend 3ddf8deb9 [Jongyoul Lee] Introduce InterpreterInstallationRequest.fromJson method ee4e89500 [Jongyoul Lee] Fixed styles d7d88eec2 [Jongyoul Lee] Fixed js lint 2adf40416 [Jongyoul Lee] Replaced ThreadFactoryFactory to ThreadFactoryBuilder 25bc09faa [Jongyoul Lee] Reverted package-lock.json ab668bb87 [Jongyoul Lee] Added a license header 735f76346 [Jongyoul Lee] Removed a scheduler for refreshing interpreters from a directory 0a0189b04 [Jongyoul Lee] Added new message to send the status to client Added frontend logic to install interpreter. ff6f5f9a4 [Jongyoul Lee] Added new api for installInterpreter Added InterpreterService class to handle of installing interpreter 91768f66e [Jongyoul Lee] Implemented backend side f6a2eb0a1 [Jongyoul Lee] Added scheduler to check the interpreter directory Added test case for refreshing list commit 322c8686505993c807a04e3994e0eb5a36d7ef17 Author: Prabhjyot Singh <prabhjyotsingh@...> Date: 2018-04-19T18:35:53Z [ZEPPELIN-3416] Bump up the version of xercesImpl to 2.11.0.SP5 Update xercesImpl to 2.11.0.SP5 to get some fixes. This is a required dependency for jdbc-phoenix. [ Improvement ] * [ZEPPELIN-3416](https://issues.apache.org/jira/browse/ZEPPELIN-3416) * Does the licenses files need update? N/A * Is there breaking changes for older versions? N/A * Does this needs documentation? N/A Author: Prabhjyot Singh <prabhjyotsi...@gmail.com> Closes #2933 from prabhjyotsingh/ZEPPELIN-3416 and squashes the following commits: 54677f135 [Prabhjyot Singh] bump version of beanutils to 1.9.2 8c891b6ae [Prabhjyot Singh] ZEPPELIN-3416: Update xercesImpl to 2.11.0.SP5 Change-Id: I592b7e8dbf56144d65d5ba726d92f230d51b49ac commit 0a47b1393a3e8b3f907326ced359fe8b987c4fc7 Author: Jan Hentschel <jan.hentschel@...> Date: 2018-03-27T10:26:12Z ZEPPELIN-3142. Fixed Checkstyle errors and warnings in the livy module ### What is this PR for? Fixed the Checkstyle errors and warnings in the **livy** module. ### What type of PR is it? Improvement ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3142 ### How should this be tested? * CI pass ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Jan Hentschel <jan.hentsc...@ultratendency.com> Closes #2768 from HorizonNet/ZEPPELIN-3142 and squashes the following commits: 6b6f5b0 [Jan Hentschel] ZEPPELIN-3142. Reverted package-lock.json 0ad26f3 [Jan Hentschel] Merge branch 'master' into ZEPPELIN-3142 c090d24 [Jan Hentschel] Merge branch 'master' into ZEPPELIN-3142 b53d145 [Jan Hentschel] ZEPPELIN-3142. Fixed Checkstyle errors and warnings in the livy module commit ad77265c69bf2ea5fe82fa8c15c7a3d3ea2178e3 Author: Renjith Kamath <rkamath@...> Date: 2018-04-24T11:17:44Z [HOTFIX] ZEPPELIN-3405 fix permission checks with roles hotfix for #2931 https://github.com/apache/zeppelin/pull/2931#issuecomment-383736331 [Hot Fix] * [ ] - Task https://issues.apache.org/jira/browse/ZEPPELIN-3405 see PR description * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Renjith Kamath <rkam...@apache.org> Closes #2942 from r-kamath/hotfix_ZEPPELIN-3405 and squashes the following commits: b93c2de93 [Renjith Kamath] ZEPPELIN-3405 fix permission checks with roles Change-Id: I1ce0d0306dc665b0267042a5e9181a13f136fac1 commit c4fdf5883c1881e36b152b444f8456a4f98e96cb Author: Thomas Decaux <ebuildy@...> Date: 2018-04-23T17:11:13Z Fix type note => user Just fix a typo Hot Fix * Not sure if a jira issue is required? * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Thomas Decaux <ebui...@gmail.com> Closes #2940 from ebuildy/patch-1 and squashes the following commits: 7a4ebab3f [Thomas Decaux] Fix type note => user Change-Id: If7c5afd42fa162d3337386408d4722062d5eb59b commit 5632d2cd94b9ea8646ba5382be993598e2640a6f Author: Prabhjyot Singh <prabhjyotsingh@...> Date: 2018-04-24T10:12:55Z [ZEPPELIN-3311] Zeppelin should ask user to re-login after JWT cookie expires (KnoxJwtRealm) Zeppelin should ask user to re-login after JWT cookie expires. [Bug Fix] * [ZEPPELIN-3311](https://issues.apache.org/jira/browse/ZEPPELIN-3311) Steps to reproduce : 1) Enable SSO for zeppelin 2) Login to zeppelin using SSO. 3) Now wait till JWT expires(knoxsso.token.ttl under Advanced knoxsso-topology could be set to lower values to get a short lived cookie) 4) Refresh zeppelin. Zeppelin doesn't ask for re-login, though JWT is already expired and not valid anymore. * Does the licenses files need update? N/A * Is there breaking changes for older versions? N/A * Does this needs documentation? N/A Author: Prabhjyot Singh <prabhjyotsi...@gmail.com> Closes #2941 from prabhjyotsingh/ZEPPELIN-3311 and squashes the following commits: 0014d5ad8 [Prabhjyot Singh] ZEPPELIN-3311: Zeppelin should ask user to re-login after JWT cookie expires (KnoxJwtRealm) Change-Id: Ie113f6078974cf914d259fae3d2987cf8364d71c commit 806831454502d052f504d162bf6d6ab0aad02920 Author: Jeff Zhang <zjffdu@...> Date: 2018-04-25T00:31:56Z ZEPPELIN-3428. Flaky test: SparkInterpreterLauncherTest ### What is this PR for? SparkInterpreterLauncherTest will fail when you already have enviroment variable setup in the machine where you run the unit test. ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3428 ### How should this be tested? * CI pass ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jeff Zhang <zjf...@apache.org> Closes #2943 from zjffdu/ZEPPELIN-3428 and squashes the following commits: 6b89b22 [Jeff Zhang] ZEPPELIN-3428. Flaky test: SparkInterpreterLauncherTest commit c31f3b60a98ade035825e6efd8de071555b5624a Author: Changhyup Jwa <jwagun@...> Date: 2018-04-23T09:05:07Z [ZEPPELIN-3423] Fix deprecated dynamic forms document URL on Python README.md [ZEPPELIN-3423] Fix deprecated dynamic forms document URL on Python README.md ### What is this PR for? Python dynamic forms document URL is based on "0.6.0-SNAPSHOT" and already deprecated. Replace the deprecated URL with the latest URL. ### What type of PR is it? Documentation ### Todos N/A ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-3423 ### How should this be tested? N/A ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Changhyup Jwa <jwa...@gmail.com> Closes #2939 from jwagun/ZEPPELIN-3423 and squashes the following commits: 360261c2f [Changhyup Jwa] [ZEPPELIN-3423] Fix deprecated dynamic forms document URL on Python README.md Change-Id: I540a222678a82d6f88d91bf8790acf4fca19d992 commit 1cea92ca30285241239538f358e90dea014b2e5f Author: Jeff Zhang <zjffdu@...> Date: 2018-04-13T02:31:45Z ZEPPELIN-3404. Fail to run cronjob when user doesn't run it manually before cronjob ### What is this PR for? This bug is introduced by #2914, this PR will set authenticationInfo using its user as we will store user into note.json. ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3404 ### How should this be tested? * Manually tested ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jeff Zhang <zjf...@apache.org> Closes #2925 from zjffdu/ZEPPELIN-3404 and squashes the following commits: b94ecc9 [Jeff Zhang] ZEPPELIN-3404. Fail to run cronjob when user doesn't run it manually before cronjob commit 3fb878bfaa59c33182ebc80fb48aabb73e06d0d1 Author: Jeff Zhang <zjffdu@...> Date: 2018-04-22T03:46:53Z ZEPPELIN-3401. Deadlock while restarting interpreter ### What is this PR for? I suspect it is due to deadlock issue between LifecycleThread & CronJobThread: Thread | Locked | Waiting -- | -- | -- LifecycleThread | InterpreterGroup | Note CronJobThread | Note | Wait for Paragraph to finish (Paragraph can not finish because it needs the lock of InterpreterGroup This PR wold eliminate the necessary to lock on Note for LifecycleThread ### What type of PR is it? [Bug Fix ] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3401 ### How should this be tested? * First time? Setup Travis CI as described on https://zeppelin.apache.org/contribution/contributions.html#continuous-integration * Strongly recommended: add automated unit tests for any new or changed behavior * Outline any manual steps to test the PR here. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jeff Zhang <zjf...@apache.org> Closes #2937 from zjffdu/ZEPPELIN-3401 and squashes the following commits: 5ffcc11 [Jeff Zhang] ZEPPELIN-3401. Deadlock while restarting interpreter commit 9e18159d440cc771a13b81b56dcd62c72202bd0b Author: Jeff Zhang <zjffdu@...> Date: 2018-04-26T11:25:46Z [HOTFIX] correct the path for interpreter installation doc ### What is this PR for? Trivial fix for release ### What type of PR is it? [Hot Fix] ### Todos * [ ] - Task ### What is the Jira issue? * No jira created ### How should this be tested? * CI pass ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jeff Zhang <zjf...@apache.org> Closes #2948 from zjffdu/release_hotfix and squashes the following commits: 9b781e1 [Jeff Zhang] [HOTFIX] correct the path for interpreter installation doc commit e65f73066c5741878177f45c283521868c775b7a Author: Sanjay Dasgupta <sanjay.dasgupta@...> Date: 2018-04-11T10:49:42Z [ZEPPELIN-3377] Passing Z variables to JDBC interpreter ### What is this PR for? This PR enables the interpolation of ZeppelinContext objects into the paragraph text of JDBC cells. It also introduces a new interpreter-level configuration parameter named _zeppelin.jdbc.interpolation_. This new parameter is _false_ by default, and must be set to _true_ to enable object interpolation. The default value of _false_ guarantees backward compatibility for users who are not aware of the new feature. The implementation takes the same approach that was followed in [PR-2898](https://github.com/apache/zeppelin/pull/2898). I have also taken the liberty to correct a preexisting error in the description of the use of Dynamic Forms in the associated documentation (_jdbc.md_). ### What type of PR is it? [Feature] ### Todos * [ ] - Task ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-3377 ### How should this be tested? CI Pass. The code in this PR merely causes the JDBC interpreter to "opt-in" to the implementation already existing in the `Interpreter` base class - described in [PR-2898](https://github.com/apache/zeppelin/pull/2898). The unit tests necessary are already present in PR-2898 ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? Yes, documentation has been added to the file _jdbc.md_. I have also taken the liberty to correct a preexisting error in the description of the use of Dynamic Forms in the associated documentation. Author: Sanjay Dasgupta <sanjay.dasgu...@gmail.com> Author: Sanjay Dasgupta <sanjaydasgu...@users.noreply.github.com> Closes #2903 from sanjaydasgupta/zeppelin-3342-jdbc and squashes the following commits: 9947d36 [Sanjay Dasgupta] Expanded * imports to remove check-style errors 094d3ce [Sanjay Dasgupta] Reduced indentation to remove check-style errors 07561f5 [Sanjay Dasgupta] Revisions after Felix Cheung's review https://github.com/apache/zeppelin/pull/2903#pullrequestreview-110276872 df99ab0 [Sanjay Dasgupta] Revisions after Felix Cheung's review https://github.com/apache/zeppelin/pull/2903#pullrequestreview-110276872 315a9ad [Sanjay Dasgupta] Corrected use of rlike in SQL statement eb9194d [Sanjay Dasgupta] ZEPPELIN-3377 Updates Initial Load 0f49867 [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into zeppelin-3342-hdfs a19e998 [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 77738aa [Sanjay Dasgupta] Changes to comply with Felix Cheung's comment at https://github.com/apache/zeppelin/pull/2834#discussion_r176976263 and Jeff Zhang's subsequent clarification 5f8505b [Sanjay Dasgupta] Changes due to Felix Cheung's comments at https://github.com/apache/zeppelin/pull/2834#pullrequestreview-106738198 d600d86 [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 cc3727f [Sanjay Dasgupta] Changes due the Jeff Zhang's comments at https://github.com/apache/zeppelin/pull/2834/files/1e2c87dd36dc091ca898baf8e9f178d6d1a5e600#r176930418 1e2c87d [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 3dd3dd8 [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 a1703b8 [Sanjay Dasgupta] Changes suggested in Felix Cheung's review https://github.com/apache/zeppelin/pull/2834#pullrequestreview-104805661 b7ddf6b [Sanjay Dasgupta] Implementing configuration (global enable/disable interpolation) following https://github.com/apache/zeppelin/pull/2834#issuecomment-373948398 5268803 [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 1718e79 [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 3b30ea2 [Sanjay Dasgupta] Reversing previous incorrect update 3beebce [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 f43fd99 [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 a3215fc [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 ced295c [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 b461c82 [Sanjay Dasgupta] Merge branch 'master' of https://github.com/apache/zeppelin into ZEPPELIN-1967 2868825 [Sanjay Dasgupta] ZEPPELIN-1967: Initial updates commit 0c3b446a5304df3f3c0d665d2df926cca2dcddb7 Author: iijima_satoshi <iijima_satoshi@...> Date: 2018-04-27T07:47:40Z ZEPPELIN-3412 Enable query prefix syntax in bigquery interpreter ### What is this PR for? - interpreter Enable query prefix syntax in bigquery interpreter. Bigquery has a convenient query prefix syntax #standardSQL and #legacySQL. This enable to switch between standardSQL and legacySQL without changing UseLegacySql option. Currently (v0.8.0 or later), bigquery interpreter definitely runs with UseLegacySql option. As described in the [docs](https://cloud.google.com/bigquery/docs/reference/standard-sql/enabling-standard-sql?hl=en#sql-prefix), when this option is set to true or false, the query prefix cannot be used. - documentation Removed some contents from README.md. They are duplicated with interpreter documentation. ### What type of PR is it? Improvement ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-3412 ### How should this be tested? - Unit test should pass ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? Yes Author: iijima_satoshi <iijima_sato...@cyberagent.co.jp> Closes #2929 from iijima-satoshi/bigquery-sql-prefix and squashes the following commits: e5b1acd [iijima_satoshi] Address comments f88cc42 [iijima_satoshi] Address comments 809f561 [iijima_satoshi] Address comments 4e2a6b2 [iijima_satoshi] Enable query prefix syntax in bigquery interpreter commit 468cea29070c2fb12fa31a24d321a9653e929ae7 Author: Savalek <def113@...> Date: 2018-04-26T10:37:38Z [ZEPPELIN-3431] - Fix links, images in docs ### What is this PR for? Page http://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/usage/other_features/notebook_actions.html contains errors. Some images are missing and three links does not work. ### What type of PR is it? [Bug Fix | Documentation] ### What is the Jira issue? [ZEPPELIN-3431](https://issues.apache.org/jira/browse/ZEPPELIN-3431) ### Screenshots (if appropriate) ![screen](https://user-images.githubusercontent.com/30798933/39301412-a6c43232-4957-11e8-8f59-9737c6455aa5.png) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Savalek <def...@mail.ru> Closes #2947 from Savalek/ZEPPELIN-3431 and squashes the following commits: 6993dbf [Savalek] [ZEPPELIN-3431] - Fix links, images in docs commit 97086be4ec8e1d9a506303753b886a3a2177578a Author: Jeff Zhang <zjffdu@...> Date: 2018-04-28T00:20:45Z ZEPPELIN-3435. Interpreter timeout lifecycle leads to interpreter process orphans ### What is this PR for? This issue happens when LifecycleManager try to close InterpreterGroup when it is in the middle of starting. This PR change the interface of LifecycleManager, and only add InterpreterGroup to LifecycleManager only when its interpreter process is started. ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3435 ### How should this be tested? * CI pass ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jeff Zhang <zjf...@apache.org> Closes #2951 from zjffdu/ZEPPELIN-3435 and squashes the following commits: 8b2fde1 [Jeff Zhang] ZEPPELIN-3435. Interpreter timeout lifecycle leads to interpreter process orphans commit e503623de6c3c9406e33991dab8e3872c7105092 Author: Jongyoul Lee <jongyoul@...> Date: 2018-04-30T05:57:07Z ZEPPELIN-3432 Fix results object when throwing exception while running job ### What is this PR for? Handling the issue that `InterpretJob.jobRun()` throws an `InterpreterException` ### What type of PR is it? [Bug Fix] ### Todos * [x] - Change the logic to create `InterpreterResult` when throwing `InterpreterException` ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3432 ### How should this be tested? 1. Enable `zeppelin.spark.sql.stacktrace` option 2. %sql select invalid query ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jongyoul Lee <jongy...@gmail.com> Closes #2950 from jongyoul/ZEPPELIN-3432 and squashes the following commits: c0bdb1bed [Jongyoul Lee] Revert not to unwrap InterpreterException because found it's not propagated to Server from Interpreter 039f6a046 [Jongyoul Lee] Fix JobTests d47baccb4 [Jongyoul Lee] Add getting stack trace logic when error occurs 1631e6007 [Jongyoul Lee] Fix style 47d693520 [Jongyoul Lee] Make `InterpreterJob` a public inner class to instantiate it outside of the class Set the type of `results` to InterpreterResult when exception occurred commit 0c3260e91f4c1ec58e67856d466ea9cba89d0085 Author: Sanjay Dasgupta <sanjay.dasgupta@...> Date: 2018-04-30T10:41:26Z [Zeppelin 3388] Refactor documentation for ZeppelinContext ### What is this PR for? This PR is a refactoring of the `ZepplinContext` documentation. The description of `ZepplinContext` is now almost entirely contained within the _Spark_ interpreter's documentation ([spark.md](https://github.com/apache/zeppelin/blob/master/docs/interpreter/spark.md)). But `ZepplinContext` has many generic features that are available to all interpreters, and it is important for `ZepplinContext` to have a more visible and independent presence in the Zeppelin documentation. ### What type of PR is it? [Documentation] ### Todos ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-3388 ### How should this be tested? Only documentation. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No (This _is_ documentation) Author: Sanjay Dasgupta <sanjay.dasgu...@gmail.com> Closes #2953 from sanjaydasgupta/zeppelin-3388 and squashes the following commits: bb8aa0c [Sanjay Dasgupta] Changes to address Felix Cheung's review https://github.com/apache/zeppelin/pull/2953#pullrequestreview-116196552 7360b50 [Sanjay Dasgupta] Correcting deleted hyperlink urls 64e4d7e [Sanjay Dasgupta] Initial version of files for 3388 commit c1c1aa892dbd7621815c19a9d72b175a330ee51e Author: Savalek <def113@...> Date: 2018-04-06T08:58:50Z [Zeppelin-3224] - Fix "ultimate" visualization ### What is this PR for? This PR fixes problems with incorrect data visualization using "ultimate". With certain aggregations, the data was not displayed. Also PR improves sorting by columns / rows, before PR it compared by Unicode encoding, but now if there are only numeric data on the axis, sorting will be by values. ### What type of PR is it? [Bug Fix & Improvement] ### What is the Jira issue? [ZEPPELIN-3224](https://issues.apache.org/jira/browse/ZEPPELIN-3224) ### Screenshots (if appropriate) **Error:** ![error](https://user-images.githubusercontent.com/30798933/37035027-3ca6022c-215c-11e8-901c-d33e833ad505.PNG) **Now:** ![default](https://user-images.githubusercontent.com/30798933/37038600-48482d8a-2166-11e8-87cd-d0cb861441d2.PNG) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Savalek <def...@mail.ru> Author: tinkoff-dwh <tinkoff....@gmail.com> Closes #2841 from Savalek/ZEPPELIN-3224 and squashes the following commits: f546b457c [Savalek] fix count of arguments in parseFloat function a56ea59d9 [Savalek] Improved number check 5c866b183 [tinkoff-dwh] small fix e7d1cd7cc [tinkoff-dwh] Merge branch 'master' into ZEPPELIN-3224 d4b2a4913 [Savalek] add test 17d3f8d0e [Savalek] add tests for sortWithNumberSupport() dc78f3d2b [Savalek] code style fix ba7a6e3e4 [tinkoff-dwh] Merge branch 'master' into ZEPPELIN-3224 9583f2cce [Savalek] small fix eab5d86d2 [Savalek] Merge branch 'master' into ZEPPELIN-3224 33676b468 [Savalek] fix XY legend sort for numbers 94026be39 [Savalek] fix graph display commit c4da31b2bb5e71a8e7dd22d0ce8e63cea80d871c Author: Lee moon soo <moon@...> Date: 2018-05-02T19:25:13Z [DOC] Fix broken link to writing visualizations doc ### What is this PR for? This PR fixes broken link to doc. Need to be merged branch-0.8. ### What type of PR is it? Bug Fix ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Lee moon soo <m...@apache.org> Closes #2956 from Leemoonsoo/fix/doc_link_to_helium and squashes the following commits: 9d8cac7 [Lee moon soo] Fix broken link to writing visualizations doc commit b9222381bfe4a9e8a055076a05b50fa6e13a0e05 Author: Prabhjyot Singh <prabhjyotsingh@...> Date: 2018-05-04T16:28:11Z [ZEPPELIN-3442] bump up commons-collections to 3.2.2 ### What is this PR for? This is to upgrade Apache commons-collections to 3.2.2 ### What type of PR is it? [Improvement] ### What is the Jira issue? * [ZEPPELIN-3442](https://issues.apache.org/jira/browse/ZEPPELIN-3442) ### Questions: * Does the licenses files need update? N/A * Is there breaking changes for older versions? N/A * Does this needs documentation? N/A Author: Prabhjyot Singh <prabhjyotsi...@gmail.com> Closes #2958 from prabhjyotsingh/ZEPPELIN-3442 and squashes the following commits: 9cc2e810d [Prabhjyot Singh] [ZEPPELIN-3442] bump up commons-collections to 3.2.2 commit 3712ce697e5dd5df217280134968155c5d0b1276 Author: Mina Lee <minalee@...> Date: 2018-05-04T14:29:29Z [ZEPPELIN-3441] Fix license check failure in r ### What is this PR for? rat plugin for r interpreter fail, seems to be related with #2089 It doesn't need to be included in 0.8.0 release, but want it to be cherry-picked into `branch-0.8` for 0.8.x releases, so release manager doesn't have issue with running `dev/publish_release.sh` ### What type of PR is it? Hot Fix ### What is the Jira issue? [ZEPPELIN-3441](https://issues.apache.org/jira/browse/ZEPPELIN-3441) ### How should this be tested? Run `mvn verify -Pr` should pass In CI, first matrix should pass. (https://travis-ci.org/minahlee/zeppelin/builds/374917837) ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Mina Lee <mina...@apache.org> Closes #2957 from minahlee/hotfix/ratR and squashes the following commits: 1d4ae6c91 [Mina Lee] Add rat check for r in travis c323c4a8b [Mina Lee] Fix rat check exclude directory for r commit 941ccbbbdb6c2ca11f09f54bf0ddd31d6ba25d1c Author: Sanjay Dasgupta <sanjay.dasgupta@...> Date: 2018-05-05T03:01:14Z [Zeppelin 3388] Correcting documentation link to zeppelin-context documentation ### What is this PR for? A small change was needed in the documentation of the JDBC interpreter also, but had been missed. The change required is the same as the change made in the documentation of the Shell interpreter (as seen [here](https://github.com/apache/zeppelin/commit/0c3260e91f4c1ec58e67856d466ea9cba89d0085#diff-5a017ebfb7e890a2b475f9c8c7844fb0)) ### What type of PR is it? [Documentation] ### Todos * [ ] - Task ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-3388 ### How should this be tested? Documentation only. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No, this _is_ documentation. Author: Sanjay Dasgupta <sanjay.dasgu...@gmail.com> Closes #2960 from sanjaydasgupta/z-3388-jdbc and squashes the following commits: b43ff21 [Sanjay Dasgupta] Correcting link to zeppelin-context documentation commit c1aeb620bb0030638624daf19d711a2bec8eab69 Author: Prabhjyot Singh <prabhjyotsingh@...> Date: 2018-05-08T08:48:35Z [ZEPPELIN-3447] Bump up version of jackson-databind This is to upgrade the package jackson-databind libary to 2.27 [Improvement] * [ZEPPELIN-3447](https://issues.apache.org/jira/projects/ZEPPELIN/issues/ZEPPELIN-3447) * Does the licenses files need an update? N?A * Is there breaking changes for older versions? N?A * Does this needs documentation? N?A Author: Prabhjyot Singh <prabhjyotsi...@gmail.com> Closes #2962 from prabhjyotsingh/ZEPPELIN-3447 and squashes the following commits: a9d2abcdf [Prabhjyot Singh] ZEPPELIN-3447: Bump up version of jackson-databind Change-Id: I5f8ff956ba147d24e43af81076e3e869de1bbab0 commit 2eb084a221377ac905aafda51471708314b26a0f Author: Jeff Zhang <zjffdu@...> Date: 2018-05-12T14:07:49Z ZEPPELIN-3419. Potential dependency conflict when the version of a dependency is changed on zeppelin interpreters ### What is this PR for? Straightforward fix for this issue. Credit to Jhon Anderson Cardenas Diaz ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3419 ### How should this be tested? * CI pass ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jeff Zhang <zjf...@apache.org> Closes #2966 from zjffdu/ZEPPELIN-3419 and squashes the following commits: baeff3a4d [Jeff Zhang] ZEPPELIN-3419. Potential dependency conflict when the version of a dependency is changed on zeppelin interpreters commit c037378a06f326aeb83afae0bac2964eb6c73106 Author: Vi On <von@...> Date: 2018-05-15T23:09:17Z ZEPPELIN-3463 pip freeze statsmodel 0.8.0 ### What is this PR for? pip freeze statsmodel 0.8.0. The new version statsmodel 0.9.0 fails to install using install_external_dependencies.sh ### What type of PR is it? Bug Fix ### What is the Jira issue? * [ZEPPELIN-3463] * https://issues.apache.org/jira/browse/ZEPPELIN-3463 ### How should this be tested? * sh testing/install_external_dependencies.sh ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Vi On <v...@hortonworks.com> Closes #2969 from vion1/ZEPPELIN-3463 and squashes the following commits: 084cda8c2 [Vi On] ZEPPELIN-3463 pip freeze statsmodel 0.8.0 commit 0f6d94f60aa566559aed7870da4b7efdbf481607 Author: Prabhjyot Singh <prabhjyotsingh@...> Date: 2018-05-16T17:38:47Z [ZEPPELIN-3466] Table export to excel is not working due to missing dependencies Table export to excel is not working due to missing dependencies. angular-ui-grid 4.4.7 onwards comes pre-packaged with jszip and excel-builder, but have few noticeable bugs hence not upgrading to latest. [Improvement] * [ZEPPELIN-3466](https://issues.apache.org/jira/browse/ZEPPELIN-3466) * Export to excel should work. * Does the licenses files need update? N/A * Is there breaking changes for older versions? N/A * Does this needs documentation? N/A Author: Prabhjyot Singh <prabhjyotsi...@gmail.com> Closes #2971 from prabhjyotsingh/ZEPPELIN-3466 and squashes the following commits: 8ce42c7c4 [Prabhjyot Singh] ZEPPELIN-3466: Table export to excel is not working due to missing dependencies Change-Id: I5daf83f49defbbf909e54d43924da206031f5120 commit fbe42d2d39774dc3b26874c3fbc9c23f9ade8fd7 Author: Prabhjyot Singh <prabhjyotsingh@...> Date: 2018-05-22T07:58:00Z [ZEPPELIN-3478] Download Data as CSV downloads data as a single line All data is in one single line - lines separated with backslash and "n" sequence and not actual newline characters "\n". [Bug Fix] * [ZEPPELIN-3478](https://issues.apache.org/jira/browse/ZEPPELIN-3478) All the exports should work in all browsers * Export this notebook * Export as CVS * Export as TSV * Does the licenses files need update? N/A * Is there breaking changes for older versions? N/A * Does this needs documentation? N/A Author: Prabhjyot Singh <prabhjyotsi...@gmail.com> Closes #2976 from prabhjyotsingh/ZEPPELIN-3478 and squashes the following commits: 62ea2e57e [Prabhjyot Singh] ZEPPELIN-3478: Download Data as CSV downloads data as a single line Change-Id: Ia46a53347d8b8d8961caba6b89182c4ff5724269 commit 3ca7d723704bb58577830cd0c6390453e04d7f10 Author: sameer79 <findsameershaikh@...> Date: 2018-05-09T05:32:04Z [ZEPPELIN-3450] Number sorting issue ### What is this PR for? Sorting value with types [NUMBER,STRING,DATE]. ### What type of PR is it? [Bug Fix] ### What is the Jira issue? * [ZEPPELIN-3450](https://issues.apache.org/jira/browse/ZEPPELIN-3450) ### How should this be tested? First select the type of sorting, then click the sort asc/desc. * Does the licenses files need update? * Is there breaking changes for older versions? * Does this needs documentation? Author: sameer79 <findsameersha...@yahoo.co.in> Closes #2963 from sameer79/ZEPPELIN-3450 and squashes the following commits: b83bda925 [sameer79] [ZEPPELIN-3450] Number sorting issue Change-Id: I3346102ca868ac6538b5491cc294aec0e1d80479 ---- ---