Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
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

Code Block
./mvnw clean package -DskipTests -Phadoop2


How to reproduce

  • Build zeppelin with 

    Code Block
    ./mvnw clean package -DskipTests


  • Check compile error like
    Cannot find a symbol ... 

How to solve

  1. Activate hadoop2 or hadoop3 by default

  2. Add provided dependency by default
    1. In this case, if we set hadoop2 or hadoop3 profiles, those dependencies should be included in a jar