GitHub user hayssams opened a pull request:
https://github.com/apache/zeppelin/pull/2333
Notebook: (Web) HDFS as a backend storage (Read & Write Mode)
### What is this PR for ?
This PR replaces the PR-1479 by removing any hadoop dependency using
WEBHDFS as a communication protocol (code borrowed from PR1600)
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 from and stored to HDFS by listing notes
using 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/zeppelin WEBHDFS
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2333.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 #2333
----
commit ebb0d7e5d62b2b9fec70756c7cd065262ae0301c
Author: Hayssam Saleh <[email protected]>
Date: 2017-05-10T12:02:28Z
WebHDFS Support
----
---
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.
---