윈도우 빌드에러 수정

Status

이미지

Solution

PS C:\Works\Projects\zeppelin> git diff .\zeppelin-web\package.json
diff --git a/zeppelin-web/package.json b/zeppelin-web/package.json
index 1d1c8ff09..e880cfbe2 100644
--- a/zeppelin-web/package.json
+++ b/zeppelin-web/package.json
@@ -93,7 +93,7 @@
     "postcss-loader": "^3.0.0",
     "protractor": "^5.4.1",
     "raw-loader": "^0.5.1",
-    "rimraf": "^2.5.4",
+    "rimraf": "^3.0.2",
     "string-replace-webpack-plugin": "^0.1.3",
     "style-loader": "^0.13.1",
     "time-grunt": "^0.3.1",


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

  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

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

Interpreter Maintenance

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

  • No labels