Open navneet1v opened 2 months ago
cc: @rishabh6788
@IanHoang: Is this accurate? If so, I can send a PR through to update it.
@navneet1v I tested out the latest docker image for OSB (1.9.0) and /opensearch-benchmark/.benchmark
is still a valid path:
hoangia@80a9971b1103 ~ % docker run --entrypoint bash -it opensearchproject/opensearch-benchmark:latest -c /bin/bash
benchmark@95fe55242805:~$ cd ~
benchmark@95fe55242805:~$ pwd
/opensearch-benchmark
benchmark@95fe55242805:~$ cd .benchmark
benchmark@95fe55242805:~/.benchmark$ pwd
/opensearch-benchmark/.benchmark
Also, the Dockerfile still includes opensearch-benchmark
as the entry directory: https://github.com/opensearch-project/opensearch-benchmark/blob/main/docker/Dockerfile#L30-L31
Could you provide the error you're receiving?
@navneet1v Can you please make sure you are not changing the user to root
while running OSB container?
AFAIK the default path of benchmark config is always $HOME/.benchmark
.
@rishabh6788 Yes I am using root as the user. Because if I don't use that I have to change permissions for all the folders. Could this be the reason why /root us getting used?
@rishabh6788 Yes I am using root as the user. Because if I don't use that I have to change permissions for all the folders. Could this be the reason why /root us getting used?
Yes.
Make sense. Can we document this in the docs. This will be helpful for future confusions.
What do you want to do?
Tell us about your request. Provide a summary of the request. The command here tells how to map .benchmarks folder while running OSB with docker. But the path has been changed. The new command that should be used is:
Present in Documentation
Working
OSB version
Latest download from docker hub via:
opensearchproject/opensearch-benchmark
What other resources are available? Provide links to related issues, POCs, steps for testing, etc. NA