linkedin / dynamometer

A tool for scale and performance testing of HDFS with a specific focus on the NameNode.
BSD 2-Clause "Simplified" License
131 stars 34 forks source link

Option parsing bug for start-component.sh #70

Open fengnanli opened 5 years ago

fengnanli commented 5 years ago

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.

xkrogen commented 5 years ago

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