hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris MacKenzie <stu...@chrismackenziephotography.co.uk>
Subject What is the correct way to get a string back from a mapper or reducer
Date Thu, 03 Jul 2014 05:37:00 GMT
Hi,

I have the following code and am using hadoop 2.4:

In my driver:
	Configuration conf = new Configuration();
	conf.set("sub", "help");
	Š..
	String s = conf.get("sub²);

In my reducer:
	Configuration conf = context.getConfiguration();
	conf.set("sub", "Test²);

When I test the value in the driver, it isn¹t updated following the reduce


Best,

Chris MacKenzie
 <http://www.chrismackenziephotography.co.uk/>
<http://www.chrismackenziephotography.co.uk/>Expert>



Mime
View raw message