Skip to content
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

Merged
merged 2 commits into from
Dec 28, 2021

Conversation

ssz1997
Copy link
Contributor

@ssz1997 ssz1997 commented Dec 23, 2021

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.

@ssz1997 ssz1997 assigned LuQQiu and unassigned yuzhu Dec 23, 2021
@ssz1997
Copy link
Contributor Author

ssz1997 commented Dec 23, 2021

@LuQQiu Please take a look. Thanks!

Copy link
Contributor

@LuQQiu LuQQiu left a 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();
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

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

@LuQQiu
Copy link
Contributor

LuQQiu commented Dec 28, 2021

alluxio-bot, merge this please

@alluxio-bot alluxio-bot merged commit f946e2d into Alluxio:master Dec 28, 2021
yyongycy pushed a commit to yyongycy/alluxio that referenced this pull request Jan 6, 2022
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
flaming-archer pushed a commit to flaming-archer/alluxio that referenced this pull request Sep 1, 2022
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants