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

Option parsing bug for start-component.sh #70

Open

Description

@fengnanli

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

  1. added a commit that references this issue on Mar 1, 2019
    4807832
  2. 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

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