You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2022/07/18 22:30:00 UTC
[jira] [Commented] (BIGTOP-3746) Change zeppelin notebook installation path
[ https://issues.apache.org/jira/browse/BIGTOP-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17568228#comment-17568228 ]
Masatake Iwasaki commented on BIGTOP-3746:
------------------------------------------
[~wzg547228197]
/usr/lib is used for static files like libraries.
[https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html]
For changing contents like notebooks, placing it under /var should make sense.
> Change zeppelin notebook installation path
> ------------------------------------------
>
> Key: BIGTOP-3746
> URL: https://issues.apache.org/jira/browse/BIGTOP-3746
> Project: Bigtop
> Issue Type: Bug
> Reporter: wuzhiguo
> Assignee: wuzhiguo
> Priority: Major
> Attachments: image-2022-07-18-15-22-09-744.png, image-2022-07-18-15-22-30-875.png, image-2022-07-18-15-23-36-058.png, image-2022-07-18-15-27-52-496.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> as the code located to:[https://github.com/apache/bigtop/blob/master/bigtop-packages/src/common/zeppelin/install_zeppelin.sh#L113]
>
> we can see the notebook dir is under `/var/lib/zeppelin/`, while LIB_DIR is `/usr/lib/zeppelin`(this will also be set as ZEPPELIN_HOME while running zeppelin-daemon.sh).
> as shown in below
> !image-2022-07-18-15-23-36-058.png!
>
> The zeppelin source code will looking for notebook dir under ZEPPELIN_HOME
> !image-2022-07-18-15-22-09-744.png!
> !image-2022-07-18-15-22-30-875.png!
> !image-2022-07-18-15-27-52-496.png!
> Although we can set `zeppelin.notebook.dir` in `zeppelin-site.xml` point to the absolute path of notebook dir, I prefer move dir to ZEPPELIN_HOME
--
This message was sent by Atlassian Jira
(v8.20.10#820010)