<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Unable to start mapreduce2's History Server in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162103#M124482</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10008/gxnan5.html" nodeid="10008"&gt;@Mon key&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi, Can you cross check if you have below property in Mapreduce2 -&amp;gt; config section on Ambari UI? &lt;/P&gt;&lt;P&gt;mapreduce.jobhistory.done-dir = /mr-history/done&lt;/P&gt;&lt;P&gt;If not and try adding this property under "Advanced mapred-site" section, the default value of this parameter is "/mr-history/done"&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2016 17:25:45 GMT</pubDate>
    <dc:creator>jyadav</dc:creator>
    <dc:date>2016-05-23T17:25:45Z</dc:date>
    <item>
      <title>Unable to start mapreduce2's History Server</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162102#M124481</link>
      <description>&lt;P&gt;when I debug yarn for  a good performance on my cluster. The history server cannot be started ,and I cannot find logs in /var/log/hadoop or /var/log/hadoop-mapreduce.now error starting the history server .Only ambari-web shows some problems ,like this:&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py", line 182, in &amp;lt;module&amp;gt;
    HistoryServer().execute()
  File "/usr/lib/python2.7/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py", line 92, in start
    self.configure(env) # FOR SECURITY
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py", line 55, in configure
    yarn(name="historyserver")
  File "/usr/lib/python2.7/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py", line 98, in yarn
    mode=0777
  File "/usr/lib/python2.7/site-packages/resource_management/core/base.py", line 125, in __new__
    env.resources[r_type][name] = obj
  File "/usr/lib/python2.7/site-packages/resource_management/libraries/script/config_dictionary.py", line 81, in __getattr__
    raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
resource_management.core.exceptions.Fail: Configuration parameter 'mapreduce.jobhistory.done-dir' was not found in configurations dictionary!&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 May 2016 17:09:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162102#M124481</guid>
      <dc:creator>gxnan5</dc:creator>
      <dc:date>2016-05-23T17:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start mapreduce2's History Server</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162103#M124482</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10008/gxnan5.html" nodeid="10008"&gt;@Mon key&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi, Can you cross check if you have below property in Mapreduce2 -&amp;gt; config section on Ambari UI? &lt;/P&gt;&lt;P&gt;mapreduce.jobhistory.done-dir = /mr-history/done&lt;/P&gt;&lt;P&gt;If not and try adding this property under "Advanced mapred-site" section, the default value of this parameter is "/mr-history/done"&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 17:25:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162103#M124482</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-23T17:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start mapreduce2's History Server</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162104#M124483</link>
      <description>&lt;P&gt;I love you so much.. but I want to know how it happens . I don't change other arguments except yarn's .&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 18:18:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162104#M124483</guid>
      <dc:creator>gxnan5</dc:creator>
      <dc:date>2016-05-23T18:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start mapreduce2's History Server</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162105#M124484</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10008/gxnan5.html" nodeid="10008"&gt;@Mon key&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Frankly i don't know how it got removed from your cluster &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; but this property comes default when you install History server. Also please accept the answer if that helped you to resolve this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 18:46:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162105#M124484</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-23T18:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start mapreduce2's History Server</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162106#M124485</link>
      <description>&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;In my case, the permission on the following folder caused the issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/hadoop/mapreduce/jhs/mr-jhs-state&lt;/P&gt;&lt;P&gt;The following log message at /var/log/hadoop-mapreduce/mapred/mapred-mapred-historyserver-iml6.log helped me solve it. For some reason the files were owned by Yarn, when I given permission to the group I could see the files were rewritten by mapred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IO error: /hadoop/mapreduce/jhs/mr-jhs-state/LOCK: Permission denied&lt;/P&gt;&lt;P&gt;~BASU&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 15:44:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-mapreduce2-s-History-Server/m-p/162106#M124485</guid>
      <dc:creator>biswajeet_basum</dc:creator>
      <dc:date>2017-02-18T15:44:02Z</dc:date>
    </item>
  </channel>
</rss>

