Closed l1x closed 9 years ago
@l1x What do you think about https://github.com/basho/basho_bench/compare/bug/gh178?expand=1 ?
@slfritchie i guess I am trying to understand the intentions here. Currently the function behaves like this:
I guess the code should not silently do that or it should be called out. It seems this is a real issue (even though a low priority one) because I am not the first guy who ran into this.
What you are your thoughts?
The intent of the diff is to use pattern matching to create a more useful error message when something goes wrong: the path of the file with the I/O error is included in any badmatch error reporting.
I just merged #185 and will close this issue. If there's a serious problem, or if there's a PR to alter the behavior further, please reopen.
Ummm, this GH issue was closed on May 19, 2015. Closing in JIRA.
_[posted via JIRA by Scott Fritchie]_
I have installed basho_bench the first time using RPM (previously i used it the source only). I was running into this issue:
I was wondering what is going ton and after poking around I have seen https://github.com/basho/basho_bench/issues/56.
I have tried it with sudo.
I guess the following function prefixes the parameter that was passed in with -d with the CWD that is the "/usr/lib64/basho_bench/lib/basho_bench-0.10.0/ebin" in my case if the path is not a full path.
https://github.com/basho/basho_bench/blob/0.10.0/src/basho_bench.erl#L172
It would be nice to make it explicit that the path has to be absolute and relative paths will fail if the user has no access to the CWD of the basho_bench binary.
What do you guys think?