Arvin
Arvin

Reputation: 451

Can hadoop file system( HDFS ) store video type file?

as title, I want to know can hadoop file system store video or image file directly? Or I have to do something first so that I could store video or image file?

Upvotes: 0

Views: 861

Answers (3)

Shailvi
Shailvi

Reputation: 105

You can use Hadoop SequenceFile for this, it provides storage for binary k-v pairs and can be used directly as hadoop's input

Upvotes: 0

ayalcinkaya
ayalcinkaya

Reputation: 3343

Video and Image files can be stored in HDFS.

If you want to process video and image files, you need to figure out how to split this files and write your own InputFormat and OutputFormat and a RecordReader. You can search the net for how to create these classes.

Upvotes: 1

Dave Newton
Dave Newton

Reputation: 160211

It's a filesystem, you can put files on it. It doesn't matter what they are.

Upvotes: 0

Related Questions