You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Resolve hadoop dependency when building zeppelin-server without any profile

How to reproduce

  • Build zeppelin with 
    ./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
  • No labels