Skip to main content

Jupyter content manager that uses the HDFS filesystem

Project description

===========================================
HDFS Contents Manager for Jupyter Notebooks
===========================================

A contents manager for Jupyter that stores files in Hadoop File System (HDFS)


Install
-------

1) Install HDFS3_.

2) Install HDFSContents Manager
::
pip install hdfscontents


Run
----

You can use command line arguments to set HDFS related configurations

::

jupyter-notebook --NotebookApp.contents_manager_class='hdfscontents.hdfsmanager.HDFSContentsManager' \
--HDFSContentsManager.hdfs_namenode_host='localhost' \
--HDFSContentsManager.hdfs_namenode_port=9000 \
--HDFSContentsManager.root_dir='/user/centos/'

.. code: bash

Alternatively, first run:
::
jupyter-notebook --generate-config

to generate a default config file. Edit and add the HDFS related configurations in the generated file. Then start the notebook server.
::
jupyter-notebook


.. _HDFS3: https://hdfs3.readthedocs.io/en/latest/install.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdfscontents-0.3.tar.gz (9.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page