Home > other >  HDFS distributed cloud storage management ideas and problems
HDFS distributed cloud storage management ideas and problems

Time:10-01

Recently in do about distributed video store and manage the cloud platform, good study alone, here would like to ask you some questions, or see the feasibility of these ideas, I give some advice,

1, said the first video store this piece:
(1), users to upload video, I j2ee implementation of video upload, first of all users to upload the video on the web server (as a buffer zone), and then use the HDFS API, upload the video on the web server to HDFS (don't know what to do so or not appropriate, why not just use HDFS API directly uploaded to the HDFS, I tried to use HDFS directly without access to the path of local video, which cannot be directly uploaded to the HDFS, the place you have any good Suggestions hope to point out that thank you!) ,
(2), the user through the surveillance cameras for video, access to the video saved to a web service, and then on to the HDFS, similar to the above,
2, video management (on-demand)
(1), video on demand, there have been a video, I want to realize buffer while playing this, I now do is, first of all, I from the HDFS buffer video files to a web server, equivalent to download video files to the web server, and then I use the front desk ckplayer video download plug-in to play to the video on the web server,
(2), video live online, real-time video, I want to build red5 streaming media server to implement, the,,
(3), since said to the red5 streaming media server, and then I thought, why not through the red5 server to get the video on the HDFS, and then to call by ckpalyer red5 video streaming media server??????? Do so as to what is the difference between access to video on the web server??????? Now do not understand this, please tall person to give directions!
(in add my meaning, which is through the use of HDFS API download video to red5 server, then use ckplayer to play or using flex to play, this is also a problem I had intended to return from HDFS an inputstream stream to red5 server, and then return to the front desk, but returns the inpustream not achieve success, so we have to choose this way to download)
Now these ideas and issues, hope everyone to write advice thank you!

CodePudding user response:

1 HDFS apis could be used directly to generate flow, save to the HDFS,, still can take lzo compression, it is important to note upload fails, delete the junk files
2 with 1, seemingly lz of HDFS API only know that cp related?
Present: a short video (less than a block size), the best multiple merger,

CodePudding user response:

Red5 play the video on the HDFS this achieved? A great god, and I also have this aspect demand, has not been done also hope to provide some thanks a lot!!
  • Related