Hadoop – Difference between hive,pig,map-reduce use cases

apache-pighadoophivemapreduce

Difference between map-reduce ,hive ,pig

pig : its a data flow language, it can work on any data basically used to convert semi structure ,unstructured data to structure so that can be used in hive advance analytics using windowing function etc.

Hive : Work on structure data and provide sql type query language .

I know at back end both pig and hive uses map -reduces .

I know map-reduce can be good tool for programmer ,hive or pig for sql guy

I just want to know is there any specific use cases where we go for hive,pig and map-reduce

basically we decide that we have to use pig here hive here or we must use map -reduce .

Best Answer

Map-Reduce: Has better performance than pig or hive but requires more development time.

PIg: Less development time but poor performance when compared to map-reduce.

Hve: SQL type language with some good features like partitioning and bucketing to improve performance reads.Also, hive enforces schema on read.

Related Topic