hadoop-hdfs-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

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


Chris MacKenzie

View raw message