hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subroto Sanyal <subrotosan...@huawei.com>
Subject RE: Can reducer get parameters from mapper besides key and value?
Date Tue, 09 Aug 2011 06:42:10 GMT
 

Hi Jun,

 

What is the file, list, string [] in this context?

I mean to say which file or list or string[].

 

The new MR (org.apache.hadoop.mapreduce.*) APIs has a parameter “context”.
Request you to browse through the APIs of Context (Inherited from
JobContext->TaskAttemptContext).

The context parameter may provide you the reference you need.

 

Regards, 
Subroto Sanyal

  _____  

From: 谭军 [mailto:tanjun_2525@163.com] 
Sent: Tuesday, August 09, 2011 11:58 AM
To: mapreduce
Subject: Can reducer get parameters from mapper besides key and value?

 

Hi,

Can reducer gets parameters from mapper besides key and value?

Such as files, lists, string[] etc.

Thanks



--

Regards!

Jun Tan







Mime
View raw message