Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

HDFS - MapReduce -> Basic Questions

avatar
Rising Star
Hi experts,
I have some basic questions about the relationship between MapReduce and HDFS:
  • The Data File placing on HDFS is through MapReduce?
  • All transactions in HDFS are using MapReduce jobs?

Anyone knows the answer? Many thanks!

1 ACCEPTED SOLUTION

avatar
Super Guru

HDFS is used for storage so that it could provide data redundancy along with the support for parallelism at the time of read and write. mapreduce is a computation framework which allow you to process and generating large data sets with a parallel, distributed algorithm on a cluster. there are other framework also which can provide the same like spark and Tez.

for your specific questions

1. The Data File placing on HDFS is through MapReduce? you are not limited to write to HDFS using mapreduce only, you can take the advantage of the other framework to read and write.

2. All transactions in HDFS are using MapReduce jobs? NO

View solution in original post

3 REPLIES 3

avatar
Super Guru

HDFS is used for storage so that it could provide data redundancy along with the support for parallelism at the time of read and write. mapreduce is a computation framework which allow you to process and generating large data sets with a parallel, distributed algorithm on a cluster. there are other framework also which can provide the same like spark and Tez.

for your specific questions

1. The Data File placing on HDFS is through MapReduce? you are not limited to write to HDFS using mapreduce only, you can take the advantage of the other framework to read and write.

2. All transactions in HDFS are using MapReduce jobs? NO

avatar
Rising Star

But when you are putting a file into HDFS, you're using a MapReduce job (even if you don't see)?

avatar
Super Guru

you mean to say like put file using hadoop fs -put? if so then 'no' it take the advantage of filesystem api to write on hdfs