AnsweredAssumed Answered

What is mapr.host?? - Issue running teragen

Question asked by pukkimonkey on Aug 26, 2015
Latest reply on Sep 3, 2015 by pukkimonkey
When I run teragen from my control node , with three data nodes.:

     hadoop jar /opt/mapr/hadoop/hadoop-2.5.1/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.5.1-mapr-1501.jar teragen -Dmapreduce.job.maps=6 -Dmapreduce.map.speculative=false -Dmapreduce.map.disk=0 -Dmapreduce.map.cpu.vcores=0 10000000 /benchmarks/tera/in/tb

I get this error:
 

    INFO mapreduce.Job: Running job: job_1440618806245_0007
    15/08/26 18:40:31 INFO mapreduce.Job: Job job_1440618806245_0007 running in uber mode : false
    15/08/26 18:40:31 INFO mapreduce.Job:  map 0% reduce 0%
    15/08/26 18:40:40 INFO mapred.ClientServiceDelegate: Application state is completed. FinalApplicationStatus=KILLED. Redirecting to job history server
    15/08/26 18:40:40 INFO mapreduce.Job:  map 0% reduce 100%
    15/08/26 18:40:40 INFO mapreduce.Job: Job job_1440618806245_0007 failed with state KILLED due to:


When i look into the log file from all the datanodes, I see this line

    FATAL [AsyncDispatcher event handler] org.apache.hadoop.yarn.event.AsyncDispatcher: Error in dispatcher thread
    java.lang.IllegalArgumentException: The value of property mapr.host must not be null

Not a lot of info I can find on **mapr.host** . What is it? How, where and what should be the value to be set.
This seems to be the only other link with the problem http://answers.mapr.com/questions/162404/pig-and-javalangillegalargumentexception.html

I set mapred-site.xml with the values described by @Mufeed Usman. It works when  **mapreduce.framework.name=local, but not when  mapreduce.framework.name=yarn**


Please help...

Outcomes