This is an automated email from the ASF dual-hosted git repository.
liuxun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git
The following commit(s) were added to refs/heads/master by this push:
new 5934a71 SUBMARINE-637. Failed to build from sourcec code in centos7.8
5934a71 is described below
commit 5934a71650df76f6410444cb23fc088fe5ac9e9c
Author: lichaonw <[email protected]>
AuthorDate: Sun Sep 27 04:56:17 2020 -0700
SUBMARINE-637. Failed to build from sourcec code in centos7.8
### What is this PR for?
When i build from source code, it show build error.
My environment information:
1. os version: centos 7.8
2. git version: 1.8.3
3. maven version: 3.3.9
4. jdk version: 1.8.0
### What type of PR is it?
[Bug Fix]
### Todos
* [ ] - Task
### What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-637
### How should this be tested?
Just exec:
```shell
mvn clean install package -DskipTests
```
### Screenshots (if appropriate)
```shell
[INFO] Reading assembly descriptor: src/assembly/distribution.xml
[WARNING] Cannot include project artifact:
org.apache.submarine:submarine-dist:pom:0.5.0-SNAPSHOT; it doesn't have an
associated file or directory.
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Submarine .......................................... SUCCESS [
14.075 s]
[INFO] Submarine: Commons ................................. SUCCESS [ 2.056
s]
[INFO] Submarine: Commons Utils ........................... SUCCESS [
11.531 s]
[INFO] Submarine: Commons Runtime ......................... SUCCESS [ 9.844
s]
[INFO] Submarine: Commons Cluster ......................... SUCCESS [01:31
min]
[INFO] Submarine: Commons MetaStore ....................... SUCCESS [01:57
min]
[INFO] Submarine: Commons RPC ............................. SUCCESS [
27.244 s]
[INFO] Submarine: Commons Unixusersync .................... SUCCESS [ 3.029
s]
[INFO] Submarine: Client .................................. SUCCESS [ 5.952
s]
[INFO] Submarine: Cloud ................................... SUCCESS [05:31
min]
[INFO] Submarine: Server .................................. SUCCESS [ 1.038
s]
[INFO] Submarine: Submitter ............................... SUCCESS [ 0.972
s]
[INFO] Submarine: YARN Submitter .......................... SUCCESS [
23.769 s]
[INFO] Submarine: Server API .............................. SUCCESS [ 2.629
s]
[INFO] Submarine: Server RPC .............................. SUCCESS [ 8.029
s]
[INFO] Submarine: Server Core ............................. SUCCESS [
27.544 s]
[INFO] Submarine: Kubernetes Submitter .................... SUCCESS [
19.785 s]
[INFO] Submarine: All ..................................... SUCCESS [
20.330 s]
[INFO] Submarine: Workbench ............................... SUCCESS [ 0.682
s]
[INFO] Submarine: Interpreter ............................. SUCCESS [ 0.762
s]
[INFO] Submarine: Interpreter Core ........................ SUCCESS [ 4.268
s]
[INFO] Submarine: Interpreter Python ...................... SUCCESS [
41.677 s]
[INFO] Submarine: Interpreter Spark ....................... SUCCESS [02:57
min]
[INFO] Submarine: Workbench Web ........................... SUCCESS [02:53
min]
[INFO] Submarine: Workbench Web Angular ................... SUCCESS [02:44
min]
[INFO] Submarine: Dist .................................... FAILURE [ 6.563
s]
[INFO] Submarine: Test .................................... SKIPPED
[INFO] Submarine: E2E Test ................................ SKIPPED
[INFO] Submarine: Kubernetes Test ......................... SKIPPED
[INFO] Submarine: Spark Security .......................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 21:28 min
[INFO] Finished at: 2020-09-26T23:16:48-07:00
[INFO] Final Memory: 185M/783M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (dist) on project
submarine-dist: Failed to create assembly: Error creating assembly archive
distribution: var/run/udev/links/\x2fsnd\x2fby-path\x2fpci-0000:02:02.0 not
found. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :submarine-dist
```
After just add maven-assembly-plugin version in pom.xml, it show no error
while build from source code.
```shell
[INFO] Submarine .......................................... SUCCESS [
0.528 s]
[INFO] Submarine: Commons ................................. SUCCESS [
0.002 s]
[INFO] Submarine: Commons Utils ........................... SUCCESS [
0.035 s]
[INFO] Submarine: Commons Runtime ......................... SUCCESS [
0.129 s]
[INFO] Submarine: Commons Cluster ......................... SUCCESS [
0.076 s]
[INFO] Submarine: Commons MetaStore ....................... SUCCESS [
0.124 s]
[INFO] Submarine: Commons RPC ............................. SUCCESS [
0.301 s]
[INFO] Submarine: Commons Unixusersync .................... SUCCESS [
0.028 s]
[INFO] Submarine: Client .................................. SUCCESS [
0.055 s]
[INFO] Submarine: Cloud ................................... SUCCESS [
1.182 s]
[INFO] Submarine: Server .................................. SUCCESS [
0.002 s]
[INFO] Submarine: Submitter ............................... SUCCESS [
0.024 s]
[INFO] Submarine: YARN Submitter .......................... SUCCESS [
0.019 s]
[INFO] Submarine: Server API .............................. SUCCESS [
0.036 s]
[INFO] Submarine: Server RPC .............................. SUCCESS [
0.045 s]
[INFO] Submarine: Server Core ............................. SUCCESS [
0.319 s]
[INFO] Submarine: Kubernetes Submitter .................... SUCCESS [
0.138 s]
[INFO] Submarine: All ..................................... SUCCESS [
0.010 s]
[INFO] Submarine: Workbench ............................... SUCCESS [
0.015 s]
[INFO] Submarine: Interpreter ............................. SUCCESS [
0.004 s]
[INFO] Submarine: Interpreter Core ........................ SUCCESS [
0.109 s]
[INFO] Submarine: Interpreter Python ...................... SUCCESS [
0.012 s]
[INFO] Submarine: Interpreter Spark ....................... SUCCESS [
0.056 s]
[INFO] Submarine: Workbench Web ........................... SUCCESS [
4.551 s]
[INFO] Submarine: Workbench Web Angular ................... SUCCESS [
7.893 s]
[INFO] Submarine: Dist .................................... SUCCESS [
0.770 s]
[INFO] Submarine: Test .................................... SUCCESS [
0.007 s]
[INFO] Submarine: E2E Test ................................ SUCCESS [
0.072 s]
[INFO] Submarine: Kubernetes Test ......................... SUCCESS [
0.050 s]
[INFO] Submarine: Spark Security .......................... SUCCESS [
0.384 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
```
### Questions:
* Does the licenses files need update? Yes/No
* Is there breaking changes for older versions? Yes/No
* Does this needs documentation? Yes/No
Author: lichaonw <[email protected]>
Closes #413 from lichaonw/SUBMARINE-637 and squashes the following commits:
910a93b [lichaonw] SUBMARINE-637. [Build] update pom.xml for Specified
version
---
pom.xml | 1 +
submarine-dist/pom.xml | 1 +
2 files changed, 2 insertions(+)
diff --git a/pom.xml b/pom.xml
index 95e10ed..6e521e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,6 +60,7 @@
<plugin.war.version>2.3</plugin.war.version>
<plugin.maven.antrun.version>1.8</plugin.maven.antrun.version>
<plugin.maven.jar.version>3.0.2</plugin.maven.jar.version>
+ <plugin.maven.assembly.version>3.3.0</plugin.maven.assembly.version>
<!-- submarine shaded dependency prefix-->
<shaded.dependency.prefix>org.apache.submarine.shaded</shaded.dependency.prefix>
diff --git a/submarine-dist/pom.xml b/submarine-dist/pom.xml
index a2b7044..eb09dad 100644
--- a/submarine-dist/pom.xml
+++ b/submarine-dist/pom.xml
@@ -152,6 +152,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
+ <version>${plugin.maven.assembly.version}</version>
<executions>
<execution>
<id>dist</id>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]