Skip to main content

Module for use hadoop file system (hdfs) as django storage

Project description

Django hadoop storage provide python classes/functions to use hadoop file system (hdfs) with django storage.

Based on libhdfs official hadoop python connector and pyarrow library.

Requirements

  • Install java-1.8.0-openjdk-devel, In centos 7

    sudo yum install -y java-1.8.0-openjdk-devel
    

In Ubuntu

sudo apt-get install openjdk-8-jdk

Settings

For use hdfs as django storage set:

HADOOP_HOST = 'localhost'  # set your own host
HADOOP_PORT = 8020  # set your own port
HADOOP_USER = 'hadoop'  # set your own user
HADOOP_HOME = '/usr/lib/hadoop/'  # set your own path

MEDIA_ROOT = '/media/'
DEFAULT_FILE_STORAGE = 'hadoop_storage.HadoopStorage'

Storage

Use hadoop file storage with same methods and properties that django File Storage

Project details


Download files

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

Files for django-hadoop-storage, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size django_hadoop_storage-0.1.3-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-hadoop-storage-0.1.3.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page