<?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: Problem starting a nodemanager in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/40639#M39879</link>
    <description>&lt;P&gt;Hi Gautam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way to fix this? I can not provide exec permission to /tmp in my environment due to some security reasons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Helps much appriciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2016 17:22:27 GMT</pubDate>
    <dc:creator>vik11</dc:creator>
    <dc:date>2016-05-09T17:22:27Z</dc:date>
    <item>
      <title>Problem starting a nodemanager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/27658#M39874</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem starting a node manager (actually two) the third is starting without any problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The failing node manager has this fatal error :&lt;/P&gt;&lt;P&gt;Error starting NodeManager&lt;BR /&gt;java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, /tmp/libleveldbjni-64-1-1006449310407885041.8: /tmp/libleveldbjni-64-1-1006449310407885041.8: failed to map segment from shared object: Operation not permitted]&lt;BR /&gt;at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)&lt;BR /&gt;at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)&lt;BR /&gt;at org.fusesource.leveldbjni.JniDBFactory.&amp;lt;clinit&amp;gt;(JniDBFactory.java:48)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.recovery.NMLeveldbStateStoreService.initStorage(NMLeveldbStateStoreService.java:864)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.recovery.NMStateStoreService.serviceInit(NMStateStoreService.java:195)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartRecoveryStore(NodeManager.java:155)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:193)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:462)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:509)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're using parcels and tried to verify permissions but&amp;nbsp;dont see any problem. Even the process run from the agent is detecting the right version and path for the parcel. The host inspector is not reporting anuy problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be more than appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mehdi&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:29:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/27658#M39874</guid>
      <dc:creator>MehdiAbbes</dc:creator>
      <dc:date>2022-09-16T09:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem starting a nodemanager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/27662#M39875</link>
      <description>Please verify that /tmp on both hosts do not have the noexec option set. You can verify this by running /bin/mount and checking the mount options. If you are able to, remount /tmp without noexec and try starting the NodeManager again</description>
      <pubDate>Tue, 19 May 2015 23:49:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/27662#M39875</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2015-05-19T23:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem starting a nodemanager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/27689#M39876</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;SPAN&gt;Gautam for your quick answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Indeed I can see the noexec option set on the /tmp on the nodes having the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We're fixing that and will let you know of what will come after removing the option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2015 09:11:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/27689#M39876</guid>
      <dc:creator>MehdiAbbes</dc:creator>
      <dc:date>2015-05-20T09:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem starting a nodemanager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/27693#M39877</link>
      <description>&lt;P&gt;Now I can confirm that removing noexec has solved the problem.&lt;/P&gt;&lt;P&gt;By the way we removed it by executing as root&amp;nbsp;mount -o remount,exec /tmp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Than you again&amp;nbsp;&lt;SPAN&gt;Gautam &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2015 10:22:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/27693#M39877</guid>
      <dc:creator>MehdiAbbes</dc:creator>
      <dc:date>2015-05-20T10:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem starting a nodemanager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/35069#M39878</link>
      <description>&lt;P&gt;Thanks for this reply, super helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just starting getting this same issue on only one of many NodeManager hosts. All the other node managers (like 60) have the noexec option set on the /tmp mount and worked fine, but one in particular didn't. Why does this sometimes fix it but sometimes things work fine? What interaction does the noexec option have with java native library loading?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 21:33:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/35069#M39878</guid>
      <dc:creator>airhorns</dc:creator>
      <dc:date>2015-12-10T21:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem starting a nodemanager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/40639#M39879</link>
      <description>&lt;P&gt;Hi Gautam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way to fix this? I can not provide exec permission to /tmp in my environment due to some security reasons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Helps much appriciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 17:22:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/40639#M39879</guid>
      <dc:creator>vik11</dc:creator>
      <dc:date>2016-05-09T17:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem starting a nodemanager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/40657#M39880</link>
      <description>&lt;P&gt;Vik11, you can work around this by setting Java's tmp dir to something other than /tmp. This solution has worked in the past for a customer, YMMV. Of course that mount point should not have noexec set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In YARN configuration append '-Djava.io.tmpdir=/path/to/other/temp/dir' to the following properties:&lt;BR /&gt;1. ApplicationMaster Java Opts Base&lt;BR /&gt;2. Java Configuration Options for JobHistory Server&lt;BR /&gt;3. Java Configuration Options for NodeManager&lt;BR /&gt;4. Java Configuration Options for ResourceManager&lt;BR /&gt;&lt;BR /&gt;For jobs:&lt;BR /&gt;Cloudera Manager --&amp;gt; YARN --&amp;gt; search for: Gateway Client Environment Advanced Configuration Snippet (Safety Valve) for hadoop-env.sh and add this:&lt;BR /&gt;HADOOP_CLIENT_OPTS="-Djava.io.tmpdir=/path/to/other/temp/dir"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now redeploy YARN client configuration.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 07:11:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/40657#M39880</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2016-05-10T07:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem starting a nodemanager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/40665#M39881</link>
      <description>&lt;P&gt;Great . Thanks Goutam &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So apart from yarn will there be any other CDH services (Hive, Pig, Flume, Spark, Impala, Hue, Oozie, Hbase) that too will require exec permission on /tmp ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having noexec on /tmp will have any problem to cluster functioning?&lt;/P&gt;&lt;P&gt;What would be your reccomandation here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 09:07:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Problem-starting-a-nodemanager/m-p/40665#M39881</guid>
      <dc:creator>vik11</dc:creator>
      <dc:date>2016-05-10T09:07:12Z</dc:date>
    </item>
  </channel>
</rss>

