Closed zheng-zy closed 2 years ago
@zhongjiajie help
When ds-2.0.5 downloaded the source package and tried to compile and package locally, the following error occurred:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (python-api-prepare) on project dolphinscheduler-python: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] Specifically as shown in the figure below:
Checked the similar issues on the issue, such as: 8820, I confirmed that my current python3 environment is normal, what should I do? Current environment: jdk1.8 ds2.0.5 (tag version downloaded on git) python3.7.8
No response
2.0.5
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
#troubleshooting
@zheng-zy you should ru-run the command and with -X
flag and see the output
there must have the detail error log
detail error log: [INFO] dolphinscheduler-server ............................ SUCCESS [ 26.444 s] [INFO] dolphinscheduler-api ............................... SUCCESS [ 33.557 s] [INFO] dolphinscheduler-python ............................ FAILURE [ 31.529 s] [INFO] dolphinscheduler-standalone-server ................. SKIPPED [INFO] dolphinscheduler-dist .............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 08:08 min [INFO] Finished at: 2022-05-17T09:41:40+08:00 [INFO] Final Memory: 234M/873M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (p ython-api-prepare) on project dolphinscheduler-python: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o rg.codehaus.mojo:exec-maven-plugin:3.0.0:exec (python-api-prepare) on project do lphinscheduler-python: Command execution failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre adedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl eStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun cher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav a:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La uncher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: 356) Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution fai led. at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:478) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default BuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:207) ... 20 more Caused by: org.apache.commons.exec.ExecuteException: Process exited with an erro r: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecut or.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java: 166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:982)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:929)
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:457)
... 22 more
[ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE xception [ERROR] [ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn
there must have the detail error log
@zheng-zy could you show me the detail log before
[INFO] dolphinscheduler-server ............................ SUCCESS [ 26.444 s]
[INFO] dolphinscheduler-api ............................... SUCCESS [ 33.557 s]
[INFO] dolphinscheduler-python ............................ FAILURE [ 31.529 s]
[INFO] dolphinscheduler-standalone-server ................. SKIPPED
[INFO] dolphinscheduler-dist .............................. SKIPPED
There have some detail error log
And maybe you could try to comment the profiles in https://github.com/apache/dolphinscheduler/blob/2.0.5-release/dolphinscheduler-python/pom.xml#L61-L122 and then try again
ok,i will try it. detail log before:
And maybe you could try to comment the profiles in https://github.com/apache/dolphinscheduler/blob/2.0.5-release/dolphinscheduler-python/pom.xml#L61-L122 and then try again
And maybe you could try to comment the profiles in https://github.com/apache/dolphinscheduler/blob/2.0.5-release/dolphinscheduler-python/pom.xml#L61-L122 and then try again
this pom.xml is the same as before,i try it has the same problem.
@zhongjiajie this look like python proprem,dolphinschduler notsupport win10?
dolphinscheduler could start in win, and could use APIserver to CRUD object, but if you want to run workflow you have to make some change. and I do not know what change it is.
And maybe you could try to comment the profiles in https://github.com/apache/dolphinscheduler/blob/2.0.5-release/dolphinscheduler-python/pom.xml#L61-L122 and then try again
this pom.xml is the same as before,i try it has the same problem.
I mean, you should totally delete the those line code, and then try again
And maybe you could try to comment the profiles in https://github.com/apache/dolphinscheduler/blob/2.0.5-release/dolphinscheduler-python/pom.xml#L61-L122 and then try again
this pom.xml is the same as before,i try it has the same problem.
I mean, you should totally delete the those line code, and then try again
这个意思是把
@zheng-zy Please also remove the tag <profiles>
and then try to re-run it
and then it will skip the python
build
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
@zhongjiajie
After remove the tag
Search before asking
What happened
ds-2.0.5下载源码包尝试本地编译打包过程中,出现如下错误:
What you expected to happen
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (python-api-prepare) on project dolphinscheduler-python: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] 具体如下图所示:
How to reproduce
查看了issue上类似问题,比如:8820,我确认我当前的python3环境正常,请问我该如何处理? 当前环境: win10 jdk1.8 ds2.0.5(git上下载的tag版本) python3.7.8
Anything else
No response
Version
2.0.5
Are you willing to submit PR?
Code of Conduct