<?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: Ambari change permission of /mr-history folder which lead to permission denied in logs of MapReduce2 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107993#M15977</link>
    <description>&lt;P&gt;I cannot reproduce this issue on HDP-2.3.2.0-2950. I have successfully upgraded Ambari from 2.1 to 2.2 on centos 6. &lt;/P&gt;&lt;P&gt;I restarted MapReduce2 service through UI and it went fine. Permission of /mr-history is as below&lt;/P&gt;&lt;P&gt;drwxrwxrwx   - mapred hadoop          0 2015-10-27 12:40 /mr-history&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2016 18:05:58 GMT</pubDate>
    <dc:creator>rahulpathak109</dc:creator>
    <dc:date>2016-01-22T18:05:58Z</dc:date>
    <item>
      <title>Ambari change permission of /mr-history folder which lead to permission denied in logs of MapReduce2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107992#M15976</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I migrated Ambari from 2.1 to 2.2 and have a strange issue with folders permission, using HDP 2.0.6 (HDFS, YARN and MapReduce2 on 2.1.0.2) on CentOS 6. When I start MapReduce2 service through init.d script everything is working well, but when I would to start it through Ambari 2.2 it automatically change the permission of /app-logs and /mr-history folders on HDFS to:&lt;/P&gt;&lt;PRE&gt;dr----x--t - yarn   hadoop 02014-02-1407:24 /app-logs
dr----x--t - mapred hadoop 02014-02-1208:52 /mr-history&lt;/PRE&gt;&lt;P&gt;The result of changing the permission on those folder, when I would start MapReduce2 service through Ambari is:&lt;/P&gt;&lt;PRE&gt;Error creating done directory:[hdfs://nnha:8020/mr-history/done]
Permission denied: user=mapred, access=EXECUTE, inode="/mr-history":mapred:hadoop:dr----x--t&lt;/PRE&gt;&lt;P&gt;When I change it back to default as follows:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -chmod -R 1777 /app-logs
hdfs dfs -chmod -R 1777 /mr-history
hdfs dfs -chown -R yarn:hadoop /app-logs
hdfs dfs -chown -R mapred:hadoop /mr-history&lt;/PRE&gt;&lt;P&gt;Ambari change the permission of folders again to "dr----x--t", do you have please any recommendation?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 14:00:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107992#M15976</guid>
      <dc:creator>pavel_hladik</dc:creator>
      <dc:date>2016-01-22T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari change permission of /mr-history folder which lead to permission denied in logs of MapReduce2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107993#M15977</link>
      <description>&lt;P&gt;I cannot reproduce this issue on HDP-2.3.2.0-2950. I have successfully upgraded Ambari from 2.1 to 2.2 on centos 6. &lt;/P&gt;&lt;P&gt;I restarted MapReduce2 service through UI and it went fine. Permission of /mr-history is as below&lt;/P&gt;&lt;P&gt;drwxrwxrwx   - mapred hadoop          0 2015-10-27 12:40 /mr-history&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 18:05:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107993#M15977</guid>
      <dc:creator>rahulpathak109</dc:creator>
      <dc:date>2016-01-22T18:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari change permission of /mr-history folder which lead to permission denied in logs of MapReduce2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107994#M15978</link>
      <description>&lt;P&gt;Didn't help me.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2016 16:14:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107994#M15978</guid>
      <dc:creator>pavel_hladik</dc:creator>
      <dc:date>2016-01-24T16:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari change permission of /mr-history folder which lead to permission denied in logs of MapReduce2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107995#M15979</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2312/pavelhladik.html" nodeid="2312"&gt;@Pavel Hladík&lt;/A&gt; HDP 2.0 is not supported with Ambari 2.2, either downgrade Ambari or upgrade HDP.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2016 20:10:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107995#M15979</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-24T20:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari change permission of /mr-history folder which lead to permission denied in logs of MapReduce2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107996#M15980</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2312/pavelhladik.html" nodeid="2312" target="_blank"&gt;@Pavel Hladík&lt;/A&gt;&lt;P&gt;Couple of things: &lt;/P&gt;&lt;P&gt;Take a look on the following matrix &lt;/P&gt;&lt;P&gt;1) HDP 2.1 is deprecated and it means that you may not get HDP 2.0 support &lt;/P&gt;&lt;P&gt;You cannot go beyond Ambari 2.1.2 without upgrading HDP.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1509-screen-shot-2016-01-24-at-80146-am.png" style="width: 1082px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23441i06ED4EDF4B375791/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1509-screen-shot-2016-01-24-at-80146-am.png" alt="1509-screen-shot-2016-01-24-at-80146-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It look like that you have having issue with History server (Introduced in HDP 2.0)&lt;/P&gt;&lt;P&gt;There is high probability that you may end up hitting more issues because of this mismatch. &lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6203i8E843E83A6E3BB6C/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="screen-shot-2016-01-24-at-75813-am.png" title="screen-shot-2016-01-24-at-75813-am.png" /&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:42:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107996#M15980</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-19T11:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari change permission of /mr-history folder which lead to permission denied in logs of MapReduce2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107997#M15981</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2312/pavelhladik.html" nodeid="2312"&gt;@Pavel Hladík&lt;/A&gt; are you still having issues with this? Can you accept the best answer or provide your own solution?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 05:25:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107997#M15981</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-03T05:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari change permission of /mr-history folder which lead to permission denied in logs of MapReduce2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107998#M15982</link>
      <description>&lt;P&gt;Hi, I put my next question about downgrade to new question &lt;A target="_blank" href="https://community.hortonworks.com/questions/13782/downgrade-of-ambari-22-to-21.html"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 15:07:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-permission-of-mr-history-folder-which-lead-to/m-p/107998#M15982</guid>
      <dc:creator>pavel_hladik</dc:creator>
      <dc:date>2016-02-03T15:07:45Z</dc:date>
    </item>
  </channel>
</rss>

