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] hugegraph-spark-loader脚本执行EXEC 命令时可能触发长度限制 #460

Closed
1 task done
haohao0103 opened this issue May 12, 2023 · 1 comment · Fixed by #469
Closed
1 task done

[Bug] hugegraph-spark-loader脚本执行EXEC 命令时可能触发长度限制 #460

haohao0103 opened this issue May 12, 2023 · 1 comment · Fixed by #469
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@haohao0103
Copy link
Contributor

Bug Type (问题类型)

None

Before submit

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

Environment (环境信息)

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

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

error message:
--graph hugegraph --batch-size 1499 --host 10.136.29.143 --port 8080 --execute-date 2023-05-11 --sink-type false --vertex-partitions 120 --edge-partitions 120 --graph-type entity --file /xxx/vertexs-struct.json: **cannot execute: File name too long**
hugegraph-spark-loader.sh:
....
echo "${CMD}"
exec "${CMD}"

The above error message will be reported when executing exec "${CMD}",My solution is to remove the double quotes,See if the community has a better solution, thanks

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

No response

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

No response

@haohao0103 haohao0103 added the bug Something isn't working label May 12, 2023
@haohao0103 haohao0103 changed the title [Bug] hugegraph-spark-loader脚本执行EXEC 命令时可能触发长度限制describe the main problem [Bug] hugegraph-spark-loader脚本执行EXEC 命令时可能触发长度限制 May 12, 2023
@simon824 simon824 added the good first issue Good for newcomers label May 15, 2023
@gaoyuan5251
Copy link
Contributor

@simon824 hi bro, i want to fix it , can you assigned it to me?

@simon824 simon824 assigned gaoyuan5251 and unassigned simon824 May 19, 2023
gaoyuan5251 pushed a commit to gaoyuan5251/incubator-hugegraph-toolchain that referenced this issue May 19, 2023
gaoyuan5251 pushed a commit to gaoyuan5251/incubator-hugegraph-toolchain that referenced this issue May 19, 2023
fix:apache#460
I have read the CLA Document and I hereby sign the CLA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants