Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ci_scripts/install_pmem_common.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cd /tmp
git clone https://github.com/oap-project/pmem-common.git
cd pmem-common/
git checkout branch-1.1-spark-3.x
mvn install -am -q -DskipTests
2 changes: 1 addition & 1 deletion oap-ape/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ mvn clean install
Native and Java build. We will use `$OAP_ROOT_DIR/oap-ape/ape-java/ape-spark/target/ape-spark-1.1.0-SNAPSHOT.jar`, `$OAP_ROOT_DIR/oap-ape/ape-java/ape-flink/ape-flink-x.xx.x/target/ape-flink-x.xx.x-1.1.0-SNAPSHOT.jar` later.
```
cd $OAP_ROOT_DIR/oap-ape/ape-java
mvn clean package -am -Pshading
mvn clean package -am --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should not change -Pshading, any comments @ZJie1

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we should not change it. This is for the packing native to the ape spark jar and ape-server also use this.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But I cannot compile successfully if I use the -Pshading command.
Here is the error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on project ape-server: Error creating shaded jar: Could not resolve following dependencies: [com.intel.oap:ape-flink-common:jar:1.1.0-SNAPSHOT (compile), com.intel.oap:ape-client:jar:1.1.0-SNAPSHOT (compile), com.intel.oap:ape-hcfs:jar:1.1.0-SNAPSHOT (compile)]: Could not resolve dependencies for project com.intel.oap:ape-flink-1.13.2:jar:1.1.0-SNAPSHOT: The following artifacts could not be resolved: com.intel.oap:ape-flink-common:jar:1.1.0-SNAPSHOT, com.intel.oap:ape-client:jar:1.1.0-SNAPSHOT, com.intel.oap:ape-hcfs:jar:1.1.0-SNAPSHOT: Could not find artifact com.intel.oap:ape-flink-common:jar:1.1.0-SNAPSHOT -> [Help 1]

```

Note: This will package libparquet_jni.so into ape-spark-1.1.0-SNAPSHOT.jar under linux/64/lib folder.
Expand Down