Storage of large amount of global variables in MapReduce in java -


if need use more 1 reducer reduce job our global variables stored considering 1 reducer cannot have memory global data of job.

are stored in hdfs , accessed each reducer?

or

we need explicitly.

no. not stored in hdfs. need not explicitly.

each of reducer run in separate jvm , reducer instance have it's own variables maintained in jvm heap memory area. each of reducer have own instance of global or local variables. object creation , storage same normal java program. there nothing special happen mapper or reducer objects.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -