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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-hadoop-storage-0.1.3.tar.gz.
File metadata
- Download URL: django-hadoop-storage-0.1.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f75ddec158002dbe61c41c0800555e2a5d5ac8b282dc762abd4ff251e2736d8
|
|
| MD5 |
6c755bd96520744a8872975e25567866
|
|
| BLAKE2b-256 |
17525e73beb1102706056a0a48fd751c367f7fb8053f88e5152682c1c3a690b0
|
File details
Details for the file django_hadoop_storage-0.1.3-py3-none-any.whl.
File metadata
- Download URL: django_hadoop_storage-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcc93268d6f671b33a90cbbf92ef8781d3d024cf88669a2ce6aef01867719e26
|
|
| MD5 |
89de6f083e67b02435d2dc697ba5f25a
|
|
| BLAKE2b-256 |
c3f515d0f10521c704d25a44f2a70691b2f16e60907b63273a9df3789518d1ae
|