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

[Bug] HG ToolChain build fails #507

Closed
1 task done
liuxiaocs7 opened this issue Aug 6, 2023 · 3 comments
Closed
1 task done

[Bug] HG ToolChain build fails #507

liuxiaocs7 opened this issue Aug 6, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@liuxiaocs7
Copy link
Member

Bug Type (问题类型)

others (please comment below)

Before submit

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

Environment (环境信息)

  • Server Version: v1.x.x
  • Toolchain Version: master
  • Data Size: xx vertices, xx edges

Expected & Actual behavior (期望与实际表现)

mvn clean package -DskipTests

result:

[INFO] --- antrun:1.8:run (default) @ hubble-dist ---
[WARNING] Parameter 'tasks' is deprecated: Use target instead
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks

main:
     [exec] ./dist.sh:行3: yarn:未找到命令
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for hugegraph-toolchain 1.0.0:
[INFO] 
[INFO] hugegraph-toolchain ................................ SUCCESS [  3.273 s]
[INFO] hugegraph-client ................................... SUCCESS [  8.548 s]
[INFO] hugegraph-loader ................................... SUCCESS [01:09 min]
[INFO] hugegraph-tools .................................... SUCCESS [ 13.376 s]
[INFO] hugegraph-hubble ................................... SUCCESS [  0.041 s]
[INFO] hubble-be .......................................... SUCCESS [  8.664 s]
[INFO] hubble-dist ........................................ FAILURE [  2.188 s]
[INFO] hugegraph-dist ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:47 min
[INFO] Finished at: 2023-08-06T23:47:24+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project hubble-dist: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="/home/user/Development/Code/IdeaProjects/incubator-hugegraph-toolchain/hugegraph-hubble/hubble-dist/.." executable="bash">... @ 18:155 in /home/user/Development/Code/IdeaProjects/incubator-hugegraph-toolchain/hugegraph-hubble/hubble-dist/target/antrun/build-main.xml
[ERROR] -> [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 <args> -rf :hubble-dist

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

@liuxiaocs7 liuxiaocs7 added the bug Something isn't working label Aug 6, 2023
@imbajin
Copy link
Member

imbajin commented Aug 7, 2023

refer #391

we lack preinstall (fe)yarn env in building script,consider add it?(Or at least update the doc to let users to know it)

@liuxiaocs7
Copy link
Member Author

refer #391

we lack preinstall (fe)yarn env in building script,consider add it?(Or at least update the doc to let users to know it)

In Ubuntu works, but in windows fails, the path seems not right.

main:
     [exec] ./dist.sh: line 1: cd: D:DevelopmentCodeHugeGraphincubator-hugegraph-toolchainhugegraph-hubblehubble-dist/../hubble-fe: No such file or directory
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for hugegraph-toolchain 1.0.0:
[INFO]
[INFO] hugegraph-toolchain ................................ SUCCESS [  1.951 s]
[INFO] hugegraph-client ................................... SUCCESS [  7.737 s]
[INFO] hugegraph-loader ................................... SUCCESS [ 16.829 s]
[INFO] hugegraph-tools .................................... SUCCESS [  6.444 s]
[INFO] hugegraph-hubble ................................... SUCCESS [  0.101 s]
[INFO] hubble-be .......................................... SUCCESS [ 10.183 s]
[INFO] hubble-dist ........................................ FAILURE [  7.714 s]
[INFO] hugegraph-dist ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  51.169 s
[INFO] Finished at: 2023-08-07T11:32:00+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project hubble-dist: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="D:\Development\Code\HugeGraph\incubator-hugegraph-toolchain\hugegraph-hubble\hubble-dist/.." executable="bash">... @ 18:144 in D:\Development\Code\Hu
geGraph\incubator-hugegraph-toolchain\hugegraph-hubble\hubble-dist\target\antrun\build-main.xml
[ERROR] -> [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 <args> -rf :hubble-dist

@liuxiaocs7
Copy link
Member Author

main:
     [exec] ./dist.sh:行3: yarn:未找到命令

resolved by #543

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