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

Windows系统mvn package -DskipTests失败 #173

Closed
htpbackup opened this issue Nov 6, 2018 · 2 comments
Closed

Windows系统mvn package -DskipTests失败 #173

htpbackup opened this issue Nov 6, 2018 · 2 comments

Comments

@htpbackup
Copy link

Expected behavior 期望表现

mvn package -DskipTests

Actual behavior 实际表现

[INFO] --- maven-antrun-plugin:1.3:run (default) @ hugegraph-dist ---
[INFO] Executing tasks
     [exec] hugegraph-0.7.4/
     [exec] hugegraph-0.7.4/bin/
     [exec] hugegraph-0.7.4/bin/checksocket.sh
     [exec] hugegraph-0.7.4/bin/dump-conf.sh
     [exec] hugegraph-0.7.4/bin/dump-store.sh
     [exec] hugegraph-0.7.4/bin/gremlin-console.sh
     [exec] hugegraph-0.7.4/bin/hugegraph-server.sh
     [exec] hugegraph-0.7.4/bin/init-store.sh
     [exec] hugegraph-0.7.4/bin/monitor-hugegraph.sh
     [exec] hugegraph-0.7.4/bin/start-hugegraph.sh
     [exec] hugegraph-0.7.4/bin/start-monitor.sh
     [exec] tar (child): Cannot execute remote shell: No such file or directory
     [exec] tar (child): D\:workspacehugegraphhugegraphhugegraph-dist/../hugegraph-0.7.4.tar.gz: Cannot open: Input/output error
     [exec] hugegraph-0.7.4/bin/stop-hugegraph.sh
     [exec] tar (child): Error is not recoverable: exiting now
     [exec] hugegraph-0.7.4/bin/stop-monitor.sh
     [exec] tar: D\:workspacehugegraphhugegraphhugegraph-dist/../hugegraph-0.7.4.tar.gz: Cannot write: Broken pipe
     [exec] hugegraph-0.7.4/bin/util.sh
     [exec] hugegraph-0.7.4/conf/
     [exec] hugegraph-0.7.4/conf/gremlin-driver-settings.yaml
     [exec] tar: Child returned status 2
     [exec] tar: Error is not recoverable: exiting now
     [exec] hugegraph-0.7.4/conf/gremlin-server.yaml
     [exec] hugegraph-0.7.4/conf/hugegraph.properties
     [exec] hugegraph-0.7.4/conf/log4j2.xml
     [exec] hugegraph-0.7.4/conf/remote-objects.yaml
     [exec] hugegraph-0.7.4/conf/remote.yaml
     [exec] hugegraph-0.7.4/conf/rest-server.properties
     [exec] hugegraph-0.7.4/ext/
     [exec] hugegraph-0.7.4/ext/plugins.txt
     [exec] hugegraph-0.7.4/ext/README.txt
     [exec] hugegraph-0.7.4/lib/
     [exec] hugegraph-0.7.4/lib/airline-0.6.jar
     [exec] hugegraph-0.7.4/lib/ansj_seg-5.1.6.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] hugegraph 0.7.4 .................................... SUCCESS [  1.719 s]
[INFO] hugegraph-core ..................................... SUCCESS [ 10.436 s]
[INFO] hugegraph-api ...................................... SUCCESS [  0.516 s]
[INFO] hugegraph-cassandra ................................ SUCCESS [  0.718 s]
[INFO] hugegraph-scylladb ................................. SUCCESS [  0.266 s]
[INFO] hugegraph-rocksdb .................................. SUCCESS [  0.281 s]
[INFO] hugegraph-mysql .................................... SUCCESS [  0.234 s]
[INFO] hugegraph-palo ..................................... SUCCESS [  0.219 s]
[INFO] hugegraph-hbase .................................... SUCCESS [  0.734 s]
[INFO] hugegraph-dist ..................................... FAILURE [  9.203 s]
[INFO] hugegraph-example .................................. SKIPPED
[INFO] hugegraph-test 0.7.4 ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.904 s
[INFO] Finished at: 2018-11-06T16:26:57+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project hugegraph-dist: An Ant BuildException has occured: exec returned: 1 -> [Help 1]

Steps to reproduce the problem 复现步骤

  1. {step 1}
  2. {step 2}
  3. {step 3}

Status of loaded data 数据状态

Vertex/Edge summary 数据量

  • loaded vertices amount: {like 10 million}
  • loaded edges amount: {like 20 million}
  • loaded time: {like 200s}

Vertex/Edge example 数据示例

{type something here...}

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

{type something here...}

Specifications of environment 环境信息

  • hugegraph version: {like v0.7.4}
  • operating system: {like centos 7.4, 32 CPUs, 64G RAM}
  • hugegraph backend: {like cassandra 3.10, cluster with 20 nodes, 3 x 1TB HDD disk each node}
@Linary
Copy link
Contributor

Linary commented Nov 6, 2018

@htpbackup 抱歉,hugegraph目前只保证在 linux 和 mac os 系统下的运行和部署,windows 下可能存在很多不兼容的地方。

@zhouyongliang
Copy link

zhouyongliang commented Dec 14, 2018

<configuration> <!-- <tasks> <echo file="${top.level.dir}/dist.sh"> tar -zcvf \ ${top.level.dir}/${final.name}.tar.gz \ ${final.name} || exit 1 rm -f ${top.level.dir}/dist.sh echo echo "HugeGraph dist tar.gz available at: ${top.level.dir}/${final.name}.tar.gz" echo </echo> <exec executable="${shell-executable}" dir="${top.level.dir}" failonerror="true"> <arg line="./dist.sh"/> </exec> </tasks> --> </configuration>
hugegraph-dist的pom.xml,注释掉这段tasks就可以。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants