Skip to content

Option parsing bug for start-component.sh #70

Open
@fengnanli

Description

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.

Activity

added a commit that references this issue on Mar 1, 2019

Closes linkedin#70. Fix help parsing in Client to avoid triggering wh…

4807832
xkrogen

xkrogen commented on Mar 1, 2019

@xkrogen
Collaborator

Sorry for taking so long to address this, it slipped past me. Can you take a look at PR #90?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Option parsing bug for start-component.sh · Issue #70 · linkedin/dynamometer