Created
May 7, 2017 04:54
-
-
Save jamesrajendran/03b0e6622db6bebbd96daaf44b731f3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Small file size | |
1.MR - CombinedFileInputFormat | |
Hive - copy by fewer Reducers | |
2.set input split size - block size - number of mappers( to bigger number) | |
each mapper uses one jvm - fewer the mappers, fewer the jvms created and destroyed. | |
if you have more mapper then smaller split size is better. - fewer mappers bigger size is better. | |
3.allocating proper number of reducres | |
mapreduce.job.reducers - property | |
by default number of reducers determined by data size, does not have data statisitcs or cost based optimization. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment