I am designing a simple site using DJango and my database is HBase. In some part, I need to save some files to HDFS, such as a video file, and have a URI. But my problem is that I could not find an API to access HDFS through DJango, so I decided to use the Ubuntu terminal command to upload and download data to HDFS. Now I want to know if there is a way to run a terminal command using Django or any other way to access the HDFS API via Django?
source
share