You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by liuxunorg <gi...@git.apache.org> on 2018/10/04 12:17:09 UTC
[GitHub] zeppelin issue #3201: [ZEPPELIN-3805] Don't distribution shade jar to lib/in...
Github user liuxunorg commented on the issue:
https://github.com/apache/zeppelin/pull/3201
@zjffdu , Because the interpreter process requires the zeppelin-interpreter-api.jar file,
So in the `zeppelin-distribution/src/assemble/distribution.xml` only include
```
<fileSet>
<outputDirectory>/lib/interpreter</outputDirectory>
<directory>../zeppelin-interpreter-api/target</directory>
<include>zeppelin-interpreter-api-*.jar</include>
</includes>
</fileSet>
```
include, delete the excludes part.
```
<excludes>
<exclude>asm-5.0.4.jar</exclude>
<exclude>atomix-cluster-3.0.0-rc4.jar</exclude>
......
</excludes>
```
Also delete the `https://github.com/apache/zeppelin/blob/master/bin/interpreter.sh#L88` line, publish `zeppelin-interpreter-api.jar` to the lib/interpreter/ directory, and pass Travis CI .
However, the LIB file directory in zeppelin-xxx.tar.gz released by zeppelin-distribution is `https://issues.apache.org/jira/secure/attachment/12942346/zeppelin-lib-tree.txt`.
Both shaded jars (zeppelin-interpreter-api) also include unshaded jars (zeppelin-interpreter).
Is `zeppelin-interpreter-api.jar` not published to the `lib/interpreter` directory?
---