GitHub user Manituti opened a pull request:
https://github.com/apache/zeppelin/pull/2713
How to create an universal filter for a dashboard using date filter?
### What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide -
https://zeppelin.apache.org/contribution/contributions.html
### What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]
### Todos
* [ ] - Task
### What is the Jira issue?
* Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
* Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg.
[ZEPPELIN-533]
### 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?
* Is there breaking changes for older versions?
* Does this needs documentation?
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/2713.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 #2713
----
commit f12bc26bb7dc2011181350cf6ac39fc5f316e949
Author: Prabhjyot Singh <prabhjyotsingh@...>
Date: 2017-05-16T17:48:56Z
ZEPPELIN-2555: Run all paragraphs API does not run all paragraph as
front-end user.
### What is this PR for?
Run all paragraphs API
(http://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/rest-api/rest-notebook.html#run-all-paragraphs)
does not run all paragraph as front-end user.
### What type of PR is it?
[Bug Fix]
### Todos
* [ ] - Task
### What is the Jira issue?
* [ZEPPELIN-2555](https://issues.apache.org/jira/browse/ZEPPELIN-2555)
### How should this be tested?
Testing steps in screenshot
### Screenshots (if appropriate)
Before:

After:

### 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 <[email protected]>
Closes #2348 from prabhjyotsingh/ZEPPELIN-2555 and squashes the following
commits:
13350c2f9 [Prabhjyot Singh] add runAll(AuthenticationInfo
authenticationInfo) methond
commit 4beeae84413c4dca01674f3f2f991a7fc08c0097
Author: Jun Kim <i2r.jun@...>
Date: 2017-05-04T05:34:21Z
[ZEPPELIN-2493] Visualization class should throw an error if an abstract
method is not implemented
### What is this PR for?
`Visualization` class should throw an error if an abstract method is not
implemented just like
[`SpellBase`](https://github.com/apache/zeppelin/blob/master/zeppelin-web/src/app/spell/spell-base.js#L25)
does.
And I added some comments. In my opinion, though `Visualization` has [a
good
example](http://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/development/writingzeppelinvisualization.html),
it needs an API documentation page (`Spell` as well). `Visualization` class
has methods which can be overridden (e.g. `refresh`, `destroy`, etc.), but the
example doesn't mention them. Therefore, users don't know what and how to
implement easily!
### What type of PR is it?
Improvement
### What is the Jira issue?
[ZEPPELIN-2493](https://issues.apache.org/jira/browse/ZEPPELIN-2493)
### How should this be tested?
* Inherit `Visualization`
* Don't implement any abstract method
* Run `getTransformation()` and `render()`
* Check they print appropriate errors
### Questions:
* Does the licenses files need update? NO
* Is there breaking changes for older versions? NO
* Does this needs documentation? NO
Author: Jun Kim <[email protected]>
Closes #2317 from tae-jun/viz-abstract-error and squashes the following
commits:
3fec6d3 [Jun Kim] Throw error if Visualization class is not implemented and
make doc more concrete
d994b8a [Jun Kim] Throw error if an abstract method is not implemented
commit a1c5e99a55fcfd60ab887a165b0b91d1d5badf35
Author: 1ambda <1amb4a@...>
Date: 2017-05-22T05:33:55Z
[ZEPPELIN-2131] Restrict `shift + arrow` key in focused cell
### What is this PR for?
Selection of text in cell by Shift-Arrow should be restricted to focussed
cell.
### What type of PR is it?
[Improvement]
### Todos
DONE
### What is the Jira issue?
[ZEPPELIN-2131](https://issues.apache.org/jira/browse/ZEPPELIN-2131)
### How should this be tested?
1. Create multiple paragraphs.
2. Move cursors using `shift + arrow` (up, down)
3. Should keep focus on the current paragraph.
### Screenshots (if appropriate)
#### Before

#### After

### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO
Author: 1ambda <[email protected]>
Closes #2361 from 1ambda/ZEPPELIN-2131/restrict-shift-arrow-in-cell and
squashes the following commits:
4d401a5 [1ambda] fix: Restrict shift + arrow in current cell
commit 9af85d8ccff184891c42302ba63239189ae663ab
Author: pravin-dsilva <pravind@...>
Date: 2017-05-22T11:39:19Z
[ZEPPELIN-2469] HeliumBundleFactoryTest fails on Travis
### What is this PR for?
There are 6 errors occuring with error: "yarn config set cache-folder
/tmp/ZeppelinLTest_1494573109020/helium-bundle/yarn-cache
--registry=http://registry.npmjs.org/' failed."
The failures seem to occur because the "yarnCacheDir" directory is not
created. For this, I have added code to create the directory before the
absolute path is stored in yarnCacheDirPath.
### What type of PR is it?
Bug Fix
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2469
### How should this be tested?
The tests should pass on the CI
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: pravin-dsilva <[email protected]>
Closes #2362 from pravin-dsilva/ZEPPELIN-2469 and squashes the following
commits:
19fd231 [pravin-dsilva] update travis.yml
1939013 [pravin-dsilva] [ZEPPELIN-2469] HeliumBundleFactoryTest fails on
Travis
commit 336d86cddb7101b1afc87e3c6301cecfab2f3bf0
Author: 1ambda <1amb4a@...>
Date: 2017-05-21T00:31:42Z
[ZEPPELIN-2574] Improve `about` dialog style
### What is this PR for?
Improve `about` dialog style. See the attached screenshots.
### What type of PR is it?
[Improvement]
### Todos
DONE
### What is the Jira issue?
[ZEPPELIN-2574](https://issues.apache.org/jira/browse/ZEPPELIN-2574)
### How should this be tested?
1. Build: `mvn clean package -DskipTests; ./bin/zeppelin-daemon.sh restart`
2. Run Zeppelin and open browser: `localhost:8080`
3. Click the `About Zeppelin` button

### Screenshots (if appropriate)
#### Before

#### After

### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO
Author: 1ambda <[email protected]>
Closes #2360 from 1ambda/improve-about-dialgo and squashes the following
commits:
5dfc3bd [1ambda] feat: style about dialog
0361918 [1ambda] refactor: Move about related css into navbar.css
commit 5deb53f97847493c4fbb8beb827ce78c99b91b2f
Author: 1ambda <1amb4a@...>
Date: 2017-05-22T09:11:42Z
[ZEPPELIN-2575] Improve `rename note` dialog style
### What is this PR for?
Improve `rename notebook` dialog style. See the attached screenshots.
### What type of PR is it?
[Improvement]
### Todos
DONE
### What is the Jira issue?
[ZEPPELIN-2575](https://issues.apache.org/jira/browse/ZEPPELIN-2575)
### How should this be tested?
1. Build: `mvn clean package -DskipTests; ./bin/zeppelin-daemon.sh restart`
2. Run Zeppelin and open browser: `localhost:8080`
3. `rename notebook` functionality should work as like before.
### Screenshots (if appropriate)
#### Before

#### After

### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO
Author: 1ambda <[email protected]>
Closes #2359 from 1ambda/improve-rename-dialog and squashes the following
commits:
0e863d7 [1ambda] fix: Use ng-enter
0fa0caa [1ambda] fix: RAT issue
d310174 [1ambda] feat: Style rename dialog body
ff9721a [1ambda] style: Reformat html
commit 018ab3ac1b5728f2de1b589dcc16de92a67ada7c
Author: 1ambda <1amb4a@...>
Date: 2017-05-21T07:42:32Z
[ZEPPELIN-2428] Improve `create new note` dialog style
### What is this PR for?
Improve `create new notebook` dialog style. See the attached screenshots.
### What type of PR is it?
[Improvement]
### Todos
DONE
### What is the Jira issue?
[ZEPPELIN-2428](https://issues.apache.org/jira/browse/ZEPPELIN-2428)
### How should this be tested?
1. Build: `mvn clean package -DskipTests; ./bin/zeppelin-daemon.sh restart`
2. Run Zeppelin and open browser: `localhost:8080`
3. `create new notebook` functionality should work as like before.
### Screenshots (if appropriate)
#### Before


#### After


### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO
Author: 1ambda <[email protected]>
Closes #2358 from 1ambda/improve-create-note-dialog and squashes the
following commits:
c4981a9 [1ambda] fix: RAT issue
71ed709 [1ambda] feat: Style note name dialog modal-body
21fa982 [1ambda] feat: Style panel desc
d6f78d9 [1ambda] feat: label style for note name dialog
c97d68f [1ambda] refactor: format note-name-dialog
774c99e [1ambda] feat: style modal-footer for note name dialog
abe90c6 [1ambda] feat: Style modal-header
dddb5d9 [1ambda] style: Reformat note-name-dialog.html
commit 11600565975fbc8791e41b3febece6585860a07e
Author: 1ambda <1amb4a@...>
Date: 2017-05-22T09:29:16Z
[ZEPPELIN-2429] Improve `import notebook` dialog style
### What is this PR for?
Improve `import notebook` dialog style. See the attached screenshots.
### What type of PR is it?
[Improvement]
### Todos
DONE
### What is the Jira issue?
[ZEPPELIN-2429](https://issues.apache.org/jira/browse/ZEPPELIN-2429)
### How should this be tested?
1. Build: `mvn clean package -DskipTests; ./bin/zeppelin-daemon.sh restart`
2. Run Zeppelin and open browser: `localhost:8080`
3. `import notebook` functionality should work as like before.
### Screenshots (if appropriate)
#### Before

#### After


### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO
Author: 1ambda <[email protected]>
Closes #2357 from 1ambda/improve-import-dialog and squashes the following
commits:
8b966af [1ambda] fix: Set padding, border radius
95666b4 [1ambda] fix: RAT issue
8425113 [1ambda] fix: Use uppercase for placeholder
df702c4 [1ambda] feat: Style import dialog body
2c868c7 [1ambda] feat: Style note import dialog header
85ecc10 [1ambda] style: Reformat note import dialog html
c46516b [1ambda] feat: Use note-import-dialog.css
commit 1a3ae426579a58267ad06d4cb33afb29ac822725
Author: 1ambda <1amb4a@...>
Date: 2017-05-11T20:39:00Z
[ZEPPELIN-2122] Add execution time for Spell
### What is this PR for?
Add execution time for spell results. See the screenshot section.
### What type of PR is it?
[Improvement]
### Todos
NONE
### What is the Jira issue?
[ZEPPELIN-2122](https://issues.apache.org/jira/browse/ZEPPELIN-2122)
### How should this be tested?
1. Install any spell (e.g the eco spell)
2. Execute and check that the paragraph has valid execution time.
### 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: 1ambda <[email protected]>
Closes #2338 from 1ambda/ZEPPEILN-2122/add-execution-time-for-spell and
squashes the following commits:
2417428 [1ambda] fix: Set dateStarted in run* func
0996865 [1ambda] fix: Use string instead of moment obj
bb895a5 [1ambda] fix: Set dateStarted
9fb388e [1ambda] fix: Use ISO 8601
55f8d23 [1ambda] fix: rollback Job class
c2ab88b [1ambda] feat: Persist, display execution time for spell
commit be9c1e84d73ba4ebaf0b9463193aef61cc0cd9f1
Author: Karup <karuppayyar@...>
Date: 2017-05-21T10:28:46Z
ZEPPELIN-2543: Add ability to change the log level at runtime
### What is this PR for?
Add ability to change the log level at runtime
### What type of PR is it?
Improvement
### Todos
* [x] - Update/Add the interpreter rest API documentation(edited: added a
new Zeppelin server API doc page)
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2543
### How should this be tested?
>â ~ curl -X PUT http://localhost:8080/api/log/level/debug
{"status":"OK"}
>â ~ curl -X PUT http://localhost:8080/api/log/level/adx
{"status":"NOT_ACCEPTABLE","message":"Not a valid LOG level"}
### Screenshots (if appropriate) NA
### Questions:
* Does the licenses files need update? NA
* Is there breaking changes for older versions? No
* Does this needs documentation? Yes(Will need to the interpreter Rest api
doc, if the approach looks fine)
Author: Karup <[email protected]>
Closes #2341 from karuppayya/ZEPPELIN-2543 and squashes the following
commits:
4017a83 [Karup] Add documenation, fix response message
e4782c3 [Karup] Add abitiy to change the log level at runtime
commit 21e702c657d0dc84a8cdf52b34084d11452a5def
Author: vipulm <vipulm@...>
Date: 2017-05-21T04:26:57Z
[ZEPPELIN-2519] Disable watchers not in viewport
### What is this PR for?
Currently all the watchers are enabled by default. I came across this
github project https://github.com/wix/angular-viewport-watch to disable
watchers not in viewport. This reduces number of watchers in notebooks with
large number of paragraphs.
### What type of PR is it?
[Improvement]
### Todos
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2519
### How should this be tested?
Outline the steps to test the PR here.
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update?
Not sure of this part. This is under MIT license. [Project
link](https://github.com/wix/angular-viewport-watch)
* Is there breaking changes for older versions?
No
* Does this needs documentation?
No
Author: vipulm <[email protected]>
Closes #2326 from vipul1409/ZEPPELIN-2519 and squashes the following
commits:
497413b [vipulm] Fixing build issues
21c03d6 [vipulm] Merging master and resolving conflicts
b982db4 [vipulm] Trigger build
175dd17 [vipulm] Merge master
99b19a5 [vipulm] Move pacakg to npm
d698d06 [vipulm] Add license file
7142578 [vipulm] Trigger notification
329e33a [vipulm] Disable watchers not in viewport
commit c70f29b2c065bcc8b818840e80e40d3c979c6877
Author: 1ambda <1amb4a@...>
Date: 2017-05-25T09:24:38Z
[ZEPPELIN-2573] Improve navbar style
### What is this PR for?
Improved navbar style. Refer the screenshots for detail.
### What type of PR is it?
[Improvement]
### Todos
* [x] - Fix nav brand text font-size
* [x] - Fix nav menu text font-weight
* [x] - Removed icon for search input
* [x] - Fix bug in notebook menu (focus state remains after it's closed)
### What is the Jira issue?
[ZEPPELIN-2573](https://issues.apache.org/jira/browse/ZEPPELIN-2573)
### How should this be tested?
1. Build Zeppelin: ` mvn clean package -DskipTests;
./bin/zeppelin-daemon.sh restart`
2. Open the main page
### Screenshots (if appropriate)
#### Before: Navbar Style

#### After: Navbar Style

### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO
Author: 1ambda <[email protected]>
Closes #2355 from 1ambda/ZEPPELIN-2573/improve-navbar and squashes the
following commits:
a470b94 [1ambda] fix: Set proper css for navbar in small browser
75f9980 [1ambda] fix: Add username comment in navbar.css
a880268 [1ambda] fix: DON'T use :focus for notebook menu
4ae922a [1ambda] fix: Move username related css into navbar
05f63f3 [1ambda] fix: Update search input in navbar
1e574f0 [1ambda] feat: Set font style in navbar
f563d9e [1ambda] fix: Move navbar related style to navbar.css
commit cc0839efdec69173831ea72358a4829c5b8ba658
Author: 1ambda <1amb4a@...>
Date: 2017-05-18T16:15:27Z
[ZEPPELIN-2544] clean task doesn't work in zeppelin-web
### What is this PR for?
`prebuild` task in package.json doesn't work for `build:*` tasks in
zeppelin-web
otherwise we will get overwritten result, if previous build for
zeppelin-web failed like
```
[INFO] Running "cacheBust:taskName" (cacheBust) task
[INFO] Warning: Unable to write
"/Users/jl/local/src/g/zeppelin/zeppelin-web/dist/styles/vendor.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.e7906afb60fa5267.css"
file (Error code: ENAMETOOLONG). Use --force to continue.
```
### What type of PR is it?
[Bug Fix]
### Todos
DONE
### What is the Jira issue?
[ZEPPELIN-2544](https://issues.apache.org/jira/browse/ZEPPELIN-2544)
### How should this be tested?
- `cd zeppelin-web`
- `npm run build:dist`
Then, check the console output whether `prebuild` is applied or not.
### Screenshots (if appropriate)
```
## Before
$ zeppelin-web git:(ZEPPELIN-2544/prebuild-does-not-work) npm run build:dist
> zeppelin-web0.0.0 build:dist
/Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web
> grunt pre-webpack-dist && webpack && grunt post-webpack-dist
## After
zeppelin-web git:(ZEPPELIN-2544/prebuild-does-not-work) â npm run
build:dist
> zeppelin-web0.0.0 build:dist
/Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web
> npm-run-all prebuild && grunt pre-webpack-dist && webpack && grunt
post-webpack-dist
```
### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO
Author: 1ambda <[email protected]>
Closes #2351 from 1ambda/ZEPPELIN-2544/prebuild-does-not-work and squashes
the following commits:
47d4f87 [1ambda] fix: Use prebuild in pcakage.json
commit ecb688f45397be8c2e879663908b95c8a35964ec
Author: 1ambda <1amb4a@...>
Date: 2017-05-21T23:14:25Z
[ZEPPELIN-2460] Highlight active line in editor
### What is this PR for?
Highlight active line.
### What type of PR is it?
[Improvement]
### Todos
* [x] - Added ui-ace option
* [x] - Fix css for paragraph control not to be overrided by active line
### What is the Jira issue?
[ZEPPELIN-2460](https://issues.apache.org/jira/browse/ZEPPELIN-2460)
### How should this be tested?
1. Build: `mvn clean package -DskipTests; ./bin/zeppelin-daemon.sh restart`
2. Open a note and write some text.
### 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: 1ambda <[email protected]>
Closes #2356 from 1ambda/ZEPPELIN-2460/highlight-active-line and squashes
the following commits:
2809093 [1ambda] fix: xpath for select, checkbox DOM
087942b [1ambda] fix: Use ng-if for title
e60f9a2 [1ambda] feat: Display title, control in the same line
bfa2fed [1ambda] fix: Set active line when note is created
ade9179 [1ambda] fix: Use blue-light color for active line
0366948 [1ambda] fix: Show single active line in a note
dfcb8aa [1ambda] fix: Control setting CSS not to overwrite active line
6424db5 [1ambda] feat: Highlight active line in editor
commit 87480056a0b10effaf5556d000f8d0c5186848d0
Author: Nelson Costa <nelson.costa85@...>
Date: 2017-05-24T16:03:53Z
[ZEPPELIN-2152] Added proxy config support in Helium bundle factory
### What is this PR for?
Proxy configuration implementation in Helium bundle factory. Used by Node,
NPM and YarnPkg installers.
### What type of PR is it?
[Improvement]
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-2152
### How should this be tested?
Trigger Helium plugins behind proxy
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: Nelson Costa <[email protected]>
Closes #2363 from necosta/zeppelin2152 and squashes the following commits:
f681e73 [Nelson Costa] [ZEPPELIN-2152] Added documentation
5e29cca [Nelson Costa] [ZEPPELIN-2152] Fixed format issues
f55e6e2 [Nelson Costa] [ZEPPELIN-2152] Fixed bug in secure/insecure proxy.
Added proxy for HeliumOnlineRegistry
d9a086a [Nelson Costa] [ZEPPELIN-2152] Added proxy config support in Helium
bundle factory
commit 88c5c3ccd9e346d48637d3c63c8dff5ba53c8d8e
Author: Nelson Costa <nelson.costa85@...>
Date: 2017-05-31T11:20:27Z
[ZEPPELIN-2152] Fix for npe in Helium loading when no proxies are set
### What is this PR for?
Emergency fix for npe when calling Helium and with no proxies env variables
set.
### What type of PR is it?
Bug Fix
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2152
### How should this be tested?
* clone new zeppelin repository
* unset http_proxy/https_proxy env variables (if set)
* build ` mvn clean package -DskipTests;`
* start zeppelin instance
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: Nelson Costa <[email protected]>
Closes #2380 from necosta/zeppelin2152-patch and squashes the following
commits:
cb25cd7 [Nelson Costa] [ZEPPELIN-2152] Fix for npe in Helium loading when
no proxies are set
commit e3ba23a9aa4909c7a8d3231e4d363771e0245b53
Author: root <root@...>
Date: 2017-05-26T08:44:09Z
[ZEPPELIN-2584]. Livy doesn't work under kerberos and ssl
### What is this PR for?
We found that Livy doesn't work under kerberos and ssl, this is due to a
bug when constructing KerberosRestTemplate. This PR fix this issue.
### What type of PR is it?
[Bug Fix]
### Todos
* [ ] - Task
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-2584
### How should this be tested?
Unfornatelly it is difficult to add system test, so I manually tested it in
a secure cluster.
### 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: root <[email protected]>
Closes #2367 from zjffdu/ZEPPELIN-2584 and squashes the following commits:
18b23dc [root] [ZEPPELIN-2584]. Livy doesn't work under kerberos and ssl
commit e49baf79af53cded1c8935ce970d60a627a746cc
Author: pravin-dsilva <pravind@...>
Date: 2017-05-26T09:40:59Z
[ZEPPELIN-2471] - NotebookTest fails on travis
### What is this PR for?
The stacktrace for this issue gives the error:
```
06:31:15,263 ERROR org.apache.zeppelin.notebook.repo.VFSNotebookRepo:151 -
Can't read note file:///tmp/ZeppelinLTest_1495261875233/notebook/2BQA35CJZ
com.google.gson.JsonSyntaxException: 2016-03-29T16:21:09-0700
```
This issue is related to notebooks failing to load with date ParseException
and was fixed in ZEPPELIN-1129. However, in ZEPPELIN-2395 the fix for old
format is excluded and hence the issue occurs again. Added the same code to fix
the old date format issue in the fromJSON method of Note.java
### What type of PR is it?
Bug Fix
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2471
### How should this be tested?
Tests should pass on CI
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: pravin-dsilva <[email protected]>
Closes #2366 from pravin-dsilva/ZEPPELIN-2471 and squashes the following
commits:
3be65aa [pravin-dsilva] Update indentation for Note.java
d083208 [pravin-dsilva] Update .travis.yml to include NotebookTest
3a2e788 [pravin-dsilva] ZEPPELIN-2471 - NotebookTest fails on travis
commit 9608f49601c6590127edd21fabacc2aa8f6bdfae
Author: 1ambda <1amb4a@...>
Date: 2017-05-30T09:06:46Z
[ZEPPELIN-2602] fix: broken navbar-title rendering in safari
### What is this PR for?
fix: broken navbar-title rendering in safari.
I attached screenshots.
### What type of PR is it?
[Bug Fix]
### Todos
DONE
### What is the Jira issue?
[ZEPPELIN-2602]()
### How should this be tested?
1. Clone apache/zeppelin
2. Build `mvn clean package -DskipTests;`
3. Open `localhost:8080` in **Safari**
### Screenshots (if appropriate)
#### Before

#### After

### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO
Author: 1ambda <[email protected]>
Closes #2378 from 1ambda/ZEPPELIN-2602/navbar-is-broken-in-safari and
squashes the following commits:
947c2f7 [1ambda] fix: navbar-title rendering in safari
commit c61e08de1f4c2686963d7d216207783a4369a5bd
Author: Eric Charles <eric@...>
Date: 2017-05-04T07:19:13Z
Replace CXF with Jersey2 [ZEPPELIN-903]
### What is this PR for?
Use jersey2 instead of CXF to manage JSON REST requests and responses.
Jersey2 can better manage the JSON bodies and mappings, mapping the json
attributes to a POJO (getter/setter) being given as parameter of the method.
### What type of PR is it?
[Improvement]
### Todos
### What is the Jira issue?
- https://issues.apache.org/jira/browse/ZEPPELIN-903
### How should this be tested?
Build, run and check the
### Screenshots (if appropriate)
N/A
### Questions:
- Does the licenses files need update? Y
- Is there breaking changes for older versions? N
- Does this needs documentation? N
Author: Eric Charles <[email protected]>
Closes #932 from echarles/jersey2 and squashes the following commits:
767f15a6 [Eric Charles] Merge branch 'master' into jersey2
624fc251 [Eric Charles] Merge branch 'master' into jersey2
0099da58 [Eric Charles] Merge branch 'master' into jersey2
62140765 [Eric Charles] Merge branch 'master' into jersey2
71c93b82 [Eric Charles] rename local cxfContext variable
851dd576 [Eric Charles] Merge branch 'master' into jersey2
a5caf26b [Eric Charles] Merge branch 'master' into jersey2
ff04acaa [Eric Charles] clean merged content in LICENSE file
01dcc096 [Eric Charles] revert back to scala 2.10
c908697e [Eric Charles] merge with master
39543dec [Eric Charles] Merge branch 'master' of
https://github.com/apache/zeppelin
ebe7ebb3 [Eric Charles] Automatic message for commit of samedi 18 mars
2017, 11:23:13 (UTC+0000)
1344a20d [Eric Charles] Merge branch 'master' into jersey2
2881e5ac [Eric Charles] CDDL2 does not exist + get rid of javax.annotation
released under JDL, it is shipped in JRE
d39c5aa0 [Eric Charles] Merge branch 'master' into jersey2
c42d40c9 [Eric Charles] Move LICENSE-jersey-2 to
zeppelin-distribution/src/bin_license
0634977a [Eric Charles] Add more licenses
7dafe841 [Eric Charles] Merge branch 'master' into jersey2
587d3660 [Eric Charles] Document jersey 2 license
82d98672 [Eric Charles] merge with master
326819d0 [Eric Charles] Merge branch 'master' into jersey2
f25b695b [Eric Charles] Merge branch 'master' into jersey2
a7b7a871 [Eric Charles] Remove remaining jersey1 dep
99e45025 [Eric Charles] Merge branch 'master' into jersey2
d149a728 [Eric Charles] Ensure dependency convergence
dbac7d9c [Eric Charles] Fix code style
9eef80cb [Eric Charles] Replace CXF with Jersey2
commit 8fbcc454377dad67f47e6160c02c4375ae9e6cf5
Author: vipulm <vipulm@...>
Date: 2017-06-03T00:05:47Z
[HFix] : Fix JS exception because of Zeppelin-2519
### What is this PR for?
Fix JS exception because of Zeppelin-2519. Added the missing dependency for
scroll monitor before viewport.
### What type of PR is it?
[Bug Fix]
### Todos
* [ ] - Task
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2519
### How should this be tested?
Load a notebook and you should not see any exceptions in the dev console.
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update?
* Is there breaking changes for older versions?
* Does this needs documentation?
Author: vipulm <[email protected]>
Closes #2392 from vipul1409/ZEPPELIN-2519 and squashes the following
commits:
817e6fa [vipulm] Fixing JS exception issue
7cf08a6 [vipulm] Merge branch 'master' into ZEPPELIN-2519
497413b [vipulm] Fixing build issues
21c03d6 [vipulm] Merging master and resolving conflicts
b982db4 [vipulm] Trigger build
175dd17 [vipulm] Merge master
99b19a5 [vipulm] Move pacakg to npm
d698d06 [vipulm] Add license file
7142578 [vipulm] Trigger notification
329e33a [vipulm] Disable watchers not in viewport
commit 524d5f2a3994b88d073f79c0d1ead0f23b0786ff
Author: Tinkoff DWH <tinkoff.dwh@...>
Date: 2017-05-20T17:38:11Z
[ZEPPELIN-2538] JDBC completer improvements for work with large meta
### What is this PR for?
There are some problems if meta is large (few schemas, each schema contains
500+ tables etc.).
Problems:
1. loading is very long
2. each update takes one connection if updates are long, the situation may
arise that the entire pool will be busy
3. no cache
This PR solves these problems. Added cache and access by full path
(schema.table, schema.table.column) + protection for release the connections
### What type of PR is it?
Improvement
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2538
### 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: Tinkoff DWH <[email protected]>
Closes #2343 from tinkoff-dwh/ZEPPELIN-2538 and squashes the following
commits:
0991c6ab [Tinkoff DWH] [ZEPPELIN-2538] small improvement
e770d261 [Tinkoff DWH] [ZEPPELIN-2538] update description
a5788743 [Tinkoff DWH] [ZEPPELIN-2538] protection long download
f999488b [Tinkoff DWH] Merge remote-tracking branch 'upstream/master' into
ZEPPELIN-2538
f26ab5da [Tinkoff DWH] [ZEPPELIN-2538] fix tests
d600fa16 [Tinkoff DWH] [ZEPPELIN-2538] rewrite sql completer to work with
large data
commit c73899420c93454ff689aa3c5c8e4c80df1c10ce
Author: Tinkoff DWH <tinkoff.dwh@...>
Date: 2017-06-05T12:21:21Z
[Bug Fix][ZEPPELIN-2554] sql parser fix (backslash)
### What is this PR for?
Fix of parser to correctly parse backslash in quotes.
### What type of PR is it?
Bug Fix
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2554
### How should this be tested?
Execute `select '\n', ';'`
### Screenshots (if appropriate)
before

text is parsed as 2 queries `select '\n', '` and `'`
after

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no
Author: Tinkoff DWH <[email protected]>
Closes #2347 from tinkoff-dwh/ZEPPELIN-2554 and squashes the following
commits:
778319a5c [Tinkoff DWH] Merge remote-tracking branch 'upstream/master' into
ZEPPELIN-2554
b28ebbef6 [Tinkoff DWH] [ZEPPELIN-2554] added parameter key.splitQueries
e8be7b36d [Tinkoff DWH] [ZEPPELIN-2554] fix parsing backslash and single
quote, tests
af508f1ca [Tinkoff DWH] [ZEPPELIN-2554] fix tests
3951aa705 [Tinkoff DWH] [ZEPPELIN-2554] sql parser fix (backslash)
commit 70a3629d00fe9820730efaa023377e93fce84a49
Author: Prabhjyot Singh <prabhjyotsingh@...>
Date: 2017-06-03T03:02:40Z
User does not land on Zeppelin UI Login page after clicking logout button
when Zeppelin is running behind proxy server.
### What is this PR for?
The user is no more on Zeppelin UI Login page after clicking logout button
or links where user doesn't have access to when Zeppelin is running behind a
proxy server like Nginx.
### What type of PR is it?
[Bug Fix]
### What is the Jira issue?
* [ZEPPELIN-2601](https://issues.apache.org/jira/browse/ZEPPELIN-2601)
### How should this be tested?
Set up any reverse proxy server like Nginx, exmaple config below;
```
location /abc/def/zeppelin/ {
proxy_pass http://localhost:8080/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
```
And now from browser navigate to this URL, and click on any like for which
user doesn't have access to. In my example `user1` did not have access to any
of `/api/interpreter/**` `/api/configurations/**` and `/api/credential/**`
### Screenshots (if appropriate)
Before:

After:

### Questions:
* Does the licenses files need update?
* Is there breaking changes for older versions?
* Does this needs documentation?
Author: Prabhjyot Singh <[email protected]>
Closes #2377 from prabhjyotsingh/ZEPPELIN-2601 and squashes the following
commits:
d5c6af208 [Prabhjyot Singh] remove unrequired variable `aa`
03551158d [Prabhjyot Singh] change window.location.replace('/') with
window.location = baseUrlSrv.getBase()
commit 3219218620e795769e6f65287f134b6a43e9c010
Author: Karup <karuppayyar@...>
Date: 2017-05-27T10:14:53Z
[ZEPPELIN-2591] Show user info in spark job description
### What is this PR for?
Show user info in spark job description in spark UI.
With this info on spark UI, we will be able to find which user's job took
most time, which users job is currently consuming the resources etc
### What type of PR is it?
improvement
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2591
### How should this be tested?
Run a spark job(scala, python, sql, R) , check the spark UI jobs page.
The job should display the username in its description.
### Screenshots (if appropriate)
<img width="1032" alt="screen shot 2017-05-27 at 15 41 30"
src="https://cloud.githubusercontent.com/assets/5082742/26520572/00924702-42f3-11e7-8938-5a4b875d6c5d.png">
Check the description column
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: Karup <[email protected]>
Closes #2369 from karuppayya/ZEPPELIN-2591 and squashes the following
commits:
569f660 [Karup] code cleanup
47cf5ed [Karup] Code clean up
2cc9c08 [Karup] Add description to jobs
22d850d [Karup] Populate user info
commit f10b71cc1543f1815b5d26762fdd7ae311203eaa
Author: sven0726 <sven0726@...>
Date: 2017-06-05T08:51:36Z
change the spark version of dockerfile
### What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide -
https://zeppelin.apache.org/contribution/contributions.html
### What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]
### Todos
* [ ] - Task
### What is the Jira issue?
* Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
* Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg.
[ZEPPELIN-533]
### How should this be tested?
Outline the steps to test the PR here.
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update?
* Is there breaking changes for older versions?
* Does this needs documentation?
Author: sven0726 <[email protected]>
Closes #2370 from sven0726/master and squashes the following commits:
15af90e [sven0726] change hadoop profile version
3b68a5f [sven0726] change the spark version of dockerfile
commit 169fb742fd7f24ed987a7d85cf473e49f8d02f4b
Author: Sohaib Iftikhar <iftikhar.sohaib@...>
Date: 2017-05-19T13:04:18Z
Allow group/role based authentication using LdapRealm [ZEPPELIN-2539]
### What is this PR for?
Currently allowing authentication for selected roles/groups of an LDAP
realm is not possible. The LDAPRealm allows for mapping of roles to groups but
only allows authorization on URLs with respect to groups. No group based checks
are carried out during authentication. This PR allows for group based
authentication using LdapRealm.
### What type of PR is it?
[Improvement]
### Todos
* [x] - Merge #932 - This PR also merges changes from 932 so that needs to
be merged first.
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2539
### How should this be tested?
Build and configure `shiro.ini` to use the LdapRealm and verify that the
realm works as before along with the added functionality of allowing only
certain user groups for authentication if the `allowedRolesForAuthentication`
config is set in the init. If this configuration is absent authentication
should work as before without verifying roles. A sample shiro.ini is pasted
here for testing purposes.
```
[main]
ldapRealm = org.apache.zeppelin.realm.LdapRealm
ldapRealm.userDnTemplate = uid={0},ou=people,dc=my-company,dc=net
ldapRealm.searchBase = dc=my-company,dc=net
ldapRealm.userSearchBase = ou=people,dc=my-company,dc=net
ldapRealm.groupSearchBase = ou=groups,dc=my-company,dc=net
ldapRealm.contextFactory.url = ldaps://auth.my-company.net:636
ldapRealm.contextFactory.authenticationMechanism = simple
ldapRealm.userObjectClass = posixAccount
ldapRealm.groupObjectClass = posixGroup
ldapRealm.authorizationEnabled = true
ldapRealm.memberAttribute = memberUid
ldapRealm.memberAttributeValueTemplate=uid={0},ou=people,dc=my-company,dc=net
ldapRealm.rolesByGroup = GLOBAL_ADMINS:admin,HKG_USERS:user
ldapRealm.allowedRolesForAuthentication = admin,user
ldapRealm.userSearchAttributeName = uid
sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
shiro.loginUrl = /api/login
securityManager.sessionManager = $sessionManager
securityManager.sessionManager.globalSessionTimeout = 86400000
securityManager.realms = $ldapRealm
[urls]
/api/version = anon
/api/login = authc
/api/login/logout = authc
/** = authc, roles[admin,user]
```
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? Y (documentation updated in PR)
Author: Sohaib Iftikhar <[email protected]>
Closes #2354 from sohaibiftikhar/ldaprealm and squashes the following
commits:
f706b22 [Sohaib Iftikhar] Added role based authentication(not to be
confused with authorization) for shiro
commit dc71877f720b17934af64c2263a34d0a0536b048
Author: Christian Fries <email@...>
Date: 2017-05-26T11:29:13Z
Improved comment, removed admin user definition per default
### What is this PR for?
Improved shiro.ini.template.
Since the file is just a template, it should be such that if the user
copies it from shiro.ini.template to shiro.ini the auth settings are comparable
conservative.
Hence: The admin user has been commented out to avoid enabling admin by
default with a default password.
In addition, the comment in the url section was misleading. It has been
clarified. The comment "To enfore security, comment the line below and
uncomment the next oneâ was
misleading, since the setting was already on "authc" and it was not the
"line below". This has been fixed.
### What type of PR is it?
[ Improvement]
### Todos
* N/A
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-2588
### How should this be tested?
Non regression test / unit testing.
### 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: Christian Fries <[email protected]>
Closes #2368 from cfries/improved-shiro-ini and squashes the following
commits:
e7606497 [Christian Fries] Improved comment, removed admin user definition
per default
commit 7213f8f954259d1ee7ef525ef2e02373a6bda9b5
Author: 1ambda <1amb4a@...>
Date: 2017-06-01T23:06:48Z
[MINOR] fix: Remove newlines in spark tutorial output
### What is this PR for?
fix: Remove newlines in spark tutorial output. I attached screenshots.
### What type of PR is it?
[Bug Fix]
### Todos
DONE
### What is the Jira issue?
MINOR
### How should this be tested?
1. Check out this PR.
2. Build
3. Open the `Zeppelin Tutorial / Basic Features(Spark)` notebook
4. Check the output.
### Screenshots (if appropriate)
#### Before

#### After

### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO
Author: 1ambda <[email protected]>
Closes #2379 from 1ambda/MINOR/update-spark-tutorial-paragraph and squashes
the following commits:
c3d1f7ed [1ambda] fix: Remove newlines in spark tutorial
commit 32d8afafffa98838376f427d533b0a0368020aad
Author: andrea <andrea.peruffo1982@...>
Date: 2017-06-01T11:41:50Z
[ZEPPELIN-2606] Fix compilation with R interpreter enabled
### What is this PR for?
`mvn -DskipTests clean package -Pr` fails
### What type of PR is it?
Bug Fix
### What is the Jira issue?
[ZEPPELIN-2606]
### How should this be tested?
`mvn -DskipTests clean package -Pr`
Author: andrea <[email protected]>
Closes #2383 from andreaTP/rInterpreterFix and squashes the following
commits:
6ef05953e [andrea] included R interpreter in travis
b237615c8 [andrea] [ZEPPELIN-2606] Fix compilation with R interpreter
enabled
----
---