Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scaleph 1.0.4 fail to compile manully #620

Open
2 of 3 tasks
feng-dreaming opened this issue Sep 13, 2023 · 1 comment
Open
2 of 3 tasks

scaleph 1.0.4 fail to compile manully #620

feng-dreaming opened this issue Sep 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@feng-dreaming
Copy link

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

Scaleph Version is 1.0.4, and SeaTunnel is default dependency
env list: CentOS7.6, openjdk17

What happened

I tried to compile the source code manully,because of heavy slowed speed to download docker images, and timeout with high frequency,VPN is opened already.2 days is past ,which I have no progress.On the other hand , mvnw is very slow too, which have to download special version of maven and dependency jars, local repo is not reused which is the key I guess.
Scaleph binary or docker image zip file is friendly on cloud company or gitee in China

Error Exception

[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ scaleph-engine-sql ---
[INFO] Building jar: /opt/scaleph-1.0.4/scaleph-engine/scaleph-engine-sql/target/scaleph-engine-sql.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for scaleph 1.0.4:
[INFO] 
[INFO] scaleph ............................................ SUCCESS [  0.093 s]
[INFO] scaleph-ui ......................................... SUCCESS [  0.775 s]
[INFO] scaleph-ui-react ................................... SUCCESS [04:00 min]
[INFO] scaleph-common ..................................... SUCCESS [  4.274 s]
[INFO] scaleph-dao ........................................ SUCCESS [01:08 min]
[INFO] scaleph-support .................................... SUCCESS [  0.021 s]
[INFO] scaleph-cache ...................................... SUCCESS [01:15 min]
[INFO] scaleph-system ..................................... SUCCESS [  4.684 s]
[INFO] scaleph-security ................................... SUCCESS [01:59 min]
[INFO] scaleph-storage .................................... SUCCESS [06:10 min]
[INFO] scaleph-resource ................................... SUCCESS [  2.107 s]
[INFO] scaleph-log ........................................ SUCCESS [  1.418 s]
[INFO] scaleph-mail ....................................... SUCCESS [ 25.035 s]
[INFO] scaleph-generator .................................. SUCCESS [ 21.379 s]
[INFO] scaleph-privilege .................................. SUCCESS [  0.443 s]
[INFO] scaleph-kubernetes ................................. SUCCESS [  1.894 s]
[INFO] scaleph-plugins .................................... SUCCESS [  0.002 s]
[INFO] scaleph-plugin-framework ........................... SUCCESS [ 15.449 s]
[INFO] scaleph-workflow ................................... SUCCESS [  0.001 s]
[INFO] scaleph-workflow-api ............................... SUCCESS [ 28.140 s]
[INFO] scaleph-workflow-quartz ............................ SUCCESS [  1.252 s]
[INFO] scaleph-core ....................................... SUCCESS [  0.001 s]
[INFO] scaleph-core-scheduler ............................. SUCCESS [ 26.564 s]
[INFO] scaleph-plugin-datasource .......................... SUCCESS [06:58 min]
[INFO] scaleph-datasource ................................. SUCCESS [  2.132 s]
[INFO] scaleph-plugin-seatunnel-connectors ................ SUCCESS [  3.625 s]
[INFO] scaleph-meta ....................................... SUCCESS [  1.947 s]
[INFO] scaleph-plugin-seatunnel-native-flink .............. SUCCESS [  1.486 s]
[INFO] scaleph-plugin-flink ............................... SUCCESS [  0.002 s]
[INFO] scaleph-plugin-flink-api ........................... SUCCESS [  0.297 s]
[INFO] scaleph-plugin-flink-1.16 .......................... FAILURE [15:29 min]
[INFO] scaleph-engine ..................................... SUCCESS [  0.001 s]
[INFO] scaleph-engine-seatunnel ........................... SKIPPED
[INFO] scaleph-engine-flink ............................... SKIPPED
[INFO] scaleph-engine-flink-kubernetes .................... SUCCESS [  1.835 s]
[INFO] scaleph-api ........................................ SKIPPED
[INFO] scaleph-engine-sql ................................. SUCCESS [13:22 min]
[INFO] scaleph-plugin-flink-1.13 .......................... SUCCESS [11:30 min]
[INFO] scaleph-catalog .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21:37 min (Wall Clock)
[INFO] Finished at: 2023-09-13T09:51:11+08:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "dist" could not be activated because it does not exist.
[ERROR] Failed to execute goal on project scaleph-plugin-flink-1.16: Could not resolve dependencies for project cn.sliew:scaleph-plugin-flink-1.16:jar:1.0.4: Could not transfer artifact org.apache.flink:flink-rpc-akka-loader:jar:1.16.1 from/to central (https://repo.maven.apache.org/maven2): GET request of: org/apache/flink/flink-rpc-akka-loader/1.16.1/flink-rpc-akka-loader-1.16.1.jar from central failed: Premature end of Content-Length delimited message body (expected: 33,881,213; received: 13,743,104) -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :scaleph-plugin-flink-1.16

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@feng-dreaming feng-dreaming added the bug Something isn't working label Sep 13, 2023
@feng-dreaming feng-dreaming changed the title [Bug] [Module Name] Bug title scaleph 1.0.4 fail to compile manully Sep 13, 2023
@kalencaya
Copy link
Collaborator

It is obvious that maven downloads dependencies failed, so try to compile again. Before compile again, add alicloud maven repository to your local maven settings.xml on ${home}/.m2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants