Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-5762

Resolve hadoop dependency when building zeppelin-server without any profile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.1
    • 0.11.0
    • build

    Description

      When building according to the "Build from source" description on the current zeppelin github page, there is a lack of friendly explanation, so it needs improvement.

      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

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

       

      Attachments

        Activity

          People

            Woosuk Ro Woosuk Ro
            Woosuk Ro Woosuk Ro
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: