<?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: Zeppelin service can not create folder - permission denied in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166543#M128883</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;@Rajkumar Singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My /var/run/ directory is indeed on tmpfs. So what is the workaround then?&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2016 04:55:27 GMT</pubDate>
    <dc:creator>dmitrynheng</dc:creator>
    <dc:date>2016-12-22T04:55:27Z</dc:date>
    <item>
      <title>Zeppelin service can not create folder - permission denied</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166536#M128876</link>
      <description>&lt;P&gt;
	Zeppelin service is running (I can use Zeppelin view) but Ambari reports it is down. Some investigation revealed this is probably due to the fact that when Zeppelin was starting it was not able to create a PID file. The exception was thrown &lt;/P&gt;&lt;PRE&gt;mkdir: cannot create directory ‘/var/run/zeppelin’: Permission denied&lt;/PRE&gt;&lt;P&gt;If I manually give all permissions to /var/run/ folder it starts to work properly. &lt;/P&gt;&lt;P&gt;It looks like I am not only one facing this issue as I saw other users already reported it. It is still not clear however what is a workaround for the problem? Giving permissions to /var/run/ folder only works as one time solution. As this folder is recreated on reboot, once I restart computer the problem starts over again... &lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 23:44:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166536#M128876</guid>
      <dc:creator>dmitrynheng</dc:creator>
      <dc:date>2016-12-21T23:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin service can not create folder - permission denied</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166537#M128877</link>
      <description>&lt;P&gt;Hi @dmitry&lt;/P&gt;&lt;P&gt;That is known OS issue.&lt;/P&gt;&lt;P&gt;What i did to circumvent this was:&lt;/P&gt;&lt;P&gt;On ambari server host. under /var/lib/ambari-server/resources/scripts you will find a script called configs.sh,&lt;/P&gt;&lt;P&gt;Change the value of the zeppelin PID directory as below:&lt;/P&gt;&lt;P&gt;STOP zeppelin Service.&lt;/P&gt;&lt;P&gt;/configs.sh -u $ambari_user -p $password get localhost $cluster_name zeppelin-env&lt;/P&gt;&lt;P&gt;id -a zeppelin&lt;/P&gt;&lt;P&gt;/configs.sh -u $ambari_user -p $password set localhost $cluster_name zeppelin-env "zeppelin_pid_dir" "/var/run/user/&amp;lt;zeppelin ID&amp;gt;/zeppelin"&lt;/P&gt;&lt;P&gt;mkdir -p /var/run/user/&amp;lt;zeppelin ID&amp;gt;/zeppelin &lt;/P&gt;&lt;P&gt;chown -R zeppelin:zeppelin /var/run/user&lt;/P&gt;&lt;P&gt;and then start the zeppelin service from ambari.&lt;/P&gt;&lt;P&gt;You should now see the new PID location under advanced zeppelin env&lt;/P&gt;&lt;P&gt;Please restart the server after this and see if the value holds.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 00:23:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166537#M128877</guid>
      <dc:creator>ddharam</dc:creator>
      <dc:date>2016-12-22T00:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin service can not create folder - permission denied</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166538#M128878</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14720/dmitrynheng.html" nodeid="14720"&gt;@Dmitry Otblesk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it looks related to an already reported issue:  &lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-19264" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-19264&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please use the workaround to manually assign the permission to the mentioned directory, until the fix.&lt;/P&gt;&lt;PRE&gt;mkdir -p /var/run/zeppelin
chown -R zeppelin:zeppelin /var/run/zeppelin&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 00:24:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166538#M128878</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2016-12-22T00:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin service can not create folder - permission denied</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166539#M128879</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14720/dmitrynheng.html" nodeid="14720"&gt;@Dmitry Otblesk&lt;/A&gt;could you please check where your /var/run directory is mounted on tmpfs using&lt;/P&gt;&lt;P&gt;df -k /var/run&lt;/P&gt;&lt;P&gt;if it is on tmpfs that could cause this dir to remove once you reboot the node&lt;/P&gt;&lt;P&gt;if not then there is no harm of creating /var/run/zeppelin folder manually and give it permission as zeppelin:hadoop &lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 00:29:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166539#M128879</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-22T00:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin service can not create folder - permission denied</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166540#M128880</link>
      <description>&lt;P&gt;You can always customize the location in Ambari.  The property zeppelin_pid_dir in "Advanced zeppelin-env" is where it's set&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 02:08:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166540#M128880</guid>
      <dc:creator>ncole</dc:creator>
      <dc:date>2016-12-22T02:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin service can not create folder - permission denied</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166541#M128881</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/414/ncole.html" nodeid="414"&gt;@Nate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This looked like a nice and simple solution. However property zeppelin_pid_dir is disabled in Ambari. I can't enter any value there.&lt;/P&gt;&lt;P&gt;Please advise where else I can change this value?&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/414/ncole.html" nodeid="414"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 04:25:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166541#M128881</guid>
      <dc:creator>dmitrynheng</dc:creator>
      <dc:date>2016-12-22T04:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin service can not create folder - permission denied</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166542#M128882</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1999/ddharam.html" nodeid="1999"&gt;@ddharam&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I however was not sure what "id -a zeppelin" means in your post? My best guess was that you suggested to find some zeppelin id. But how do I find it? The /configs.sh -u $ambari_user -p $password get localhost $cluster_name zeppelin-env command returned a pretty big output. And I was not sure where I look for zeppelin id?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 04:52:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166542#M128882</guid>
      <dc:creator>dmitrynheng</dc:creator>
      <dc:date>2016-12-22T04:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin service can not create folder - permission denied</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166543#M128883</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;@Rajkumar Singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My /var/run/ directory is indeed on tmpfs. So what is the workaround then?&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 04:55:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166543#M128883</guid>
      <dc:creator>dmitrynheng</dc:creator>
      <dc:date>2016-12-22T04:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin service can not create folder - permission denied</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166544#M128884</link>
      <description>&lt;P&gt;For properties that are disabled like that, you have to use the helper script configs.sh like so:&lt;/P&gt;&lt;PRE&gt;./configs.sh set localhost c1 zeppelin-env zeppelin_pid_dir /var/run/zeppelin/piddir&lt;/PRE&gt;&lt;P&gt;(Replace variables as required for hostname, cluster name, pid dir etc.)&lt;/P&gt;&lt;P&gt;After you set it, you may need to reload the config page to see the change and restart your services.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 05:22:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-service-can-not-create-folder-permission-denied/m-p/166544#M128884</guid>
      <dc:creator>ncole</dc:creator>
      <dc:date>2016-12-22T05:22:57Z</dc:date>
    </item>
  </channel>
</rss>

