<?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 notebook exception - HDFS permissions? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165495#M29488</link>
    <description>&lt;P&gt;(sorry for the ugly formatting - it looks fine when I submit it)&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2016 20:40:16 GMT</pubDate>
    <dc:creator>zack_riesland</dc:creator>
    <dc:date>2016-05-24T20:40:16Z</dc:date>
    <item>
      <title>Zeppelin notebook exception - HDFS permissions?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165492#M29485</link>
      <description>&lt;P&gt;We installed Zeppelin along with our upgrade to 2.4.2&lt;/P&gt;&lt;P&gt;In Ambari, everything looks good, but when I try to actually interact with it, nothing seems to happen.&lt;/P&gt;&lt;P&gt;When I look at the log file on the server, it shows the error below. Could this just be a permissions issue?&lt;/P&gt;&lt;PRE&gt;INFO [2016-05-24 09:15:00,707] ({qtp895821303-5595} NotebookServer.java[onClose]:213) - Closed connection to 10.1.165.24 : 63750. (1001) null 
WARN [2016-05-24 09:15:01,104] ({qtp895821303-5592} SecurityRestApi.java[ticket]:79) - {"status":"OK","message":"","body":{"principal":"anonymous","ticket":"anonymous","roles":"[]"}} 
INFO [2016-05-24 09:15:01,154] ({qtp895821303-5592} NotebookServer.java[onOpen]:92) - New connection from 10.1.165.24 : 63761 
ERROR [2016-05-24 09:15:13,897] ({qtp895821303-5593} NotebookServer.java[onMessage]:207) - Can't handle message 
org.apache.commons.vfs2.FileSystemException: Could not create folder "file:///usr/hdp/current/zeppelin-server/lib/notebook/2BNKRY7B6". 
at org.apache.commons.vfs2.provider.AbstractFileObject.createFolder(AbstractFileObject.java:999) 
at org.apache.zeppelin.notebook.repo.VFSNotebookRepo.save(VFSNotebookRepo.java:218) 
at org.apache.zeppelin.notebook.repo.NotebookRepoSync.save(NotebookRepoSync.java:144) 
at org.apache.zeppelin.notebook.Note.persist(Note.java:439) 
at org.apache.zeppelin.notebook.Notebook.createNote(Notebook.java:159) 
at org.apache.zeppelin.notebook.Notebook.createNote(Notebook.java:133) 
at org.apache.zeppelin.socket.NotebookServer.createNote(NotebookServer.java:497) 
at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:147) 
at org.apache.zeppelin.socket.NotebookSocket.onMessage(NotebookSocket.java:56) 
at org.eclipse.jetty.websocket.WebSocketConnectionRFC6455$WSFrameHandler.onFrame(WebSocketConnectionRFC6455.java:835) 
at org.eclipse.jetty.websocket.WebSocketParserRFC6455.parseNext(WebSocketParserRFC6455.java:349) 
at org.eclipse.jetty.websocket.WebSocketConnectionRFC6455.handle(WebSocketConnectionRFC6455.java:225) 
at &lt;A href="http://org.eclipse.jetty.io/"&gt;org.eclipse.jetty.io&lt;/A&gt;.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) 
at &lt;A href="http://org.eclipse.jetty.io/"&gt;org.eclipse.jetty.io&lt;/A&gt;.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) 
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) 
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) 
at java.lang.Thread.run(Thread.java:745) 
Caused by: org.apache.commons.vfs2.FileSystemException: Could not create directory "/usr/hdp/current/zeppelin-server/lib/notebook/2BNKRY7B6". 
at org.apache.commons.vfs2.provider.local.LocalFile.doCreateFolder(LocalFile.java:153) 
at org.apache.commons.vfs2.provider.AbstractFileObject.createFolder(AbstractFileObject.java:988)&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 May 2016 20:25:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165492#M29485</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-05-24T20:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin notebook exception - HDFS permissions?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165493#M29486</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt; This does not look like the HDFS permission issue. Zeppelin is not able to create its notebook on the OS in the location /usr/hdp/current/zeppelin-server/lib/notebook/2BNKRY7B6 &lt;/P&gt;&lt;P&gt;Check the permissions/directories in the location /usr/hdp/current/zeppelin-server&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 20:39:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165493#M29486</guid>
      <dc:creator>yjagadeesan</dc:creator>
      <dc:date>2016-05-24T20:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin notebook exception - HDFS permissions?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165494#M29487</link>
      <description>&lt;P&gt;
	What should the permissions be?&lt;/P&gt;&lt;P&gt;
[root@myserver log]# ls -alh /usr/hdp/current/zeppelin-server/lib

total 1.4M

drwxrwxrwx.  7 root root 4.0K May 20 12:25 .

drwxr-xr-x.  3 root root 4.0K May 19 17:41 ..

drwxr-xr-x.  2 root root 4.0K May 19 17:41 bin

lrwxrwxrwx.  1 root root   18 May 19 17:41 conf -&amp;gt; /etc/zeppelin/conf

drwxr-xr-x. 21 root root 4.0K May 19 17:42 interpreter

drwxr-xr-x.  2 root root 4.0K May 19 17:42 lib

-rw-r--r--.  1 root root  14K Apr 20 02:27 LICENSE

drwxr-xr-x.  2 root root 4.0K May 20 12:25 notebook

-rwxrwxrwx.  1 root root 6.7K Apr 20 02:27 README.md

drwxrwxrwx.  3 root root 4.0K May 19 17:58 webapps

-rwxrwxrwx.  1 root root  76K Apr 25 06:22 zeppelin-server-0.6.0.2.4.2.0-258.jar

-rwxrwxrwx.  1 root root 1.3M Apr 25 06:22 zeppelin-web-0.6.0.2.4.2.0-258.war

[root@myserver log]# ls -alh /usr/hdp/current/zeppelin-server/lib/notebook/

total 8.0K

drwxr-xr-x. 2 root root 4.0K May 20 12:25 .

drwxrwxrwx. 7 root root 4.0K May 20 12:25 ..

[root@myserver log]#&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 20:39:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165494#M29487</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-05-24T20:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin notebook exception - HDFS permissions?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165495#M29488</link>
      <description>&lt;P&gt;(sorry for the ugly formatting - it looks fine when I submit it)&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 20:40:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165495#M29488</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-05-24T20:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin notebook exception - HDFS permissions?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165496#M29489</link>
      <description>&lt;P&gt;Below is the permission what I have and it works fine. Just tested it.&lt;/P&gt;&lt;PRE&gt;[root@sandbox current]# cd zeppelin-server/
[root@sandbox zeppelin-server]# ls -la
total 12
drwxr-xr-x  3 zeppelin hadoop   4096 2016-03-14 14:34 .
drwxr-xr-x 40 root     root     4096 2016-03-14 15:04 ..
drwxr-xr-x  7 zeppelin zeppelin 4096 2016-04-13 15:39 lib
[root@sandbox zeppelin-server]# cd lib
[root@sandbox lib]# ls -ltr
total 1380
-rw-r--r--  1 zeppelin hadoop    6675 2016-02-10 10:40 README.md
-rw-r--r--  1 zeppelin hadoop   13540 2016-02-10 10:40 LICENSE
-rw-r--r--  1 zeppelin hadoop 1297455 2016-02-10 10:48 zeppelin-web-0.6.0.2.4.0.0-169.war
-rw-r--r--  1 zeppelin hadoop   66393 2016-02-10 10:48 zeppelin-server-0.6.0.2.4.0.0-169.jar
lrwxrwxrwx  1 zeppelin hadoop      18 2016-03-14 14:34 conf -&amp;gt; /etc/zeppelin/conf
drwxr-xr-x  2 zeppelin hadoop    4096 2016-03-14 14:34 bin
drwxr-xr-x 17 zeppelin hadoop    4096 2016-03-14 14:35 interpreter
drwxr-xr-x  2 zeppelin hadoop    4096 2016-03-14 14:35 lib
drwxr-xr-x  3 zeppelin hadoop    4096 2016-04-13 15:39 webapps
drwxr-xr-x 17 zeppelin hadoop    4096 2016-05-24 13:52 notebook
&lt;/PRE&gt;&lt;P&gt;Let me know after you set it and still has a problem.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 20:55:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165496#M29489</guid>
      <dc:creator>yjagadeesan</dc:creator>
      <dc:date>2016-05-24T20:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin notebook exception - HDFS permissions?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165497#M29490</link>
      <description>&lt;P&gt;Thanks, &lt;A rel="user" href="https://community.cloudera.com/users/1929/yjagadeesan.html" nodeid="1929"&gt;@Yogeshprabhu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I changed my directory user/group structure to match yours and it appears to be working now.&lt;/P&gt;&lt;P&gt;I would say that this is a bug in the installation.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 21:08:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165497#M29490</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-05-24T21:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin notebook exception - HDFS permissions?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165498#M29491</link>
      <description>&lt;P&gt;Good to know. Would you mind to mark this answer as solved? &lt;/P&gt;&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 21:12:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-notebook-exception-HDFS-permissions/m-p/165498#M29491</guid>
      <dc:creator>yjagadeesan</dc:creator>
      <dc:date>2016-05-24T21:12:39Z</dc:date>
    </item>
  </channel>
</rss>

