Option parsing bug for start-component.sh
还没有人认领这个 Issue。
评估
调研方向
从 dynamometer-infra/src/main/java/com/linkedin/dynamometer/Client.java#L327 开始,检查 start-component.sh 的选项是如何解析的,尤其是 help 检查和 flattening 行为。复现 -hadoop_binary_path 作为第一个选项的情况,然后验证它不会被当作 help 处理,同时真正的 help 输入仍能正常运行。
由索引模型根据 Issue 内容生成。
描述
This might be related with #52 .
In https://github.com/linkedin/dynamometer/blob/master/dynamometer-infra/src/main/java/com/linkedin/dynamometer/Client.java#L327 it is trying to find whether there is help option entered for the function, but internally it is using a GnuParser (which is deprecated from version 1.3), and during the flatten process it will try to pull the substring of -h from option -hadoop_binary_path and thinks it is asking for help information.
Note this only happens when you put the -hadoop_binary_path as the first option since other options will make the flatten end early.
- 主要语言
- Java
- 星标
- 134
- 派生
- 34
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
linkedin/dynamometer 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
linkedin/dynamometer#106 ·
-
难度 4/5 3-5 天 新手友好度 25/100
linkedin/dynamometer#104 · 4 条评论 ·
-
Improve Dynamometer compatibility with the 2.x line可能重新可做 @xkrogen 于 2641 天前认领,目前没有进行中的 PR。 未关闭
linkedin/dynamometer#101 · 2 条评论 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 30/100
linkedin/dynamometer#100 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
linkedin/dynamometer#81 · 1 条评论 ·
查看 linkedin/dynamometer 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
apache/rocketmq-dashboard#7039 ·
维护者通常 3 天内回复
-
pdfium-drift
难度 1/5 1 小时以内 新手友好度 82/100
Stirling-Tools/JPDFium#176 ·
维护者通常 1 天内回复
-
Guidelines: redundant use cases, stale dev bundle after snapshot bumps, looking up snapshot API可能已有人在做 @totally-not-ai 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
vaadin/use-cases#441 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
hiero-ledger/hiero-consensus-node#27712 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 61/100
Vakore/ZappierGames#162 ·