<?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: MR's Jobtracker can't be started due to permission issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18318#M2859</link>
    <description>&lt;P&gt;I tested and worked! Thanks a lot!&lt;/P&gt;&lt;P&gt;What i used is the function below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE cellpadding="0" border="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN&gt;&lt;SPAN style="color: #006080;"&gt;reate_hdfs_tmp&lt;/SPAN&gt;(&lt;SPAN style="color: #008060;"&gt;self&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 14px;"&gt;&lt;A target="_blank" href="http://cloudera.github.io/cm_api/epydoc/5.1.0/cm_api.endpoints.services-pysrc.html#ApiService.create_hdfs_tmp"&gt;source&amp;nbsp;code&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Create the /tmp directory in HDFS with appropriate ownership and permissions.&lt;/P&gt;&lt;P&gt;Returns: Reference to the submitted command&lt;/P&gt;&lt;DIV class="fields"&gt;&lt;P&gt;&lt;STRONG&gt;Since:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;API v2&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Sep 2014 21:01:59 GMT</pubDate>
    <dc:creator>icecreamlc</dc:creator>
    <dc:date>2014-09-05T21:01:59Z</dc:date>
    <item>
      <title>MR's Jobtracker can't be started due to permission issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18298#M2853</link>
      <description>&lt;P&gt;I were tying to follow the example (&lt;A target="_blank" href="http://blog.cloudera.com/blog/2012/09/automating-your-cluster-with-cloudera-manager-api/)"&gt;http://blog.cloudera.com/blog/2012/09/automating-your-cluster-with-cloudera-manager-api/)&lt;/A&gt; to create and start MR service.&lt;/P&gt;&lt;P&gt;The task tracker can be started, the job tracker can't be started due to the following file permission reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My HDFS serivce use 'simple' permission. who can tell me if i need further configuration to grant user=mapred to write the folder Using CM API?? Thanks a lo!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;2014-09-05 12:04:44,161 WARN org.apache.hadoop.mapred.JobTracker: Failed to operate on mapred.system.dir (hdfs://dhcp-corp-233.sc-cig-eng.tst:8020/tmp/mapred/system) because of permissions.
2014-09-05 12:04:44,162 WARN org.apache.hadoop.mapred.JobTracker: This directory should be owned by the user 'mapred (auth:SIMPLE)'
2014-09-05 12:04:44,163 WARN org.apache.hadoop.mapred.JobTracker: Bailing out ...
org.apache.hadoop.security.AccessControlException: Permission denied: user=mapred, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:06:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18298#M2853</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2022-09-16T09:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: MR's Jobtracker can't be started due to permission issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18304#M2854</link>
      <description>Did you do the step to create the HDFS /tmp directory? This is described via command line in the blog post you linked, but there is also an API command to do this.&lt;BR /&gt;&lt;BR /&gt;Those instructions are fairly dated. You should manually set up a cluster, look at all the steps performed by First Run when initially setting up the cluster, and make sure you do all of those steps.</description>
      <pubDate>Fri, 05 Sep 2014 20:04:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18304#M2854</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2014-09-05T20:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: MR's Jobtracker can't be started due to permission issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18310#M2855</link>
      <description>&lt;P&gt;do you know how to use API to run the command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to use API to automate cdh installation. what's the best way to do that? thanks a million!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2014 20:39:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18310#M2855</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-09-05T20:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: MR's Jobtracker can't be started due to permission issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18312#M2856</link>
      <description>Use the API command to create the HDFS temp dir. Were you not able to find it in your version of the API?</description>
      <pubDate>Fri, 05 Sep 2014 20:41:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18312#M2856</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2014-09-05T20:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: MR's Jobtracker can't be started due to permission issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18314#M2857</link>
      <description>&lt;P&gt;which function for this API? sorry, i couldn't find the right one.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2014 20:50:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18314#M2857</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-09-05T20:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: MR's Jobtracker can't be started due to permission issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18316#M2858</link>
      <description>&lt;P&gt;probably this is the answer. i will check this...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="color: #006080;"&gt;create_hdfs_tmp&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2014 20:51:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18316#M2858</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-09-05T20:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: MR's Jobtracker can't be started due to permission issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18318#M2859</link>
      <description>&lt;P&gt;I tested and worked! Thanks a lot!&lt;/P&gt;&lt;P&gt;What i used is the function below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE cellpadding="0" border="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN&gt;&lt;SPAN style="color: #006080;"&gt;reate_hdfs_tmp&lt;/SPAN&gt;(&lt;SPAN style="color: #008060;"&gt;self&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 14px;"&gt;&lt;A target="_blank" href="http://cloudera.github.io/cm_api/epydoc/5.1.0/cm_api.endpoints.services-pysrc.html#ApiService.create_hdfs_tmp"&gt;source&amp;nbsp;code&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Create the /tmp directory in HDFS with appropriate ownership and permissions.&lt;/P&gt;&lt;P&gt;Returns: Reference to the submitted command&lt;/P&gt;&lt;DIV class="fields"&gt;&lt;P&gt;&lt;STRONG&gt;Since:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;API v2&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2014 21:01:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MR-s-Jobtracker-can-t-be-started-due-to-permission-issue/m-p/18318#M2859</guid>
      <dc:creator>icecreamlc</dc:creator>
      <dc:date>2014-09-05T21:01:59Z</dc:date>
    </item>
  </channel>
</rss>

