Skip to content

Conversation

@davidtzoor
Copy link

What is this PR for?

Add force layout (graph) visualization to the existing set of visualizations in Zeppelin Web notp.

What type of PR is it?

[Feature]

What is the Jira issue?

[ZEPPELIN-1011]

How should this be tested?

The testes are incorporated within the existing test suite.

Screenshots (if appropriate)

eeffbb58-3238-11e6-92ea-148a4063d353

Questions:

  • Does the licenses files need update?
    No.
  • Is there breaking changes for older versions?
    No.
  • Does this needs documentation?
    We can add some documentation explaining about the different fields that need to be selected in order to generate the force layout component.

@bzz
Copy link
Member

bzz commented Jun 15, 2016

@davidtzoor great to see new visualization! Could you rebase on top of the latest master please?

@davidtzoor
Copy link
Author

@bzz Thanks! you mean to rebase the current apache:master to my forked repo (datvidtzoor:master), right? After I do that, what should I do?

ralphgee and others added 23 commits June 15, 2016 18:47
### What is this PR for?
This PR applies the new interpreter registration mechanism to the JDBCInterpreter.

### What type of PR is it?
Improvement

### Todos
* [x ] - Move interpreter registration properties from static block to interpreter-setting.json

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

### How should this be tested?
1. apply patch
2. rm -r interpreter/jdbc
3. rm conf/interpreter.json
4. mvn clean package -DskipTests -pl jdbc
5. bin/zeppelin-daemon.sh start
6. run some paragraph with simple sql queries

### 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: Ralph Geerkens <[email protected]>

Closes #954 from ralphge/pr915 and squashes the following commits:

63617ef [Ralph Geerkens] [ZEPPELIN-915] New registration mechanism applied to JDBCInterpreter
### What is this PR for?
Allow users to export data in a paragraph to a TSV file.

There is already a [PR](#6) for this, but it uses DataTables, which requires Flash.

### What type of PR is it?
Feature

### Todos
* [ ] - Hide/disable the button if it is not in table/chart view
* [ ] - Find an icon for the new button
* [ ] - Saved file name is not correct in Safari
* [ ] - Test with large data set

### Is there a relevant Jira issue?
[ZEPPELIN-672](https://issues.apache.org/jira/browse/ZEPPELIN-672)

### How should this be tested?
1. create a paragraph with data in %table view
2. select the "Export to TSV" item in the paragraph settings list

### Screenshots (if appropriate)
![vvzhsyciev](https://cloud.githubusercontent.com/assets/3282033/13032147/d589e88e-d29c-11e5-8763-96fca4db2fd0.gif)

### Questions:
* Does the licenses files need update?
NO

* Is there breaking changes for older versions?
NO

* Does this needs documentation?
NO

Author: Zhong Wang <[email protected]>

Closes #714 from zhongneu/export-to-tsv and squashes the following commits:

3c9e9e6 [Zhong Wang] fix missing semicolons
089018e [Zhong Wang] first attempt to implement exporting to TSV
### What is this PR for?
Extending the livy interpreter to allow manipulation in the configurations of Spark from zeppelin web ui.

### What type of PR is it?
Improvement
### Todos
* [Test case ] - Task
* [Documentation ] - Task

### What is the Jira issue?
* [ZEPPELIN-935]

### How should this be tested?
- Run livy server in yarn mode or local mode
- Start the Zeppelin and go to interpreter page, create livy interpreter with supported configurations

### Screenshots (if appropriate)

![](http://s33.postimg.org/rukcyp1in/Screenshot_from_2016_06_01_11_55_37.png)
![](http://s33.postimg.org/a8chtwtf3/Screenshot_from_2016_06_01_11_23_59.png)

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

Author: mahmoudelgamal <[email protected]>
Author: Fouad <[email protected]>

Closes #944 from mfelgamal/feature/livy-conf and squashes the following commits:

ccf3c82 [mahmoudelgamal] Adding all configurations to doc
bb2d5dc [mahmoudelgamal] Adding spark guide link
c2b36f5 [mahmoudelgamal] Prefixing all spark properties with livy.*
ddd99e1 [mahmoudelgamal] Removing default values to properties which belongs spark
f988af0 [mahmoudelgamal] Supporting all spark configurations
72474b9 [mahmoudelgamal] Adding more configurations to livy interpreter
4c0d5f0 [mahmoudelgamal] Adding more configurations to livy interpreter
2586651 [Fouad] Merge pull request #2 from apache/master
### What is this PR for?
While Apache Ignite version in Zeppelin was bumped up by #916, but ignite build flag in [README.md](https://github.com/apache/incubator-zeppelin/blob/master/README.md#ignite-interpreter) is outdated so far. So I just changed `1.1.0-incubating` -> `1.6.0`.

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

### Todos

### What is the Jira issue?

### How should this be tested?
Just see [here](https://github.com/apache/incubator-zeppelin/blob/master/README.md#ignite-interpreter).

### 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: AhyoungRyu <[email protected]>

Closes #970 from AhyoungRyu/update/README.md and squashes the following commits:

20d0155 [AhyoungRyu] Update README.md for fixing ignite flag
### What is this PR for?
- update document style (font, line-spacing)
- apply same formats for documents
- fix broke document styles

### What type of PR is it?
Documentation

### What is the Jira issue?
[ZEPPELIN-952](https://issues.apache.org/jira/browse/ZEPPELIN-952)

### Screenshots (if appropriate)
**Before**
<img width="1184" alt="screen shot 2016-06-04 at 9 51 38 pm" src="https://cloud.githubusercontent.com/assets/8503346/15803667/d0dd5ac2-2a9f-11e6-9ed0-ddc369a97612.png">

**After**
<img width="1184" alt="screen shot 2016-06-04 at 9 15 08 pm" src="https://cloud.githubusercontent.com/assets/8503346/15803666/cd9212ea-2a9f-11e6-986e-17992a495ab6.png">

**Before**
<img width="1183" alt="screen shot 2016-06-04 at 10 08 53 pm" src="https://cloud.githubusercontent.com/assets/8503346/15803695/03e73126-2aa1-11e6-8675-3ca437aeb833.png">

**After**
<img width="1184" alt="screen shot 2016-06-04 at 10 08 18 pm" src="https://cloud.githubusercontent.com/assets/8503346/15803696/078ce866-2aa1-11e6-9044-4f5e16649eb4.png">

**Before**
<img width="1184" alt="screen shot 2016-06-04 at 10 10 47 pm" src="https://cloud.githubusercontent.com/assets/8503346/15803704/5787e9ba-2aa1-11e6-804c-076a8f3aa852.png">

**After**
<img width="1184" alt="screen shot 2016-06-04 at 10 11 22 pm" src="https://cloud.githubusercontent.com/assets/8503346/15803707/5afb5d0c-2aa1-11e6-98c7-7440db35bd2f.png">

**Before**
<img width="188" alt="screen shot 2016-06-04 at 10 12 36 pm" src="https://cloud.githubusercontent.com/assets/8503346/15803719/92e5cc3e-2aa1-11e6-9a9f-e12150e78733.png">

**After**
<img width="199" alt="screen shot 2016-06-04 at 10 12 55 pm" src="https://cloud.githubusercontent.com/assets/8503346/15803721/958e8c00-2aa1-11e6-8768-8350db6e7173.png">

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

Author: Mina Lee <[email protected]>

Closes #962 from minahlee/ZEPPELIN-952 and squashes the following commits:

f9bee91 [Mina Lee] Capitalize hawq
72481bd [Mina Lee] Update doc titles
495a074 [Mina Lee] remove old style.css
27ca869 [Mina Lee] use code block for file location in spark.md
eb821f1 [Mina Lee] Change file location and rename file
72f8ec3 [Mina Lee] change storage doc layout and fix pre block
4202208 [Mina Lee] Apply same format for rest api docs
5875066 [Mina Lee] split display page into text and html
8bc5a6e [Mina Lee] prettify document
0cb953e [Mina Lee] remove incubating tag
…in mobile view.

### What is this PR for?
Current contents table of Interpreter and Configurations menu are broken on mobile view.
This PR for fixing this issue.

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

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

### How should this be tested?
check Interpreter and Configurations menu on mobile view.

### Screenshots (if appropriate)
- before (Configurations)
![image](https://cloud.githubusercontent.com/assets/3348133/15724632/e0d1c266-2882-11e6-81f2-97d9eefc8734.png)

- before (Interpreter)
![image](https://cloud.githubusercontent.com/assets/3348133/15724635/e3dbe89c-2882-11e6-90ec-e0deb61986e4.png)

- after
![image](https://cloud.githubusercontent.com/assets/3348133/15724643/f1ef3240-2882-11e6-8c80-99282976520c.png)

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

Author: astroshim <[email protected]>

Closes #946 from astroshim/ZEPPELIN-937 and squashes the following commits:

d7afce9 [astroshim] add css to better mobile view.
### What is this PR for?
This PR fixes a few minor issues from the recent introduction of Handsontable for table rendering (#858):
* Render up to 5 digits after decimal point instead of always rounding to integers
* Allow visual selection of table cells (for copy)
* Default to text renderer instead of numeric renderer

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

### Todos

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

### How should this be tested?
Output some rows with floating point numbers and render them in a table.

### 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: Hao Xia <[email protected]>

Closes #973 from jasonxh/hao/render-table and squashes the following commits:

a663833 [Hao Xia] Remove cell selection. Allow visually selecting table text.
7bc85b5 [Hao Xia] Table rendering improvements: * Render up to 5 digits after decimal point * Allow visual selection of table cells * Default to text renderer
### What is this PR for?
This PR applies the new interpreter registration mechanism to FlinkInterpreter.

### What type of PR is it?
Improvement

### Todos
 - Move interpreter registration properties from static block to interpreter-setting.json

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

### How should this be tested?
1. apply patch
2. rm -r interpreter/flink
3. rm conf/interpreter.json
4. mvn clean package -DskipTests -pl flink
5. bin/zeppelin-daemon.sh start
6. run some paragraph with simple Flink queries

Questions:

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

Author: rerngvit <[email protected]>

Closes #977 from rerngvit/ZEPPELIN-911 and squashes the following commits:

99b91e4 [rerngvit] [ZEPPELIN-911] Apply new mechanism to FlinkInterpreter
### What is this PR for?
This removes hive module and adds example setting for using Hive in a JdbcInterpreter by using loading dynamic dependencies. It reduces Zeppelin's binary size.

There's no codes' modification except removing hive directory and remove the module from pom.xml

### What type of PR is it?
[Feature]

### Todos
* [x] - Remove hive module
* [x] - Add an example for using Hive in JDBC

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

### How should this be tested?
Set the interpreter properties and test it

### 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 <[email protected]>

Closes #943 from jongyoul/ZEPPELIN-925 and squashes the following commits:

eb50c78 [Jongyoul Lee] Fixed typo
45ec667 [Jongyoul Lee] Updated style of jdbc.md
f6b94d6 [Jongyoul Lee] Update hive.md
6aa9c7b [Jongyoul Lee] Revert "Remove hive.md from docs/interpreter"
f6573e3 [Jongyoul Lee] Deleted hive module from pom.xml
f720ed5 [Jongyoul Lee] Updated Documentation
9c58640 [Jongyoul Lee] Remove hive.md from docs/interpreter
cdf1cfc [Jongyoul Lee] Remove hive module and its directory
a38dc28 [Jongyoul Lee] Update example for hive in jdbc.md
### What is this PR for?
Scalding interpreter that works in hdfs mode

### What type of PR is it?
Improvement

### Todos
* [x] - Update documentation.

### What is the Jira issue?
[ZEPPELIN-840](https://issues.apache.org/jira/browse/ZEPPELIN-840)

### How should this be tested?
1. The remote interpreter has to be run in on a system with Hadoop libraries.
1. Run "%scalding mode" and verify that it is Hdfs
1. Run command that create map-reduce job. For example, "TypedPipe.from(TextLine("/user/pwagle/testfile")).filter(x => x == "a").toList"

### Screenshots (if appropriate)

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

Author: Prasad Wagle <[email protected]>

Closes #917 from prasadwagle/ZEPPELIN-840 and squashes the following commits:

e91efd1 [Prasad Wagle] Restore document section on how to build scalding interpreter by enabling scalding profile
a001660 [Prasad Wagle] Restore scalding profile
f59bb55 [Prasad Wagle] Revert scala version change in zeppelin-server/pom.xml
730d5b6 [Prasad Wagle] Remove scalding profile from pom.xml
d74c52c [Prasad Wagle] Remove -Pscalding from .travis.yml PROFILE variable
92bfcca [Prasad Wagle] Fix checkstyle error
a29867d [Prasad Wagle] Update scalding interpreter doc
5db8daf [Prasad Wagle] Make variables final to avoid java 1.7 compiler error, go back to java 1.7
44e5702 [Prasad Wagle] Fix checkstyle error
d2052ca [Prasad Wagle] Re-add http://maven.twttr.com repository to resolve com.hadoop.gplcompression:hadoop-lzo:jar:0.4.19 dependency
301f126 [Prasad Wagle] Change scalding.version to 0.16.1-RC1
a84ea3e [Prasad Wagle] Use oraclejdk8 in travis.yml
9060073 [Prasad Wagle] Move ZeppelinScaldingShell to org.apache.zeppelin.scalding, use java 1.8, scala 2.11
0e43d00 [Prasad Wagle] Add http://maven.twttr.com repository to resolve com.hadoop.gplcompression:hadoop-lzo:jar:0.4.19 dependency
5908935 [Prasad Wagle] Scalding interpreter that works in hdfs mode
### What is this PR for?
Currently Zeppelin provides authorization mechanism on each notebooks. But it seems many users can not get much useful information through [the existing notebook authorization docs](https://zeppelin.apache.org/docs/0.6.0-incubating-SNAPSHOT/security/notebook_authorization.html). So I add some information so that users can follow step by step.

Moreover,  [interpreter authorization docs](https://zeppelin.apache.org/docs/0.6.0-incubating-SNAPSHOT/security/interpreter_authorization.html) doesn't provide much information so far. This can be confused to users. So I removed it temporally. We can add it again when we have specific(?) feature for `interpreter & data source authorization`.

### What type of PR is it?
Improvement | Documentation

### Todos
* [x] - Remove security_overview.md & interpreter_authorization.md
* [x] - Improve notebook authorization docs

### What is the Jira issue?
[ZEPPELIN-939](https://issues.apache.org/jira/browse/ZEPPELIN-939)

### How should this be tested?

### Screenshots (if appropriate)
 - **Before**
<img width="1107" alt="screen shot 2016-06-01 at 5 46 22 pm" src="https://cloud.githubusercontent.com/assets/10060731/15730358/cf8074ec-2820-11e6-8e55-d0552896d95d.png">

 - **After**
<img width="1030" alt="screen shot 2016-06-01 at 5 48 17 pm" src="https://cloud.githubusercontent.com/assets/10060731/15730384/1b6c8a08-2821-11e6-89ae-7d054ec87c57.png">
<img width="1007" alt="screen shot 2016-06-01 at 5 48 31 pm" src="https://cloud.githubusercontent.com/assets/10060731/15730386/1ea6e42a-2821-11e6-9630-da2ca67970f0.png">

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

Author: AhyoungRyu <[email protected]>

Closes #947 from AhyoungRyu/ZEPPELIN-939 and squashes the following commits:

e63af10 [AhyoungRyu] Revert interpreter_authorization.md
6438cc2 [AhyoungRyu] Improve notebook authorization documentation
6e1c1b3 [AhyoungRyu] Remove deleted file list in navbar
26f77d0 [AhyoungRyu] Remove security_overview.md & interpreter_authorization.md
### What is this PR for?
Following the PR #714 and its comments, we are moving the download data outside the paragraph settings. Which would allow a possible drop down to choose backend data download in the future.

### What type of PR is it?
Improvement

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

### How should this be tested?
Show a %Table type of result (you can use below code in a paragraph for that).
You should see the icon, click on it to download the data.
```
print(s"""%table
name\tsize
sun\t127.6
moon\t0.6458
gerard\t45.234856803""")
```

### Screenshots (if appropriate)
![screen shot 2016-06-08 at 4 15 22 pm](https://cloud.githubusercontent.com/assets/710411/15886052/bf3f8648-2d95-11e6-837f-47f112a76031.png)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No, but maybe feature announcement during release

Author: Damien CORNEAU <[email protected]>

Closes #975 from corneadoug/improve/downloadDataBtnVisibility and squashes the following commits:

2ca3028 [Damien CORNEAU] Move download data button outside the paragraph settings
### What is this PR for?
git repo infra have moved from incubator-zeppelin to zeppelin

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

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

Author: Mina Lee <[email protected]>

Closes #983 from minahlee/ZEPPELIN-980 and squashes the following commits:

7542c31 [Mina Lee] remove travis url after travis migration is done
3793b38 [Mina Lee] Move git repository from incubator-zeppelin to zeppelin
### What is this PR for?
Support syntax highlight for python and r interpreter

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

### What is the Jira issue?
[ZEPPELIN-958](https://issues.apache.org/jira/browse/ZEPPELIN-958)

### Screenshots (if appropriate)
**Before**
<img width="411" alt="screen shot 2016-06-06 at 12 21 56 am" src="https://cloud.githubusercontent.com/assets/8503346/15814633/be1550ba-2b7c-11e6-89ee-8e8534f89ec7.png">

**After**
<img width="412" alt="screen shot 2016-06-05 at 7 42 55 pm" src="https://cloud.githubusercontent.com/assets/8503346/15810670/cd7960fe-2b55-11e6-8145-50517eaf2195.png">

**Before**
<img width="647" alt="screen shot 2016-06-05 at 7 30 53 pm" src="https://cloud.githubusercontent.com/assets/8503346/15810554/c6e49ec6-2b54-11e6-8b8b-a327dd76d437.png">

**After**
<img width="604" alt="screen shot 2016-06-05 at 7 30 31 pm" src="https://cloud.githubusercontent.com/assets/8503346/15810551/bf48cfc0-2b54-11e6-9ad1-bc16596074ee.png">

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

Author: Mina Lee <[email protected]>

Closes #966 from minahlee/ZEPPELIN-958 and squashes the following commits:

9821f94 [Mina Lee] Support syntax hightlight for python and r interpreter
### What is this PR for?
**Cassandra** interpreter V3:

* Update documentation
* Update interactive documentation
* Add support for binary protocol **V4**
* Implement new `requestTimeOut` runtime option
* Upgrade Java driver version to **3.0.1**
* Allow interpreter to add dynamic forms programmatically when using `FormType.SIMPLE`
* Allow dynamic form using default Zeppelin syntax
* Fixing typo on `FallThroughPolicy`
* Look for data in `AngularObjectRegistry` before creating dynamic form
* Add missing support for `ALTER` statements

### What type of PR is it?
[Improvement]

### Todos
* [ ] - Test steps executed and confirmed working by the community

### What is the Jira issue?
**[ZEPPELIN-901]**

### How should this be tested?
* Download and install locally **[Cassandra 3.5]**
* Start **Cassandra**
* Clone this pull request locally with:
    * `git fetch origin pull/950/head:CassandraInterpreterV3`
    * `git checkout CassandraInterpreterV3`
* Build this version of **Zeppelin** with `mvn clean package -DskipTests`
* Start Zeppelin and update the property `cassandra.hosts` of the **Cassandra** interpreter (set it to _localhost_ or _127.0.0.1_ depending on your configuration)
* To test the `ALTER` statement, create a new paragraph with the following content:
```
%cassandra

CREATE KEYSPACE IF NOT EXISTS cassandra_v3 WITH REPLICATION = {'class': 'SimpleStrategy', 'replication_factor': 1};
CREATE TABLE IF NOT EXISTS cassandra_v3.simple(key int PRIMARY KEY);
ALTER TABLE cassandra_v3.simple ADD value text;
DESCRIBE TABLE cassandra_v3.simple;
```
The result of this paragraph should be:
![image](https://cloud.githubusercontent.com/assets/1532977/15740044/6062bba4-28b3-11e6-818e-e257d0830041.png)

* To test the support for **Zeppelin** dynamic form syntax, create a paragraph with the following content:

```
%cassandra

INSERT INTO cassandra_v3.simple(key,value) VALUES(1, 'first');
INSERT INTO cassandra_v3.simple(key,value) VALUES(2, 'second');
INSERT INTO cassandra_v3.simple(key,value) VALUES(3, 'third');

SELECT * FROM cassandra_v3.simple WHERE key=${key=1};
```
The result of this paragraph should be:
![image](https://cloud.githubusercontent.com/assets/1532977/15740146/d7b696f8-28b3-11e6-80c5-428ae97558f6.png)
* To test the legacy syntax for dynamic form, create a new paragraph with the following content:

```
%cassandra

INSERT INTO cassandra_v3.simple(key,value) VALUES(1, 'first');
INSERT INTO cassandra_v3.simple(key,value) VALUES(2, 'second');
INSERT INTO cassandra_v3.simple(key,value) VALUES(3, 'third');

SELECT * FROM cassandra_v3.simple WHERE key={{key=1|2|3}};
```
The result of this paragraph should be:
![image](https://cloud.githubusercontent.com/assets/1532977/15740377/ebb018ea-28b4-11e6-9cde-b3aad50bbaef.png)

* To test the override of `AngularObject` upon dynamic form, create 2 new paragraphs with the following content

First paragraph content:
```
%angular

<form class="form-inline">
  <div class="form-group">
    <label for="keyId">Key: </label>
    <input type="text" class="form-control" id="keyId" placeholder="key id ..." ng-model="key_id"></input>
  </div>
  <button type="submit" class="btn btn-primary" ng-click="z.angularBind('key_id',key_id,'PUT_HERE_SECOND_PARAGRAPH_ID'); z.runParagraph('PUT_HERE_SECOND_PARAGRAPH_ID')"> Bind</button>
</form>
```
Second paragraph content:
```
%cassandra

INSERT INTO cassandra_v3.simple(key,value) VALUES(1, 'first');
INSERT INTO cassandra_v3.simple(key,value) VALUES(2, 'second');
INSERT INTO cassandra_v3.simple(key,value) VALUES(3, 'third');

SELECT * FROM cassandra_v3.simple WHERE key={{key_id=1}};
```
Replace `PUT_HERE_SECOND_PARAGRAPH_ID` in the angular code of the first paragraph by the real paragraph id of the second paragraph. Execute the first paragraph, put a value into the input text (3) and click on **Bind**, you should see the following result:

![image](https://cloud.githubusercontent.com/assets/1532977/15740626/e9d9deba-28b5-11e6-9708-f040a8d58ccd.png)

### Screenshots (if appropriate)

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

[ZEPPELIN-901]: https://issues.apache.org/jira/browse/ZEPPELIN-901
[Cassandra 3.5]: http://cassandra.apache.org/download/

Author: DuyHai DOAN <[email protected]>

Closes #950 from doanduyhai/CassandraInterpreterV3 and squashes the following commits:

abd42e3 [DuyHai DOAN] [ZEPPELIN-901] Update documentation after code review
8e39846 [DuyHai DOAN] [ZEPPELIN-901] Update documentation
e12400e [DuyHai DOAN] [ZEPPELIN-901] Update interactive documentation
b434cc1 [DuyHai DOAN] [ZEPPELIN-901] Add support for binary protocol V4
9d45bba [DuyHai DOAN] [ZEPPELIN-901] Implement new @requestTimeOut runtime option
e27741f [DuyHai DOAN] [ZEPPELIN-901] Upgrade Java driver version to 3.0.1
c85d928 [DuyHai DOAN] [ZEPPELIN-901] Allow interpreter to add dynamic forms programmatically when using FormType.SIMPLE
6a05749 [DuyHai DOAN] [ZEPPELIN-901] Allow dynamic form using default Zeppelin syntax
449e42c [DuyHai DOAN] [ZEPPELIN-901] Fixing typo on FallThroughPolicy
4914c69 [DuyHai DOAN] [ZEPPELIN-901] Look for data in AngularObjectRegistry before creating dynamic form
8e49a05 [DuyHai DOAN] [ZEPPELIN-901] Add missing support for ALTER statements
### What is this PR for?
Cache downloaded file from 'maven-download-plugin' to improve CI build speed and reduce build failure due to network issue.

### What type of PR is it?
Improvement

### Todos
* [x] - Cache '.m2/repository/.cache/maven-download-plugin' directory

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

### 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 <[email protected]>

Closes #996 from Leemoonsoo/download_fix and squashes the following commits:

52c0972 [Lee moon soo] trigger-ci
35aff65 [Lee moon soo] Cache ${HOME}/.m2/repository/.cache/maven-download-plugin to reduce download attempt
### What is this PR for?
This is extension to #983, with missing references of incubation.

### What type of PR is it?
[Improvement]

### What is the Jira issue?
[ZEPPELIN-980](https://issues.apache.org/jira/browse/ZEPPELIN-980)

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

Author: Prabhjyot Singh <[email protected]>

Closes #992 from prabhjyotsingh/ZEPPELIN-980 and squashes the following commits:

5fa97b7 [Prabhjyot Singh] missing "incubation-" references
### What is this PR for?
Currently, does not work 'pyspark completion'.

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

### Todos
- [x] - change standard output for completion to interpreter outer.

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

### How should this be tested?
Try keyword completion for pyspark interpreter.

### Screenshots (if appropriate)
#### Before
![pycompletion_err2](https://cloud.githubusercontent.com/assets/10525473/15961476/ed5eae40-2f3f-11e6-8e22-e0df6b7012c9.gif)

#### After
![pycompletion](https://cloud.githubusercontent.com/assets/10525473/15961433/b60d534c-2f3f-11e6-84f1-cd828f7db9e0.gif)

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

Author: CloverHearts <[email protected]>

Closes #988 from cloverhearts/hotfix/nwPyspark and squashes the following commits:

7c09a7a [CloverHearts] fixed pyspark completion.
…Remote Interpreter

### What is this PR for?
Currenlty zeppelin server starts interpreter on localhost and with random port.The purpose of this pull request is to allow zeppelin server to connect to remotely executing zeppelin interpreter that user might have started in his service.This feature will be further helpful while cluster manager is to be implemented.(https://cwiki.apache.org/confluence/display/ZEPPELIN/Cluster+Manager+Proposal)

### What type of PR is it?
Improvement

### Todos
[ ] -Add documentation

### What is the Jira issue?
* [ZEPPELIN-940] https://issues.apache.org/jira/browse/ZEPPELIN-940

### How should this be tested?
Added Junit test in RemoteInterpreterProcessTest and it passes

### Screenshots (if appropriate)

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

Author: Sachin <[email protected]>
Author: SachinJanani <[email protected]>

Closes #955 from SachinJanani/master and squashes the following commits:

f279767 [Sachin] Changed the Markdown style for code block in document
f57eb78 [Sachin] Incorporated review comments related to documentation
067a06e [Sachin] Add documentation for connecting to existing remote interpreter
84d2347 [Sachin] Added checkbox for Connecting to existing process and renamed the variables
c7fdc66 [Sachin] Merge remote-tracking branch 'upstream/master'
9762134 [Sachin] Merge branch 'master' of https://github.com/SachinJanani/incubator-zeppelin
4d51cd9 [Sachin] Add UI component for the accepting Host and Port when executing option is selected
2e30e3d [Sachin] [ZEPPELIN-940] Allow zeppelin server to connect to already executing Remote Interpreter
355c1f2 [Sachin] Add UI component for the accepting Host and Port when executing option is selected
7af8112 [Sachin] Merge branch 'master' of https://github.com/SachinJanani/incubator-zeppelin
fbe2346 [Sachin] [ZEPPELIN-940] Allow zeppelin server to connect to already executing Remote Interpreter
53c1eea [SachinJanani] Merge pull request #1 from apache/master
… JDBC Interpreter

### What is this PR for?
Supporting Sql completer into JDBC Interpreter which is merged by the function of Postgresql Interpreter. And this is the first step to merge Postgresql into generic JDBC Interpreter

### What type of PR is it?
[Improvement]

### Todos
* [x] - Adopted the function of auto completion

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

### How should this be tested?

### Screenshots (if appropriate)
<img width="1054" alt="screen shot 2016-06-08 at 3 00 54 pm" src="https://cloud.githubusercontent.com/assets/3612566/15884224/e241f6b4-2d89-11e6-9746-8c8951ef6708.png">
<img width="474" alt="screen shot 2016-06-08 at 2 45 50 pm" src="https://cloud.githubusercontent.com/assets/3612566/15884229/e7993e24-2d89-11e6-9f5b-018e6eac7f6a.png">

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

Author: Jongyoul Lee <[email protected]>

Closes #974 from jongyoul/ZEPPELIN-614 and squashes the following commits:

998352c [Jongyoul Lee] Fixed old styles
99ce452 [Jongyoul Lee] Updated license document
d482395 [Jongyoul Lee] Fixed typo and coding style
e49f73c [Jongyoul Lee] Updated original documentation
6491cba [Jongyoul Lee] Added auto completion from PostgresqlInterpreter
### What is this PR for?
Fix misspelt words and wrong method parameter on zeppelin-interpreter
https://issues.apache.org/jira/browse/ZEPPELIN-792

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

### Todos
 * [x] - Fix misspelt variable
 * [x] - Fix wrong method parameter

### What is the Jira issue?
* [ZEPPELIN-792](https://issues.apache.org/jira/browse/ZEPPELIN-792)

### How should this be tested?
 1. Edit Interpreter dep package
 2. Run DependencyResolverTest

### 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: haden.kim <[email protected]>
Author: Rusty Phillips <[email protected]>

Closes #817 from zuny25/feature/InterpreterDependency and squashes the following commits:

d174f1c [haden.kim] Method Usage Fix
d1e6da3 [Rusty Phillips] errata     classpathFlter -> classpathFilter
### What is this PR for?
Merging TajoInterpreter into JdbcInterpreter, and removing TajoInterprete

### What type of PR is it?
[Feature]

### Todos
* [x] - Remove TajoInterpreter and Document jdbc.md

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

### How should this be tested?

### 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 <[email protected]>

Closes #985 from jongyoul/ZEPPELIN-974 and squashes the following commits:

5aed86b [Jongyoul Lee] Fixed typo
dbdd90e [Jongyoul Lee] - Removed TajoInterpreter from master - Added example for using Tajo through JDBC
### What is this PR for?
Removed usage of ClassloaderInterpreter while RemoteInterpreter is being created.

### What type of PR is it?
[Refactoring]

### Todos
* [x] - Fixed the codes for not using ClassloaderInterpreter

### What is the Jira issue?
N/A

### How should this be tested?
This PR should not change any user experience

### Screenshots (if appropriate)

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

Classloader in RemoteInterpreter uses system classloader, thus there's no reason why interpreter is wrapped by Classloader

Author: Jongyoul Lee <[email protected]>

Closes #990 from jongyoul/minor-unwrap-classloaderinterpreter-in-remoteinterpreterserver and squashes the following commits:

212368f [Jongyoul Lee] Removed classloaderInterpreter on RemoteInterpreterServer Classloader in interpreter uses system classloader, thus there's no reason why interpreter is wrapped by Classloader
AhyoungRyu and others added 15 commits June 15, 2016 18:47
### What is this PR for?
Sometimes we want to share some docs title link as github markdown page does. This PR enables this feature also in Zeppelin documentation site.

### What type of PR is it?
Improvement

### Todos
* [x] - Add `anchor.min.js` under `docs/assets/themes/zeppelin/js/`
* [x] - Add integration js code to `docs.js`
* [x] - Disable default decoration below anchor icon

### What is the Jira issue?
[ZEPPELIN-990](https://issues.apache.org/jira/browse/ZEPPELIN-990)

### How should this be tested?
1. Apply this patch
2.  [Build docs site using jekyll](https://github.com/apache/zeppelin/tree/master/docs#build-documentation) and browse [localhost:4000](http://localhost:4000/)
3. Hover any titles in any docs

### Screenshots (if appropriate)
![anchor](https://cloud.githubusercontent.com/assets/10060731/15981499/2fbfcf04-2f2b-11e6-8115-f1596adfb6ea.gif)

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

Author: AhyoungRyu <[email protected]>

Closes #995 from AhyoungRyu/ZEPPELIN-990 and squashes the following commits:

14625c8 [AhyoungRyu] Revert LICENSE file
06a2edd [AhyoungRyu] Change license location
8fa7fd6 [AhyoungRyu] Remove useless white space in docs.js
ff614a2 [AhyoungRyu] Add anchor.min.js to rat plugin exclude list
0d218a2 [AhyoungRyu] Add anchor.js license
05e0f36 [AhyoungRyu] Change anchor placement right->left
21be556 [AhyoungRyu] Disable decoration below the anchor
475d0d8 [AhyoungRyu] Enable anchor.min.js in Zeppelin docs site
94b38cd [AhyoungRyu] Add anchor.min.js
### What is this PR for?
It's better if notebook name can be normalized.

### What type of PR is it?
Improvement

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

### How should this be tested?
Try create notebook name with many slashes and no slashes.
You can refer to screen shot.

### Screenshots (if appropriate)
  - before
![be](https://cloud.githubusercontent.com/assets/3348133/15809552/9bf9e26e-2bce-11e6-942c-df655ee52176.gif)

  - after
![af](https://cloud.githubusercontent.com/assets/3348133/15809553/9ff43c48-2bce-11e6-9f69-2b7a00bfc91e.gif)

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

Author: astroshim <[email protected]>

Closes #965 from astroshim/ZEPPELIN-957 and squashes the following commits:

eb95adb [astroshim] adjust line
2370654 [astroshim] fix things that moon pointed out.
2f4d245 [astroshim] check windows path
7aca4bf [astroshim] move method to util
2a255ac [astroshim] change method name.
e549977 [astroshim] normalize note name
### What is this PR for?
It needs to filtering subdirectory names in navbar.

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

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

### How should this be tested?
try filter the note name on navbar.

### Screenshots (if appropriate)
![gif](https://cloud.githubusercontent.com/assets/3348133/15806159/31026fc2-2b78-11e6-936c-562ae4cdddd6.gif)

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

Author: astroshim <[email protected]>

Closes #964 from astroshim/ZEPPELIN-886 and squashes the following commits:

7b7b260 [astroshim] code refatoring
d963af8 [astroshim] add space.
3337385 [astroshim] fix jshint error
1167d0d [astroshim] filtering subdirectory names.
### What is this PR for?
Currently, Zeppelin documentation link in Zeppelin home is pointing to http://zeppelin.apache.org/docs/latest/index.html. But maybe some people is not using the latest version. So the link should point to the same Zeppelin version that user is using now.

I just change the `latest` -> `{{zeppelinVersion}}`

### What type of PR is it?
Improvement

### Todos

### What is the Jira issue?
[ZEPPELIN-947](https://issues.apache.org/jira/browse/ZEPPELIN-947)

### How should this be tested?
1. After applying this patch and browse Zeppelin home.
2. Just click `Zeppelin Documentation` link in here
<img width="357" alt="screen shot 2016-06-02 at 1 11 17 pm" src="https://cloud.githubusercontent.com/assets/10060731/15759461/8b69ee5c-28c3-11e6-8181-2fc2978c0297.png">

### 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: AhyoungRyu <[email protected]>

Closes #953 from AhyoungRyu/ZEPPELIN-947 and squashes the following commits:

4c72067 [AhyoungRyu] ZEPPELIN-947: Change docs link to point the same Zeppelin version
…g.yml

### What is this PR for?
One less line to change when releasing docs by making `ZEPPELIN_VERSION` to be retrieved from `_config.yml`.

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? Will be updated in https://cwiki.apache.org/confluence/display/ZEPPELIN/Preparing+Zeppelin+Release

Author: Mina Lee <[email protected]>

Closes #997 from minahlee/docs/navZeppelinVersion and squashes the following commits:

dd547b2 [Mina Lee] Make nav zeppelin version to point ZEPPELIN_VERSION in _config.yml
### What is this PR for?
Update outdated license version

### What type of PR is it?
License

Author: Mina Lee <[email protected]>

Closes #1011 from minahlee/update/license and squashes the following commits:

d28821c [Mina Lee] Update licenses
### What is this PR for?
Fixed some wrong documentation and settings. This is minor issue.

### What type of PR is it?
[Feature | Documentation]

### Todos
* [x] - Remove settings about Hive and documentation

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

### How should this be tested?

### 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 <[email protected]>

Closes #981 from jongyoul/ZEPPELIN-925-1 and squashes the following commits:

04d0e89 [Jongyoul Lee] Fixed typo from "Hive" to "Apache Hive"
0de0c41 [Jongyoul Lee] Removed unused settings and description
### What is this PR for?
Search notebook to handle empty result.

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

### What is the Jira issue?
[ZEPPELIN-869](https://issues.apache.org/jira/browse/ZEPPELIN-869?jql=project%20%3D%20ZEPPELIN%20AND%20text%20~%20%22empty%22)

### How should this be tested?
1. Try to search something which should return empty result, you should get proper message for that.
2. search box should get cleared when clicked on any other link.

### Screenshots (if appropriate)
Before:
![screen shot 2016-06-09 at 3 44 53 pm](https://cloud.githubusercontent.com/assets/7026661/15926338/25f8924e-2e59-11e6-8c10-2dd9542f5258.png)

After:
![screen shot 2016-06-09 at 3 34 47 pm](https://cloud.githubusercontent.com/assets/7026661/15926303/f1412d7c-2e58-11e6-9dd3-1ecccb938a26.png)
### Questions:
* Does the licenses files need update?No
* Is there breaking changes for older versions?No
* Does this needs documentation?No

Author: Ravi Ranjan <[email protected]>

Closes #978 from ravicodder/ZEPPELIN-869 and squashes the following commits:

cab339d [Ravi Ranjan] Remove controller , add update  searchTerm, remove deregistration function remove rootscope
7096781 [Ravi Ranjan] Merge branch 'master' of https://github.com/apache/incubator-zeppelin into ZEPPELIN-869
6c3db2c [Ravi Ranjan] use searchServise in place of rootscope
d2f66a7 [Ravi Ranjan] Merge branch 'master' of https://github.com/apache/incubator-zeppelin into ZEPPELIN-869
5d5a072 [Ravi Ranjan] add check on searchTerm and clan up scope
7315707 [Ravi Ranjan] Handle empty search
### What is this PR for?
This PR is for giving proper information to users and blocking unnecessary communication with zeppelin server when trying to delete last paragraph because the last paragraph can't be deleted.

### What type of PR is it?
Improvement

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

### How should this be tested?
You can try to remove last paragraph of a notebook.

### Screenshots (if appropriate)
![image](https://cloud.githubusercontent.com/assets/3348133/15929252/0edaa6d2-2e87-11e6-9baa-8f2b5f63d592.png)

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

Author: astroshim <[email protected]>

Closes #979 from astroshim/ZEPPELIN-979 and squashes the following commits:

8c4a29e [astroshim] reset commits
6acdd9d [astroshim] add ng-hide
4316d28 [astroshim] fix coding style
faa7067 [astroshim] alert message when trying to delete last paragraph.
…site

### What is this PR for?
Current Zeppelin documentation site is little bit hard to find a way for Zeppelin beginners. It will not easy  to improve this at a time, but I did the below as a start of this work.

1. Restructured dropdown menu and added each category names
2. Added a overview list(with short description) to first page of website (index.md) so that people can look through the overall contents in Zeppelin website at a glance. (as [Apache Spark](http://spark.apache.org/docs/latest/#where-to-go-from-here) and [Apache Mesos](http://mesos.apache.org/documentation/latest/) does)

Please see the attached screenshot images :)

### What type of PR is it?
Improvement & Documentation

### Todos
* [x] - Change outdated screenshot images
* [x] - Combine `text.md`, `table.md` and `html.md` to `basicdisplaysystem.md`
* [x] - Fix dead link in `virtual_machine.md`
* [x] - Improve dropdown menu and reorder
* [x] - Improve first page(`index.md`)
* [x] - Combine with #995 after it is merged into master

### What is the Jira issue?
[ZEPPELIN-996](https://issues.apache.org/jira/browse/ZEPPELIN-996)

### How should this be tested?
1. Apply this patch and [build the docs website with jekyll](https://github.com/apache/zeppelin/tree/master/docs#build-documentation)
2. Check the first page(index.html) and dropdown menu

### Screenshots (if appropriate)
 - Dropdown menu
![dropdown](https://cloud.githubusercontent.com/assets/10060731/16061421/b44f8034-3241-11e6-88fd-43aa5031b453.gif)

 - First page
<img width="717" alt="screen shot 2016-06-14 at 1 28 58 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058631/3ab2cb6c-3234-11e6-95f4-180290df3d02.png">
<img width="694" alt="screen shot 2016-06-14 at 1 29 11 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058639/43d68918-3234-11e6-921c-28436bfca33d.png">
<img width="649" alt="screen shot 2016-06-14 at 1 29 39 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058650/501ec6d6-3234-11e6-9292-53ae84acc18a.png">
<img width="684" alt="screen shot 2016-06-14 at 1 29 57 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058643/4637c8f2-3234-11e6-9b12-a233906f4c8b.png">
<img width="650" alt="screen shot 2016-06-14 at 1 30 12 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058655/56c5af22-3234-11e6-8d29-9b7937728948.png">
<img width="636" alt="screen shot 2016-06-14 at 1 30 22 pm" src="https://cloud.githubusercontent.com/assets/10060731/16058656/58d1187e-3234-11e6-9171-ab7390b4a526.png">

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

Author: AhyoungRyu <[email protected]>

Closes #1004 from AhyoungRyu/ZEPPELIN-996 and squashes the following commits:

1dbf805 [AhyoungRyu] Add 'Apache' before 'Zeppelin'
6153a50 [AhyoungRyu] Remove useless dash
61a5ad6 [AhyoungRyu] Revert to Text -> HTML -> Table in navbar
1886f8c [AhyoungRyu] Fix indentation
af70939 [AhyoungRyu] Apply scrollable menu to 'more' tab & fix UI issue
2654d92 [AhyoungRyu] Combine overflow-x & overflow-y to overflow
904acd6 [AhyoungRyu] Resize dropdown menu maxheight
6e62e31 [AhyoungRyu] Change dynamicform image
230c670 [AhyoungRyu] Revert to Text -> HTML -> Table
ad53799 [AhyoungRyu] Adjust image size
c75c3a0 [AhyoungRyu] Add HDFS logo to available interpreter image
6a2f40b [AhyoungRyu] Address @bzz feedback
649a14d [AhyoungRyu] Address @coureadoug feedback
67cff3a [AhyoungRyu] Add all documentation list with short description to first page
ce4b122 [AhyoungRyu] Limit image width
6ff4db6 [AhyoungRyu] Improve dropdown menu and reorder menus
61da430 [AhyoungRyu] Fix dead link in virtual_machine.md
6251558 [AhyoungRyu] Change 'Zeppelin Configuration' section placement so that it can be separated
4eecab8 [AhyoungRyu] Combine text.md, html.md, table.md
4d021af [AhyoungRyu] Delete outdated images and add new images
### What is this PR for?
Avoiding and preventing undesired NullPointerException during re-loading python interpreter
Since py4j is optional when PythonInterpreter starts, it should be optional too while it close.

### What type of PR is it?
[Improvement]

### What is the Jira issue?
* N/A

### How should this be tested?

Reload PythongInterpreter on Zeppelin web "Interpreter" menu and check the log message if it complains NullPointerException

### 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: Kwon, Yeong-Eon <[email protected]>
Author: Y.E. Kwon <[email protected]>

Closes #1009 from OutOfBedlam/python and squashes the following commits:

5ed2413 [Y.E. Kwon] Fix code style
ccbf7ef [Kwon, Yeong-Eon] Prevent NullPointerException if "gatewayServer" does not exist
…t credentials data.

### What is this PR
zeppelin server does not restart when incorrect credentials data.

reproduce.
1. Click to zeppelin home for web ui.
2. Click to zeppelin Credentials.
3. 'Entity' information without writing, username and password only written to storage.
4. Click to zeppelin home for web ui.
5. Click to zeppelin Credentials.
and zeppelin restart.
##### but, Zeppelin does not work.

It creates the wrong json file. 'conf / credentials.json' according to the null.

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

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

### How should this be tested?

1. Click to zeppelin home for web ui.
2. Click to zeppelin Credentials.
3. 'Entity' information without writing, username and password only written to storage.
4. Click to zeppelin home for web ui.
5. Click to zeppelin Credentials.
and zeppelin restart.

zeppelin does work!

### Reproduced Screenshots
![zeppelin-server-error2](https://cloud.githubusercontent.com/assets/10525473/15889828/b92590d8-2da7-11e6-9b51-0a82c3bb9f1f.gif)

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

Author: CloverHearts <[email protected]>

Closes #976 from cloverhearts/hotfix/CredentialsJsonBug and squashes the following commits:

293ab08 [CloverHearts] Merge branch 'master' into hotfix/CredentialsJsonBug
ef256c2 [CloverHearts] Merge branch 'master' into hotfix/CredentialsJsonBug
5079495 [CloverHearts] add test code for credentials backends about invalid request.
e9a1e93 [CloverHearts] Merge branch 'master' into hotfix/CredentialsJsonBug
4b9aba3 [CloverHearts] changed status code for CredentialsRestapi
1e5cd72 [CloverHearts] Credentials Json serialize backend bug.
…nterpreterTest

### What is this PR for?
Moving Interpreter.interpret into LazyOpenInterpreterTest in oder to divide test scope between InterpreterFactoryTest and LazyOpenInterpreter. This is related to #987 a little bit.

### What type of PR is it?
[Refactoring]

### Todos
* [x] - Divide tests

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

### How should this be tested?
Changed only test case

### 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 <[email protected]>

Closes #1002 from jongyoul/ZEPPELIN-992 and squashes the following commits:

da851da [Jongyoul Lee] Removed author tag
8ef2be3 [Jongyoul Lee] Moved Interpreter.interpret into LazyOpenInterpreterTest
### What is this PR for?
Job management basic backend.
was divided into smaller " PR ". - #921
Receive the basic data of Job manager api and the backend have been implemented.

### What type of PR is it?
Feature

### Todos
- [x] - Basic backend for job manager.
- [x] - Basic backend api

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

### How should this be tested?
#### step 1.
First, calling the rest api as follows receives the data of "job" of the whole.
```shell
curl -H "Content-Type: application/json" -X GET http://127.0.0.1:8080/api/notebook/jobmanager/
```
result
```json
{
   "status":"OK", // result for api request
   "body":{
      "lastResponseUnixTime":1465289938763, // last get server unixtime stamp.
      "jobs":[  // job list
         {
            "notebookId":"2BMQZ9QP6",  // notebook id.
            "unixTimeLastRun":1465289017310, // notebook last running unixtime.
            "notebookType":"normal", // cron or normal
            "isRunningJob":false, // is Running?
            "notebookName":"Untitled Note 1226", // notebook name.
            "interpreter":"spark", // default interpreter group name or If you have not selected it does not exist.
            "paragraphs":[
               {
                  "name":"20160607-174331_232775609", // paragraph name 'undefined is notebook id'
                  "id":"20160607-174331_232775609", // paragraph id
                  "status":"FINISHED" // paragraph job status
               }
            ]
         }
      ]
   }
}
```

#### step 2.
For example, it showed the result of receiving the information as one of the notebook.
focus on "lastResponseUnixTime" value.
This value is inserted as an argument when you call the following restapi, us to be able to get the updated data.

**Create a Notebook, or run the Paragraph.**
And, **call updated notebook api**

**"lastResponseUnixTime": 1465289938763** (step 1 get value)
```shell
curl -H "Content-Type: application/json" -X GET http://127.0.0.1:8080/api/notebook/jobmanager/1465289938763
```

#### step 3.
If you created a Notebook, a new Notebook information is displayed.
If there is a Notebook that if there is a Paragraph of the running, the information will also be displayed.

#### step 4.
When you restart the step1 of api, if you created a Notebook, the number of Notebook is +1 than when the first call.

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

Author: CloverHearts <[email protected]>

Closes #972 from cloverhearts/feat/sm/ZEPPELIN-531-basic-backend and squashes the following commits:

330ed73 [CloverHearts] change indent for jobmanager backend
c7bf75a [CloverHearts] Jobmanager basic backend.
@davidtzoor
Copy link
Author

@bzz I have rebased my repo with the latest master.

@corneadoug
Copy link
Contributor

@davidtzoor didn't go well.
Could you try to have your changes in a different branch and re-create a PR?

@felixcheung
Copy link
Member

something like this might help: https://git-scm.com/book/en/v2/Git-Branching-Rebasing

@cloverhearts
Copy link
Member

LGTM! +1
good visualize!

@corneadoug
Copy link
Contributor

@davidtzoor Can you close this PR since there is a new one?

@davidtzoor
Copy link
Author

closing this issue since new PR has been opened (#1024)

@davidtzoor davidtzoor closed this Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.