GitHub user hayssams opened a pull request:
https://github.com/apache/zeppelin/pull/1479
Notebook: HDFS as a backend storage (Read & Write Mode)
### What is this PR for?
Zeppelin currently supports many backends for storing notes through Apache
Commons VFS.
Apache Commons VFS supports HDFS in readonly mode.
This PR makes HDFS a first class citizen by allowing users to load notes
from / save notes to HDFS.
### What type of PR is it?
Improvement
### Todos
* [ ] - Task
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1515
### How should this be tested?
Update zeppelin.notebook.dir property to a value like
hdfs://localhost:9000/tmp/notebook and the property zeppelin.notebook.storage
to the value org.apache.zeppelin.notebook.repo.HdfsNotebookRepo
check that your notes are loaded and stored from HDFS by listing notes
uusing the command :
hdfs dfs -ls /tmp/notebook
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? Yes
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ebiznext/incubator-zeppelin branch-0.6
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1479.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 #1479
----
commit 9283b0faffdf3856dc8be5fb6be5cca96ee4a48a
Author: hayssams <[email protected]>
Date: 2016-10-02T17:12:42Z
Notes can now be read from and stored to HDFS
commit 9d173995938959568823df3012378b626b400a66
Author: hayssams <[email protected]>
Date: 2016-10-02T17:30:06Z
Remove extra excludes
commit 7a212354017638ec4e1707b373090ecd1e00a305
Author: hayssams <[email protected]>
Date: 2016-10-02T17:30:37Z
Make it work with 0.6 branch
commit 0f02e9244edad6da07ec7e2e7315a1d726876a27
Author: hayssams <[email protected]>
Date: 2016-10-02T18:16:08Z
HDFS Storage documentation
commit 13b6192eefdd4943895ad403d38a8f3ac6e6f05f
Author: hayssams <[email protected]>
Date: 2016-10-02T18:38:53Z
Include core-site / pdfs-site if present in path
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---