Resolve hadoop dependency when building zeppelin-server without any profile
Status
Active Profiles for Project 'org.apache.zeppelin:zeppelin-server:jar:0.11.0-SNAPSHOT': The following profiles are active: - using-source-tree (source: org.apache.zeppelin:zeppelin-server:0.11.0-SNAPSHOT) - rat (source: org.apache.zeppelin:zeppelin:0.11.0-SNAPSHOT)
Workaround
./mvnw clean package -DskipTests -Phadoop2
How to reproduce
Build zeppelin with
./mvnw clean package -DskipTests
- Check compile error like
Cannot find a symbol ...
How to solve
Activate hadoop2 or hadoop3 by default
- Add provided dependency by default
- In this case, if we set hadoop2 or hadoop3 profiles, those dependencies should be included in a jar
Reference
https://zeppelin.apache.org/docs/0.10.1/setup/basics/how_to_build.html
https://issues.apache.org/jira/browse/ZEPPELIN-5762
Interpreter maintenance
Reference
Window compilation (.appveyor.yml)
Status
When building Zeppelin on windows, some errors occur like:
rc\main\proto\kernel.proto: No such file or directory
How to solve
Not really yet but we could add some CI configuration on .appveyor.yml
.
Reference
https://github.com/apache/zeppelin/blob/master/.appveyor.yml