-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put all Fuse Stressbench operations in a new dir #14742
Conversation
@LuQQiu Please take a look. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Also a small suggestion, may be there are some path tools to help connect paths and dealing with "/"
otherwise if mLocalPath ends with "/", it may error out
@@ -138,6 +138,8 @@ public void prepare() throws Exception { | |||
+ "be at least the number of threads, preferably a multiple of it." | |||
)); | |||
} | |||
// All test operations happen in mLocalpath/fuseIOStressBench | |||
mParameters.mLocalPath = Paths.get(mParameters.mLocalPath, "fuseIOStressBench").toString(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to name the subfolder following the operation type to avoid conflicts?
but it's update to you
also, did we add cluster-id to the test path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Operation type you mean "Write", "LocalRead, "RemoteRead" and "ClusterRead"?
No we don't add cluster id to the test path. We add the job-worker id though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can keep the path for now and no need to worry about it
alluxio-bot, merge this please |
We create a new dir `fuseIOStressBench` inside `localPath` and all files will be written and read inside this new directory. We can then avoid the case that the test files interfere with other files in Alluxio space. pr-link: Alluxio#14742 change-id: cid-b46d31eb5ea1eb39f93baa0a5165776f828ee9a6
We create a new dir `fuseIOStressBench` inside `localPath` and all files will be written and read inside this new directory. We can then avoid the case that the test files interfere with other files in Alluxio space. pr-link: Alluxio#14742 change-id: cid-b46d31eb5ea1eb39f93baa0a5165776f828ee9a6
We create a new dir
fuseIOStressBench
insidelocalPath
and all files will be written and read inside this new directory. We can then avoid the case that the test files interfere with other files in Alluxio space.