Bala,
Setting "mapreduce.framework.name" in mapred-site.xml should just work. Can
you verify that the correct mapred-site (or configuration directory is
being used).
Alternately, you can try setting it while launching a job.
e.g. for wordcount
hadoop jar <EXAMPLE_JAR_PATH> wordcount -Dmapreduce.framework.name=yarn-tez
<inDir> <outDir>


On Tue, Jun 10, 2014 at 1:36 PM, Bala Krishna Gangisetty <[email protected]
> wrote:

> Hi folks,
>
> I am trying to run a mapreduce program with Tez framework and without it.
> The official doc says to alter "mapreduce.framework.name" property in
> mapred-site.xml to switch across Tez and MR frameworks. Even after updating
> property value to "yarn-tez" from "yarn", I see my mapreduce program is not
> picking up Tez framework. All my jars location, class paths are being set
> correctly. Is there some config pararmeter I am missing? or, Is "
> mapreduce.framework.name" property in mapred-site.xml file honored?
>
> --Bala G.
>

Reply via email to